:root {
    --primary: #27187E;        /* Luxurious Deep Blue */
    --secondary: #758BFD;      /* Premium Slate Blue */
    --accent: #FF8600;         /* High-Contrast Warm Orange */
    --background: #F9F8F6;     /* High-End Warm Cream */
    
    --text-main: #121829;      /* Elegant Deep Charcoal */
    --text-muted: #5E6982;     /* Muted Warm Slate */
    
    --panel-bg: #FFFFFF;       /* Crisp White Card Background */
    --border-color: rgba(39, 24, 126, 0.08); /* Subtly defined primary border */
    --glass-border: rgba(39, 24, 126, 0.12);
    
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Courier New', monospace;
    
    --shadow-sm: 0 2px 8px rgba(39, 24, 126, 0.03);
    --shadow-md: 0 8px 24px rgba(39, 24, 126, 0.05);
    --shadow-lg: 0 16px 48px rgba(39, 24, 126, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Ambient Background Overlays (Subtle for Light Mode) */
.ambient-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(117, 139, 253, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(255, 134, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -2;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(39, 24, 126, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 24, 126, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.8;
    pointer-events: none;
    z-index: -1;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--primary);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(249, 248, 246, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    position: sticky;
    top: 0;
    transition: transform 0.3s ease-in-out;
}

.navbar-hidden {
    transform: translateY(-100%);
}

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

.logo img {
    height: 80px;
    width: auto;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(39, 24, 126, 0.1);
}

.nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 134, 0, 0.15);
}

/* HERO SECTION */
.hero-section {
    margin-top:-50px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 80px 8% 60px;
    position: relative;
}

.hero-content {
    max-width: 55%;
    z-index: 10;
}

.headline {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.15;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

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

#typewriter {
    color: var(--accent);
    border-right: 2px solid var(--accent);
    padding-right: 4px;
    animation: blink 0.75s step-end infinite;
}

.headline-subtext {
    color: var(--text-main);
}

.sub-headline {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 580px;
    margin-top: 1.5rem;
}

.cta-container {
    margin-top: 2.5rem;
}

.glow-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(39, 24, 126, 0.12);
}

.glow-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 134, 0, 0.2);
}

/* HERO VISUAL (Console Mockup) */
.hero-visual {
    width: 45%;
    max-width: 520px;
    z-index: 10;
}

.terminal-window {
    background: #0F172A; /* Clean Deep Slate Developer Console */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: left;
}

.log {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
}

.log .timestamp {
    color: rgba(255, 255, 255, 0.25);
    margin-right: 8px;
}

.log.success { color: #34D399; }
.log.active { color: var(--secondary); }

.cursor {
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--accent) }
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.accent-cyan {
    color: var(--accent); /* Consistent orange highlight */
}

/* BENTO GRID (Minimal & Luxury) */
.bento-section {
    padding: 6rem 8%;
    max-width: 1300px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.glass-panel:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hide matrix rain placeholder to keep minimal theme */
.matrix-rain {
    display: none;
}

/* PROCESS SECTION (Flow) */
.process-section {
    padding: 6rem 8%;
    max-width: 1300px;
    margin: 0 auto;
}

.process-header {
    text-align: left;
    max-width: 700px;
    margin-bottom: 4rem;
}

.process-header h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.process-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
}

/* Connecting Line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    background: var(--panel-bg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.process-step:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.step-indicator {
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: var(--background);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
    color: var(--accent);
    font-weight: 700;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* COMPARISON SECTION (Refined) */
.comparison-section {
    padding: 6rem 8%;
    max-width: 1300px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.comp-card {
    border-radius: 16px;
    padding: 3.5rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Bad Card (Muted, Slate Grey) */
.bad-card {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
}

.bad-card .comp-title {
    color: #64748B;
    border-bottom: 1px solid #E2E8F0;
}

.bad-card .comp-list li {
    color: #64748B;
}

/* Good Card (Standout Inoviq) */
.good-card {
    background: var(--panel-bg);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.good-card-glow {
    display: none; /* Removed for minimal aesthetics */
}

.good-card .comp-title {
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
}

.comp-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-list {
    list-style: none;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.comp-list li:last-child {
    margin-bottom: 0;
}

.icon-cross {
    color: #EF4444;
    margin-right: 1.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    min-width: 20px;
}

.icon-check {
    color: var(--accent);
    margin-right: 1.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    min-width: 20px;
}

/* TRUST MARQUEE (Clean Dark Blue Banner) */
.trust-section {
    padding: 4.5rem 0;
    background: var(--primary);
    overflow: hidden;
    position: relative;
}

.trust-section::before,
.trust-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trust-section::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.trust-section::after {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

.trust-header {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0 1.5rem;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 2rem;
}

.marquee-container:last-of-type {
    margin-bottom: 0;
}

.marquee-content {
    display: flex;
    width: max-content;
}

.marquee-rtl .marquee-content {
    animation: scroll-rtl 35s linear infinite;
}

.marquee-ltr .marquee-content {
    animation: scroll-ltr 35s linear infinite;
}

.trust-logo {
    height: 38px;
    margin: 0 3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    transform: scale(1.15);
}

@keyframes scroll-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* FINAL CTA / FORM SECTION */
.final-cta-section {
    padding: 8rem 8% 6rem;
    text-align: center;
    position: relative;
    max-width: 840px;
    margin: 0 auto;
}

.final-cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.final-cta-section p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.15rem;
}

.lead-form {
    background: var(--panel-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
}

.form-input {
    background: #FAF9F6;
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(39, 24, 126, 0.08);
}

.form-submit-btn {
    margin-top: 1rem;
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.form-submit-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 134, 0, 0.15);
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 3rem;
    background: rgba(39, 24, 126, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--primary);
}

.form-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.form-success-message p {
    color: var(--text-muted);
}

.spotlight {
    display: none; /* Removed for minimal aesthetics */
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    background: #FAF9F6;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3rem;
        padding-top: 60px;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 500px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid::before {
        display: none;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .hero-section {
        padding: 40px 5% 40px;
    }

    .bento-section, .process-section, .comparison-section {
        padding: 4rem 5%;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .comp-card {
        padding: 2.5rem 1.8rem;
    }

    .final-cta-section {
        padding: 4rem 5%;
    }

    .lead-form {
        padding: 2rem 1.5rem;
    }

    .headline {
        font-size: 2.4rem;
    }
}