/* 
================================================================UNIT SYSTEM & THEME
   Noviq Premium Launch Website Design System
   Color Palette: Dark space luxury, glassmorphism, indigo/violet glows, emerald highlights
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-deep: #050508;
    --bg-dark: #09090c;
    --bg-card: rgba(18, 18, 24, 0.65);
    --bg-card-hover: rgba(25, 25, 35, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.3);
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --text-gradient: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #a5b4fc 100%);
    --glow-violet: 0 0 30px rgba(139, 92, 246, 0.25);
    --glow-indigo: 0 0 20px rgba(99, 102, 241, 0.2);
    --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.2);
    
    --accent-green: #10b981;
    --accent-green-bg: rgba(16, 185, 129, 0.1);
    --accent-blue: #0ea5e9;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Structural variables */
    --header-height: 80px;
    --max-width: 1200px;
}

/* ── Global Styles ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    color: #f4f4f6;
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Background Glowing Blurs */
body::before, body::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}
body::before {
    top: 5%;
    left: -200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
}
body::after {
    top: 40%;
    right: -200px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 80%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ── Typography Utilities ── */
.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-text-violet {
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.text-muted {
    color: #a1a1aa;
}

.text-dim {
    color: #71717a;
}

/* ── Layout & Containment ── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

/* ── Glassmorphism Utility ── */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-indigo);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

/* ── Button Component ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5), var(--glow-violet);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ── Header Navigation ── */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 8, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px var(--primary));
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #a1a1aa;
    font-size: 0.925rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* ── Hero Section ── */
.hero-section {
    padding: calc(var(--header-height) + 60px) 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #c7d2fe;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.825rem;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    color: #a1a1aa;
    max-width: 800px;
    margin: 0 auto 36px auto;
    font-weight: 400;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* Hero Flow Timeline Visual */
.hero-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(18, 18, 24, 0.4);
    backdrop-filter: blur(8px);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid var(--border-color);
    color: #a1a1aa;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.timeline-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.timeline-arrow {
    color: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: bold;
}

.timeline-step:hover .timeline-dot, .timeline-step.active .timeline-dot {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--glow-indigo);
    transform: scale(1.1);
}

.timeline-step:hover .timeline-text, .timeline-step.active .timeline-text {
    color: #ffffff;
}

/* ── Sourcing Visual Demonstration Card ── */
.source-card {
    max-width: 480px;
    width: 100%;
    padding: 24px;
    margin: 0 auto;
}

.source-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.source-tag {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-size: 0.725rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.source-part {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 4px;
}

.source-brand {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.source-badge {
    background: var(--accent-green-bg);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-bottom: 24px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-label {
    font-size: 0.75rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.grid-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2px;
}

.grid-val.active-status {
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-green);
}

.btn-recommend {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.1);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px dashed rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-recommend:hover {
    background: var(--primary);
    border-color: transparent;
    box-shadow: var(--glow-indigo);
}

.source-expansion {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: none;
    animation: fadeIn 0.3s ease forwards;
}

.source-expansion.open {
    display: block;
}

.expansion-title {
    font-size: 0.8rem;
    color: #a1a1aa;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.vendor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.vendor-row:last-child {
    margin-bottom: 0;
}

.vendor-row.best-choice {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.vendor-name {
    font-weight: 600;
}

.vendor-price {
    font-family: monospace;
    font-weight: 600;
    color: var(--accent-green);
}

/* ── Pain Points Section ── */
.pain-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pain-left-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.pain-left-desc {
    color: #a1a1aa;
    margin-bottom: 30px;
}

.systems-pain-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pain-item {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pain-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-red);
    flex-shrink: 0;
}

.pain-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e4e4e7;
}

.pain-right-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.pain-right-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
    opacity: 0.3;
    pointer-events: none;
}

.noviq-solution-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.solution-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
    background: var(--accent-green-bg);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.solution-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.solution-desc {
    color: #a1a1aa;
    margin-bottom: 28px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.solution-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.925rem;
    font-weight: 500;
}

.solution-check {
    width: 20px;
    height: 20px;
    background: var(--accent-green-bg);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* ── Platform Modules Section ── */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.module-card {
    padding: 32px;
}

.module-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-size: 0.725rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 18px;
}

.module-card.capture .module-badge {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
    border-color: rgba(192, 132, 252, 0.2);
}

.module-card.quotum .module-badge {
    color: #818cf8;
    background: rgba(129, 140, 248, 0.1);
    border-color: rgba(129, 140, 248, 0.2);
}

.module-card.intelligence .module-badge {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.2);
}

.module-card.postaward .module-badge {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

.module-card.secure .module-badge {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.1);
    border-color: rgba(244, 114, 182, 0.2);
}

.module-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.module-desc {
    color: #a1a1aa;
    font-size: 0.925rem;
    margin-bottom: 24px;
}

.module-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.module-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #e4e4e7;
}

.module-bullet {
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.module-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.module-bottom-grid .module-card {
    min-height: 240px;
}

/* ── Interactive Workflow Simulator ── */
.sim-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sim-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    align-items: stretch;
}

.sim-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

.sim-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: var(--transition-fast);
}

.sim-nav-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.sim-nav-item.active {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.sim-num {
    font-family: monospace;
    font-weight: bold;
    color: #71717a;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sim-nav-item.active .sim-num {
    background: var(--primary);
    color: #ffffff;
}

.sim-nav-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #a1a1aa;
}

.sim-nav-item.active .sim-nav-text {
    color: #ffffff;
    font-weight: 600;
}

.sim-display-pane {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 480px;
    position: relative;
}

.sim-pane-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.sim-pane-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.sim-pane-tag {
    color: var(--primary);
    font-size: 0.725rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.sim-content-area {
    font-size: 0.95rem;
    color: #e4e4e7;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sim-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

/* ── Sourcing & Incumbent Cards Split Block ── */
.demo-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.split-desc-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 20px;
}

.split-title {
    font-size: 2rem;
    margin-bottom: 18px;
}

.split-desc {
    color: #a1a1aa;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Incumbent Mock Card Details */
.incumbent-card {
    max-width: 480px;
    width: 100%;
    padding: 24px;
    margin: 0 auto;
}

.inc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.inc-pill {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 0.725rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.inc-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.inc-conf {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-green-bg);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.725rem;
    font-weight: 600;
}

.inc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.inc-why {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.why-title {
    font-size: 0.8rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.why-icon {
    color: var(--accent-green);
    font-weight: bold;
}

/* ── Human-in-the-Loop Section ── */
.human-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.human-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hitl-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    position: relative;
}

.hitl-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex: 1;
    z-index: 2;
}

.hitl-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.hitl-node.active .hitl-icon {
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: var(--glow-indigo);
}

.hitl-node.gate .hitl-icon {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: var(--glow-emerald);
}

.hitl-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.hitl-arrow {
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05), var(--primary), rgba(255,255,255,0.05));
    position: relative;
}

/* ── Integrations Section ── */
.integrations-section {
    overflow: hidden;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.marquee-container {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #52525b;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.marquee-item:hover {
    color: #ffffff;
}

.marquee-logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* ── Before / After Comparison ── */
.comparison-table-wrapper {
    max-width: 900px;
    margin: 40px auto 0 auto;
    overflow-x: auto;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th {
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1.5px solid var(--border-color);
}

.comp-table th:first-child {
    border-top-left-radius: 8px;
}
.comp-table th:last-child {
    border-top-right-radius: 8px;
}

.comp-table td {
    padding: 18px 24px;
    font-size: 0.925rem;
    border-bottom: 1px solid var(--border-color);
}

.comp-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.comp-row-title {
    font-weight: 500;
    color: #ffffff;
}

.comp-traditional {
    color: #71717a;
    vertical-align: middle;
}

.comp-traditional-icon {
    color: var(--accent-red);
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.comp-noviq {
    color: #ffffff;
    font-weight: 500;
    vertical-align: middle;
}

.comp-noviq-icon {
    color: var(--accent-green);
    text-shadow: var(--glow-emerald);
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* ── Target Audience Section ── */
.target-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.target-card {
    padding: 30px;
}

.target-icon {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.target-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.target-desc {
    font-size: 0.85rem;
    color: #a1a1aa;
}

/* ── Interactive Pricing Configurator ── */
.pricing-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.config-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.config-item {
    padding: 20px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.config-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.config-item-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.config-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.config-item.selected .config-checkbox {
    background: var(--primary);
    border-color: transparent;
    color: #ffffff;
}

.config-item.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.pricing-preview-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.preview-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.preview-modules-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.preview-module-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #a1a1aa;
    transition: var(--transition-fast);
}

.preview-module-item.active {
    color: #ffffff;
    font-weight: 500;
}

.preview-dot {
    width: 6px;
    height: 6px;
    background: #52525b;
    border-radius: 50%;
}

.preview-module-item.active .preview-dot {
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
}

/* ── Final Custom Conversion CTA ── */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 75%);
    opacity: 0.2;
    z-index: 1;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: #a1a1aa;
    margin-bottom: 32px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Request a Demo Modal ── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    position: relative;
    animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1aa;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.modal-desc {
    color: #a1a1aa;
    font-size: 0.9rem;
    margin-top: 6px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e4e4e7;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.modal-trust-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: #71717a;
}

.trust-icon {
    color: var(--accent-green);
}

/* ── Footer ── */
.footer {
    padding: 80px 0 60px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-deep);
}

.footer-grid-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-col-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-size: 0.875rem;
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #ffffff;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.footer-contact-item:hover {
    color: #ffffff;
}

.contact-icon {
    font-size: 1.1rem;
    color: #818cf8; /* Violet accent icon tint */
    flex-shrink: 0;
    line-height: 1;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #52525b;
    margin-top: 16px;
}

/* Tablet Layout (2x2 grid) */
@media (max-width: 992px) {
    .footer-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Layout (Single Stack) */
@media (max-width: 576px) {
    .footer-grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand, .footer-contact-col {
        align-items: center;
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* ── Custom Security Page Styles ── */
.sec-hero {
    padding: calc(var(--header-height) + 80px) 0 60px 0;
    text-align: center;
}

.sec-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.sec-desc {
    font-size: 1.125rem;
    color: #a1a1aa;
    max-width: 700px;
    margin: 0 auto;
}

.sec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.sec-card {
    padding: 32px;
}

.sec-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.sec-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sec-panel-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.sec-panel-desc {
    color: #a1a1aa;
    margin-bottom: 24px;
}

/* ── Media Queries (Responsive Design) ── */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .module-bottom-grid {
        grid-template-columns: 1fr;
    }
    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Mobile Hamburger Toggle ── */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Animation to X when active */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header {
        height: var(--header-height);
        padding: 0;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .nav-list {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        border-left: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        padding: 100px 40px;
        margin: 0;
        list-style: none;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 105;
    }
    .nav-list.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    .nav-link {
        font-size: 1.15rem;
        display: block;
        padding: 10px 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .hero-timeline {
        flex-direction: column;
        gap: 16px;
    }
    .timeline-arrow {
        transform: rotate(90deg);
    }
    .pain-grid, .sim-container, .demo-split-grid, .human-grid, .pricing-wrapper, .sec-features-grid {
        grid-template-columns: 1fr;
    }
    .split-desc-block {
        padding-right: 0;
        margin-bottom: 24px;
    }
    .sim-nav {
        max-height: 250px;
    }
    .modules-grid, .target-grid, .sec-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}
