/* --- Vanta Landing Page Styles --- */
:root {
    --bg-primary: #050505;
    /* Blackest Black */
    --bg-secondary: #0D0D0F;
    /* Obsidian */
    --bg-surface: #141416;
    --bg-panel: #1A1B1E;

    --bg-glass: rgba(13, 13, 15, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);

    --accent: #E2B05E;
    /* Burned Gold */
    --accent-hover: #F2C47E;
    --accent-glow: rgba(226, 176, 94, 0.25);

    --cyan: #3b82ff;
    --cyan-glow: rgba(59, 130, 255, 0.25);
    --green: #00ff88;
    --green-glow: rgba(0, 255, 136, 0.25);
    --amber: #ff8800;
    --amber-glow: rgba(255, 136, 0, 0.25);

    --text-primary: #F8F9FA;
    --text-secondary: #A1A1AA;
    --text-tertiary: #71717A;

    --font-main: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: 400ms cubic-bezier(0.23, 1, 0.32, 1);
    --radius-lg: 16px;
    --radius-md: 10px;
}

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

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

img,
canvas,
svg,
video {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: var(--font-main);
    letter-spacing: -0.02em;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

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

.gold-glow {
    box-shadow: none;
}

.cyan-glow {
    box-shadow: none;
}

.green-glow {
    box-shadow: none;
}

.amber-glow {
    box-shadow: none;
}

.glass-panel {
    background: #111114;
    border: 1px solid #222226;
    border-radius: 8px;
    box-shadow: none;
}

/* --- Header --- */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #0D0D0F;
    border-bottom: 1px solid #1C1C1E;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.brand-wordmark-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-wordmark {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.22em;
    color: #F5F2EA;
    text-transform: uppercase;
    transition: color var(--transition), transform var(--transition);
}

.brand-wordmark span {
    color: var(--accent);
}

.logo:hover .brand-wordmark {
    transform: translateY(-1px);
}

.compare-wordmark {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #F5F2EA;
    text-transform: uppercase;
}

.compare-wordmark span {
    color: var(--accent);
}

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

.nav-links a {
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:focus-visible,
.btn:focus-visible,
.play-pause-btn:focus-visible,
.ab-btn:focus-visible,
.track-item:focus-visible,
.price-toggle:focus-visible {
    outline: 2px solid rgba(226, 176, 94, 0.7);
    outline-offset: 3px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-bright);
}

.btn-accent {
    background: #fff;
    color: #000;
}


/* --- Hero --- */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.pricing-assurance {
    margin: 64px auto 0;
    padding: 24px 32px;
    border-radius: 8px;
    border: 1px solid #222226;
    background: #111114;
    box-shadow: none;
    max-width: 640px;
    text-align: center;
}

.pricing-assurance-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.pricing-assurance p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-content > *,
.tech-grid > *,
.compare-grid > *,
.ab-player-container > *,
.requirements-grid > *,
.pricing-grid > *,
.faq-grid > * {
    min-width: 0;
}

.hero-text-block h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.app-mockup-container {
    position: relative;
    width: 100%;
}

.app-mockup {
    width: 115%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9);
    animation: float 6s ease-in-out infinite;
    margin-left: -7.5%;
    /* Center the overflow */
}

.mockup-shadow {
    position: absolute;
    bottom: -60px;
    left: 0%;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    filter: blur(30px);
    border-radius: 50%;
    animation: shadowFloat 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shadowFloat {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.3;
    }
}

/* --- Philosophy --- */
.philosophy-quote {
    padding: 120px 0;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.quote-content i {
    font-size: 42px;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 32px;
    display: block;
}

.quote-content blockquote {
    font-family: var(--font-main);
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    font-style: italic;
    letter-spacing: -0.02em;
}

.quote-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 54px auto 0;
}

/* --- Features --- */
.features-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.demo-transparency-note {
    display: grid;
    gap: 8px;
    justify-items: center;
    max-width: 860px;
    margin: 18px auto 0;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--bg-surface) 72%, transparent);
}

.demo-transparency-copy {
    max-width: 720px;
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    text-align: center;
}

.demo-tech-note {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
}

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

.feature-card {
    background: #111114;
    border: 1px solid #222226;
    padding: 32px;
    border-radius: 8px;
    transition: none;
    position: relative;
}

.feature-card:hover {
    border-color: #2D2D32;
    transform: none;
    background: #141418;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #18181A;
    border: 1px solid #222226;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-subhead {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
}

.feature-card p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* --- Pricing --- */
.trust-section {
    padding: 40px 0 24px;
    background: var(--bg-primary);
}

.trust-banner {
    border-radius: 8px;
    padding: 34px;
    position: relative;
    overflow: hidden;
    background: #111114;
    border: 1px solid #222226;
}

.trust-banner::before {
    display: none;
}

.trust-header,
.trust-metrics,
.trust-note,
.trust-philosophy,
.trust-details {
    position: relative;
    z-index: 1;
}

.trust-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.trust-header h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.trust-intro {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 16px;
}

.trust-status {
    min-width: 190px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 18px;
    text-align: right;
}

.trust-status-label {
    display: block;
    color: var(--text-tertiary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.trust-status-value {
    color: var(--text-primary);
    font-size: 18px;
    font-family: var(--font-main);
    font-weight: 700;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.trust-metric {
    border: 1px solid #222226;
    border-radius: 6px;
    background: #18181A;
    padding: 16px 18px;
}

.trust-metric-action {
    cursor: pointer;
}

.trust-metric-action:hover,
.trust-metric-action:focus-visible {
    border-color: #2D2D32;
    background: #222225;
    box-shadow: none;
}

.trust-metric-k {
    display: block;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-family: var(--font-mono);
    margin-bottom: 10px;
}

.trust-metric-v {
    display: block;
    color: var(--text-primary);
    font-size: 24px;
    font-family: var(--font-main);
    font-weight: 700;
}

.trust-note {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 18px;
}

.trust-note.has-warning {
    color: #FFD28A;
}

.trust-philosophy {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    margin-bottom: 18px;
}

.trust-philosophy-title {
    color: var(--accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.trust-philosophy p {
    color: var(--text-secondary);
    max-width: 920px;
}

.trust-details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    padding: 0 18px;
}

.trust-details summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-weight: 600;
}

.trust-details summary::-webkit-details-marker {
    display: none;
}

.trust-details-copy {
    color: var(--text-secondary);
    padding-bottom: 18px;
    white-space: pre-line;
}

.pricing-section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.price-box {
    background: #111114;
    border: 1px solid #222226;
    padding: 32px 32px;
    border-radius: 8px;
    width: 100%;
    position: relative;
    transition: none;
    display: flex;
    flex-direction: column;
}

.price-box .btn {
    margin-top: auto;
    font-size: 14px;
    padding: 12px 16px;
    white-space: nowrap;
}

.price-box:hover {
    transform: none;
    border-color: #2D2D32;
    background: #141418;
}

.premium-border {
    border: 1px solid #E2B05E;
}

.premium-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.price-header h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.amount {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 32px;
}

.duration {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
}

.price-features li {
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.price-features li i {
    color: var(--accent);
}

.full-width {
    width: 100%;
}

.small-note {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 16px;
    display: block;
    width: 100%;
    text-align: center;
    min-height: 36px; /* Ensure consistent spacing for notes */
}

.price-subhead {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: -12px;
    margin-bottom: 24px;
}

.edu-range {
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--accent);
    margin-top: -12px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.legal-note {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 20px;
    line-height: 1.5;
    text-align: center;
    min-height: 36px;
}

.rollout-notice {
    font-size: 11px;
    color: var(--accent);
    opacity: 0.7;
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.4;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

.education-toggle {
    margin-bottom: 28px;
}

.gumroad-text {
    color: #fff;
    font-weight: 600;
}

.licencing-footer {
    margin-top: 48px;
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
}

.text-center {
    text-align: center;
    justify-content: center;
}

.why-a-pound {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(226, 176, 94, 0.15);
    border: 1px solid rgba(226, 176, 94, 0.35);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-left: 8px;
    transition: var(--transition);
}

.why-a-pound:hover,
.why-a-pound:focus {
    background: rgba(226, 176, 94, 0.25);
    border-color: var(--accent);
}

.why-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-panel);
    border: 1px solid rgba(226, 176, 94, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    width: 260px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.why-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(226, 176, 94, 0.25);
}

.why-a-pound:hover .why-tooltip,
.why-a-pound:focus .why-tooltip {
    display: block;
}

.price-toggle-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.price-toggle {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.price-toggle:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.price-toggle.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 600;
}

.save-badge {
    background: rgba(0, 255, 136, 0.15);
    color: var(--green);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 4px;
}

.price-toggle.active .save-badge {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.7);
}

.feature-excluded {
    opacity: 0.35;
}

.feature-excluded i {
    color: var(--text-tertiary) !important;
}

/* --- Download --- */

/* --- Technical Architecture Section --- */
.tech-section {
    padding: 120px 0;
    background: #0D0D0F; /* Flat dark bg */
    border-top: 1px solid rgba(255,255,255,0.03);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr; /* Matches the proportional split in the image */
    gap: 60px;
    align-items: start;
}

/* App UI Specific Overrides */
.app-ui-heading {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    color: #F8F9FA;
}

.app-ui-body {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.app-ui-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #18181A;
    border: 1px solid #2A2A2D;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #E2B05E;
    text-decoration: none;
    margin-bottom: 32px;
    transition: background 0.2s ease;
}

.app-ui-btn:hover {
    background: #222225;
}

.app-ui-btn i {
    font-size: 10px;
}

.tech-visual {
    position: relative;
}

.signal-path.app-ui-panel {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Tight gaps like screenshot */
    padding: 32px;
    background: #101012; /* Very flat panel */
    border: 1px solid #222226;
    border-radius: 12px;
    box-shadow: none; /* Removed all glow/shadows */
}

.path-node.app-ui-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: #141416;
    border: 1px solid #1C1C1E; /* Minimal contrast border */
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #A0A0A5;
}

.path-node.app-ui-node:hover {
    border-color: #2D2D32;
    background: #18181A;
}

.node-number {
    color: #A0A0A5;
    font-weight: 400;
    font-family: var(--font-mono);
    font-size: 12px;
    opacity: 0.6;
}

.path-arrow {
    display: flex;
    justify-content: center;
    color: #333;
    font-size: 8px; /* Used as a tiny dot between nodes */
    margin: 2px 0;
}

.tech-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px; /* Tight structural grid */
}

.tech-card {
    background: #111114; /* Flat component background */
    border: 1px solid #222226; /* Flat explicit border */
    padding: 24px;
    border-radius: 8px; /* Harder corners like app UI */
    transition: none; /* Removed hover transitions */
    box-shadow: none;
}

.tech-card:hover {
    border-color: #2D2D32;
    transform: none;
    background: #141418;
}

.tech-card i {
    color: var(--accent);
    font-size: 16px; /* Smaller UI-like icons */
    margin-bottom: 16px;
    display: block;
}

.tech-card h4 {
    font-family: var(--font-body); /* Matching the body font structure */
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #F8F9FA;
}

.tech-card p {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.tech-stat {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

/* --- Improved Comparison Section --- */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.compare-box {
    background: #111114;
    border: 1px solid #222226;
    border-radius: 8px;
    padding: 32px;
}

.compare-box.vanta-box {
    border-color: #E2B05E;
    background: #141416;
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.compare-header h4 {
    font-size: 22px;
}

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

.compare-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ab-player-container {
    display: grid;
    grid-template-columns: 220px 1fr 340px;
    gap: 0;
    background: #111114; /* Flat component background */
    border: 1px solid #222226; /* Flat explicit border */
    border-radius: 8px; /* Sharp corners */
    padding: 0;
    overflow: hidden;
    min-height: auto;
    box-shadow: none; /* Removed all glow, shadow and inset */
}

.player-info-column {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.player-info-box .info-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 20px;
}

.player-info-box .info-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.player-info-box .info-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.info-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.meta-item i {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.meta-item span {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-tertiary);
}

.player-main-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 0;
    border-top: none;
}

.play-pause-btn-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(226, 176, 94, 0.2);
}

.play-pause-btn-lg:hover {
    transform: scale(1.05);
    background: #f1c40f;
}

.now-playing-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.now-playing-stack .now-playing-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
}

.ab-player-notes {
    margin-top: 18px;
}

.ab-player-notes .player-info-box {
    background: rgba(10, 10, 12, 0.28);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 24px;
}

.ab-player-notes .info-label {
    margin-bottom: 12px;
}

.ab-player-notes .info-text {
    margin-bottom: 18px;
}

.ab-player-notes .info-meta {
    gap: 14px;
}

.player-main-dashboard {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
}

.player-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 24px;
}

.ab-controls-group {
    display: flex;
    align-items: center;
    gap: 32px;
}

.track-list {
    background: rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border);
    padding: 24px 20px;
    height: auto;
    overflow-y: visible;
    overflow-x: hidden;
}

#track-list-container {
    align-self: stretch;
    min-height: 0;
    display: grid;
    grid-auto-rows: min-content;
    align-content: start;
    justify-content: stretch;
    gap: 10px;
}
.compare-list li:last-child {
    border-bottom: none;
}

.compare-list li i.fa-check { color: var(--green); }
.compare-list li i.fa-xmark { color: var(--text-tertiary); opacity: 0.5; }

/* --- Requirements Section --- */
.requirements-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 40px auto 0;
}

.req-box {
    padding: 32px;
    background: #111114;
    border: 1px solid #222226;
    border-radius: 8px;
    transition: none;
}

.req-box:hover {
    background: #141418;
    border-color: #2D2D32;
}

.req-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.req-header i {
    font-size: 24px;
    color: var(--accent);
}

.req-header h4 {
    font-size: 24px;
    font-family: var(--font-main);
}

.req-list {
    list-style: none;
    padding: 0;
}

.req-list li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.req-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.req-list li strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 8px;
}

.req-box.best-experience {
    border-color: #E2B05E;
    background: #141416;
}

.req-note {
    margin-top: 32px;
    font-size: 13px;
    color: var(--accent);
    font-family: var(--font-mono);
    opacity: 0.8;
}

/* --- Footer Refinement --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    width: 100%;
}

@media (max-width: 900px) {
    .glass-header {
        height: auto;
        padding: 14px 0;
    }

    .nav-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
    }

    .hero-section {
        padding-top: 170px;
        padding-bottom: 88px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text-block h1 {
        font-size: 52px;
    }

    .hero-desc {
        max-width: none;
    }

    .app-mockup {
        width: 100%;
        margin-left: 0;
        display: block;
    }

    .mockup-shadow {
        left: 5%;
        width: 90%;
    }

    .tech-grid, .compare-grid {
        grid-template-columns: 1fr;
    }
    .tech-cards {
        grid-template-columns: 1fr;
    }
    .trust-header {
        flex-direction: column;
    }
    .trust-status {
        text-align: left;
        min-width: 0;
    }
    .trust-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- A/B Test Section --- */
.ab-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(59, 130, 255, 0.03) 0%, transparent 70%);
}

/* ab-player-container moved to upper cascade */

.player-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.headphone-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(226, 176, 94, 0.05);
    border: 1px solid rgba(226, 176, 94, 0.15);
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--accent);
    font-size: 13px;
    font-family: var(--font-mono);
    animation: headphoneGlow 3s infinite alternate;
}

.headphone-icon-wrap {
    font-size: 16px;
    animation: headphoneFloat 3s ease-in-out infinite;
}

@keyframes headphoneGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 176, 94, 0);
        border-color: rgba(226, 176, 94, 0.15);
    }
    100% {
        box-shadow: 0 0 15px 0 rgba(226, 176, 94, 0.1);
        border-color: rgba(226, 176, 94, 0.3);
    }
}

@keyframes headphoneFloat {
    0%, 100% {
        transform: translateY(0) scale(1.0);
    }
    50% {
        transform: translateY(-2px) scale(1.1);
    }
}

.visualizer-wrap {
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

#ab-visualizer {
    width: 100%;
    height: 100%;
    display: block;
}

.visualizer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.4) 100%);
    pointer-events: none;
}

/* player-controls removed in favor of dashboard layout */

.play-pause-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(226, 176, 94, 0.3);
}

.play-pause-btn:active {
    transform: scale(0.95);
}

.track-info {
    flex-grow: 1;
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.now-playing-label {
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

.track-info h3 {
    font-size: 28px;
    font-weight: 700;
}

.genre-tag {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--accent);
    background: rgba(226, 176, 94, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.track-stats-display {
    font-size: 11px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    margin-top: 8px;
    min-height: 42px; /* Sufficient for two lines to prevent layout shift */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ab-toggle-wrap {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px;
    border-radius: 50px;
    gap: 6px;
}

.ab-btn {
    padding: 10px 24px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.ab-btn.active {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Track List */
.track-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 0;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-bright);
}

.track-item.active {
    background: rgba(226, 176, 94, 0.08);
    border-color: rgba(226, 176, 94, 0.3);
}

.track-id {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-tertiary);
    opacity: 0.5;
}

.track-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.t-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
}

.t-genre {
    font-size: 11px;
    color: var(--text-tertiary);
}

.track-item .t-stats {
    font-size: 9px !important;
    line-height: 1.35;
    margin-top: 3px !important;
    white-space: normal;
    word-break: break-word;
}

.track-item.active .t-name {
    color: var(--accent);
}

@media (max-width: 1000px) {
    .ab-player-container {
        grid-template-columns: 1fr;
    }

    .track-list {
        order: 2;
    }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.faq-item h4 {
    font-family: var(--font-main);
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.7;
}

.comparison-section {
    padding: 120px 0;
    background: radial-gradient(circle at top right, rgba(226, 176, 94, 0.05) 0%, transparent 70%);
}

/* --- Footer --- */
.main-footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    font-family: var(--font-main);
    font-weight: 900;
    letter-spacing: 0.22em;
    font-size: 28px;
    color: rgba(245, 242, 234, 0.72);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-logo span {
    color: rgba(226, 176, 94, 0.88);
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    font-size: 13px;
    color: var(--text-tertiary);
    opacity: 0.6;
    margin-top: 20px;
}

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

    .brand-wordmark {
        font-size: 21px;
        letter-spacing: 0.16em;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-section {
        padding-top: 156px;
        padding-bottom: 72px;
    }

    .hero-glow {
        width: 420px;
        height: 420px;
        top: -120px;
        right: -140px;
    }

    .hero-text-block h1 {
        font-size: 42px;
    }

    .hero-desc {
        font-size: 17px;
        margin-bottom: 28px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .features-section,
    .tech-section,
    .ab-section,
    .comparison-section,
    .requirements-section,
    .faq-section,
    .pricing-section {
        padding: 84px 0;
    }

    .section-header h2,
    .tech-text h2 {
        font-size: 36px;
    }

    .demo-transparency-note {
        padding: 16px 18px;
    }

    .demo-transparency-copy {
        font-size: 16px;
    }

    .ab-player-container {
        grid-template-columns: 1fr;
        padding: 0;
        min-height: auto;
    }

    .player-info-column {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 32px 24px;
        justify-content: flex-start;
    }

    .player-main-controls {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .player-main-dashboard {
        padding: 32px 24px;
    }

    .track-list {
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 24px;
        max-height: 400px;
        height: auto;
    }

    .player-main {
        gap: 24px;
    }

    .visualizer-wrap {
        height: 220px;
    }

    .track-info h3 {
        font-size: 22px;
    }

    .track-item {
        padding: 14px 16px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-quote {
        padding: 80px 0;
    }
    
    .quote-content blockquote {
        font-size: 28px;
    }
    
    .quote-line {
        margin-top: 32px;
        width: 80px;
    }

    .trust-banner {
        padding: 24px;
    }

    .trust-header h2 {
        font-size: 34px;
    }

    .trust-metrics {
        grid-template-columns: 1fr;
    }

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

    .player-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ab-controls-group {
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    .mono-toggle-wrap, .ab-toggle-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .ab-btn {
        flex: 1;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

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

    .glass-header {
        padding: 12px 0;
    }

    .brand-wordmark {
        font-size: 19px;
        letter-spacing: 0.13em;
    }

    .nav-links {
        gap: 8px;
        padding-bottom: 2px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 9px 12px;
    }

    .hero-section {
        padding-top: 148px;
    }

    .hero-text-block h1 {
        font-size: 34px;
    }

    .section-header h2,
    .tech-text h2,
    .trust-header h2,
    .amount {
        font-size: 30px;
    }

    .quote-content blockquote {
        font-size: 24px;
    }

    .feature-card,
    .tech-card,
    .compare-box,
    .req-box,
    .price-box,
    .ab-player-container {
        border-radius: 18px;
    }

    .player-info-column {
        padding: 24px 20px;
    }

    .player-main-controls {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .player-main-dashboard {
        padding: 24px 20px;
        gap: 20px;
    }

    .visualizer-wrap {
        height: 200px;
    }

    .player-actions {
        padding: 12px 16px;
        border-radius: 18px;
    }

    .ab-controls-group {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .mono-toggle-wrap, .ab-toggle-wrap {
        width: 100%;
        justify-content: center;
    }

    .play-pause-btn {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .track-info h3 {
        font-size: 20px;
    }

    .compare-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

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

@media (max-width: 420px) {
    .hero-section {
        padding-top: 178px;
    }

    .hero-text-block h1 {
        font-size: 30px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .ab-controls-group,
    .mono-toggle-wrap,
    .ab-toggle-wrap {
        width: 100%;
    }

    .mono-toggle-wrap {
        display: flex !important;
    }

    .ab-toggle-wrap {
        flex-direction: column;
        border-radius: 18px;
    }

    .ab-btn {
        width: 100%;
    }

    .track-item {
        gap: 12px;
    }
}

/* --- Reference links --- */
.ref-link {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-tertiary);
    text-decoration: none;
    border-bottom: 1px dotted var(--text-tertiary);
    white-space: nowrap;
    transition: color 200ms ease;
}
.ref-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
