/* =====================================================
   ENQUIRY 360 — AI-FIRST REBRANDED WEBSITE
   Maya Information Systems Ltd.
   ===================================================== */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary brand blue (logo circle and main text) */
    --primary: #0B6EF6;
    --primary-dark: #084FC0;
    --primary-light: #66A8FF;
    /* Accent red (the red "i" and 360 in the logo) */
    --accent: #E63946;
    --accent-light: #FF8A8A;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #E63946;
    --dark: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --dark-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(11, 110, 246, 0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    text-decoration: none;
    line-height: 1;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-md {
    padding: 12px 28px;
    font-size: 15px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(11, 110, 246, 0.25);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(11, 110, 246, 0.35);
    }

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

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

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

    .btn-ghost:hover {
        background: rgba(255,255,255,0.25);
        border-color: rgba(255,255,255,0.5);
    }

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

/* ---- NAVIGATION ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

    .navbar.scrolled {
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        padding: 10px 0;
    }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    text-decoration: none;
}

.nav-logo-img {
    height: 106px;
    width: auto;
    display: block;
    transition: height 0.3s ease, filter 0.3s ease;
    background: #000;
    padding: 1px 2px;
    border-radius: 8px;
    opacity: 0.95;
}

.navbar.scrolled .nav-logo-img {
    height: 34px;
}

.nav-partner-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    transition: all 0.3s ease;
}

    .nav-partner-badge i {
        font-size: 14px;
        color: var(--primary);
    }

.navbar.scrolled .nav-partner-badge {
    background: rgba(11,110,246,0.06);
    border-color: rgba(11,110,246,0.12);
    color: var(--dark-600);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--primary);
        transform: scaleX(0);
        transition: transform 0.3s;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
    }

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

.navbar.scrolled .nav-link {
    color: var(--dark-600);
}

    .navbar.scrolled .nav-link:hover {
        color: var(--primary);
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar:not(.scrolled) .nav-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

    .navbar:not(.scrolled) .nav-actions .btn-outline:hover {
        background: rgba(255,255,255,0.15);
        border-color: var(--white);
    }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s;
    }

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Background updated to brand-aligned deep blue tones */
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #071033 0%, #0b1a3a 25%, #0f2a5a 50%, #0f172a 100%);
    z-index: 0;
}

/* Radial highlights use brand blue and subtle accent red */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(11, 110, 246, 0.18) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(230, 57, 70, 0.10) 0%, transparent 60%), radial-gradient(ellipse at 50% 80%, rgba(11, 110, 246, 0.08) 0%, transparent 60%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(11, 110, 246, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 110, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Particles updated to use brand blue with occasional red highlight */
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px rgba(11,110,246,0.6), 0 0 12px rgba(230,57,70,0.08);
    animation: particleFloat 6s ease-in-out infinite;
}

    /* Add a small variant class for red particles if needed */
    .hero-particle.red {
        background: var(--accent);
        box-shadow: 0 0 10px rgba(230,57,70,0.6), 0 0 6px rgba(11,110,246,0.06);
    }

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-100px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 110, 246, 0.12);
    border: 1px solid rgba(11, 110, 246, 0.18);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    grid-column: 1;
}

    .hero-badge i {
        color: var(--warning);
    }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    grid-column: 1;
}

.hero-title-gradient {
    display: block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
    grid-column: 1;
}

    .hero-subtitle strong {
        color: var(--white);
    }

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    grid-column: 1;
}

.hero-trust {
    grid-column: 1;
}

.hero-trust-logos {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
}

    .trust-item i {
        font-size: 16px;
        color: rgba(255,255,255,0.4);
    }

.hero-visual {
    position: absolute;
    right: calc((100vw - 1200px) / 2 + 24px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* Phone Mockup */
.hero-phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 320px;
    height: 580px;
    background: var(--dark-800);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 0 0 2px rgba(11, 110, 246, 0.18), 0 25px 50px rgba(0,0,0,0.5), 0 0 80px rgba(11, 110, 246, 0.06);
    animation: phoneFloat 6s ease-in-out infinite;
    position: relative;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg);
    }

    50% {
        transform: translateY(-15px) rotateY(0deg);
    }
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--dark-800);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.phone-screen {
    background: linear-gradient(180deg, #0f1b36 0%, #0b1630 100%);
    border-radius: 32px;
    height: 100%;
    overflow: hidden;
    padding: 40px 16px 16px;
    display: flex;
    flex-direction: column;
}

.voice-demo {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.voice-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 40px;
    margin-bottom: 16px;
}

    .voice-wave span {
        width: 3px;
        background: var(--primary);
        border-radius: 3px;
        animation: wave 1.5s ease-in-out infinite;
    }

        .voice-wave span:nth-child(1) {
            height: 12px;
            animation-delay: 0s;
        }

        .voice-wave span:nth-child(2) {
            height: 20px;
            animation-delay: 0.1s;
        }

        .voice-wave span:nth-child(3) {
            height: 28px;
            animation-delay: 0.2s;
        }

        .voice-wave span:nth-child(4) {
            height: 16px;
            animation-delay: 0.3s;
        }

        .voice-wave span:nth-child(5) {
            height: 24px;
            animation-delay: 0.4s;
        }

        .voice-wave span:nth-child(6) {
            height: 32px;
            animation-delay: 0.5s;
        }

        .voice-wave span:nth-child(7) {
            height: 18px;
            animation-delay: 0.6s;
        }

        .voice-wave span:nth-child(8) {
            height: 26px;
            animation-delay: 0.7s;
        }

        .voice-wave span:nth-child(9) {
            height: 14px;
            animation-delay: 0.8s;
        }

        .voice-wave span:nth-child(10) {
            height: 22px;
            animation-delay: 0.9s;
        }

@keyframes wave {
    0%, 100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

.voice-transcript {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.transcript-line {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

    .transcript-line:nth-child(1) {
        animation-delay: 0.5s;
    }

    .transcript-line:nth-child(2) {
        animation-delay: 2s;
    }

    .transcript-line:nth-child(3) {
        animation-delay: 3.5s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transcript-line.user {
    flex-direction: row-reverse;
}

.transcript-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.transcript-line.bot .transcript-avatar {
    background: var(--primary);
    color: var(--white);
}

.transcript-line.user .transcript-avatar {
    background: var(--dark-600);
    color: var(--white);
}

.transcript-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 200px;
}

.transcript-line.bot .transcript-bubble {
    background: rgba(11, 110, 246, 0.12);
    color: rgba(255,255,255,0.95);
    border-bottom-left-radius: 4px;
}

.transcript-line.user .transcript-bubble {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border-bottom-right-radius: 4px;
}

.voice-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

    50% {
        opacity: 0.4;
    }
}

/* ---- STATS BAR ---- */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 40px 0;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

/* ---- SECTIONS ---- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ---- PLATFORM PILLARS ---- */
.platform-section {
    background: var(--gray-50);
}

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

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

    .pillar-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        opacity: 0;
        transition: opacity 0.3s;
    }

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

    .pillar-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: transparent;
    }

.pillar-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pillar-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    opacity: 0.08;
}

.pillar-icon i {
    font-size: 28px;
    color: var(--primary);
    z-index: 1;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar-card p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pillar-features {
    list-style: none;
    margin-bottom: 24px;
}

    .pillar-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--dark-700);
        padding: 6px 0;
    }

        .pillar-features li i {
            color: var(--success);
            font-size: 12px;
        }

.pillar-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .pillar-link:hover {
        gap: 10px;
    }

/* ---- VOICE AGENT ---- */
.voice-section {
    background: var(--white);
}

.voice-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.voice-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voice-feature {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

    .voice-feature:hover {
        background: var(--gray-50);
    }

    .voice-feature.active {
        background: var(--gray-50);
        border-color: var(--primary);
        box-shadow: var(--shadow-glow);
    }

.voice-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.15;
    transition: opacity 0.3s;
}

.voice-feature.active .voice-feature-icon {
    opacity: 1;
}

.voice-feature-icon i {
    color: var(--white);
    font-size: 18px;
}

.voice-feature:not(.active) .voice-feature-icon i {
    color: var(--primary);
}

.voice-feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.voice-feature-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Demo Window */
.demo-window {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--dark-800);
    font-size: 12px;
    color: var(--gray-400);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

    .demo-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

        .demo-dots span:nth-child(1) {
            background: var(--accent);
        }

        .demo-dots span:nth-child(2) {
            background: #f59e0b;
        }

        .demo-dots span:nth-child(3) {
            background: #10b981;
        }

.demo-body {
    padding: 24px;
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
}

.demo-conversation {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

    .demo-msg.user {
        flex-direction: row-reverse;
    }

.demo-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.demo-msg.bot .demo-msg-avatar {
    background: var(--primary);
    color: var(--white);
}

.demo-msg.user .demo-msg-avatar {
    background: var(--dark-600);
    color: var(--white);
}

.demo-msg-text {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 80%;
}

.demo-msg.bot .demo-msg-text {
    background: rgba(11, 110, 246, 0.08);
    color: rgba(255,255,255,0.95);
    border-bottom-left-radius: 4px;
}

.demo-msg.user .demo-msg-text {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border-bottom-right-radius: 4px;
}

.demo-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--dark-800);
    font-size: 12px;
    color: var(--gray-500);
}

.demo-wave {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .demo-wave span {
        width: 2px;
        height: 12px;
        background: var(--primary);
        border-radius: 2px;
        animation: wave 1.2s ease-in-out infinite;
    }

        .demo-wave span:nth-child(1) {
            animation-delay: 0s;
        }

        .demo-wave span:nth-child(2) {
            animation-delay: 0.15s;
            height: 16px;
        }

        .demo-wave span:nth-child(3) {
            animation-delay: 0.3s;
            height: 20px;
        }

        .demo-wave span:nth-child(4) {
            animation-delay: 0.45s;
            height: 14px;
        }

        .demo-wave span:nth-child(5) {
            animation-delay: 0.6s;
            height: 18px;
        }

/* Voice Comparison */
.voice-comparison {
    margin-top: 20px;
}

.comparison-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

    .comparison-card.old {
        background: var(--gray-50);
    }

    .comparison-card.new {
        background: linear-gradient(135deg, rgba(11, 110, 246, 0.03), rgba(230, 57, 70, 0.03));
        border-color: var(--primary);
        box-shadow: var(--shadow-glow);
    }

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

    .comparison-header i {
        font-size: 24px;
    }

.comparison-card.old .comparison-header i {
    color: var(--gray-400);
}

.comparison-card.new .comparison-header i {
    color: var(--primary);
}

.comparison-header h4 {
    font-size: 20px;
    font-weight: 700;
}

.comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.comparison-card.old li i {
    color: var(--danger);
    font-size: 14px;
    margin-top: 3px;
}

.comparison-card.new li i {
    color: var(--success);
    font-size: 14px;
    margin-top: 3px;
}

.comparison-card.old li {
    color: var(--gray-500);
}

/* ---- FORM BUILDER ---- */
.formbuilder-section {
    background: var(--gray-50);
}

.formbuilder-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.formbuilder-demo-body {
    padding: 24px;
    min-height: 350px;
}

.fb-prompt-area {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.fb-prompt-label {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .fb-prompt-label i {
        color: var(--accent);
    }

.fb-prompt-text {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    min-height: 40px;
}

.fb-cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.fb-output-area {
    display: none;
}

    .fb-output-area.visible {
        display: block;
    }

.fb-output-label {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .fb-output-label i {
        color: var(--primary);
    }

.fb-page {
    background: rgba(11, 110, 246, 0.06);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary);
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
}

.fb-page-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.fb-field {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    padding: 3px 0;
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .fb-field::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gray-500);
        flex-shrink: 0;
    }

.formbuilder-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fb-feature {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

    .fb-feature:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-md);
    }

.fb-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .fb-feature-icon i {
        color: var(--white);
        font-size: 16px;
    }

.fb-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.fb-feature p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---- FEATURES GRID ---- */
.features-section {
    background: var(--white);
}

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

.feature-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    background: var(--white);
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(11, 110, 246, 0.08), rgba(230, 57, 70, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .feature-icon i {
        font-size: 22px;
        color: var(--primary);
    }

.feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---- AZURE SECTION ---- */
.azure-section {
    background: var(--gray-50);
    padding: 100px 0;
}

.azure-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #071033 0%, #0b1a3a 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    overflow: hidden;
    position: relative;
}

.azure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 110, 246, 0.12);
    border: 1px solid rgba(11, 110, 246, 0.18);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.azure-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.azure-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

.azure-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.azure-service {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

    .azure-service i {
        color: var(--primary-light);
        font-size: 14px;
    }

/* Azure Architecture Visual */
.azure-architecture {
    position: relative;
    width: 100%;
    height: 400px;
}

.arch-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.arch-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

    .arch-node i {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: var(--white);
        box-shadow: 0 0 30px rgba(11, 110, 246, 0.18);
    }

    .arch-node span {
        font-size: 12px;
        color: rgba(255,255,255,0.6);
        font-weight: 500;
    }

.arch-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .arch-center i {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }

.arch-top {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.arch-right {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.arch-bottom {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.arch-left {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

/* ---- INDUSTRIES ---- */
.industries-section {
    background: var(--white);
}

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

.industry-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    background: var(--white);
}

    .industry-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

.industry-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 110, 246, 0.08), rgba(230, 57, 70, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .industry-icon i {
        font-size: 22px;
        color: var(--primary);
    }

.industry-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.industry-stat {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

/* ---- ROI SECTION ---- */
.roi-section {
    background: var(--gray-50);
}

.roi-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.roi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.roi-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 28px 32px;
    color: var(--white);
}

    .roi-header h3 {
        font-family: var(--font-heading);
        font-size: 22px;
        font-weight: 700;
    }

.roi-scenario {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
    display: block;
}

.roi-metrics {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roi-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

    .roi-metric:last-child {
        border-bottom: none;
    }

    .roi-metric.savings {
        background: rgba(16, 185, 129, 0.05);
        margin: -8px;
        padding: 20px;
        border-radius: var(--radius-md);
        border-bottom: none;
    }

.roi-metric-label {
    font-size: 14px;
    color: var(--gray-500);
}

.roi-metric-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
}

    .roi-metric-value.old {
        color: var(--danger);
        text-decoration: line-through;
        opacity: 0.6;
    }

    .roi-metric-value.highlight {
        color: var(--primary);
    }

    .roi-metric-value.save {
        color: var(--success);
        font-size: 32px;
    }

.roi-extras {
    padding: 0 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roi-extra {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-700);
}

    .roi-extra i {
        color: var(--success);
        font-size: 12px;
    }

.roi-impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.roi-impact {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.roi-impact-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roi-impact-label {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.roi-impact p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ---- TESTIMONIAL ---- */
.testimonial-section {
    background: var(--white);
    padding: 100px 0;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, rgba(11, 110, 246, 0.03), rgba(230, 57, 70, 0.03));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(11, 110, 246, 0.06);
}

.testimonial-quote i {
    font-size: 40px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 24px;
}

blockquote {
    font-size: 20px;
    line-height: 1.8;
    color: var(--dark-700);
    font-style: italic;
    margin-bottom: 32px;
}

    blockquote strong {
        color: var(--primary);
        font-style: normal;
    }

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

    .testimonial-avatar i {
        color: var(--white);
        font-size: 22px;
    }

.testimonial-info {
    text-align: left;
}

    .testimonial-info strong {
        display: block;
        font-size: 16px;
    }

    .testimonial-info span {
        font-size: 14px;
        color: var(--gray-500);
    }

/* ---- LANGUAGES ---- */
.languages-section {
    background: var(--gray-50);
    padding: 100px 0;
}

.languages-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.languages-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.languages-content p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.language-impact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lang-impact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .lang-impact-item i {
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        flex-shrink: 0;
    }

    .lang-impact-item strong {
        display: block;
        font-size: 15px;
    }

    .lang-impact-item span {
        font-size: 13px;
        color: var(--gray-500);
    }

.languages-visual {
    position: relative;
    height: 400px;
}

.language-bubbles {
    position: relative;
    width: 100%;
    height: 100%;
}

.lang-bubble {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 110, 246, 0.06), rgba(230, 57, 70, 0.04));
    border: 1px solid rgba(11,110,246,0.08);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    animation: bubbleFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---- PRICING ---- */
.pricing-section {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all 0.3s;
    position: relative;
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card.featured {
        border-color: var(--primary);
        box-shadow: var(--shadow-glow);
        transform: scale(1.03);
    }

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

.pricing-popular, .pricing-new {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-new {
    background: linear-gradient(135deg, var(--success), #059669);
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-trial {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

    .pricing-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        font-size: 14px;
        color: var(--dark-700);
    }

        .pricing-features li i {
            color: var(--success);
            font-size: 12px;
        }

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, #071033 0%, #0b1a3a 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 16px 24px;
}

.cta-step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    font-size: 16px;
}

.cta-step-content {
    text-align: left;
}

    .cta-step-content strong {
        display: block;
        color: var(--white);
        font-size: 14px;
    }

    .cta-step-content span {
        font-size: 12px;
        color: rgba(255,255,255,0.5);
    }

.cta-step-arrow {
    color: rgba(255,255,255,0.2);
    font-size: 18px;
}

/* ---- ABOUT ---- */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
}

.about-tagline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cap-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
}

    .cap-item i {
        color: var(--primary);
    }

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    padding: 28px;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ---- CONTACT ---- */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-group:only-child {
        margin-bottom: 16px;
    }

label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

input, select, textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--dark);
}

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(11, 110, 246, 0.08);
    }

textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(11, 110, 246, 0.06), rgba(230, 57, 70, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

    .contact-card-icon i {
        color: var(--primary);
        font-size: 18px;
    }

.contact-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card a {
    display: block;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 4px;
}

    .contact-card a:hover {
        color: var(--primary-dark);
    }

.contact-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.6);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

    .footer-logo .logo-icon {
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        border-radius: 8px;
    }

    .footer-logo .logo-text {
        color: var(--white);
        font-size: 20px;
    }

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.5);
        font-size: 16px;
        transition: all 0.3s;
    }

        .footer-social a:hover {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.5);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

    .footer-legal a {
        color: rgba(255,255,255,0.4);
    }

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

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(11, 110, 246, 0.25);
    z-index: 999;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        transform: translateY(-3px);
    }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-badge, .hero-title, .hero-subtitle, .hero-ctas, .hero-trust {
        grid-column: 1;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .voice-showcase {
        grid-template-columns: 1fr;
    }

    .formbuilder-showcase {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .azure-banner {
        grid-template-columns: 1fr;
    }

    .azure-visual {
        display: none;
    }

    .roi-showcase {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

        .pricing-card.featured:hover {
            transform: translateY(-4px);
        }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .languages-banner {
        grid-template-columns: 1fr;
    }

    .languages-visual {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-steps {
        flex-direction: column;
    }

    .cta-step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 1150px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    /* keep header and its contents ALWAYS above mobile overlay */
    header, nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10001;
        background: var(--dark);
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10002;
    }

    .nav-logo {
        position: relative;
        z-index: 10002;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        overflow-y: auto;
        background-color: var(--dark);
        padding: 100px 32px 32px;
        gap: 24px;
        z-index: 9999;
    }

        .nav-links.active .nav-link {
            font-size: 18px;
            color: var(--white);
        }

    main, section, footer {
        position: relative;
        z-index: 0;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

        .stats-grid .stat-item:nth-child(4),
        .stats-grid .stat-item:nth-child(5) {
            display: none;
        }

    .stat-number {
        font-size: 28px;
    }

    .features-grid,
    .industries-grid,
    .formbuilder-features,
    .roi-impact-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .azure-banner {
        padding: 36px;
    }

    .azure-services {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- keep hamburger bars white when mobile menu is open and navbar.scrolled --- */

    /* If JS toggles an 'open' class on the button */
    .navbar.scrolled .nav-toggle.open span,
    /* If JS sets aria-expanded on the button */
    .navbar.scrolled .nav-toggle[aria-expanded="true"] span,
    /* If JS toggles an 'active' class on the nav-links (covers common DOM orders) */
    .navbar.scrolled .nav-links.active ~ .nav-toggle span,
    .navbar.scrolled .nav-toggle ~ .nav-links.active ~ .nav-toggle span,
    /* Generic fallback if a menu-open class on navbar */
    .navbar.scrolled.menu-open .nav-toggle span {
        background: var(--white) !important;
        box-shadow: 0 2px 8px rgba(11,110,246,0.12) !important;
    }
}

/* ---- ANIMATIONS ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

.demo-column {
    width: 100%;
}

.demo-card {
    box-sizing: border-box;
    border-radius: 12px;
    padding: 16px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
    color: var(--dark);
    border: 1px solid rgba(11,110,246,0.10);
    box-shadow: 0 8px 20px rgba(2,18,45,0.06);
    position: relative;
    overflow: hidden;
}

    .demo-card::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

#demo-heading {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--dark);
    z-index: 1;
    padding-top: 6px; 
}

.demo-lead {
    margin: 4px 0 0 0;
    color: var(--dark-700);
    font-size: 0.98rem;
    line-height: 1.35;
    font-weight: 600;
    z-index: 1;
}

.demo-features {
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 1;
}

    .demo-features li {
        background: rgba(11,110,246,0.06);
        color: var(--primary);
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid rgba(11,110,246,0.08);
        font-weight: 700;
        font-size: 0.88rem;
    }

.demo-actions {
    margin-top: 18px; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.demo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(11,110,246,0.14);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
    border: none;
}

    .demo-cta svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
        opacity: 0.98;
    }

    .demo-cta:focus,
    .demo-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(11,110,246,0.18);
        outline: none;
    }

.demo-note {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.3;
}

@media (max-width: 720px) {
    .demo-card {
        padding: 12px;
        min-height: auto;
    }

    #demo-heading {
        font-size: 1.05rem;
    }

    .demo-lead {
        font-size: 0.95rem;
    }

    .demo-cta {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}
