/* Landing Page Styles
   Requires: variables.css to be imported first in HTML
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Force GPU acceleration for smooth scrolling */
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.gradient-text {
    color: #9ca3af;
}

.accent {
    color: #345d9a;
}

.nav-logo .accent {
    color: #9CC0FF;
}

.footer-logo .accent {
    color: #9CC0FF;
}

.about-section.section-technology {
    border-bottom: none;
}

.vision-section-heading {
    color: #E5E5E5;
}
.light-landing .vision-section-heading {
    color: #1a202c;
}

/* Logo Icons */
.logo-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo .logo-icon {
    align-self: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero-primary, .btn-hero-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    position: relative;
    background: var(--white-button);
    color: #000000;
    overflow: hidden;
    z-index: 0;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E5E5E5;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    background: var(--bg-dark-alt);
    border-color: var(--color-primary);
}

/* Outline button with gradient border */
.btn-outline-gradient {
    position: relative;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    z-index: 0;
}

.btn-outline-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 2px;
    background: var(--white-button);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    position: relative;
    background: var(--white-button);
    color: #000000;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 0;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E5E5E5;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation - Sticky Header with Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    z-index: 9999;
    overflow-x: hidden;
    overflow-y: visible;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Off-white background (blends with the sections) once scrolled away from the top */
.navbar.scrolled {
    background: #f7f7f7;
}
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-signin-link { color: #14171D; }
.navbar.scrolled .nav-link:hover { color: #000000; }
.navbar.scrolled .nav-logo .logo-text { color: #14171D; }
.navbar.scrolled .nav-try-button { background: #14171D; color: #ffffff; }
.navbar.scrolled .nav-try-button:hover { background: #2d3748; }
.navbar.scrolled .theme-toggle { color: #14171D; }
.navbar.scrolled .mobile-menu-toggle { color: #14171D; }

/* Dark mode: navbar gets the page's dark-grey fill on scroll with light text —
   the default .navbar.scrolled rules above (off-white fill, dark text) are for
   the light landing only. #181818 matches the dark sections. */
body:not(.light-landing) .navbar.scrolled { background: #181818; }
body:not(.light-landing) .navbar.scrolled .nav-link,
body:not(.light-landing) .navbar.scrolled .nav-link:hover,
body:not(.light-landing) .navbar.scrolled .nav-signin-link { color: #ffffff; }
body:not(.light-landing) .navbar.scrolled .nav-logo .logo-text,
body:not(.light-landing) .navbar.scrolled .nav-logo .logo-accent { color: #E5E5E5; }
body:not(.light-landing) .navbar.scrolled .theme-toggle,
body:not(.light-landing) .navbar.scrolled .mobile-menu-toggle { color: #ffffff; }
body:not(.light-landing) .navbar.scrolled .nav-try-button { background: #E5E5E5; color: #000000; }
body:not(.light-landing) .navbar.scrolled .nav-try-button:hover { background: #ffffff; }

.nav-container {
    padding: 0.75rem 2rem;
    max-width: 1650px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.logo-text {
    color: #E5E5E5;
}

.logo-accent {
    color: #E5E5E5;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: #ffffff;
}

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

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-icon {
    font-size: 0.6rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(24, 24, 24, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown-menu a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
}

.nav-signin-link {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: inherit;
}

.nav-signin-link:hover {
    color: #ffffff;
}

.nav-try-button {
    background: #E5E5E5;
    color: #000000;
    border: none;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: scale(1);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-try-button:hover {
    opacity: 0.9;
}

.nav-try-button:active {
    transform: scale(0.95);
}

/* Countdown Banner */
.countdown-banner {
    position: fixed;
    top: 4rem;
    width: 100%;
    background: linear-gradient(135deg, rgba(61, 109, 181, 0.1) 100%);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 0.75rem 0;
}

.countdown-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 2.5rem;
    text-align: center;
}

.countdown-unit {
    font-size: 0.7rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0.25rem;
    padding-bottom: 1rem;
}

.countdown-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 1) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-flags-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-flags-strip::-webkit-scrollbar {
    display: none;
}

.hero-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    opacity: 0.92;
    transition: opacity 0.15s ease;
}

.hero-flag:hover {
    opacity: 1;
}

.hero-flag--eu {
    width: 22px;
    height: 22px;
    margin-right: 6px;
}

@media (max-width: 900px) {
    .hero-flags-strip {
        gap: 6px;
        padding: 8px 12px;
        justify-content: flex-start;
    }
    .hero-flag {
        width: 16px;
        height: 16px;
    }
    .hero-flag--eu {
        width: 16px;
        height: 16px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000000;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% top;
    opacity: 0.45;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(43, 76, 126, 0.25) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(61, 109, 181, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    overflow: hidden;
    perspective: 500px;
    perspective-origin: 50% 60%;
    pointer-events: none;
}

.hero-pattern-symbols {
    position: absolute;
    bottom: 80%;
    left: -70%;
    width: 200%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    pointer-events: none;
    transform: rotateX(38deg) rotate(25deg);
    transform-origin: -10% 98%;
    transform-style: preserve-3d;
}

.hero-pattern-symbols .symbol-row {
    display: flex;
    white-space: nowrap;
    justify-content: center;
    gap: 3rem;
}

.hero-pattern-symbols .symbol-row:nth-child(even) {
    margin-left: 5.5rem;
}

.hero-pattern-symbols span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 8rem;
    color: rgba(110, 85, 170, 0.10);
    line-height: 1;
    flex-shrink: 0;
    text-align: center;
    transform: scaleY(0.75);
}

.hero-feature-tags {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding: 0 1cm;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-feature-tags span {
    color: #ffffff;
    font-size: 1rem;
}

.hero-feature-tags span + span::before {
    content: '|';
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: none;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(43, 76, 126, 0.1);
    border: 1px solid rgba(43, 76, 126, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.2s both;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0;
    color: var(--text-primary);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.6s both;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-full-width {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 1s both;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.5s both;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-card i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.card-1 {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    top: 80%;
    right: 50%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

.hero-mockup {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.mockup-browser {
    background: var(--bg-dark-alt);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-dark);
}

.browser-header {
    background: #2a2a2a; /* browser chrome - intentionally distinct */
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555; /* browser dot default */
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    background: var(--bg-dark-alt);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-gray);
    flex: 1;
}

.browser-content {
    padding: 2rem;
    height: 300px;
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.4;
}

.chat-message.user {
    background: var(--border-dark);
    align-self: flex-end;
    color: var(--text-primary);
}

.chat-message.ai {
    background: transparent;
    align-self: flex-start;
    color: var(--text-primary);
    border: 1px solid var(--border-dark);
}

.sources {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.source-tag {
    background: rgba(43, 76, 126, 0.2);
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Split Hero Layout */
.container:has(.hero-split) {
    padding: 0 4rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    width: 100%;
}

.hero-split-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 2rem;
}

.hero-split-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeInUp 1s ease 0.8s both;
}

/* Use case standalone section */
.use-case-section-standalone {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Centered Hero Styles */
.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content-centered {
    max-width: 825px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 0;
    transform: translateY(-4rem);
}

.hero-title-centered {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #E5E5E5;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle-centered {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.6s both;
    max-width: 640px;
    color: #ffffff;
}

.hero-subtitle-emphasis {
    color: #ffffff;
    font-weight: 700;
}

.hero-demo-cta {
    position: absolute;
    bottom: 13vh;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hero-demo-text {
    font-size: 0.875rem;
    color: #9A9A9A;
}

.hero-demo-button {
    background: #14171D;
    border: none;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    transition: background 0.2s ease;
}

.hero-demo-button:hover {
    background: #2d3748;
}

.light-landing .hero-demo-text { color: #d0d0d0; }
.light-landing .hero-demo-button { color: #ffffff; }
.light-landing .hero-demo-button:hover { color: #ffffff; }

.hero-title-accent {
    color: #9CC0FF;
}

.hero-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 825px;
    display: flex;
    align-items: stretch;
    animation: fadeInUp 1s ease 0.8s both;
    margin-top: 3rem;
    flex: 1;
}

.hero-input-with-files {
    flex-grow: 1;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #252525;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: border-color 0.2s ease;
}

.hero-text-input-area {
    padding: 0.75rem 0.5rem 0.75rem 1.25rem;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-input-menu-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.6rem 0 0;
    background-color: transparent;
}

.hero-menu-spacer {
    flex-grow: 1;
}

.hero-chat-input {
    width: 100%;
    padding: 0 0.5rem;
    border: none;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    resize: none;
    overflow-y: auto;
    line-height: 1.5;
    background-color: transparent;
    color: var(--text-primary);
    scrollbar-width: thin;
    scrollbar-color: var(--bg-input) transparent;
    transition: height 0.15s ease;
    flex: none;
    box-sizing: border-box;
}

.hero-chat-input::-webkit-scrollbar {
    width: 6px;
}

.hero-chat-input::-webkit-scrollbar-track {
    background: transparent;
}

.hero-chat-input::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

.hero-chat-input::placeholder {
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.hero-chat-input:focus::placeholder {
    opacity: 0;
}

.hero-send-button {
    background: #7A7A7A;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: none;
    font-size: 16px;
    padding: 0;
}

.hero-send-button svg {
    display: block;
    flex-shrink: 0;
    stroke: #ffffff;
}

.hero-send-button:hover {
    background: #5A5A5A;
}

.hero-add-file-button {
    background-color: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
}

.hero-add-file-button:hover {
    background-color: var(--bg-input);
    transform: scale(1.05);
}

.hero-add-file-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Use Case Tiles (inside Hero) */
.use-case-section {
    margin-top: 0;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    align-self: flex-start;
}

.use-case-header {
    margin-bottom: 2rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.use-case-show-all {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.use-case-show-all:hover {
    color: var(--text-primary);
}

.use-case-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.use-case-subtitle {
    font-size: 1.1rem;
    color: #9ca3af;
    margin: 0;
}

.use-case-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    margin: 3rem 0 5rem;
}
@media (max-width: 1000px) {
    .use-case-tiles { grid-template-columns: repeat(2, 1fr); }
}

.use-case-tiles-3 {
    grid-template-columns: repeat(3, 1fr);
}

.use-case-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Use-case cards (image-free) */
.use-case-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.6rem 1.75rem;
    background: #1C1C1C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.use-case-wrapper:hover {
    transform: translateY(-3px);
    border-color: #3E67A1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.use-case-wrapper::after {
    content: '\2192';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1rem;
    color: #5a5a5a;
    transition: transform 0.2s ease, color 0.2s ease;
}
.use-case-wrapper:hover::after {
    transform: translateX(3px);
    color: #6f9bd8;
}

.use-case-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
    padding-right: 1.5rem;
}

.use-case-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.use-case-text p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

.use-case-content {
    flex: 1;
}


.use-case-example {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-style: italic;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-purple);
    margin-top: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.use-case-example.hidden {
    display: none;
}

.use-case-toggle {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(43, 76, 126, 0.2);
    border: 1px solid rgba(43, 76, 126, 0.4);
    color: var(--primary-purple);
    font-size: 1.25rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.use-case-toggle:hover {
    background: rgba(43, 76, 126, 0.3);
    transform: translateX(-50%) scale(1.1);
}

.use-case-toggle.active {
    transform: translateX(-50%) rotate(45deg);
}

.use-case-toggle.active:hover {
    transform: translateX(-50%) rotate(45deg) scale(1.1);
}

/* Stats Grid (inside Hero) */
.stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-top: 6rem;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0 4rem;
}

.stats-grid .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.stats-grid .stat-item:first-child {
    align-items: flex-start;
    text-align: left;
}

.stats-grid .stat-item:first-child .stat-number,
.stats-grid .stat-item:first-child .stat-label {
    justify-content: flex-start;
    text-align: left;
}

.stats-grid .stat-item:last-child {
    align-items: flex-end;
    text-align: right;
}

.stats-grid .stat-item:last-child .stat-number,
.stats-grid .stat-item:last-child .stat-label {
    justify-content: flex-end;
    text-align: right;
}

.stats-grid .stat-number {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    text-align: center;
    width: 100%;
    min-height: 7.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    white-space: nowrap;
}

.stats-grid .stat-label {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    width: 100%;
}

/* Backers Section */
.backers-section {
    padding: 6rem 0;
    background: #0A0A0A;
}

.backers-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.backer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.backer-logo:hover {
    opacity: 0.7;
}

.backer-logo img {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
}

/* Section Styles */
.section-header {
    text-align: left;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(43, 76, 126, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E5E5E5;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9A9A9A;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* Jurisdiction Status Bar */
.jurisdiction-status-bar {
    background: var(--bg-dark-muted);
    padding: 0.75rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jurisdiction-status-content {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .jurisdiction-status-content {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: #0A0A0A;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.feature-card p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.feature-link:hover {
    transform: translateX(4px);
}

.feature-link i {
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(4px);
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    /* Initial state for smooth animation - prevents blink */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    /* GPU acceleration for smooth animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: #9ca3af;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #ffffff;
    position: relative;
    align-self: flex-start;
    margin-top: 30px;
    flex-shrink: 0;
    margin-left: -30px;
    margin-right: -30px;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Data Sources Section */
.data-sources-section {
    padding: 6rem 0;
    background: #181818;
    position: relative;
}

.data-sources-section .vision-background {
    display: none;
}

.data-sources-total {
    text-align: center;
    margin-bottom: 3rem;
}

.data-sources-total-number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #E5E5E5;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.data-sources-total-label {
    display: block;
    font-size: 1.1rem;
    color: #9A9A9A;
    font-weight: 500;
}

.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.data-sources-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

.data-sources-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.data-sources-card:hover {
    border-color: rgba(43, 76, 126, 0.3);
}

.data-sources-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-sources-flag {
    width: 48px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.data-sources-card-info {
    flex: 1;
    min-width: 0;
}

.data-sources-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.data-sources-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.data-sources-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-sources-cat {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.data-sources-cat i {
    color: #345d9a;
    font-size: 0.7rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.data-sources-cat-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.data-sources-cat-desc {
    display: block;
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .data-sources-grid {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem;
        scrollbar-width: none;
    }
    .data-sources-grid::-webkit-scrollbar {
        display: none;
    }
    .data-sources-grid > * {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .data-sources-section {
        padding: 3rem 0;
    }
}

/* Pricing Section */
.pricing {
    padding: 8rem 0 8rem 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(43, 76, 126, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(61, 109, 181, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    /* Initial state for smooth animation - prevents blink */
    opacity: 0;
    transform: translateY(20px);
    /* GPU acceleration for smooth animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: rgba(43, 76, 126, 0.05);
}

.pricing-card.featured.animate-in {
    transform: scale(1.05) translateY(0);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.period {
    font-size: 1rem;
    color: var(--text-gray);
    margin-left: 4px;
}

.price-description {
    color: var(--text-gray);
    font-size: 1rem;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-primary);
}

.pricing-features i {
    color: var(--color-primary);
    font-size: 14px;
}

.btn-pricing {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(43, 76, 126, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-pricing.featured {
    position: relative;
    background: var(--white-button);
    color: #000000;
    border: none;
    overflow: hidden;
    z-index: 0;
}

.btn-pricing.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E5E5E5;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-pricing:hover {
}

.btn-pricing.featured:hover::before {
    opacity: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: #0A0A0A;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    /* Initial state for smooth animation - prevents blink */
    opacity: 0;
    transform: translateY(20px);
    /* GPU acceleration for smooth animations */
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card.animate-in:hover {
    border-color: rgba(43, 76, 126, 0.3);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #ffd700;
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author p {
    color: var(--text-gray);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(180deg, #1a1a2e00 0%, #16213e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #1e3a5f 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.1;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #2c5282 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.1;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-cta-primary, .btn-cta-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-cta-primary {
    position: relative;
    background: var(--white-button);
    color: #000000;
    overflow: hidden;
    z-index: 0;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E5E5E5;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-cta-primary:hover::before {
    opacity: 1;
}

.btn-cta-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cta-note {
    color: var(--text-gray);
    font-size: 14px;
}

/* Footer */
.footer {
    background: #0A0A0B;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

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

.footer-column h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

.footer-description {
    color: #9ca3af;
    margin: 1rem 0 2rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(43, 76, 126, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
}

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

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

/* Responsive Design */

/* Tablet responsive styles */
/* Mobile Menu Styles */
.nav-desktop-only {
    display: inline-flex;
}

.nav-mobile-only {
    display: none;
}

@media (max-width: 1200px) {
    .nav-menu {
        display: none;
    }

    .nav-desktop-only {
        display: none !important;
    }

    .nav-mobile-only {
        display: block !important;
    }

    .nav-container {
        justify-content: space-between;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        gap: 8rem;
    }
}

@media (max-width: 900px) {
    .stats-grid {
        gap: 2rem;
    }

    .stats-grid .stat-number {
        min-height: auto;
        justify-content: center;
    }
}

.mobile-menu-container {
    position: relative;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.mobile-menu-toggle i {
    color: #ffffff;
    opacity: 1;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-dropdown {
    display: none;
    position: fixed;
    top: 60px;
    right: 1rem;
    background: #1C1C1C;
    border: 1px solid rgba(43, 76, 126, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 99999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mobile-menu-dropdown.active {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
}

.mobile-menu-item:hover {
    background: rgba(43, 76, 126, 0.1);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .nav-desktop-only {
        display: none !important;
    }

    .nav-mobile-only {
        display: block;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .nav-logo {
        margin-left: 0;
        font-size: 22px;
        flex-shrink: 0;
    }

    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: flex !important;
        flex-shrink: 0;
        margin-right: 0;
    }

    .nav-actions .btn-primary,
    .nav-actions .btn-outline-gradient {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        padding-top: 3.4rem;
        padding-bottom: 7rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 2rem;
    }

    .container:has(.hero-split) {
        padding: 0 2rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-split-right {
        margin-bottom: 0;
    }

    .hero-split-left {
        padding-right: 0;
    }

    .hero-split-left h1 {
        text-align: center !important;
        font-size: 2rem !important;
    }

    .hero-split-left p {
        text-align: center !important;
    }

    .hero-subtitle-centered {
        margin-right: 0;
    }

    .hero-split-left div {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .hero-feature-tags {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .hero-feature-tags span {
        font-size: 0.875rem;
    }

    .feature-pills {
        justify-content: center !important;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 2rem;
    }

    .hero-title-centered {
        font-size: 2.5rem;
    }

    .hero-subtitle-centered {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }

    .use-case-section {
        padding: 3rem 1rem;
        margin-top: 0;
    }

    .use-case-title {
        font-size: 1.5rem;
    }

    .use-case-subtitle {
        font-size: 0.95rem;
    }

    .use-case-tiles {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .use-case-example {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }

    .use-case-toggle {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-number {
        min-width: 70px;
        font-size: 1.6rem;
        display: block;
        text-align: center;
        width: auto;
    }
    
    .stat-label {
        text-align: center;
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .step-connector {
        display: none;
    }

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .floating-card {
        display: none;
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .stats-grid .stat-item {
        text-align: center;
        align-items: center;
    }

    .stats-grid .stat-number {
        text-align: center;
        justify-content: center;
        min-height: auto;
    }

    .stats-grid .stat-label {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 3.4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-title-centered {
        font-size: 2rem;
    }

    .hero-subtitle-centered {
        font-size: 1rem;
    }

    .hero-input-wrapper {
        max-width: 100%;
    }

    .btn-hero-primary, .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* =============================================
   Refactored Inline Styles - Feature Pills
   ============================================= */

.feature-pills {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    width: 100%;
    max-width: 825px;
    animation: fadeInUp 1s ease 0.8s both;
}

.feature-pill {
    border: 1px solid #ffffff;
    border-radius: var(--radius-full);
    padding: 0.6rem 1rem;
    color: #ffffff;
    font-size: 0.85rem;
}

.hero-powered-text {
    font-size: 0.9rem;
    margin-top: var(--space-sm);
    margin-bottom: 0;
    color: var(--text-muted);
    font-weight: 100;
    animation: fadeInUp 1s ease 1s both;
}

/* =============================================
   Product Description & Value Proposition
   ============================================= */

.section-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    width: 200px;
    margin: 0 auto 4rem auto;
}


/* Scroll Navigation (dots + arrows) */
.scroll-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
}

.scroll-nav--inline {
    position: static;
}

/* Wrapper for scroll container + side arrows */
.scroll-wrapper {
    position: relative;
}

.scroll-wrapper > .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.scroll-wrapper > .scroll-arrow-left {
    left: -56px;
}

.scroll-wrapper > .scroll-arrow-right {
    right: -56px;
}

@media (max-width: 1400px) {
    .scroll-wrapper > .scroll-arrow-left {
        left: -16px;
        background: rgba(0, 0, 0, 0.6);
    }

    .scroll-wrapper > .scroll-arrow-right {
        right: -16px;
        background: rgba(0, 0, 0, 0.6);
    }
}

.scroll-dots {
    display: flex;
    gap: 0.5rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: rgba(255, 255, 255, 0.6);
}

.scroll-arrow {
    background: none;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 1;
}

.scroll-arrow svg {
    width: 28px;
    height: 28px;
}

.scroll-arrow:hover {
    color: #ffffff;
}

.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-nav .scroll-dots {
    display: none;
}

@media (max-width: 768px) {
    .scroll-arrow {
        display: none !important;
    }

    .scroll-nav .scroll-dots {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.light-landing .scroll-dot { background: rgba(0, 0, 0, 0.15); }
.light-landing .scroll-dot.active { background: rgba(0, 0, 0, 0.5); }
.light-landing .scroll-arrow { color: rgba(0, 0, 0, 0.3); }
.light-landing .scroll-arrow:hover { color: #000; }

.product-description-section {
    padding: 4rem 0;
    width: 100%;
    background: #181818;
}

.product-description-section .container {
    align-items: stretch;
}

.product-description-content {
    text-align: center;
}

.product-description-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.product-description-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-value-tiles {
    display: flex;
    gap: 2rem;
    margin: 2rem 0 2rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

@media (min-width: 1024px) {
    .product-value-tiles {
        justify-content: center;
    }
}

.product-value-tiles::-webkit-scrollbar {
    display: none;
}

.product-value-tile {
    scroll-snap-align: start;
    text-align: center;
    padding: 3rem 0;
    flex: 0 0 280px;
}

.product-value-tile h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
}

.product-value-tile p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.8;
}

.product-value-tile-left {
    text-align: left;
}

.product-value-tile-right {
    text-align: right;
}

.product-value-tile-bordered {
    text-align: left;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.product-value-tile-bordered h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.product-description-problem {
    font-size: 1rem;
    line-height: 1.7;
    color: #9ca3af;
    font-style: italic;
    padding: 1.5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .product-description-section {
        padding: 4rem 0;
    }

    .product-description-title {
        font-size: 2rem;
    }

    .product-description-text {
        font-size: 1rem;
    }

    .product-value-tiles {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-description-problem {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* =============================================
   Refactored Inline Styles - Benefits/Testimonials
   ============================================= */

.benefit-icon-container {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.benefit-icon {
    font-size: 2rem;
    color: #ffffff;
}

.benefit-title {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.benefit-description {
    text-align: center;
    color: #9ca3af;
    line-height: 1.6;
}

/* =============================================
   Refactored Inline Styles - Vision Section
   ============================================= */

.vision-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    background: #181818;
}

.vision-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(43, 76, 126, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(61, 109, 181, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.vision-container {
    position: relative;
    z-index: 1;
}

.vision-header {
    text-align: center;
    margin-bottom: 2rem;
}

.vision-title {
    font-size: 3rem;
    font-weight: 700;
    color: #E5E5E5;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.vision-subtitle {
    font-size: 1.125rem;
    color: #7A7A7A;
    max-width: 800px;
    margin: 0;
    line-height: 1.6;
}

.vision-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

@media (min-width: 1024px) {
    .vision-grid {
        justify-content: center;
    }
}

.vision-grid::-webkit-scrollbar {
    display: none;
}

.vision-card {
    scroll-snap-align: start;
    flex: 0 0 320px;
}

.vision-card {
    background: #181818;
    border: none;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: background 0.3s ease;
    text-align: left;
}

.vision-card:hover {
    background: #1f2020;
}

.vision-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.vision-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vision-icon-container i {
    font-size: 1.25rem;
    color: #ffffff;
}

.vision-card h3 {
    color: #E5E5E5;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0;
}

.vision-card p {
    color: #5A5A5A;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.vision-card-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary);
    font-weight: 600;
}

.vision-card-link i {
    font-size: 0.875rem;
}

/* =============================================
   Refactored Inline Styles - Pricing Grid
   ============================================= */

.pricing-grid-narrow {
    max-width: 800px;
}

.pricing-card-full-width {
    grid-column: 1 / -1;
}

/* =============================================
   Hidden Elements
   ============================================= */

.hidden-input {
    display: none;
}

/* =============================================
   Responsive - Vision Section
   ============================================= */

@media (max-width: 768px) {
    .vision-title {
        font-size: 2rem;
    }

    .vision-subtitle {
        font-size: 1rem;
    }

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

/* Blockquote styling for legal text quotations in chat */
blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1.25rem;
    border-left: 4px solid var(--color-primary);
    background: rgba(43, 76, 126, 0.08);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-dim);
}

blockquote p {
    margin: 0;
}

/* =============================================
   Scrollbar Styling (moved from script.js)
   ============================================= */

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #535A62 var(--bg-dark-alt);
}

/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-alt);
}

::-webkit-scrollbar-thumb {
    background: #535A62;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #636A72;
}

/* =============================================
   Navbar Scrolled State (moved from script.js)
   ============================================= */

/* =============================================
   Mobile Menu Active States (moved from script.js)
   ============================================= */

@media (max-width: 768px) {
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        left: 0;
        top: 80px;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
    }

    .nav-actions.active {
        display: flex;
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        gap: 1rem;
    }
}


/* ============================================
   SCANDINAVIAN PRESTIGE THEME
   ============================================ */

.scandinavian-theme {
    background: var(--bg-primary);
    font-family: var(--font-family-sans);
    color: var(--text-primary);
}

/* Base Typography */
.scandinavian-theme h1,
.scandinavian-theme h2,
.scandinavian-theme h3,
.scandinavian-theme h4 {
    font-family: var(--font-family-serif);
    font-weight: 500;
    line-height: 1.2;
}

/* Containers */
.scandi-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Eyebrow Text */
.scandi-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Section Headers */
.scandi-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.scandi-section-title {
    font-family: var(--font-family-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.scandi-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */
.scandi-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.scandi-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg,
        var(--bg-secondary) 0%,
        var(--bg-tertiary) 100%);
    opacity: 0.3;
    z-index: 0;
    border-radius: 0 0 0 50%;
}

.scandi-hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.scandi-hero-content {
    max-width: 900px;
}

.scandi-hero-title {
    font-family: var(--font-family-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.scandi-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
}

/* Hero Stats */
.scandi-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.scandi-stat {
    text-align: left;
}

.scandi-stat-value {
    font-family: var(--font-family-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
}

.scandi-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.scandi-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero CTA */
.scandi-hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Trust Badges */
.scandi-trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.scandi-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
}

.scandi-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

/* ===== BUTTONS ===== */
.scandi-btn-primary,
.scandi-btn-secondary,
.scandi-btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: var(--font-family-sans);
}

.scandi-btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid var(--text-primary);
}

.scandi-btn-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.scandi-btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.scandi-btn-primary-large {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid var(--text-primary);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.scandi-btn-primary-large:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Link Styles */
.scandi-link-underline,
.scandi-link-underline-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.scandi-link-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.scandi-link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.scandi-link-underline-large {
    font-size: 1.125rem;
}

/* ===== VALUE SECTION ===== */
.scandi-value {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.scandi-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.scandi-value-card {
    padding: 3rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
}

.scandi-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scandi-value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.scandi-value-card:hover::before {
    opacity: 1;
}

.scandi-value-number {
    font-family: var(--font-family-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.scandi-value-title {
    font-family: var(--font-family-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.scandi-value-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== USE CASES SECTION ===== */
.scandi-usecases {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.scandi-usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.scandi-usecase-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
    cursor: pointer;
}

.scandi-usecase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.scandi-usecase-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.scandi-usecase-card:hover .scandi-usecase-image {
    transform: scale(1.05);
}

.scandi-usecase-content {
    padding: 1.5rem;
    position: relative;
}

.scandi-usecase-title {
    font-family: var(--font-family-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.scandi-usecase-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.scandi-usecase-arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.scandi-usecase-card:hover .scandi-usecase-arrow {
    transform: translateX(8px);
}

.scandi-usecases-cta {
    text-align: center;
    padding-top: 2rem;
}

/* ===== INDUSTRIES SECTION ===== */
.scandi-industries {
    padding: 6rem 0;
    background: var(--bg-surface);
}

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

.scandi-industry-card {
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.scandi-industry-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
}

.scandi-industry-card h4 {
    font-family: var(--font-family-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* ===== FEATURES SECTION ===== */
.scandi-features {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.scandi-features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.scandi-features-left {
    position: sticky;
    top: 100px;
}

.scandi-features-description {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.scandi-features-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.scandi-feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.scandi-feature-item:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
}

.scandi-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--text-primary);
}

.scandi-feature-title {
    font-family: var(--font-family-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.scandi-feature-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.scandi-cta {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.scandi-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 0;
}

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

.scandi-cta-title {
    font-family: var(--font-family-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.scandi-cta-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.scandi-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .scandi-features-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .scandi-features-left {
        position: static;
    }

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

@media (max-width: 768px) {
    .scandi-hero {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .scandi-hero-title {
        font-size: 2.5rem;
    }

    .scandi-hero-stats {
        gap: 1rem;
    }

    .scandi-stat-divider {
        display: none;
    }

    .scandi-section-title {
        font-size: 2rem;
    }

    .scandi-value-grid,
    .scandi-industries-grid {
        grid-template-columns: 1fr;
    }

    .scandi-usecases-grid {
        grid-template-columns: 1fr;
    }

    .scandi-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .scandi-btn-primary,
    .scandi-btn-secondary {
        justify-content: center;
    }

    .scandi-cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .scandi-container {
        padding: 0 1rem;
    }

    .scandi-hero-title {
        font-size: 2rem;
    }

    .scandi-value-card,
    .scandi-industry-card,
    .scandi-feature-item {
        padding: 1.5rem;
    }

    .scandi-stat-value {
        font-size: 2rem;
    }
}

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

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

/* Smooth scroll reveal animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* =============================================
   Landing Page Review Edits (2026-03)
   ============================================= */

/* Consistent section padding */
.product-description-section,
.use-case-section-standalone,
.how-it-works,
.vision-section,
/* Homepage CTA section */
.homepage-cta-section {
    padding: 4rem 0;
    text-align: left;
    background: #181818;
    position: relative;
}

.homepage-cta-section {
    background: #222222;
}

.use-case-section-standalone .section-header,
.how-it-works .section-header {
    text-align: center;
}

.use-case-section-standalone .section-subtitle,
.how-it-works .section-subtitle {
    margin: 0 auto;
}

.homepage-cta-section {
    text-align: center;
}

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

.vision-subtitle {
    margin: 0 auto;
}

.data-sources-section .section-header {
    text-align: center;
}

.data-sources-section .section-subtitle {
    margin: 0 auto;
}

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

.testimonials-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2rem;
    margin: 0 auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 1rem;
}

.testimonials-row::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 1 0 280px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    scroll-snap-align: start;
}

.testimonials-divider {
    width: 1px;
    background: var(--border-light);
    align-self: stretch;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .testimonials-row {
        gap: 1rem;
        padding: 0 1rem;
    }

    .testimonials-row::after {
        content: '';
        flex: 0 0 1px;
    }

    .testimonial-card {
        flex: 0 0 85%;
    }

    .testimonials-divider {
        display: none;
    }

    .testimonials-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .testimonial-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #3a3a3a;
        transition: background 0.3s ease;
    }

    .testimonial-dot.active {
        background: #8B7EC8;
    }
}

.testimonials-section {
    padding: 4rem 0;
    background: #181818;
}

.testimonials-header {
    max-width: 36rem;
    margin-bottom: 2rem;
}

.testimonials-heading {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #E5E5E5;
    margin-bottom: 1rem;
}

.testimonials-subheading {
    font-size: 1rem;
    color: #7A7A7A;
    line-height: 1.6;
}

/* Nova Engine Section */
.nova-engine-section {
    position: relative;
    height: calc(100vh + 700px);
    background: #181818;
}
.nova-engine-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #181818;
}
.nova-engine-sticky .container { width: 100%; }

.nova-engine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.nova-engine-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #345d9a 0%, #4a7ec7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.nova-engine-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #E5E5E5;
    margin-bottom: 2rem;
}

.nova-engine-description {
    font-size: 1.125rem;
    color: #7A7A7A;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.nova-tech-name {
    color: #E5E5E5;
    font-weight: 700;
}

.nova-engine-label-icon {
    margin-right: 0.375rem;
}

.nova-engine-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nova-feature-text {
    max-width: 340px;
}

.nova-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.nova-feature-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    background: #1f2020;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.875rem;
}

.nova-feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #E5E5E5;
    margin-bottom: 0.25rem;
}

.nova-feature-text {
    font-size: 0.875rem;
    color: #5A5A5A;
    line-height: 1.5;
}

.nova-feature-dots,
.trust-compliance-dots,
.testimonials-dots {
    display: none;
}

/* Nova App Preview */
.nova-engine-terminal {
    position: relative;
    transform: translateY(48px);
}

.nova-app-preview {
    background: #181818;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.nova-app-response {
    padding: 2rem;
    color: #cccccc;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.nova-app-response h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 1.5rem 0 0.75rem 0;
}

.nova-app-response h3:first-child {
    margin-top: 0;
}

.nova-app-response p {
    margin: 0 0 0.75rem 0;
}

.nova-app-response a {
    color: #345d9a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nova-app-response strong {
    color: #ffffff;
    font-weight: 600;
}

.nova-app-response em {
    font-style: italic;
}

.nova-app-response ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.25rem;
}

.nova-app-response ul li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.nova-app-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.75rem;
    color: #5A5A5A;
}

.nova-app-sources {
    display: flex;
    gap: 0.75rem;
    color: #5A5A5A;
}

.nova-app-input {
    background: #252525;
    margin: 0 1rem 1rem 1rem;
    border-radius: 9999px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nova-app-textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #E5E5E5;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    resize: none;
    line-height: 1.5;
}

.nova-app-textarea::placeholder {
    color: #5A5A5A;
}

.nova-app-input-button {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #7A7A7A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nova-app-input-button:hover {
    background: #5A5A5A;
}

/* Scroll-driven chat reveal (the AI response streams in as you scroll) */
.nova-chat-user {
    align-self: flex-end;
    max-width: 85%;
    margin: 1.25rem 1.5rem 0 auto;
    padding: 0.7rem 1rem;
    background: #345d9a;
    color: #ffffff;
    border-radius: 14px 14px 4px 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    box-sizing: border-box;
}
.nova-reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.nova-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .nova-engine-section {
        overflow-x: hidden;
        height: auto;
        padding: 4rem 0;
    }
    .nova-engine-sticky {
        position: static;
        height: auto;
        display: block;
    }
    /* Sticky is static on mobile, so the centered band can't anchor to it — put
       the gallery on the section itself (both themes) and keep the sticky
       transparent so that image shows through. */
    .nova-engine-sticky::before { display: none; }
    .nova-engine-sticky,
    body.light-landing .nova-engine-sticky { background: transparent; }
    .nova-engine-section,
    body.light-landing .nova-engine-section { background: #181818 url('/images/precision-bg.webp') center / cover no-repeat; }

    .nova-engine-grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
    }

    .nova-engine-content {
        min-width: 0;
        overflow: hidden;
    }

    .nova-engine-title {
        font-size: 2rem;
    }

    .nova-engine-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .nova-engine-terminal {
        display: none;
    }

    .nova-feature-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .nova-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #3a3a3a;
        transition: background 0.3s ease;
    }

    .nova-dot.active {
        background: #8B7EC8;
    }

    .nova-engine-features {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .nova-engine-features::-webkit-scrollbar {
        display: none;
    }
    .nova-feature {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
}

/* Trust & Compliance Section */
.trust-compliance-section {
    padding: 4rem 0;
    background: #181818;
}

.trust-compliance-header {
    text-align: center;
    margin-bottom: 5rem;
}

.trust-compliance-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #E5E5E5;
    margin-bottom: 1.5rem;
}

.trust-compliance-subtitle {
    font-size: 1rem;
    color: #7A7A7A;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.trust-compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-compliance-card {
    background: #181818;
    padding: 2.5rem;
    transition: background 0.3s ease;
}

.trust-compliance-card:hover {
    background: #1f2020;
}

.trust-compliance-icon {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: block;
}

.trust-compliance-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #E5E5E5;
    margin-bottom: 1rem;
}

.trust-compliance-card-text {
    font-size: 0.875rem;
    color: #5A5A5A;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .trust-compliance-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        scrollbar-width: none;
    }
    .trust-compliance-grid::-webkit-scrollbar {
        display: none;
    }
    .trust-compliance-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .trust-compliance-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .trust-compliance-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem;
        scrollbar-width: none;
    }
    .trust-compliance-grid::-webkit-scrollbar {
        display: none;
    }
    .trust-compliance-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .trust-compliance-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .trust-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #3a3a3a;
        transition: background 0.3s ease;
    }

    .trust-dot.active {
        background: #8B7EC8;
    }
}

.testimonial-quote-mark {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.testimonial-attribution {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   Hero Split Layout
   ============================================= */

.hero-split-left h1.hero-title-centered {
    text-align: left;
    font-size: 3rem;
    margin-top: -0.5rem;
    font-weight: 700;
}

.hero-split-left p.hero-subtitle-centered {
    text-align: center;
    font-size: 1rem;
    color: #7A7A7A;
}

.hero-cta-wrapper {
    margin: 1.5rem 0 0 0;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta-buttons .btn-primary {
    animation: fadeInUp 1s ease 0.75s both;
    padding: 12px 49px;
}

.hero-cta-buttons .btn-outline-gradient {
    animation: fadeInUp 1s ease 0.85s both;
    padding: 12px 32px;
}

.hero-cta-price {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-split-right .hero-input-wrapper {
    margin-top: 0;
    max-width: 100%;
}

/* =============================================
   Section Link Containers
   ============================================= */

.section-link-container {
    text-align: center;
    margin-top: 2rem;
}

.section-link-container--wide {
    margin-top: 2.5rem;
}

.section-link-container .btn-secondary {
    display: inline-flex;
}

/* =============================================
   Homepage CTA Content
   ============================================= */

.homepage-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.homepage-cta-section p {
    color: var(--text-secondary);
    margin: 1.5rem 0 2.5rem;
    font-size: 1.1rem;
}

.homepage-cta-section .btn-primary {
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 12px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-primary-button {
    background: #1a202c;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.cta-demo-button {
    background: transparent;
    color: #E5E5E5;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.cta-demo-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #7A7A7A;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    color: #ffffff;
}

.theme-icon-light { display: none; }
.theme-icon-dark { display: inline; }

/* =============================================
   Light Landing Mode
   ============================================= */
.light-landing .theme-icon-light { display: inline; }
.light-landing .theme-icon-dark { display: none; }

.light-landing .theme-toggle {
    color: #9ca3af;
}
.light-landing .theme-toggle:hover {
    color: #ffffff;
}

/* Navbar */
.light-landing .navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.light-landing .navbar.scrolled {
    background: #f7f7f7;
}
.light-landing .nav-logo .logo-text,
.light-landing .nav-logo .logo-accent { color: #E5E5E5; }
.light-landing .nav-link { color: #ffffff; }
.light-landing .nav-link:hover { color: #ffffff; }
.light-landing .nav-signin-link { color: #ffffff; }
.light-landing .nav-signin-link:hover { color: #ffffff; }
.light-landing .nav-try-button {
    background: #E5E5E5;
    color: #000000;
}

/* Light-topped subpages (use cases, price, why): the page top is light, so give the
   navbar a solid dark background. The menu text stays light (the .light-landing default),
   and we keep it light in the scrolled state too (overriding the scrolled-dark rules). */
.light-landing.light-top .navbar,
.light-landing.light-top .navbar.scrolled {
    background: #1a202c; /* match the footer (.light-landing .footer) */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* about-page footers are darker (.about-page .footer in shared.css), so match that. */
.about-page.light-landing.light-top .navbar,
.about-page.light-landing.light-top .navbar.scrolled { background: #0A0A0B; }
.light-landing.light-top .navbar.scrolled .nav-link,
.light-landing.light-top .navbar.scrolled .nav-link:hover,
.light-landing.light-top .navbar.scrolled .nav-signin-link,
.light-landing.light-top .navbar.scrolled .nav-signin-link:hover { color: #ffffff; }
.light-landing.light-top .navbar.scrolled .nav-logo .logo-text,
.light-landing.light-top .navbar.scrolled .nav-logo .logo-accent { color: #E5E5E5; }
.light-landing.light-top .navbar.scrolled .theme-toggle,
.light-landing.light-top .navbar.scrolled .mobile-menu-toggle { color: #E5E5E5; }
.light-landing.light-top .navbar.scrolled .nav-try-button { background: #E5E5E5; color: #000000; }
.light-landing.light-top .navbar.scrolled .nav-try-button:hover { background: #ffffff; }

/* Hero */
.light-landing .hero {
    background: none;
}
.light-landing .hero::after {
    display: none;
}
.light-landing .hero-background {
    background-color: #3a3a3a;
}
.light-landing .hero-bg-image {
    opacity: 0.5;
}
.light-landing .hero-gradient {
    background: radial-gradient(circle at 30% 20%, rgba(43, 76, 126, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(61, 109, 181, 0.08) 0%, transparent 50%);
}
.light-landing .hero-title-centered { color: #ffffff; }
.light-landing .hero-title-accent { color: #1C232E; }
.light-landing .hero-title-centered .hero-title-accent { color: #9CC0FF; }
.light-landing .hero-subtitle-centered { color: #ffffff; }
.light-landing .hero-pattern-symbols .symbol-row span { color: rgba(0, 0, 0, 0.04); }
.light-landing .hero-input-with-files {
    background-color: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.08);
}
.light-landing .hero-chat-input { color: #1a202c; }
.light-landing .hero-chat-input::placeholder { color: #9ca3af; }
.light-landing .hero-send-button { background: #1a202c; }
.light-landing .hero-send-button:hover { background: #2d3748; }
.light-landing .hero-feature-tags span { color: #ffffff; }

/* Testimonials */
.light-landing .testimonials-section { background: #f7f7f7; }
.light-landing .testimonials-heading { color: #1a202c; }
.light-landing .testimonials-subheading { color: #4a5568; }
.light-landing .testimonial-card { color: #2d3748; }
.light-landing .testimonial-text { color: #2d3748; }
.light-landing .testimonial-attribution { color: #718096; }
.light-landing .testimonial-quote-mark { color: #cbd5e0; }
.light-landing .testimonials-divider { background: #e2e8f0; }

/* Nova Engine — gallery background.
   Matches how it ships on j.eulaw.ai: a full-width image band rendered at
   ~native scale (sharp, no upscaling) instead of zooming to fill the 100vh
   sticky. The band shows in both themes; the space above/below it is the page's
   off-white (#f7f7f7) in light mode and the dark base (#181818) in dark mode. */
.light-landing .nova-engine-section,
.light-landing .nova-engine-sticky { background: #f7f7f7; }
.nova-engine-sticky::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    /* Band is shorter than the photo's 1800x772 aspect, so `cover` keys to width
       (native ~1.06x scale, sharp) and clips ~13% off the top and bottom. */
    aspect-ratio: 16 / 5;
    min-height: 560px;
    max-height: 100%;
    background: url('/images/precision-bg.webp') center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}
.nova-engine-sticky > .container { position: relative; z-index: 1; }
.light-landing .nova-engine-label { color: #ffffff; background: none; -webkit-text-fill-color: #ffffff; }
.light-landing .nova-engine-title { color: #ffffff; }
.light-landing .nova-engine-description { color: #4a5568; }
.light-landing .nova-feature-icon {
    background: #f0f0f0;
    color: #1a202c;
}
.light-landing .nova-feature-title { color: #14171D; }
.light-landing .nova-feature-text { color: #1f242c; }
.light-landing .nova-tech-name { color: #1a202c; }

/* Nova "How it works" copy keeps the same colours in dark mode as on the light
   landing — the text sits over the gallery image in both themes. */
body:not(.light-landing) .nova-engine-label {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}
body:not(.light-landing) .nova-engine-title { color: #ffffff; }
body:not(.light-landing) .nova-engine-title .hero-title-accent { color: #1C232E; }
body:not(.light-landing) .nova-feature-title { color: #14171D; }
body:not(.light-landing) .nova-feature-text { color: #1f242c; }

/* Nova App Preview */
.light-landing .nova-app-preview {
    background: #f5f5f5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38), 0 12px 28px rgba(0, 0, 0, 0.22);
}
.light-landing .nova-app-response { color: #2d3748; }
.light-landing .nova-app-response h3 { color: #1a202c; }
.light-landing .nova-app-response strong { color: #1a202c; }
.light-landing .nova-app-response ul li { color: #2d3748; }
.light-landing .nova-app-meta { color: #9ca3af; }
.light-landing .nova-app-sources { color: #9ca3af; }
.light-landing .nova-app-input {
    background: #e8e8e8;
}
.light-landing .nova-app-textarea { color: #1a202c; }
.light-landing .nova-app-textarea::placeholder { color: #9ca3af; }
.light-landing .nova-app-input-button {
    background: #1a202c;
    color: #ffffff;
}

/* Trust & Compliance */
.light-landing .trust-compliance-section { background: #f7f7f7; }
.light-landing .trust-compliance-title { color: #1a202c; }
.light-landing .trust-compliance-subtitle { color: #4a5568; }
.light-landing .trust-compliance-card {
    background: #ffffff;
}
.light-landing .trust-compliance-card:hover { background: #fafafa; }
.light-landing .trust-compliance-icon { color: #1a202c; }
.light-landing .trust-compliance-card-title { color: #1a202c; }
.light-landing .trust-compliance-card-text { color: #718096; }

/* Database */
.light-landing .data-sources-section { background: #f7f7f7; }
.light-landing .section-title { color: #1a202c; }
.light-landing .section-subtitle { color: #4a5568; }
.light-landing .data-sources-total-number { color: #1a202c; }
.light-landing .data-sources-total-label { color: #4a5568; }

/* CTA */
.light-landing .homepage-cta-section { background: #ffffff; }
.light-landing .homepage-cta-section h2 { color: #1a202c; }
.light-landing .homepage-cta-section p { color: #4a5568; }
.light-landing .cta-primary-button {
    background: #1a202c;
    color: #ffffff;
}
.light-landing .cta-demo-button {
    color: #1a202c;
    border-color: rgba(0, 0, 0, 0.15);
}
.light-landing .cta-demo-button:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

/* Footer */
.light-landing .footer { background: #1a202c; }

/* Product Description */
.light-landing .product-description-section { background: #f7f7f7; }
.light-landing .pan-european-section .vision-card { background: #ffffff; }
.light-landing .product-description-title { color: #1a202c; }
.light-landing .product-description-text { color: #4a5568; }
.light-landing .product-value-tile { background: #ffffff; border-color: rgba(0, 0, 0, 0.1); }
.light-landing .product-value-tile h3 { color: #1a202c; }
.light-landing .product-value-tile p { color: #4a5568; }
.light-landing .section-divider { background: rgba(0, 0, 0, 0.15); }

/* Vision Section */
.light-landing .vision-section { background: #ffffff; }
.light-landing .vision-title { color: #1a202c; }
.light-landing .vision-subtitle { color: #4a5568; }
.light-landing .vision-card { background: #f0f0f0; }
.light-landing .vision-card:hover { background: #e8e8e8; }
.light-landing .vision-card h3,
.light-landing .vision-card-title { color: #1a202c; }
.light-landing .vision-card p,
.light-landing .vision-card-text { color: #4a5568; }
.light-landing .vision-icon-container { color: #1a202c; }
.light-landing .vision-icon-container i { color: #1a202c; }

/* Use Cases */
.light-landing .use-case-section-standalone { background: #f7f7f7; }
.light-landing .use-case-section-standalone h2 { color: #1a202c; }
.light-landing .use-case-section-standalone p { color: #4a5568; }
.light-landing .use-case-text h3 { color: #1a202c; }
.light-landing .use-case-text p { color: #4a5568; }
.light-landing .use-case-wrapper {
    color: #1a202c;
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.09);
}
.light-landing .use-case-wrapper:hover {
    border-color: #345d9a;
    box-shadow: 0 8px 24px rgba(20, 23, 29, 0.08);
}
.light-landing .use-case-wrapper::after { color: #9ca3af; }
.light-landing .use-case-wrapper:hover::after { color: #345d9a; }
.light-landing .btn-secondary { color: #1a202c; border-color: rgba(0, 0, 0, 0.2); }
.light-landing .btn-secondary:hover { background: rgba(0, 0, 0, 0.05); }

/* How It Works / Powerful Tools */
.light-landing .how-it-works { background: #ffffff; }
.light-landing .how-it-works h2,
.light-landing .section-title { color: #1a202c; }
.light-landing .how-it-works p { color: #4a5568; }
.light-landing .section-subtitle { color: #4a5568; }
.light-landing .step-card { background: transparent; }
.light-landing .step-card h3,
.light-landing .step-content h3 { color: #1a202c; }
.light-landing .step-card p,
.light-landing .step-content p { color: #4a5568; }
.light-landing .step-card i { color: #1a202c; }
.light-landing .step-number { color: #1a202c; }
.light-landing .step-connector { background: #1a202c; }
.light-landing .step-connector::after { border-left-color: #1a202c; }

/* Trust Badges */
.light-landing .trust-badge i { color: #1a202c; }
.light-landing .trust-badge-title { color: #1a202c; }
.light-landing .trust-badge-subtitle { color: #4a5568; }

/* Scroll arrows & dots in light mode */
.light-landing .scroll-arrow { color: rgba(0, 0, 0, 0.4); }
.light-landing .scroll-arrow:hover { color: #1a202c; }

/* Links & buttons */
.light-landing .section-link-container a { color: #1a202c; border-color: rgba(0, 0, 0, 0.2); }
.light-landing .gradient-text { color: #4a5568; }

/* =============================================
   Light Mode — Body & Global
   ============================================= */
body.light-landing { background: #ffffff; }

/* =============================================
   Light Mode — Subpage Hero (.about-hero)
   ============================================= */
.light-landing .about-hero { background: #f7f7f7; }
.light-landing .about-hero h1 { color: #1a202c; }
.light-landing .about-hero h1 span { color: #345d9a; }
.light-landing .about-hero p { color: #4a5568; }

/* =============================================
   Light Mode — Subpage Content Sections (.about-section)
   ============================================= */
.light-landing .about-section { background: #ffffff; }

/* =============================================
   Light Mode — Story Section
   ============================================= */
.light-landing .section-story { background: #f7f7f7; }
.light-landing .section-story .story-heading { color: #1a202c; }
.light-landing .section-story .story-content p { color: #4a5568; }
.light-landing .section-story .pillar-heading i { color: #1a202c; }

/* =============================================
   Light Mode — Problem Section
   ============================================= */
.light-landing .section-problem { background: #ffffff; }
.light-landing .section-problem .story-heading { color: #1a202c; }
.light-landing .section-problem .story-content p { color: #4a5568; }
.light-landing .section-problem .pillar-heading i { color: #1a202c; }

/* =============================================
   Light Mode — Technology Section
   ============================================= */
.light-landing .section-technology { background: #f7f7f7; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.light-landing .section-technology .tech-intro { color: #4a5568; }
.light-landing .section-technology .story-heading { color: #1a202c; }
.light-landing .section-technology .pillar-heading i { color: #1a202c; }

/* =============================================
   Light Mode — Mission Section
   ============================================= */
.light-landing .section-mission { background: #ffffff; }

/* =============================================
   Light Mode — Values Grid & Value Items
   ============================================= */
.light-landing .values-grid .value-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.light-landing .value-content h4 { color: #1a202c; }
.light-landing .value-content h4 i { color: #718096; }
.light-landing .value-content p { color: #4a5568; }
.light-landing .value-item i.value-icon { color: #1a202c; }

/* =============================================
   Light Mode — Feature Grid (subpages)
   ============================================= */
.light-landing .feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid #345d9a;
}
.light-landing .feature-card i { color: #345d9a; }
.light-landing .feature-card h3 { color: #1a202c; }
.light-landing .feature-card p { color: #4a5568; }

/* =============================================
   Light Mode — Subpage CTA
   ============================================= */
.light-landing .subpage-cta { background: #f7f7f7; }
.light-landing .subpage-cta h2 { color: #1a202c; }
.light-landing .subpage-cta p { color: #4a5568; }
.light-landing .subpage-cta .btn-primary {
    background: #1a202c;
    color: #ffffff;
}
.light-landing .subpage-cta .btn-primary:hover {
    background: #2d3748;
}

/* =============================================
   Why Page — Research Stat Hero (monument)
   ============================================= */
.why-hero {
    background: var(--bg-dark-surface);
    padding: 7rem 2rem 4.5rem;
    text-align: center;
}
.why-hero .container { max-width: 880px; }
.why-hero-eyebrow {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}
.why-stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    line-height: 1;
}
.why-stat-num {
    font-size: clamp(4.5rem, 14vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-primary);
}
.why-stat-to {
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    font-weight: 500;
    color: var(--text-muted);
}
.why-stat-caption {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 2.75rem;
    line-height: 1.7;
}
.why-hero-punch {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.why-hero-lede {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Why page — white mode (default for this page) */
.light-landing.about-page { background: #ffffff; }
.light-landing .why-hero { background: #ffffff; }
.light-landing .why-hero-eyebrow { color: #345d9a; }
.light-landing .why-stat-num { color: #345d9a; }
.light-landing .why-stat-to { color: #94a3b8; }
.light-landing .why-stat-caption { color: #4a5568; }
.light-landing .why-hero-punch { color: #1a202c; }
.light-landing .why-hero-lede { color: #4a5568; }

/* Why page — no dividing lines between sections (both themes) */
body.why-page .section-story,
body.why-page .section-problem,
body.why-page .section-technology,
body.why-page .subpage-cta { border-bottom: none; }
/* Light mode — every section the same white */
body.why-page.light-landing .section-story,
body.why-page.light-landing .section-problem,
body.why-page.light-landing .section-technology,
body.why-page.light-landing .subpage-cta { background: #ffffff; }

/* =============================================
   Landing — EU sovereignty (map + edge-to-edge dark band of security cards)
   ============================================= */
.eu-data-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 0;
    background: linear-gradient(rgba(6, 8, 12, 0.68), rgba(6, 8, 12, 0.68)), url('/images/eu-sovereign-map.webp') center / cover no-repeat;
}
.eu-data-header { text-align: center; max-width: 820px; margin: 0 auto 2.75rem; padding: 0 5vw; }
.eu-data-section .trust-compliance-title,
.eu-data-section .trust-compliance-title .hero-title-accent { color: #ffffff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.eu-data-cards {
    display: flex;
    gap: 0;
    justify-content: safe center;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 0.5rem 5vw 1.5rem;
    margin: 0;
    background: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.eu-data-cards.is-dragging { scroll-snap-type: none; }
.eu-data-cards::-webkit-scrollbar { display: none; }
.eu-data-card {
    flex: 0 0 clamp(260px, 24vw, 340px);
    scroll-snap-align: start;
    padding: 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.eu-data-card:first-child { border-left: none; }
.eu-data-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
.eu-data-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
@media (max-width: 820px) {
    .eu-data-section { padding: 4.5rem 0; }
    .eu-data-card { flex: 0 0 78vw; }
}

/* =============================================
   Landing — Comprehensive Legal Data (scroll-driven image accordion)
   ============================================= */
.data-feature-section {
    position: relative;
    height: calc(100vh + 600px);
    padding: 0;
}
.data-feature-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}
.data-feature-sticky .container { width: 100%; }
.data-feature-header { text-align: left; }
.data-feature-header .section-title { text-align: left; }
.data-feature-section .data-sources-sources-strip { align-items: flex-start; margin-left: 0; margin-right: 0; max-width: 1040px; }
.data-feature-section .data-sources-sources-names { justify-content: flex-start; }
.data-feature-section .section-link-container--databases { text-align: left; justify-content: flex-start; }
.data-feature-grid {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 1040px;
    margin: 2rem 0 0;
    height: 44vh;
    max-height: 440px;
}
.data-feature-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.data-feature-card.is-active { flex-grow: 5; }
.data-feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
    display: block;
}
.data-feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem 1.6rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}
.data-feature-card.is-active .data-feature-overlay { opacity: 1; }
.data-feature-stat {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.data-feature-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.3rem;
}
@media (max-width: 768px) {
    .data-feature-section { height: auto; padding: 4rem 0; }
    .data-feature-sticky { position: static; height: auto; display: block; }
    .data-feature-grid { flex-direction: column; height: auto; max-height: none; gap: 0.5rem; }
    .data-feature-card { flex: none; height: 110px; transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .data-feature-card.is-active { height: 360px; }
    .data-feature-overlay { opacity: 1; }
}

/* Database page — EU country coverage grid */
.db-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}
.db-country {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 10px;
}
.db-country img { width: 28px; height: 21px; border-radius: 3px; object-fit: cover; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.db-country span { font-size: 0.95rem; color: #e5e5e5; }
.light-landing .db-country span { color: #1a202c; }
.db-country .db-beta {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 5px;
    color: #b26a00;
    background: rgba(217, 144, 32, 0.14);
}
.light-landing .db-country .db-beta { color: #b26a00; }
.db-country .db-live {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 5px;
    color: #1a7f4b;
    background: rgba(34, 160, 95, 0.14);
}
.light-landing .db-country .db-live { color: #1a7f4b; }
@media (max-width: 600px) {
    .db-countries-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* =============================================
   Light Mode — Databases Page
   ============================================= */
.light-landing .db-hero { background: linear-gradient(rgba(8, 10, 14, 0.74), rgba(8, 10, 14, 0.84)), url('/images/eu-sovereign-map.webp') center / cover no-repeat !important; }
.light-landing .db-hero h1 { color: #ffffff; }
.light-landing .db-hero p { color: rgba(255, 255, 255, 0.75); }
.light-landing .db-stats-bar .db-stat-number { color: #ffffff; }
.light-landing .db-stats-bar .db-stat-label { color: rgba(255, 255, 255, 0.7); }
.light-landing .db-search-input {
    color: #1a202c;
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
}
.light-landing .db-search-input::placeholder { color: #9ca3af; }
.light-landing .db-search-input:focus { border-color: rgba(0, 0, 0, 0.3); }
.light-landing .db-section-title { color: #1a202c; }
.light-landing .db-section-sub { color: #4a5568; }
.light-landing .db-coming-pill,
.light-landing .db-pill {
    background: #f0f0f0;
    color: #1a202c;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.light-landing .db-coming-pill:hover,
.light-landing .db-pill:hover {
    background: #e8e8e8;
    color: #1a202c;
}
.light-landing .db-load-more {
    color: #4a5568;
    border-color: rgba(0, 0, 0, 0.2);
}
.light-landing .db-load-more:hover {
    color: #1a202c;
    border-color: rgba(0, 0, 0, 0.4);
}
.light-landing .db-frameworks-grid.expanded {
    scrollbar-color: #ccc transparent;
}
.light-landing .db-frameworks-grid.expanded::-webkit-scrollbar-thumb {
    background: #ccc;
}
.light-landing .db-jurisdiction-card { background: #f0f0f0; }
.light-landing .db-jurisdiction-card:hover { background: #e8e8e8; }
.light-landing .db-card-name { color: #1a202c; }
.light-landing .db-card-count { color: #4a5568; }
.light-landing .db-card-chevron { color: #4a5568; }
.light-landing .db-card-sources li { color: #4a5568; }
.light-landing .db-card-sources li strong { color: #1a202c; }
.light-landing .db-section { color: #1a202c; }
.light-landing .db-section-header h3 { color: #1a202c; }
.light-landing .db-table td:first-child { color: #1a202c; }
.light-landing .db-table td:last-child { color: #4a5568; }
.light-landing .db-appeals-title { color: #1a202c; }
.light-landing .db-appeals-tag {
    background: #f0f0f0;
    border-color: rgba(0, 0, 0, 0.1);
    color: #4a5568;
}
.light-landing .db-coming-soon-tag {
    background: #f0f0f0;
    border-color: rgba(0, 0, 0, 0.1);
    color: #4a5568;
}
.light-landing .db-cta-section { background: #f7f7f7 !important; }
.light-landing .db-cta-section h2 { color: #1a202c; }
.light-landing .db-cta-section p { color: #4a5568; }
.light-landing .db-cta-primary {
    background: #1a202c;
    color: #ffffff;
}
.light-landing .db-cta-primary:hover { opacity: 0.85; }
.light-landing .db-cta-secondary {
    color: #1a202c;
    border-color: rgba(0, 0, 0, 0.2);
}
.light-landing .db-cta-secondary:hover { border-color: rgba(0, 0, 0, 0.4); }
.light-landing .db-grid { color: #1a202c; }

/* =============================================
   Light Mode — Pricing Page
   ============================================= */
.light-landing .pricing-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
}
.light-landing .pricing-label { color: #1a202c; }
.light-landing .pricing-amount { color: #1a202c; }
.light-landing .pricing-amount span { color: #4a5568; }
.light-landing .pricing-cancel { color: #718096; }
.light-landing .pricing-features li { color: #1a202c; }
.light-landing .pricing-features li i { color: #10b981; }
.light-landing .pricing-savings { color: #10b981; }
.light-landing .pricing-header h3 { color: #1a202c; }
.light-landing .amount { color: #1a202c; }
.light-landing .currency { color: #345d9a; }
.light-landing .period { color: #4a5568; }
.light-landing .price-description { color: #4a5568; }
.light-landing .comparison-table thead th:first-child { color: #1a202c; }
.light-landing .comparison-table thead th:nth-child(2) { color: #1a202c; }
.light-landing .comparison-table thead th:nth-child(3) { color: #718096; }
.light-landing .comparison-table tbody td:first-child { color: #1a202c; }
.light-landing .comparison-table tbody td:nth-child(2) { color: #10b981; }
.light-landing .comparison-table tbody td:nth-child(3) { color: #718096; }
.light-landing .comparison-table tbody td { border-bottom-color: rgba(0, 0, 0, 0.08); }
.light-landing .step-item h4 { color: #1a202c; }
.light-landing .step-item p { color: #4a5568; }
.light-landing .step-number {
    color: #1a202c;
    border-color: rgba(0, 0, 0, 0.12);
    background: #f7f7f7;
}
.light-landing .price-highlight i { color: #718096; }
.light-landing .price-highlight h4 { color: #1a202c; }
.light-landing .price-highlight p { color: #4a5568; }

/* =============================================
   Light Mode — About Page (Team)
   ============================================= */
.light-landing .section-header h2 { color: #1a202c; }
.light-landing .team-grid { color: #1a202c; }
.light-landing .team-name { color: #1a202c; }
.light-landing .team-title { color: #4a5568; }
.light-landing .team-member { color: #1a202c; }
.light-landing .team-photo-placeholder { color: #718096; }
.light-landing .story-heading { color: #1a202c; }
.light-landing .story-content p { color: #4a5568; }

/* =============================================
   Light Mode — Features Page
   ============================================= */
.light-landing .about-section .btn-primary {
    background: #1a202c;
    color: #ffffff;
}
.light-landing .about-section .btn-primary:hover {
    background: #2d3748;
}
.light-landing .about-section .btn-primary::before {
    background: #2d3748;
}

/* =============================================
   Light Mode — Section Borders (visible on white)
   ============================================= */
.light-landing .about-section { border-bottom-color: rgba(0, 0, 0, 0.1); }
.light-landing .section-story { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.light-landing .section-problem { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.light-landing .section-technology { border-bottom-color: rgba(0, 0, 0, 0.1); }
.light-landing .jurisdiction-status-bar {
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.light-landing .pricing {
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.light-landing .cta {
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.light-landing .data-sources-country-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.light-landing .db-section-header {
    border-bottom-color: rgba(0, 0, 0, 0.15);
}
.light-landing .db-table tr {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* =============================================
   Light Mode — Global Buttons on Subpages
   ============================================= */
.light-landing .btn-primary {
    background: #1a202c;
    color: #ffffff;
}
.light-landing .btn-primary::before {
    background: #2d3748;
}
.light-landing .btn-primary:hover {
    color: #ffffff;
}

/* =============================================
   Light Mode — Footer (stays dark)
   ============================================= */
/* .light-landing .footer already defined above */

/* =============================================
   Product Description Border
   ============================================= */

.product-description-text--no-margin {
    margin-bottom: 0;
}

/* =============================================
   Use Case Text Center
   ============================================= */

.use-case-section-standalone .use-case-text {
    text-align: center;
}

/* =============================================
   Trust Badges
   ============================================= */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 6rem;
}

.trust-badge {
    text-align: center;
    max-width: 140px;
}

.trust-badge i {
    font-size: 2rem;
    color: #ffffff;
    display: block;
    margin-bottom: 0.75rem;
}

.trust-badge-title {
    font-weight: 600;
    color: #E5E5E5;
    font-size: 0.9rem;
    display: block;
}

.trust-badge-subtitle {
    color: #5A5A5A;
    font-size: 0.8rem;
}

/* =============================================
   Database Section Link
   ============================================= */

.section-link-container--databases {
    text-align: center;
    margin: 2rem 0;
}

/* =============================================
   Mobile Slider Component
   ============================================= */

.mobile-slider {
    display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-slider {
        display: block;
        position: relative;
        overflow: hidden;
    }

    .mobile-slider-track {
        display: flex;
        transition: transform 0.3s ease;
    }

    .mobile-slider-track > * {
        flex: 0 0 85%;
        margin-right: 1rem;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        visibility: visible !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-slider-track > * * {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-slider-track .use-case-wrapper {
        align-items: center;
    }

    .mobile-slider-track .use-case-text {
        text-align: center;
    }

    .mobile-slider-track .step-card {
        text-align: center;
        align-items: center;
    }

    .mobile-slider-track .step-content {
        text-align: center;
    }

    .mobile-slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .mobile-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.25);
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s;
    }

    .mobile-slider-dot.active {
        background: #ffffff;
    }

    /* Hide desktop grids on mobile, show slider instead */
    .slider-desktop-grid {
        display: none !important;
    }
}

/* =============================================
   Mobile Footer Collapse
   ============================================= */

@media (max-width: 768px) {
    .footer-column h4 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-column h4::after {
        content: '+';
        font-size: 1.25rem;
        font-weight: 300;
        color: #9ca3af;
        transition: transform 0.2s;
    }

    .footer-column h4.expanded::after {
        content: '−';
    }

    .footer-column ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .footer-column ul.expanded {
        max-height: 300px;
    }

    /* First footer column (logo + description) stays open */
    .footer-column:first-child h4::after {
        display: none;
    }

    .footer-column:first-child ul {
        max-height: none;
    }
}

/* ============================================================
   Editorial landing page section overrides
   (non-generic alternatives to the feature-tile pattern)
   ============================================================ */

/* More generous vertical rhythm between the closing sections */
.testimonials-section--editorial {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}
.trust-compliance-section--editorial {
    padding-top: 7rem !important;
    padding-bottom: 14rem !important;
}
.homepage-cta-section--editorial {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}
@media (max-width: 768px) {
    .testimonials-section--editorial {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    .trust-compliance-section--editorial,
    .homepage-cta-section--editorial {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}

/* Proof strip — supporting metrics row (under the big 150M+ number) */
.data-sources-metrics {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 3.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.data-sources-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.data-sources-metric-value {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.data-sources-metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7a7a7a;
    font-weight: 500;
}
.light-landing .data-sources-metric-value { color: #1a202c; }
.light-landing .data-sources-metric-label { color: #4a5568; }

/* Proof strip — named-source row */
.data-sources-sources-strip {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}
.data-sources-sources-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #5a5a5a;
    font-weight: 500;
}
.data-sources-sources-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
    font-size: 1rem;
    color: #c7c7c7;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.data-sources-sources-sep {
    color: #3a3a3a;
    font-weight: 400;
}
.data-sources-sources-more {
    color: #7a7a7a;
    font-style: italic;
    font-weight: 400;
}
.light-landing .data-sources-sources-strip {
    border-top-color: rgba(0, 0, 0, 0.08);
}
.light-landing .data-sources-sources-label { color: #718096; }
.light-landing .data-sources-sources-names { color: #2d3748; }
.light-landing .data-sources-sources-sep { color: #cbd5e0; }
.light-landing .data-sources-sources-more { color: #718096; }


/* Editorial statement block (replaces the 3 "value prop" tiles) */
/* Pinned to the LEFT edge of the container for an asymmetric layout */
.editorial-block {
    max-width: 52rem;
    margin: 0 auto 0 0;
    text-align: left;
}
.editorial-title {
    text-align: left !important;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 1.75rem !important;
}
.editorial-title-accent {
    color: #4a7ec7;
}
.editorial-body {
    text-align: left !important;
    font-size: 1.0625rem !important;
    line-height: 1.7 !important;
    max-width: 44rem;
    margin-left: 0 !important;
    margin-right: auto !important;
    color: #a8a8a8 !important;
}
.light-landing .editorial-body { color: #4a5568 !important; }
.light-landing .editorial-title-accent { color: #4a7ec7; }

/* Trust manifesto — single paragraph replaces the 4-card grid */
/* Pinned to the RIGHT edge of the container for an asymmetric layout */
.trust-manifesto {
    max-width: 48rem;
    margin: 0 0 0 auto;
}
.trust-manifesto-text {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #a8a8a8;
    text-align: right;
    max-width: 48rem;
    margin: 0 0 0 auto;
    text-wrap: balance;
}
/* Right-align the trust section heading when followed by the manifesto */
.trust-compliance-section .trust-compliance-header--right {
    text-align: right !important;
    max-width: 48rem;
    margin: 0 0 1.5rem auto;
}
.trust-compliance-header--right .trust-compliance-title,
.trust-compliance-header--right .trust-compliance-subtitle {
    text-align: right !important;
}
.trust-manifesto-text strong {
    color: #ffffff;
    font-weight: 500;
}
.light-landing .trust-manifesto-text { color: #4a5568; }
.light-landing .trust-manifesto-text strong { color: #1a202c; }

/* Testimonials — editorial variant: unboxed pull-quotes */
.testimonials-section--editorial .testimonial-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 2rem !important;
    max-width: 26rem;
    position: relative;
}
.testimonials-section--editorial .testimonial-card.animate-in:hover {
    border-color: transparent !important;
}
.testimonials-section--editorial .testimonial-text {
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
    font-style: italic;
    color: #e5e5e5 !important;
    margin-bottom: 0 !important;
    font-weight: 300;
}
.testimonials-section--editorial .testimonial-quote-mark {
    color: #4a7ec7;
    opacity: 0.6;
    font-size: 3rem;
    line-height: 0.8;
    display: block;
    margin-bottom: 0.25rem;
}
.testimonials-section--editorial .testimonials-divider {
    display: block;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0;
    align-self: stretch;
}
.light-landing .testimonials-section--editorial .testimonial-text { color: #1a202c !important; }
.light-landing .testimonials-section--editorial .testimonials-divider { background: rgba(0, 0, 0, 0.08); }

/* Final CTA — secondary button as ghost text link */
.cta-microcopy {
    opacity: 0.65;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    margin-bottom: 2rem !important;
}
.cta-demo-button--ghost {
    background: transparent !important;
    border: none !important;
    color: #a8a8a8 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.cta-demo-button--ghost:hover {
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}
.light-landing .cta-demo-button--ghost { color: #4a5568 !important; text-decoration-color: rgba(0, 0, 0, 0.2); }
.light-landing .cta-demo-button--ghost:hover { color: #1a202c !important; text-decoration-color: rgba(0, 0, 0, 0.6); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
