/* ============================================
   qPlayer Website - style.css
   Refined dark theme - Apple-style product page
   ============================================ */

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

:root {
    /* Surface */
    --bg:           #08080f;
    --bg-tint:      #0d0d18;
    --bg-soft:      #11111d;
    --surface:      rgba(255,255,255,0.03);
    --surface-hi:   rgba(255,255,255,0.06);
    --border:       rgba(255,255,255,0.08);
    --border-hi:    rgba(255,255,255,0.14);

    /* Text */
    --text:         #f5f5fa;
    --text-mid:     #c4c4d4;
    --text-dim:     #8a8aa0;
    --text-faint:   #5a5a72;

    /* Brand */
    --accent:       #5b8cff;
    --accent-hi:    #7aa2ff;
    --cyan:         #00d4ff;
    --purple:       #7b2fff;
    --pink:         #d946ef;
    --green:        #28c840;
    --gradient:     linear-gradient(135deg, #5b8cff 0%, #00d4ff 50%, #7b2fff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(91,140,255,0.18) 0%, rgba(0,212,255,0.12) 50%, rgba(123,47,255,0.18) 100%);

    /* Layout */
    --maxw:         1200px;
    --maxw-prose:   720px;
    --nav-h:        64px;
    --r-sm:         10px;
    --r-md:         16px;
    --r-lg:         24px;
    --r-xl:         32px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv11";
}

a { color: var(--accent-hi); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

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

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-hi);
    margin-bottom: 16px;
}
.eyebrow.muted { color: var(--text-dim); }

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

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.section-lead {
    color: var(--text-mid);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
    max-width: 640px;
}

.section-head {
    text-align: center;
    margin: 0 auto 64px;
    max-width: 720px;
}
.section-head .section-lead { margin: 0 auto; }

/* Subtle aurora glow utility */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* ============================
   NAV
   ============================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(8, 8, 15, 0.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--border);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.nav-brand img { height: 28px; }
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    color: var(--text-mid);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--text);
    color: var(--bg) !important;
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-cta:hover { transform: scale(1.04); opacity: 0.92; }
@media (max-width: 720px) {
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 56px) 24px 64px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Full-bleed motion / photo backdrop */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.06);
}
.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(125% 95% at 50% 0%, rgba(8,8,15,0.40) 0%, rgba(8,8,15,0.76) 55%, var(--bg) 100%),
        linear-gradient(180deg, rgba(8,8,15,0.55) 0%, rgba(8,8,15,0.30) 38%, var(--bg) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.hero-bg .glow-1 {
    width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(91,140,255,0.55), transparent 70%);
    top: -180px; left: -160px;
}
.hero-bg .glow-2 {
    width: 580px; height: 580px;
    background: radial-gradient(circle, rgba(123,47,255,0.45), transparent 70%);
    top: 30%; right: -140px;
}
.hero-bg .glow-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,212,255,0.35), transparent 70%);
    bottom: -160px; left: 35%;
}
.hero-bg::after {
    /* subtle grain */
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
    background-size: 4px 4px;
    opacity: 0.4;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text { max-width: 760px; }
.hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    background: var(--surface-hi);
    border: 1px solid var(--border-hi);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero-logo { height: 44px; margin: 0 auto 24px; }
.hero-title {
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-mid);
    line-height: 1.55;
    margin: 0 auto 36px;
    max-width: 600px;
}
.hero-cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.app-store-badge {
    display: inline-block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.app-store-badge:hover { transform: scale(1.04); opacity: 0.92; }
.hero-tagline {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 32px;
    letter-spacing: 0.01em;
}

/* ---------- Product family cluster ---------- */
.hero-family {
    position: relative;
    width: 100%;
    max-width: 1040px;
    margin: 72px auto 0;
    height: clamp(300px, 44vw, 540px);
}
.hero-family .dv { position: absolute; }
.hero-family .dv img { display: block; width: 100%; }

/* Mac - centre, largest */
.hero-family .mac {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: clamp(480px, 72%, 780px);
    z-index: 2;
}
/* Screenshot ships with native macOS chrome + transparent shadow, so we
   shape-follow with drop-shadow rather than clipping a rectangle. */
.hero-family .mac img {
    width: 100%;
    filter:
        drop-shadow(0 36px 70px rgba(0,0,0,0.55))
        drop-shadow(0 0 90px rgba(91,140,255,0.14));
}

/* iPad - behind, left */
.hero-family .ipad {
    left: 0;
    bottom: 0;
    width: clamp(200px, 27%, 320px);
    transform: rotate(-5deg);
    z-index: 1;
}
.hero-family .ipad img {
    border-radius: 18px;
    box-shadow:
        0 0 0 6px #1c1c2a,
        0 0 0 7px rgba(255,255,255,0.06),
        0 30px 70px rgba(0,0,0,0.6);
}

/* iPhone - front, right */
.hero-family .iphone {
    right: 2%;
    bottom: -3%;
    width: clamp(96px, 13.5%, 156px);
    transform: rotate(4deg);
    z-index: 3;
}
.hero-family .iphone img {
    border-radius: 24px;
    box-shadow:
        0 0 0 6px #1c1c2a,
        0 0 0 7px rgba(255,255,255,0.06),
        0 24px 60px rgba(0,0,0,0.6);
}

@media (max-width: 880px) {
    .hero-family {
        max-width: 600px;
        height: clamp(240px, 56vw, 420px);
    }
    .hero-family .mac { width: 80%; }
    .hero-family .ipad { width: 32%; left: -2%; }
    .hero-family .iphone { width: 17%; right: -2%; }
}
@media (max-width: 480px) {
    .hero { padding: calc(var(--nav-h) + 36px) 20px 56px; min-height: auto; }
    .hero-family { height: 56vw; margin-top: 48px; }
    .hero-family .mac { width: 92%; }
    .hero-family .ipad { display: none; }
    .hero-family .iphone { width: 24%; right: -4%; bottom: -2%; }
}

/* ============================
   SECTIONS - common
   ============================ */
.section {
    position: relative;
    padding: 120px 24px;
}
.section.tinted { background: var(--bg-tint); }
.section.soft   { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%); }
.section .container { position: relative; z-index: 1; }

@media (max-width: 720px) {
    .section { padding: 80px 20px; }
}

/* ============================
   SPOTLIGHT - alternating feature blocks
   (used for Audio + Video chapters)
   ============================ */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 96px;
}
.spotlight:last-child { margin-bottom: 0; }
.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }

.spotlight-text h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 18px;
}
.spotlight-text p {
    color: var(--text-mid);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.spotlight-text p:last-child { margin-bottom: 0; }
.spotlight-text strong { color: var(--text); font-weight: 600; }

.spotlight-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spotlight-visual::before {
    content: '';
    position: absolute;
    width: 80%; height: 70%;
    background: var(--gradient-soft);
    filter: blur(80px);
    z-index: 0;
}
.device {
    position: relative;
    z-index: 1;
}
.device img {
    border-radius: 38px;
    box-shadow:
        0 0 0 8px #1c1c2a,
        0 0 0 9px rgba(255,255,255,0.06),
        0 25px 70px rgba(0,0,0,0.55);
}
.device.phone img { width: 280px; }
.device.phone-lg img { width: 320px; }
.device.ipad img {
    width: 460px;
    border-radius: 22px;
    box-shadow:
        0 0 0 6px #1c1c2a,
        0 0 0 7px rgba(255,255,255,0.06),
        0 25px 70px rgba(0,0,0,0.55);
}
.device.watch img {
    width: 180px;
    border-radius: 40px;
    box-shadow:
        0 0 0 6px #1c1c2a,
        0 0 0 7px rgba(255,255,255,0.06),
        0 20px 50px rgba(0,0,0,0.55);
}

/* Filled screenshot in a spotlight (Mac / desktop captures) */
.spotlight-shot {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-hi);
    box-shadow: 0 25px 70px rgba(0,0,0,0.55);
    overflow: hidden;
}
.spotlight-shot img { display: block; width: 100%; height: auto; }

.premium-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: #fff;
    vertical-align: middle;
    margin-left: 10px;
    -webkit-text-fill-color: #fff;
    transform: translateY(-3px);
}

/* On-brand placeholder for screenshots not yet captured */
.shot-pending {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px;
    text-align: center;
    background:
        radial-gradient(120% 120% at 28% 18%, rgba(91,140,255,0.14), transparent 58%),
        radial-gradient(120% 120% at 80% 90%, rgba(123,47,255,0.12), transparent 60%),
        var(--bg-soft);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.shot-pending img { height: 40px; width: auto; opacity: 0.85; }
.shot-pending span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    max-width: 320px;
    line-height: 1.5;
}

@media (max-width: 880px) {
    .spotlight {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-bottom: 72px;
    }
    .spotlight.reverse { direction: ltr; }
    .spotlight-text { text-align: center; }
    .device.phone img,
    .device.phone-lg img { width: 240px; }
    .device.ipad img { width: 360px; }
    .device.watch img { width: 150px; }
}

/* ============================
   BENTO - small features grid
   ============================ */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
}
.bento-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                background 0.3s ease;
}
.bento-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hi);
    background: var(--surface-hi);
}
.bento-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.25;
}
.bento-card p {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.55;
}
.bento-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--gradient-soft);
    color: var(--accent-hi);
}

/* sizing variants */
.bento-card.col-3 { grid-column: span 3; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-2 { grid-column: span 2; }
.bento-card.row-2 { grid-row: span 2; }

.bento-card.with-image {
    display: flex;
    flex-direction: column;
    padding: 28px 28px 0;
}
.bento-card.with-image .bento-image {
    margin-top: auto;
    margin-left: -28px;
    margin-right: -28px;
    padding-top: 24px;
    text-align: center;
}
.bento-card.with-image .bento-image img {
    max-width: 70%;
    margin: 0 auto;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
}

@media (max-width: 880px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-card.col-3,
    .bento-card.col-4,
    .bento-card.col-2 { grid-column: span 2; }
    .bento-card.row-2 { grid-row: auto; }
}
@media (max-width: 480px) {
    .bento { grid-template-columns: 1fr; }
    .bento-card { grid-column: 1 !important; }
}

/* ============================
   PORTAL - showcase band
   ============================ */
.portal-band {
    position: relative;
    overflow: hidden;
}
.portal-band .glow-portal {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(40,200,64,0.15), transparent 70%);
    top: -200px; right: -300px;
}
.portal-content {
    text-align: center;
    margin-bottom: 56px;
}
.portal-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(40,200,64,0.12);
    border: 1px solid rgba(40,200,64,0.3);
    color: #5fe676;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.portal-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #5fe676;
    box-shadow: 0 0 10px rgba(95, 230, 118, 0.8);
}
.portal-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 18px;
}
.portal-content p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 28px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 24px rgba(91,140,255,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91,140,255,0.45);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--surface-hi);
    color: var(--text) !important;
    border: 1px solid var(--border-hi);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.22);
}

.portal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.portal-gallery img {
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.portal-gallery img:nth-child(2) {
    transform: translateY(-20px);
}
.portal-gallery img:hover {
    transform: translateY(-8px);
}
.portal-gallery img:nth-child(2):hover {
    transform: translateY(-28px);
}

@media (max-width: 880px) {
    .portal-gallery {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .portal-gallery img:nth-child(2) { transform: none; }
    .portal-gallery img:nth-child(2):hover { transform: translateY(-6px); }
}

/* ============================
   PRICING
   ============================ */
.pricing {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: var(--maxw);
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hi);
    background: var(--surface-hi);
}
.pricing-card.featured {
    border-color: rgba(91, 140, 255, 0.45);
    background: linear-gradient(180deg, rgba(91, 140, 255, 0.08), rgba(91, 140, 255, 0.02));
    box-shadow: 0 0 60px rgba(91, 140, 255, 0.1);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
    line-height: 1;
}
.price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dim);
}
.price-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 14px;
}
.tier-tagline {
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 2.4em;
}
.pricing-features {
    list-style: none;
    margin-top: 4px;
    flex-grow: 1;
}
.pricing-features li {
    padding: 9px 0;
    font-size: 0.85rem;
    color: var(--text-mid);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pricing-features li::before {
    content: '';
    flex-shrink: 0;
    width: 14px; height: 14px;
    margin-top: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L9 1' stroke='%23c4c4d4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.pricing-features li:first-child { border-top: none; }
.pricing-features li.highlight {
    color: var(--text);
    font-weight: 500;
}
.pricing-features li.highlight::before {
    background: rgba(91,140,255,0.18);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L9 1' stroke='%237aa2ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 1000px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================
   DMX - feature spotlight
   ============================ */
.dmx-section { position: relative; overflow: hidden; }
.dmx-section .glow-dmx-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(217,70,239,0.18), transparent 70%);
    top: 10%; left: -200px;
}
.dmx-section .glow-dmx-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(123,47,255,0.18), transparent 70%);
    bottom: 0; right: -200px;
}

.dmx-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 56px 0;
}
.dmx-gallery img {
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.dmx-gallery img:hover { transform: translateY(-4px); }

.dmx-portal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 40px auto 0;
}
.dmx-portal-gallery img {
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.dmx-portal-gallery img:hover { transform: translateY(-4px); }

.feature-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 64px;
    padding: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.feature-callout.reverse .feature-callout-text { order: 2; }
.feature-callout.reverse .feature-callout-img { order: 1; }
.feature-callout-img img {
    width: 100%;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.feature-callout-text .pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    color: #fff;
}
.feature-callout-text h3 {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.feature-callout-text p {
    color: var(--text-mid);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 12px;
}
.feature-callout-text p:last-child { margin-bottom: 0; }
.feature-callout-text .note {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-top: 14px;
}

@media (max-width: 880px) {
    .dmx-gallery { grid-template-columns: repeat(3, 1fr); }
    .dmx-portal-gallery { grid-template-columns: 1fr; max-width: 480px; }
    .feature-callout { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
    .feature-callout.reverse .feature-callout-text,
    .feature-callout.reverse .feature-callout-img { order: 0; }
}

/* ============================
   DOWNLOAD CTA
   ============================ */
.cta-band {
    position: relative;
    text-align: center;
    overflow: hidden;
}
.cta-band .glow-cta {
    width: 900px; height: 600px;
    background: radial-gradient(ellipse, rgba(91,140,255,0.25), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.cta-band h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 20px;
}
.cta-band p {
    color: var(--text-mid);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 56px 24px 36px;
    background: var(--bg);
}
.footer-content {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo { height: 32px; opacity: 0.7; }
.footer-brand-text {
    color: var(--text-dim);
    font-size: 0.85rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-social {
    display: flex;
    gap: 14px;
}
.footer-social a {
    color: var(--text-dim);
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
}
.footer-social a:hover {
    color: var(--accent-hi);
    transform: scale(1.1);
}

.footer-bottom {
    max-width: var(--maxw);
    margin: 36px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-faint);
}
.footer-bottom a { color: var(--text-dim); }

@media (max-width: 720px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .footer-brand, .footer-social { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================
   Press strip
   ============================================ */
.press-strip {
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-tint);
}
.press-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}
.press-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.press-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.01em;
}
.press-quote {
    margin: 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-mid);
}
.press-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-hi);
    text-decoration: none;
    white-space: nowrap;
}
.press-link:hover { text-decoration: underline; }

/* ============================================
   Promo video (click-to-play walkthrough)
   ============================================ */
.promo-video { margin: 0 0 56px; }
.pv-poster {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border-hi);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.pv-poster img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.25s, transform 0.4s;
}
.pv-poster:hover img { opacity: 1; transform: scale(1.015); }
.pv-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 78px; height: 78px;
    border-radius: 50%;
    background: rgba(10,10,18,0.72);
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s, background 0.2s;
}
.pv-play::after {
    content: '';
    position: absolute;
    top: 50%; left: 53%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent #fff;
}
.pv-poster:hover .pv-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(91,140,255,0.85); }
.pv-caption {
    margin: 14px 4px 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-dim);
}
.promo-video .pv-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-hi);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.promo-video .pv-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 640px) {
    .press-inner { flex-direction: column; gap: 8px; }
    .pv-play { width: 60px; height: 60px; }
}

/* ============================================
   Why qPlayer - comparison grid
   ============================================ */
.compare-card {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--border-hi);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
}
.compare-row {
    display: grid;
    grid-template-columns: 1fr 150px 200px;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.compare-row:last-child { border-bottom: none; }
.compare-head {
    background: var(--surface-hi);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-mid);
}
.compare-row .c-label { color: var(--text-mid); }
.compare-row .c-qp { text-align: center; color: var(--text); }
.compare-row .c-qp.tick { color: var(--accent-hi); font-size: 1.15rem; font-weight: 700; }
.compare-head .c-qp { color: var(--accent-hi); }
.compare-row .c-other { text-align: center; color: var(--text-faint); font-size: 0.88rem; }
@media (max-width: 640px) {
    .compare-row { grid-template-columns: 1fr 64px 96px; padding: 12px 14px; font-size: 0.85rem; }
    .compare-row .c-other { font-size: 0.78rem; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-hi); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 48px 16px 20px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dim);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.65;
}
