/* ========================================
   EmovIA - Modern Design System
   Based on: N8N, WhatsApp, Chatwoot
   ======================================== */

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

:root {
    /* Colors - EmovIA Brand */
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    
    /* Dark Mode */
    --dark: #0f172a;
    --dark-card: #1b1728;
    --dark-light: #272333;
    
    /* Grays */
    --gray-dark: #64748b;
    --gray-light: #d1cece;
    --gray-border: rgba(255, 255, 255, 0.1);
    
    /* Whites */
    --white: #ffffff;
    --white-soft: #f8fafc;
    
    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
    --gradient-hover: linear-gradient(90deg, #059669 0%, #0891b2 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    --gradient-radial: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15), transparent 70%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   Base Styles
   ======================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-light);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--gray-border);
        animation: fadeInUp 0.2s ease;
        z-index: 999;
    }

    .nav-menu.active li {
        border-bottom: 1px solid var(--gray-border);
        padding-bottom: var(--space-sm);
    }

    .nav-menu.active li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .nav-menu.active a {
        font-size: 1.1rem;
    }

    .btn-nav {
        text-align: center;
    }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: var(--gradient-radial);
    filter: blur(100px);
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-white {
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Launch Banner
   ======================================== */

.launch-banner {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.25);
    border-bottom: 1px solid rgba(16, 185, 129, 0.25);
    padding: 1.25rem 0;
}

.launch-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.launch-badge-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.launch-fire {
    font-size: 1rem;
}

.launch-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    white-space: nowrap;
}

.launch-offers {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.launch-offer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.launch-offer-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.launch-offer-item strong {
    color: var(--white);
}

.launch-offer-item em {
    color: var(--gray-dark);
    font-style: normal;
    font-size: 0.82rem;
}

.launch-divider {
    width: 1px;
    height: 20px;
    background: var(--gray-border);
    flex-shrink: 0;
}

.launch-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.launch-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .launch-divider {
        display: none;
    }

    .launch-offers {
        gap: 0.75rem;
    }

    .launch-banner-inner {
        gap: 1rem;
    }
}

/* ========================================
   Results Strip
   ======================================== */

.results-strip {
    background: var(--dark-card);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 3.5rem 0;
}

.results-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.result-item {
    text-align: center;
    padding: 0 3rem;
    flex: 1;
    min-width: 160px;
}

.result-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-dark);
    font-weight: 500;
    line-height: 1.4;
}

.result-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .result-divider {
        display: none;
    }

    .results-grid {
        gap: 2rem;
    }

    .result-item {
        padding: 0;
        min-width: 140px;
    }
}

/* ========================================
   Problem Section
   ======================================== */

.problem {
    background: var(--dark);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.problem-icon svg {
    width: 48px;
    height: 48px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.problem-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works {
    background: var(--dark-light);
}

.steps-wrapper {
    position: relative;
}

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-card {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.9rem;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.step-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

.step-connector {
    color: var(--primary);
    opacity: 0.5;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .step-connector {
        display: none;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }
}

/* ========================================
   Solution Section
   ======================================== */

.solution {
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* ========================================
   Tech Stack Bar
   ======================================== */

.tech-bar {
    background: var(--dark);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 3rem 0;
}

.tech-bar-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.tech-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.tech-item:hover {
    opacity: 1;
    background: var(--dark-card);
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-light);
    white-space: nowrap;
}

.tech-separator {
    width: 1px;
    height: 24px;
    background: var(--gray-border);
    flex-shrink: 0;
    margin: 0 0.25rem;
}

@media (max-width: 768px) {
    .tech-separator {
        display: none;
    }

    .tech-logos {
        gap: 0.5rem;
    }

    .tech-item {
        opacity: 0.8;
    }
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing {
    background: var(--dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--dark-card);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--dark-card) 100%);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-glow);
}

.pricing-header h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.pricing-tagline {
    color: var(--gray-dark);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-setup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--dark-light);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.price-label {
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.price-value-small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-light);
}

.price-monthly {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: var(--gray-dark);
    font-size: 1.25rem;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid var(--gray-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* ========================================
   Use Cases Section
   ======================================== */

.use-cases {
    background: var(--dark-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.case-icon svg {
    width: 48px;
    height: 48px;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.case-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-featured {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, var(--dark-card) 100%);
    transform: translateY(-8px);
}

.testimonial-featured:hover {
    transform: translateY(-14px);
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    color: #f59e0b;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.6rem;
    color: var(--primary);
    opacity: 0.4;
    margin-right: 0.2rem;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-avatar::after {
    content: attr(data-initials);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-info strong {
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-info span {
    color: var(--gray-dark);
    font-size: 0.82rem;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        transform: translateY(0);
    }
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    background: var(--dark-light);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: rgba(16, 185, 129, 0.4);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
}

.faq-icon {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ========================================
   CTA Final Section
   ======================================== */

.cta-final {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-bg-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: var(--gradient-radial);
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--gray-light);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background: var(--dark-light);
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--gray-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1rem;
    background: var(--dark-card);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-dark);
}

.contact-form select {
    cursor: pointer;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark);
    border-top: 1px solid var(--gray-border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-dark);
    margin: 1rem 0;
    line-height: 1.6;
}

.logo-img-footer {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray-dark);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-border);
    color: var(--gray-dark);
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

/* ========================================
   Animations
   ======================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-grid,
    .features-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 36px;
    }
    
    .nav {
        padding: var(--space-sm) var(--space-md);
    }
    
    section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   Toast Notification
   ======================================== */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark-card);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    max-width: 380px;
}

.toast.toast-show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.toast-message {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--white);
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
