/* ──────────────────────────────────────────
   SoundPrism — Marketing Website v2
   Amber/Gold brand · Glassmorphic dark UI
   ────────────────────────────────────────── */

:root {
    --bg: #09090f;
    --bg-subtle: #0e0e16;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.14);
    --text: #ededf0;
    --text-muted: rgba(255, 255, 255, 0.65);
    --text-dim: rgba(255, 255, 255, 0.4);
    --amber: #d4930d;
    --amber-bright: #f0a818;
    --sienna: #c06830;
    --gradient: linear-gradient(135deg, #f0a818, #c06830);
    --gradient-soft: linear-gradient(135deg, rgba(240, 168, 24, 0.15), rgba(192, 104, 48, 0.08));
    --glow-amber: rgba(240, 168, 24, 0.18);
    --glow-sienna: rgba(192, 104, 48, 0.12);
    --max-width: 1100px;
    --radius: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 24px;
    transition: all 0.35s ease;
}

.nav.scrolled {
    background: rgba(9, 9, 15, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(240, 168, 24, 0.15);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Buttons ────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-nav {
    background: var(--gradient);
    color: white;
    font-size: 13px;
    padding: 8px 18px;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 24px var(--glow-amber);
    color: white;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 12px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--glow-amber);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: var(--bg-card);
}

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

.btn-large {
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 14px;
}

/* ── Sections ───────────────────────── */

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Reveal animations ──────────────── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero ────────────────────────────── */

.hero {
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 650px;
    background: radial-gradient(ellipse,
            rgba(240, 168, 24, 0.14) 0%,
            rgba(192, 104, 48, 0.08) 35%,
            transparent 65%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: var(--amber-bright);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: var(--p-opacity, 0.3);
    }

    90% {
        opacity: var(--p-opacity, 0.3);
    }

    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber-bright);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 8px var(--glow-amber);
    }
}

h1 {
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-trial {
    font-size: 13px;
    color: var(--text-dim);
}

/* Hero signal chain animation */
.hero-signal-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 64px;
    flex-wrap: wrap;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.signal-node {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.signal-node.active {
    color: var(--amber-bright);
    border-color: rgba(240, 168, 24, 0.25);
    background: rgba(240, 168, 24, 0.06);
    box-shadow: 0 0 12px rgba(240, 168, 24, 0.08);
}

.signal-arrow {
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.signal-arrow span {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(240, 168, 24, 0.15), rgba(240, 168, 24, 0.4));
    border-radius: 1px;
    position: relative;
    animation: signalFlow 2s ease-in-out infinite;
}

@keyframes signalFlow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.signal-arrow span::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -3px;
    border: solid rgba(240, 168, 24, 0.5);
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(-45deg);
}

/* ── Problem Section ────────────────── */

.problem {
    padding: 100px 24px 120px;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.problem-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.problem-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.solution-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.solution-list .check {
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Problem column ✕ markers */
.problem-col .solution-list .check {
    color: rgba(255, 100, 100, 0.7);
}

/* Solution column ✦ markers */
.solution-col .solution-list .check {
    color: var(--amber-bright);
}

/* ── Features ───────────────────────── */

.features {
    padding: 120px 24px;
}

.features-tier {
    margin-bottom: 64px;
}

.features-tier:last-child {
    margin-bottom: 0;
}

.tier-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amber-bright);
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* 4-col grid for Audio Effects tier */
.features-tier:nth-of-type(3) .features-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

/* Glow effect for new feature cards */
.feature-card.glow-card {
    border-color: rgba(240, 168, 24, 0.12);
}

.feature-card.glow-card:hover {
    border-color: rgba(240, 168, 24, 0.3);
    box-shadow: 0 4px 32px rgba(240, 168, 24, 0.08);
}

.feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--gradient);
    color: white;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.feature-card .tech-note {
    display: block;
    margin-top: 8px;
    font-size: 11.5px;
    color: var(--text-dim);
    font-style: italic;
}

/* ── Signal Chain Section ──────────── */

.signal-chain-section {
    padding: 120px 24px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.chain-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.chain-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    min-width: 80px;
}

.chain-stage:hover {
    background: rgba(240, 168, 24, 0.06);
}

.chain-icon {
    font-size: 28px;
    line-height: 1;
}

.chain-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.chain-desc {
    font-size: 10px;
    color: var(--text-dim);
    white-space: nowrap;
}

.chain-connector {
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.chain-flow {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, rgba(240, 168, 24, 0.1), rgba(240, 168, 24, 0.35));
    border-radius: 1px;
    position: relative;
    animation: chainPulse 3s ease-in-out infinite;
}

@keyframes chainPulse {

    0%,
    100% {
        opacity: 0.4;
        background: linear-gradient(90deg, rgba(240, 168, 24, 0.1), rgba(240, 168, 24, 0.25));
    }

    50% {
        opacity: 1;
        background: linear-gradient(90deg, rgba(240, 168, 24, 0.3), rgba(240, 168, 24, 0.6));
    }
}

.chain-flow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -3px;
    border: solid rgba(240, 168, 24, 0.4);
    border-width: 0 2px 2px 0;
    padding: 2.5px;
    transform: rotate(-45deg);
}

.chain-footnote {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 20px;
    font-style: italic;
}

/* ── How It Works ───────────────────── */

.how-it-works {
    padding: 120px 24px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-soft);
    border: 1px solid rgba(240, 168, 24, 0.2);
    font-size: 20px;
    font-weight: 800;
    color: var(--amber-bright);
    margin-bottom: 20px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step .tech-detail {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(240, 168, 24, 0.06);
    border: 1px solid rgba(240, 168, 24, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-dim);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ── Use Cases ──────────────────────── */

.use-cases {
    padding: 120px 24px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.use-case {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: border-color 0.2s;
}

.use-case:hover {
    border-color: var(--border-hover);
}

.use-case-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.use-case h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.use-case .scenario {
    font-size: 14px;
    color: var(--amber-bright);
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
}

.use-case p:last-child {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Comparison ─────────────────────── */

.comparison {
    padding: 120px 24px;
}

.comparison-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 20px;
    font-style: italic;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    max-width: 900px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 14px 22px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

th {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.015);
}

td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-muted);
}

tr:last-child td {
    border-bottom: none;
}

.highlight {
    background: rgba(240, 168, 24, 0.05) !important;
    color: var(--text) !important;
    font-weight: 600 !important;
}

th.highlight {
    background: rgba(240, 168, 24, 0.08) !important;
    color: var(--amber-bright) !important;
}

td .cmp-yes {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1em;
    margin-right: 2px;
}

td .cmp-no {
    color: #f87171;
    font-weight: 700;
    font-size: 1.1em;
    margin-right: 2px;
}

td .winner {
    color: var(--amber-bright);
    font-weight: 700;
}

td .loser {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Pricing ────────────────────────── */

.pricing {
    padding: 120px 24px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.pricing-badge {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(240, 168, 24, 0.1);
    color: var(--amber-bright);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    color: var(--text-muted);
}

.price-value {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-cents {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    color: var(--text-muted);
}

.pricing-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.pricing-compare {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.pricing-compare strong {
    color: var(--amber-bright);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 9px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--amber-bright);
    font-weight: 700;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-trial {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

/* ── FAQ ─────────────────────────────── */

.faq {
    padding: 120px 24px;
}

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: color 0.2s;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    animation: faqOpen 0.3s ease;
}

@keyframes faqOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Download CTA ──────────────────── */

.download {
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse,
            rgba(240, 168, 24, 0.1) 0%,
            transparent 60%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

.download-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 28px;
    box-shadow: 0 0 40px rgba(240, 168, 24, 0.15);
}

.download p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 24px;
}

.download-meta {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-dim) !important;
}

/* ── Footer ──────────────────────────── */

.footer {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

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

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

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

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 8px;
}

/* ── Mobile Responsive ──────────────── */

@media (max-width: 768px) {

    /* Prevent horizontal overflow from wide elements */
    body {
        overflow-x: hidden;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(9, 9, 15, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 150;
    }

    .nav-links.open {
        display: flex;
    }

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

    .nav-links .btn-nav {
        font-size: 16px;
        padding: 12px 28px;
    }

    /* Reduce section padding globally */
    .problem,
    .features,
    .how-it-works,
    .use-cases,
    .comparison,
    .pricing,
    .faq,
    .download {
        padding: 72px 16px;
    }

    .signal-chain-section {
        padding: 72px 16px;
    }

    .section-sub {
        font-size: 15px;
        margin-bottom: 36px;
    }

    /* ── Hero ── */
    .hero {
        padding: 110px 16px 48px;
    }

    .hero-sub {
        font-size: 15px;
        margin-bottom: 28px;
    }

    /* Stack hero CTA buttons vertically */
    .hero-cta-row {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Hero signal chain → 3-col grid for balanced layout */
    .hero-signal-chain {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 14px;
        margin-top: 40px;
    }

    .signal-arrow {
        display: none;
    }

    .signal-node {
        font-size: 11px;
        padding: 7px 4px;
        margin: 0;
        text-align: center;
    }

    /* ── Problem/Solution ── */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .problem-text h3 {
        font-size: 22px;
    }

    .solution-list li {
        font-size: 14px;
    }

    /* ── Features ── */
    .features-grid,
    .features-tier:nth-of-type(3) .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .features-tier {
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 22px 20px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .feature-card .tech-note {
        font-size: 11px;
    }

    .feature-badge {
        font-size: 9px;
        padding: 2px 8px;
    }

    /* ── Signal Chain ── */
    .chain-container {
        flex-direction: column;
        gap: 0;
        padding: 16px;
    }

    .chain-connector {
        transform: rotate(90deg);
        padding: 2px 0;
    }

    .chain-flow {
        width: 20px;
    }

    .chain-stage {
        flex-direction: row;
        gap: 12px;
        min-width: unset;
        width: 100%;
        justify-content: flex-start;
        padding: 10px 14px;
        border-radius: 8px;
    }

    .chain-stage:hover {
        background: rgba(240, 168, 24, 0.04);
    }

    .chain-icon {
        font-size: 22px;
        flex-shrink: 0;
        width: 28px;
        text-align: center;
    }

    .chain-label {
        font-size: 13px;
    }

    .chain-desc {
        font-size: 11px;
    }

    .chain-footnote {
        font-size: 12px;
        margin-top: 14px;
    }

    /* ── How It Works ── */
    .steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 17px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .step h3 {
        font-size: 16px;
    }

    .step .tech-detail {
        font-size: 11px;
        padding: 8px 12px;
        word-break: break-all;
    }

    /* ── Use Cases ── */
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .use-case {
        padding: 22px 20px;
    }

    .use-case-icon {
        font-size: 26px;
        margin-bottom: 10px;
    }

    /* ── Comparison Table — sticky first column ── */
    .table-wrapper {
        margin: 0 -4px;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
        max-width: calc(100vw - 24px);
    }

    table {
        min-width: 520px;
    }

    th,
    td {
        padding: 10px 10px;
        font-size: 11.5px;
        white-space: nowrap;
    }

    /* Sticky first column so feature names stay visible */
    th:first-child,
    td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: var(--bg-card);
        white-space: normal;
        min-width: 95px;
        max-width: 110px;
        font-size: 11px;
    }

    th:first-child {
        background: rgba(14, 14, 22, 0.98);
    }

    /* Subtle shadow on sticky column edge */
    th:first-child::after,
    td:first-child::after {
        content: '';
        position: absolute;
        top: 0;
        right: -6px;
        bottom: 0;
        width: 6px;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent);
        pointer-events: none;
    }

    /* SoundPrism highlight column */
    td.highlight {
        font-size: 11.5px;
    }

    .comparison-note {
        font-size: 11px;
        margin-top: 14px;
        padding: 0 8px;
    }

    /* ── Pricing ── */
    .pricing-card {
        padding: 32px 20px;
        max-width: 100%;
    }

    .price-value {
        font-size: 56px;
    }

    .price-currency,
    .price-cents {
        font-size: 20px;
    }

    .pricing-features li {
        font-size: 13px;
        padding: 8px 0;
    }

    .pricing-compare {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* ── FAQ — bigger touch targets ── */
    .faq-item summary {
        padding: 16px 18px;
        font-size: 14px;
        min-height: 48px;
    }

    .faq-item summary::after {
        font-size: 22px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .faq-item p {
        padding: 0 18px 16px;
        font-size: 13px;
    }

    /* ── Download CTA ── */
    .download-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .download p {
        font-size: 15px;
    }

    /* ── Footer ── */
    .footer {
        padding: 32px 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

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

@media (max-width: 480px) {
    h1 {
        font-size: 30px;
    }

    section h2 {
        font-size: 24px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 15px;
    }

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

    /* Tighter hero signal chain on very small screens */
    .hero-signal-chain {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding: 10px;
    }

    .signal-node {
        font-size: 10px;
        padding: 6px 2px;
    }

    /* Table stays scrollable but tighter */
    th,
    td {
        padding: 8px 8px;
        font-size: 11px;
    }

    th:first-child,
    td:first-child {
        min-width: 80px;
        max-width: 95px;
        font-size: 10.5px;
    }

    /* Feature cards even more compact */
    .feature-card {
        padding: 18px 16px;
    }

    .feature-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    /* Use case cards tighter */
    .use-case {
        padding: 18px 16px;
    }

    .use-case h3 {
        font-size: 15px;
    }

    /* Pricing adjustments */
    .price-value {
        font-size: 48px;
    }

    .pricing-features li {
        font-size: 12.5px;
    }
}

/* ---------- Language Switcher ---------- */
.lang-switch {
    font-size: 0.75rem !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.lang-switch:hover {
    opacity: 1;
    border-color: var(--amber-bright);
}

/* ---------- Screenshot Showcases ---------- */
.screenshot-showcase {
    margin: 3rem auto;
    max-width: 720px;
    text-align: center;
}

.screenshot-showcase img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 147, 13, 0.08);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-showcase img:hover {
    transform: scale(1.02);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(212, 147, 13, 0.12);
}

.screenshot-showcase figcaption {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Hero screenshot — larger, no max-width restriction */
.screenshot-hero {
    max-width: 480px;
    margin: 2.5rem auto 0;
}

.screenshot-hero img {
    border-radius: 16px;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(212, 147, 13, 0.1);
}

/* Full-width showcase for console screenshots */
.screenshot-wide {
    max-width: 960px;
}

/* Side-by-side pair */
.screenshot-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 960px;
}

.screenshot-pair .screenshot-showcase {
    margin: 0;
    max-width: none;
}

/* Responsive */
@media (max-width: 768px) {
    .screenshot-showcase {
        margin: 2rem auto;
    }

    .screenshot-hero {
        max-width: 100%;
    }

    .screenshot-pair {
        grid-template-columns: 1fr;
    }

    .screenshot-wide {
        max-width: 100%;
    }
}

/* ---------- Screenshot Lightbox ---------- */
.screenshot-showcase img {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
    padding: 2rem;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 80px rgba(212, 147, 13, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ── Commitments Section ──────────── */

.commitments {
    padding: 60px 0;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.commitment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.commitment-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.commitment-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.commitment-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left;
}

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

.commitment-card a {
    color: var(--amber-bright);
    text-decoration: none;
}

.commitment-card a:hover {
    text-decoration: underline;
}

/* ── Accessibility: Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .signal-arrow span,
    .chain-flow {
        animation: none;
    }

    .hero-glow {
        animation: none;
    }

    .particle {
        animation: none;
        display: none;
    }

    .hero-badge .badge-dot {
        animation: none;
    }
}