/* ========================================
   QuantKit Visor - Landing Page
   Deep Slate + Mint Palette
   Robust Theming System v1.0
   ======================================== */

/* ===========================================
   CSS VARIABLES - SINGLE SOURCE OF TRUTH
   =========================================== */
:root {
    /* -------- Core Colors (Deep Slate) -------- */
    --color-bg: #121517;
    --color-bg-rgb: 18, 21, 23;
    --color-bg-elevated: #1a1d20;
    --color-bg-card: #222528;

    /* -------- Text Colors -------- */
    --color-text: #ffffff;
    --color-text-secondary: #EBEBEB;
    --color-text-muted: #B0B0B0;
    --color-text-brand: #d4d4d4;

    /* -------- Accent Colors (Mint) -------- */
    --color-accent: #00ffbb;
    --color-accent-rgb: 0, 255, 187;
    --color-accent-light: #44ffcb;
    --color-accent-light-rgb: 68, 255, 203;
    --color-accent-dark: #00cc96;
    --color-accent-dark-rgb: 0, 204, 150;

    /* -------- Border Colors (Deep Slate) -------- */
    --color-border: #2e3135;
    --color-border-rgb: 46, 49, 53;
    --color-border-light: #383c40;

    /* -------- Semantic Colors -------- */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-star: #FFD700;

    /* -------- Typography -------- */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.8rem;
    --font-size-base: 0.9rem;
    --font-size-md: 0.95rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.2rem;
    --font-size-2xl: 1.35rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* -------- Spacing -------- */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 80px;

    /* -------- Border Radius -------- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 100px;
    --radius-screenshot: 5px;

    /* -------- Shadows -------- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(var(--color-accent-rgb), 0.15);
    --shadow-glow-lg: 0 0 40px rgba(var(--color-accent-rgb), 0.15);

    /* -------- Transitions -------- */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-slower: 0.6s ease;

    /* -------- Z-Index Scale -------- */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-navbar: 1000;
    --z-modal: 2000;
    --z-noise: 9999;

    /* -------- Layout -------- */
    --container-max: 1200px;
    --navbar-height: 74px;

    /* -------- Component Tokens -------- */
    /* Buttons */
    --btn-padding-x: 16px;
    --btn-padding-y: 6px;
    --btn-font-size: var(--font-size-base);
    --btn-radius: var(--radius-full);

    /* Cards */
    --card-padding: var(--spacing-xl);
    --card-radius: var(--radius-xl);
    --card-bg: var(--color-bg-card);
    --card-border: var(--color-border);

    /* Badges */
    --badge-padding-x: var(--spacing-lg);
    --badge-padding-y: var(--spacing-sm);
    --badge-radius: var(--radius-full);
    --badge-bg: linear-gradient(180deg, rgba(34, 37, 40, 0.95) 0%, rgba(26, 29, 32, 0.98) 100%);

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    --gradient-glow: radial-gradient(ellipse 50% 45% at 50% 8%, rgba(var(--color-accent-rgb), 0.11) 0%, rgba(var(--color-accent-rgb), 0.05) 50%, transparent 85%);
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Focus Visible - Keyboard Accessibility */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    --navbar-opacity: 0;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1100px;
    z-index: 1000;
    background: rgba(var(--color-bg-rgb), calc(0.6 + 0.3 * var(--navbar-opacity)));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, calc(0.06 + 0.04 * var(--navbar-opacity)));
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, calc(0.2 * var(--navbar-opacity)));
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 12px 20px;
}

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

.logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0.83);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--color-text-brand);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-text);
}

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

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover {
    color: var(--color-text);
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    padding: 3px;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(-8px);
    z-index: 100;
    overflow: visible;
}

/* Invisible hover bridge between trigger and dropdown */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dropdown-item-svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dropdown-item-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.external-link-icon {
    opacity: 0.5;
    flex-shrink: 0;
}

.dropdown-item:hover .external-link-icon {
    opacity: 0.8;
}

.dropdown-item-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.incoming-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 9999px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.03em;
}

.dropdown-item-desc {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.nav-actions .btn {
    font-size: 0.8rem;
    padding: 6px 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    border-radius: 100px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-elevated);
}

.btn-primary:hover {
    filter: brightness(0.78);
    box-shadow: 0 4px 20px rgba(0, 255, 187, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 15px 30px -15px rgba(255, 255, 255, 0.22);
}

.nav-actions .btn-icon {
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.nav-actions .btn-icon:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon svg {
    display: block;
}

.btn-large {
    padding: 8px 20px;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Button with circle arrow */
.btn-with-circle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 8px;
}

.btn-circle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.btn-circle-arrow svg {
    color: var(--color-bg-elevated);
}

/* Combined badge with icon - Glass Pill */
.badge-combined {
    display: inline-flex;
    align-items: center;
    margin-bottom: 36px;
    padding: 8px 8px 8px 12px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    border: none;
    border-radius: 9999px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 1px 2px 1px rgba(255, 255, 255, 0.08),
        inset 0 -1px 2px 1px rgba(255, 255, 255, 0.08);
}

.badge-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.badge-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.01em;
}

.badge-beta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin: 4px 4px 4px 0;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0 12px;
    border-radius: 9999px;
    line-height: 1;
    background: rgba(0, 255, 187, 0.1);
    color: #00ffbb;
    border: 1px solid rgba(0, 255, 187, 0.3);
}

/* Gradient Text */
.gradient-text {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-video-blanket {
    position: absolute;
    inset: 0;
    background: var(--color-bg);
    pointer-events: none;
    z-index: 1;
    animation: blanketReveal 0.6s ease 0.25s forwards;
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* Warm glow effect */
.hero-glow {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    width: 100%;
    height: 600px;
    background:
        radial-gradient(ellipse 50% 45% at 50% 8%, rgba(var(--color-accent-rgb), 0.11) 0%, rgba(var(--color-accent-rgb), 0.05) 50%, transparent 85%),
        radial-gradient(ellipse 90% 70% at 50% 5%, rgba(var(--color-accent-rgb), 0.08) 0%, rgba(var(--color-accent-rgb), 0.04) 45%, rgba(var(--color-accent-rgb), 0.01) 70%, transparent 100%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin-bottom: 32px;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 30%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero h1 .gradient-text {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle-highlight {
    color: #ffffff;
    font-weight: 600;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
}

.hero-platform-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    opacity: 0.7;
}

.platform-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    filter: invert(1);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Section Divider */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-light) 20%, var(--color-border-light) 80%, transparent 100%);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--badge-bg);
    border: none;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--color-accent-light-rgb), 0.5) 50%, transparent 100%);
}

.section-badge::before {
    content: '•';
    color: var(--color-accent-light);
    font-size: 0.6rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* What is Visor Section */
.what-is-visor {
    padding: 100px 0;
    overflow: hidden;
}

/* Overview — Theater Showcase */
.overview-showcase {
    position: relative;
    margin-top: 56px;
    padding: 0 0 60px;
    width: 85vw;
    max-width: 1600px;
    margin-left: 50%;
    transform: translateX(-50%);
}


.overview-showcase-frame {
    position: relative;
    border-radius: var(--radius-screenshot);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 8px 40px rgba(0, 0, 0, 0.4);
    transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.15s ease;
    will-change: transform;
}

.overview-showcase-frame:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 16px 60px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(255, 255, 255, 0.1);
}

.overview-showcase-frame img {
    width: 100%;
    display: block;
}


@media (max-width: 768px) {
    .overview-showcase {
        width: 95vw;
        margin-top: 40px;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.faq-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-light) 20%, var(--color-border-light) 80%, transparent 100%);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.faq-answer a:hover {
    opacity: 0.8;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-page {
    padding-top: 120px;
    padding-bottom: 0;
    flex: 1;
}

.pricing-tax-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-top: 40px;
}

/* About Page */
.about-page {
    padding-top: 160px;
    padding-bottom: 80px;
    flex: 1;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    text-wrap: balance;
}

.about-block {
    margin-bottom: 40px;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-block p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Legal Pages (Privacy, Terms, Risk Disclosure) */
.legal-page {
    padding-top: 160px;
    padding-bottom: 80px;
    flex: 1;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-updated {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 32px;
    text-align: center;
}

.legal-intro {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.legal-block {
    margin-bottom: 36px;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.legal-block p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.legal-block ul li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.legal-block ul li::before {
    content: "\2022";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.legal-block a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-block a:hover {
    color: var(--color-accent-light);
}

/* Releases Page */
.releases-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.releases-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 9px 20px 9px 14px;
    border-radius: 9999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.releases-filter-btn:hover {
    color: var(--color-text);
    border-color: rgba(var(--color-accent-rgb), 0.6);
    background: rgba(var(--color-accent-rgb), 0.06);
}

.releases-filter-btn.active {
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.08);
    border-color: rgba(var(--color-accent-rgb), 0.3);
}

.releases-filter-icon {
    width: 20px;
    height: 20px;
}

.releases-content {
    max-width: 860px;
    margin: 0 auto;
}

.release-entry {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 64px;
    padding: 48px 0;
}

.release-meta {
    padding-top: 3px;
}

.release-meta-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 100px;
}

.release-version {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.release-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.08);
    border: 1px solid rgba(var(--color-accent-rgb), 0.2);
    padding: 3px 10px 3px 6px;
    border-radius: 9999px;
    width: fit-content;
}

.release-product-icon {
    width: 13px;
    height: 13px;
}

.release-date {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
}

.release-summary {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.release-changes {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.release-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.release-tag {
    display: inline-flex;
    width: fit-content;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 9999px;
}

.release-tag-new {
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(var(--color-accent-rgb), 0.25);
}

.release-tag-improved {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.release-tag-fixed {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.25);
}

.release-tag-internal {
    background: rgba(148, 163, 184, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.release-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.release-group ul li {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    padding-left: 16px;
    position: relative;
}

.release-group ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.release-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-light) 20%, var(--color-border-light) 80%, transparent 100%);
}

@media (max-width: 640px) {
    .release-entry {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .release-meta-left {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        position: static;
    }
}

.pricing-product-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    max-width: 900px;
    margin: 0 auto 24px;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.billing-option {
    padding: 10px 24px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-option:hover {
    color: var(--color-text);
}

.billing-option.active {
    background: var(--color-accent);
    color: var(--color-bg);
}

.billing-save {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 255, 187, 0.15);
    color: #00ffbb;
    padding: 2px 8px;
    border-radius: 9999px;
}

.billing-option.active .billing-save {
    background: rgba(0, 0, 0, 0.15);
    color: var(--color-bg);
}

/* Product pricing card (pricing page) */
.pricing-product-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.pricing-product-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--color-accent-light-rgb), 0.4) 50%, transparent 100%);
    z-index: 1;
}

.pricing-product-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 32px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.pricing-product-banner-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(var(--color-accent-rgb), 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-product-banner-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pricing-product-banner-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pricing-product-banner-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.pricing-product-banner-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.pricing-product-body {
    padding: 28px 32px 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--color-accent-light-rgb), 0.4) 50%, transparent 100%);
}

.pricing-card-featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 40px rgba(var(--color-accent-rgb), 0.15);
}

.pricing-card-featured::before {
    background: linear-gradient(90deg, transparent 0%, rgba(var(--color-accent-dark-rgb), 0.6) 50%, transparent 100%);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 24px;
    transform: translateY(-50%);
    background: var(--color-accent);
    color: var(--color-bg-elevated);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
}


.pricing-header {
    margin-bottom: 20px;
}

.pricing-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-discount {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(0, 255, 187, 0.1);
    color: #00ffbb;
    border: 1px solid rgba(0, 255, 187, 0.3);
    letter-spacing: 0.02em;
}

.pricing-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.pricing-trial-label {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-light);
    opacity: 0.85;
}

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

.price-current {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-light);
}

.pricing-card-featured .price-current {
    color: var(--color-accent);
}

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

.pricing-billed {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.pricing-features .check {
    color: var(--color-accent-light);
    font-weight: 600;
}

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

/* Features Section */
.features {
    padding: 100px 0;
}

/* Panel Showcase — Interactive layout */
.panel-showcase {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: stretch;
}

.panel-showcase-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.panel-category-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: 20px 16px 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-category-label:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.panel-item {
    padding: 9px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease, color 0.2s ease;
}

.panel-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
}

.panel-item.active {
    background: rgba(var(--color-accent-rgb), 0.08);
    box-shadow: inset 3px 0 0 0 var(--color-accent);
    color: var(--color-accent-light);
    font-weight: 600;
}

/* Panel Screenshot Display */
.panel-showcase-display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.panel-frame.active {
    opacity: 1;
    pointer-events: auto;
}

.panel-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-screenshot);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 12px 50px rgba(0, 0, 0, 0.5);
}

/* Platform Feature Cards */
.platform-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}


.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--color-accent-light);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}


.feature-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-carousel {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.testimonials-track .testimonial-card {
    flex-shrink: 0;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-arrow svg {
    display: block;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--color-accent-light-rgb), 0.4) 50%, transparent 100%);
}

.testimonial-avatar {
    margin-bottom: 16px;
}

.testimonial-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-stars {
    margin-bottom: var(--spacing-md);
    color: var(--color-star);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
}

.author-role {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.author-role::before {
    content: "•";
    margin-right: 8px;
}

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

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    text-align: center;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    white-space: nowrap;
}

.final-cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 32px 0 20px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.footer-top .logo {
    flex: none;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-separator {
    width: 1px;
    height: 14px;
    background: var(--color-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-os-icon {
    width: 18px;
    height: 18px;
    opacity: 0.35;
    filter: invert(1);
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.footer-disclaimer {
    color: var(--color-text-muted);
    font-size: 0.7rem;
}

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-page {
    padding: 160px 0 80px;
    flex: 1;
}

.contact-hero {
    text-align: center;
    margin-bottom: 56px;
}

.contact-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-subtitle {
    color: var(--color-text-muted);
    font-size: var(--font-size-base);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-bg-card);
}

.contact-channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--color-accent-rgb), 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-channel-body {
    flex: 1;
    min-width: 0;
}

.contact-channel-body h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.contact-channel-desc {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.contact-channel-value {
    display: block;
    margin-top: 4px;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-family: var(--font-sans);
    user-select: all;
    cursor: text;
}

.contact-channel .btn {
    flex-shrink: 0;
}

.contact-response-note {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: 24px;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .contact-channel {
        flex-wrap: wrap;
    }

    .contact-channel .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-separator {
        display: none;
    }

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

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

@media (max-width: 480px) {
    .navbar .container {
        justify-content: space-between;
    }

    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

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

    .hero-content {
        padding: 0 8px;
    }
}

/* Panel Showcase — Responsive */
@media (max-width: 1024px) {
    .panel-showcase {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .panel-showcase {
        grid-template-columns: 1fr;
    }

    .panel-showcase-display {
        position: relative;
        top: auto;
        order: -1;
    }

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

@media (max-width: 480px) {
    .platform-features {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   COOKIE CONSENT BANNER
   =========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 16px 24px;
    background: rgba(18, 21, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateY(100%);
    animation: cookieSlideUp 0.4s ease 0.5s forwards;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.8rem;
    border-radius: 100px;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 24px;
    }
}

/* ===========================================
   ACCESSIBILITY - REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-glow {
        display: none;
    }

    .hero-video {
        animation: none;
    }
}
