/* 
 * DELYNTRO SALES CRM - PREMIUM DESIGN SYSTEM
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --accent: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-heavy: rgba(15, 23, 42, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 12px;
    font-weight: 700 !important;
}

/* Hero Slider Container */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 800px;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at center, #1b273d 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
}

/* Animated Background Orbs */
.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-orb.primary {
    background: var(--primary);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.glow-orb.secondary {
    background: var(--secondary);
    bottom: -20%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.2); }
}

/* Slide Setup */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Layout Grid */
.slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* Typography & Content Layout */
.slide-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s 0.2s ease;
}

.slide-content h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s 0.4s ease;
}

.slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s 0.6s ease;
}

.slide-btns {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s 0.8s ease;
}

.btn-large {
    padding: 16px 36px !important;
    font-size: 16px;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.4);
}

/* Image Mockup Styling */
.slide-image {
    perspective: 1000px;
    opacity: 0;
    transform: translateX(50px) rotateY(-10deg);
    transition: all 1s 0.5s ease-out;
}

.glass-mockup {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}

.glass-mockup::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 50%);
    border-radius: 22px;
    z-index: -1;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Activate Animations on Active Slide */
.slide.active .slide-tag,
.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-btns {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .slide-image {
    opacity: 1;
    transform: translateX(0) rotateY(0);
}


/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Features Section */
.section {
    padding: 120px 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 60px;
    max-width: 700px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.05);
    border-color: var(--primary);
}

.feature-card:hover::before {
    opacity: 1;
}

.f-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255,255,255,0.6);
}

/* Interactive Image Split */
.split-view {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.split-text {
    flex: 1;
}

.split-img {
    flex: 1.2;
    position: relative;
}

.img-container {
    background: var(--glass-heavy);
    border-radius: 32px;
    padding: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-container:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.img-container img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.badge-1 { top: 10%; right: -20px; }
.badge-2 { bottom: 10%; left: -20px; animation-delay: 2s; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.price-amount {
    font-size: 60px;
    font-weight: 800;
    margin: 30px 0;
}

.price-amount span {
    font-size: 20px;
    opacity: 0.5;
}

.price-list {
    list-style: none;
    margin-bottom: 40px;
}

.price-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
}

.price-list i {
    color: var(--accent);
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo { margin-bottom: 25px; }

.footer-col h4 {
    margin-bottom: 30px;
    font-size: 18px;
}

.footer-col a {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid, .pricing-grid, .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-slider .slide-content h1 { font-size: 60px; }
}

@media (max-width: 768px) {
    .features-grid, .pricing-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-slider .slide-content h1 { font-size: 40px; }
    .split-view { flex-direction: column; }
    .nav-links { display: none; }
}
