@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* =========================================
   1. VARIABLES & SETUP
   ========================================= */
:root {
    /* --- BRAND COLORS (EXACT) --- */
    --brand-folly: #FF0054;
    --brand-indigo: #4F1584;
    --brand-blue: #1840A0;
    --brand-fandango: #A61082;
    
    /* --- THEME COLORS --- */
    --bg-body: #F8FAFC;
    --bg-surface: #FFFFFF;
    
    --primary: var(--brand-indigo); 
    --primary-glow: var(--brand-fandango);
    --accent: var(--brand-folly);
    --cyan: var(--brand-blue);
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    
    /* --- GLASS & SURFACES --- */
    --glass-border: rgba(255, 255, 255, 0.4); /* Stronger border for better contrast */
    --glass-bg: rgba(255, 255, 255, 0.6);     /* Slightly more transparent */
    --glass-highlight: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(255, 255, 255, 0.7);
    --nav-scrolled: rgba(255, 255, 255, 0.95);
    
    /* --- DIMENSIONS --- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    /* --- TYPOGRAPHY --- */
    --font-body: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* --- SHADOWS --- */
    --shadow-soft: 0 20px 40px -10px rgba(0,0,0,0.1);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { 
    font-family: var(--font-display); 
    letter-spacing: -0.03em; 
    color: var(--text-main); 
    font-weight: 700; 
    transition: color 0.4s ease; 
}

h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); } /* Bigger on Hero */

h2 { font-size: clamp(1.75rem, 3vw, 3rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p { color: var(--text-muted); font-size: 1.125rem; transition: color 0.4s ease; margin-bottom: 16px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-fandango) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-folly) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- LAYOUT UTILS --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-wrapper { padding-top: 120px; min-height: 100vh; display: flex; flex-direction: column; }


/* =========================================
   2. ENHANCED AMBIENT BACKGROUND SYSTEM
   ========================================= */

/* Background Canvas Container */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: #F8FAFC; /* Base fallback */
}

/* Gradient Mesh - INCREASED VISIBILITY */
.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(123, 31, 162, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(21, 101, 192, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(156, 39, 176, 0.1) 0%, transparent 70%);
    animation: meshShift 20s ease-in-out infinite;
}

@keyframes meshShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Subtle Grid Overlay */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(123, 31, 162, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 101, 192, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.6;
}

/* Flowing Ribbons Container */
.ribbons-container {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7; /* Increased slightly */
}

/* Individual Ribbons - Echo logo's intertwined design */
.ribbon {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(123, 31, 162, 0.1) 20%,
        rgba(21, 101, 192, 0.1) 80%,
        transparent 100%);
    animation: ribbonFlow 15s linear infinite;
}

.ribbon:nth-child(1) { 
    left: 15%; 
    animation-delay: 0s;
    animation-duration: 18s;
}
.ribbon:nth-child(2) { 
    left: 35%; 
    animation-delay: -5s;
    animation-duration: 16s;
}
.ribbon:nth-child(3) { 
    left: 55%; 
    animation-delay: -10s;
    animation-duration: 20s;
}
.ribbon:nth-child(4) { 
    left: 75%; 
    animation-delay: -7s;
    animation-duration: 17s;
}
.ribbon:nth-child(5) { 
    left: 85%; 
    animation-delay: -3s;
    animation-duration: 19s;
}

@keyframes ribbonFlow {
    0% { 
        transform: translateY(-100%) skewX(-2deg); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(100%) skewX(2deg); 
        opacity: 0; 
    }
}

/* Floating Particles Container */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Individual Particle Styles */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(123, 31, 162, 0.6), transparent);
    border-radius: 50%;
    animation: particleFloat 20s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: radial-gradient(circle, rgba(21, 101, 192, 0.6), transparent);
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    50% { 
        transform: translate(var(--tx), var(--ty)) scale(1.5);
        opacity: 0.4;
    }
    90% { opacity: 0.8; }
}

/* =========================================
   HERO-SPECIFIC: DYNAMIC VERSION
   ========================================= */

/* Add this class to hero sections for enhanced effect */
.hero .bg-canvas .gradient-mesh,
.hero-section .bg-canvas .gradient-mesh {
    opacity: 1.2;
    animation-duration: 15s; /* Faster movement */
}

.hero .bg-canvas .ribbons-container,
.hero-section .bg-canvas .ribbons-container {
    opacity: 1; /* More visible ribbons */
}

/* Add extra particles to hero only */
.hero .particles-container::after,
.hero-section .particles-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(123, 31, 162, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 70% 60%, rgba(21, 101, 192, 0.1) 0%, transparent 25%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* =========================================
   FIXED: NO MORE WHITE BLANKET
   ========================================= */

body > section:not(.hero):not(.hero-section) {
    position: relative;
    /* Removed the pseudo-element white overlay */
}

/* Ensure content stays above the overlay */
body > section:not(.hero):not(.hero-section) > * {
    position: relative;
    z-index: 1;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 768px) {
    .ribbon {
        opacity: 0.5; /* Reduce on mobile for performance */
    }
    
    .gradient-mesh {
        animation-duration: 30s; /* Slower on mobile */
    }
    
    .particles-container {
        display: none; /* Remove particles on mobile */
    }
}

@media (prefers-reduced-motion: reduce) {
    .gradient-mesh,
    .ribbon,
    .particle {
        animation: none;
    }
}


/* =========================================
   3. COMPONENTS & NAVIGATION
   ========================================= */

/* --- BUTTONS --- */
.btn, .btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; font-weight: 600; border-radius: var(--radius-pill);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem; letter-spacing: -0.01em;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-indigo); color: white;
    box-shadow: 0 4px 20px rgba(79, 21, 132, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(79, 21, 132, 0.4); }

.btn-glow {
    background: rgba(79, 21, 132, 0.05);
    border: 1px solid rgba(79, 21, 132, 0.2);
    color: var(--brand-indigo);
    padding: 14px 32px; border-radius: var(--radius-pill);
}
.btn-glow:hover { background: rgba(79, 21, 132, 0.1); border-color: var(--brand-fandango); }

.btn-link { color: var(--brand-indigo); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { gap: 10px; color: var(--text-main); }

/* --- NAVIGATION --- */
nav {
    position: fixed; 
    top: 24px; 
    left: 0; 
    right: 0;
    z-index: 1000;
    display: flex; 
    justify-content: center; /* Centers the pill */
    padding: 0 24px;
    transition: top 0.3s ease;
}

/* The Glass Pill Container */
.nav-pill {
    /* 1. SHRINK TO FIT CONTENT */
    width: fit-content; 
    min-width: 600px; /* Prevents it from getting too squished */
    
    /* 2. FROSTED GLASS EFFECT */
    background: rgba(255, 255, 255, 0.5); /* More transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* 3. SHARPER BORDER & SHADOW */
    border: 1px solid rgba(255, 255, 255, 1); /* Solid white border defines edges */
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(79, 21, 132, 0.1); /* Indigo glow shadow */
    
    border-radius: 100px;
    padding: 6px 6px 6px 24px; /* Tighter padding */
    
    display: flex; 
    justify-content: center; /* Keeps items packed */
    align-items: center;
    gap: 24px; /* Consistent spacing between Logo, Links, Button */
    transition: all 0.3s ease;
}

/* Scroll State */
nav.scrolled .nav-pill {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    padding: 8px 8px 8px 24px;
}

/* Logo Sizing */
.logo img { 
    height: 32px; /* Slightly smaller for a tighter pill */
    width: auto; 
    display: block; 
}

/* Navigation Links */
.nav-links { 
    display: flex; 
    gap: 24px; 
    list-style: none; 
    margin: 0; 
    padding: 0;
}

.nav-link { 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: var(--text-muted); 
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover { color: var(--brand-indigo); }

/* Nav Button */
.nav-btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--brand-indigo);
    color: white;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(79, 21, 132, 0.2);
    white-space: nowrap; /* Prevents text wrapping */
}
.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 21, 132, 0.3);
    background: var(--brand-fandango);
}

/* Mobile Toggle */
.mobile-toggle { 
    display: none; 
    background: none; 
    border: none; 
    color: var(--text-main); 
    font-size: 1.25rem; 
    cursor: pointer; 
    padding-right: 12px;
}
.mobile-header-controls { display: contents; }

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 24px; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; gap: 24px; text-align: center;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { 
    font-size: 1.5rem; font-weight: 700; color: var(--text-main); text-decoration: none;
}

/* MEDIA QUERY FOR NAV */
@media (max-width: 1050px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    
    /* Mobile Pill Adjustments */
    .nav-pill { 
        width: 90%; /* On mobile we DO want it wide */
        min-width: 0;
        justify-content: space-between; /* Push logo and burger apart */
        padding: 8px 16px;
        gap: 0;
    }
    .nav-btn { display: none; } 
}

/* =========================================
   4. INDEX PAGE SPECIFICS
   ========================================= */

.hero { padding: 120px 0 60px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; background: rgba(79, 21, 132, 0.05);
    border: 1px solid rgba(79, 21, 132, 0.15);
    border-radius: var(--radius-pill);
    color: var(--brand-indigo); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.badge span { width: 6px; height: 6px; background: var(--brand-folly); border-radius: 50%; box-shadow: 0 0 10px var(--brand-folly); }

/* Glass Mockup & Chat UI */
.glass-mockup {
    background: linear-gradient(145deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    border: 1px solid rgba(255,255,255,1);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.glass-mockup:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }

.chat-ui .msg { margin-bottom: 16px; display: flex; gap: 12px; }
.chat-ui .msg.bot .bubble { background: #f1f5f9; border: 1px solid var(--glass-border); color: var(--text-main); border-radius: 4px 16px 16px 16px; }

.chat-ui .msg.user { flex-direction: row-reverse; }
.chat-ui .msg.user .bubble { background: var(--brand-indigo); color: white; border-radius: 16px 4px 16px 16px; box-shadow: 0 4px 15px rgba(79, 21, 132, 0.4); }
.bubble { padding: 12px 18px; font-size: 0.9rem; max-width: 85%; }

/* --- MARQUEE (Seamless Fade) --- */
.marquee-section { 
    padding: 40px 0; 
    width: 100%; 
    position: relative; 
    background: transparent; 
}
.marquee-wrapper { 
    width: 100%; 
    overflow: hidden; 
    position: relative; 
    background: transparent;
    /* Fades the edges so icons don't cut off abruptly */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track { 
    display: flex; 
    width: max-content; 
    gap: 24px; 
    animation: scroll 40s linear infinite; 
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

.brand-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px; 
    background-color: rgba(255, 255, 255, 0.8); /* Glass effect for marquee items too */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.6); 
    border-radius: var(--radius-md);
    color: var(--text-muted); font-weight: 500; white-space: nowrap; font-size: 0.95rem;
    transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.brand-item:hover {
    transform: translateY(-4px); background-color: #fff; border-color: rgba(0,0,0,0.1);
    color: var(--text-main); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}
/* Brand colors integration */
.fa-hubspot { color: #ff7a59; } .fa-salesforce { color: #00a1e0; } .fa-slack { color: #4a154b; }
.fa-shopify { color: #96bf48; } .fa-wordpress { color: #21759b; } .fa-whatsapp { color: #25d366; }
.fa-google { color: #4285f4; } .fa-globe { color: #3b82f6; } .fa-react { color: #61dafb; }
.fa-angular { color: #dd0031; } .fa-vuejs { color: #4fc08d; } .fa-apple { color: var(--text-main); }
.fa-android { color: #3dda84; } .fa-code { color: #a855f7; }

/* --- BENTO GRID & LISTS --- */
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, auto);
    gap: 20px; margin-top: 40px;
}
.bento-card {
    background: var(--glass-bg); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); 
    border-radius: var(--radius-md);
    padding: 24px; transition: 0.3s; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-start;
}
.bento-card:hover { border-color: var(--glass-highlight); background: rgba(255,255,255,0.85); transform: translateY(-4px); box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05); }

.span-2 { grid-column: span 2; }
.span-row-2 { grid-row: span 2; }

.bento-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(79, 21, 132, 0.05); border: 1px solid rgba(79, 21, 132, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--brand-indigo); margin-bottom: 16px;
}
.bento-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text-main); }

.list-check { list-style: none; margin: 10px 0; }
.list-check li { margin-bottom: 8px; display: flex; gap: 10px; color: var(--text-muted); align-items: flex-start; }
.list-check li i { color: var(--brand-indigo); margin-top: 6px; flex-shrink: 0; }

.card-list { list-style: none; margin: 15px 0; padding: 0; }
.card-list li { position: relative; padding-left: 20px; margin-bottom: 6px; color: var(--text-muted); font-size: 0.95rem; }
.card-list li::before { content: "•"; position: absolute; left: 0; color: var(--brand-folly); font-weight: bold; }

/* --- IMPACT SECTION --- */
.impact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px; text-align: left; 
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border); 
    padding: 40px 0; margin: 40px 0;
    background: rgba(255,255,255,0.2); /* Slight tint for this strip */
    backdrop-filter: blur(5px);
}
.impact-item { display: flex; gap: 16px; align-items: flex-start; }
.impact-icon { color: var(--brand-indigo); font-size: 1.5rem; margin-top: 4px; }
.impact-text { font-size: 1rem; color: var(--text-main); font-weight: 500; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }

/* --- HERO BENEFITS LIST --- */
.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px; /* Space between items */
    margin: 32px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px; /* Space between checkmark and text */
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

/* The styled checkmark box */
.icon-box {
    width: 28px;
    height: 28px;
    /* Soft pink background to match your "Results" badge */
    background: rgba(255, 0, 84, 0.1); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Pink checkmark */
    color: var(--brand-folly); 
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* The Description Paragraph */
.hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-desc strong {
    color: var(--brand-indigo); /* Highlights keywords in purple */
    font-weight: 600;
}


/* =========================================
   5. CONTACT PAGE & FORMS
   ========================================= */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 80px; }
.info-col { padding-top: 20px; }
.info-block { margin-bottom: 40px; }
.info-block.last { border-top: 1px solid var(--glass-border); padding-top: 30px; margin-top: 30px; }

.info-block ul { list-style: none; margin-bottom: 24px; }
.info-block li { margin-bottom: 10px; display: flex; gap: 12px; color: var(--text-muted); }
.info-block li i { margin-top: 5px; flex-shrink: 0; }
.info-block li i.fa-check { color: var(--brand-indigo); }
.info-block li i.fa-times { color: var(--brand-folly); }

.contact-links a { color: var(--brand-indigo); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-right: 20px; }
.contact-links a:hover { transform: translateX(4px); }

/* Form Card */
.form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    position: relative; overflow: hidden;
}
.form-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-indigo), var(--brand-folly));
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-left: 6px; }

.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.6); /* More transparent input background */
    color: var(--text-main);
    font-family: var(--font-body); font-size: 1rem;
    transition: all 0.2s ease; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--brand-indigo); background: #fff; box-shadow: 0 0 0 3px rgba(79, 21, 132, 0.1);
}

.checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input { width: auto; margin: 0; cursor: pointer; accent-color: var(--brand-indigo); }
.checkbox-item span { font-size: 0.95rem; color: var(--text-muted); }

.form-next-steps { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--glass-border); text-align: center; }
.form-next-steps h4 { font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.steps-list { font-size: 0.85rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; align-items: center; margin: 0;}
.steps-list li { margin: 0; justify-content: center; }

/* Spinner */
.submitting .btn-primary { color: transparent; pointer-events: none; position: relative; }
.submitting .btn-primary::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%;
    animation: spin 0.8s linear infinite; transform: translate(-50%, -50%);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.form-message { display: none; padding: 12px; margin-top: 16px; border-radius: var(--radius-sm); text-align: center; font-size: 0.9rem; }
.form-message.success { background: rgba(34, 197, 94, 0.1); color: #15803d; border: 1px solid rgba(34, 197, 94, 0.2); }
.form-message.error { background: rgba(239, 68, 68, 0.1); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.2); }


/* =========================================
   6. FOOTER & MEDIA
   ========================================= */

footer { border-top: 1px solid var(--glass-border); padding: 50px 0 30px; margin-top: 60px; backdrop-filter: blur(5px); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-links-group { display: flex; gap: 60px; justify-content: flex-end; }
.footer-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-main); }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 0.95rem; }
.footer-col a:hover { color: var(--brand-indigo); }
.social-links { display: flex; gap: 20px; margin-top: 24px; }
.social-link { color: var(--text-muted); font-size: 1.25rem; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;}
.social-link:hover { color: var(--brand-indigo); transform: translateY(-3px); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .bento-grid { grid-template-columns: 1fr; }
    .span-2, .span-row-2 { grid-column: span 1; grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links-group { justify-content: flex-start; flex-wrap: wrap; gap: 40px; }
    
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-list { align-items: center; } 
    .hero-btns { justify-content: center; }
    .badge { margin: 0 auto 24px; }
    
    .info-col { order: 2; }
    .form-card { padding: 30px 20px; }
}
@media (min-width: 901px) { .mobile-header-controls { display: contents; } }


/* =========================================
   7. PRICING PAGE
   ========================================= */

.pricing-hero { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.pricing-toggle {
    display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border); border-radius: var(--radius-pill); padding: 6px; margin-top: 24px; position: relative;
}
.toggle-btn {
    padding: 10px 24px; border-radius: var(--radius-pill); cursor: pointer; font-weight: 600;
    font-size: 0.95rem; color: var(--text-muted); transition: all 0.3s ease; position: relative; z-index: 2;
}
.toggle-btn.active { background: var(--brand-indigo); color: white; box-shadow: 0 4px 12px rgba(79, 21, 132, 0.3); }
.save-badge {
    position: absolute; top: -12px; right: -10px; background: var(--brand-folly); color: white;
    font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 8px;
    transform: rotate(12deg); box-shadow: 0 4px 10px rgba(255, 0, 84, 0.4);
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 80px; }
.price-card {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); 
    border-radius: var(--radius-lg); padding: 32px 24px;
    display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-8px); border-color: var(--brand-indigo); background: rgba(255,255,255,0.9); }
.price-card.featured {
    border-color: var(--brand-indigo); background: linear-gradient(to bottom, rgba(79, 21, 132, 0.05), rgba(255,255,255,0.9)); position: relative;
}
.price-card.featured::before {
    content: 'Most Popular'; position: absolute; top: 12px; right: 12px; font-size: 0.75rem; font-weight: 700;
    color: var(--brand-indigo); background: rgba(79, 21, 132, 0.1); padding: 4px 12px; border-radius: var(--radius-pill);
}

.price-header { margin-bottom: 24px; border-bottom: 1px solid var(--glass-border); padding-bottom: 24px; }
.plan-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; font-family: var(--font-display); }
.plan-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; height: 40px; }

.price-wrapper { margin: 16px 0; display: flex; align-items: baseline; gap: 4px; }
.currency { font-size: 1.5rem; font-weight: 600; color: var(--text-main); }
.amount { font-size: 2.5rem; font-weight: 800; color: var(--text-main); letter-spacing: -1px; }
.period { color: var(--text-muted); font-size: 1rem; }
.billing-note { font-size: 0.85rem; color: var(--brand-indigo); font-weight: 500; margin-top: 4px; height: 20px; }

.feature-list { list-style: none; margin: 24px 0; flex-grow: 1; }
.feature-list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; }
.feature-list li i { color: var(--brand-indigo); margin-top: 3px; flex-shrink: 0; }
.feature-list li.disabled { opacity: 0.5; }

.branding-note { font-size: 0.8rem; background: rgba(0,0,0,0.03); padding: 8px; border-radius: 8px; text-align: center; color: var(--text-muted); margin-bottom: 20px;}

.bottom-cta {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 40px; text-align: center;
}
.helper-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 30px 0; text-align: left; }
.helper-item strong { color: var(--text-main); display: block; margin-bottom: 4px; }

/* =========================================
   GLASS HELPER CLASSES
   ========================================= */

.glass-section {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--glass-border);
}

.glass-section-light {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.glass-cta {
    background: radial-gradient(
        circle at center, 
        rgba(123, 31, 162, 0.15), 
        rgba(255, 255, 255, 0.4)
    ) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--glass-border);
}