/* ============================================================
   T-videoMix — Landing page styles
   Dark theme · Logo-driven palette · Broadcast aesthetic

   Palette extracted from the brand logo: electric blue (T letter),
   red/magenta (V arrow), cyan highlights, plus the four signal-color
   pixels at the top (green, orange, blue, red). The bottom spectrum
   reflection of the logo (cyan→white→magenta→orange→blue) is reused
   as a signature accent line between sections.
   ============================================================ */

:root {
    /* — surfaces — */
    --bg-0:        #050810;          /* deep blue-black, hero base       */
    --bg-1:        #0a0f1c;          /* alt sections                     */
    --bg-2:        #131b2e;          /* tertiary panels                  */
    --bg-3:        #1a2540;          /* hover/raised                     */
    --bg-card:     #111a2e;          /* cards                            */
    --border:      #233252;
    --border-soft: #1a2440;

    /* — text — */
    --txt-0:       #f5f7fb;          /* primary white                    */
    --txt-1:       #c8d0e3;          /* body                             */
    --txt-2:       #8b94ad;          /* muted                            */
    --txt-3:       #5a6378;          /* very muted                       */

    /* — brand spectrum (sampled from the logo) — */
    --brand:       #2E7CFF;          /* primary electric blue (T letter) */
    --brand-2:     #1E5FFF;          /* deeper blue                      */
    --cyan:        #4FC3FF;          /* highlight cyan                   */
    --magenta:     #C73DFF;          /* gradient bridge                  */
    --red:         #FF3D5A;          /* V arrow inner red                */
    --orange:      #FF7A1A;          /* top-left orange pixel            */
    --green:       #00D26A;          /* top-left green pixel             */
    --yellow:      #FFD43D;          /* sparing accent                   */
    --blue:        #2E7CFF;          /* alias                            */
    --purple:      #7A4DFF;          /* secondary cool                   */

    /* — semantic glows — */
    --glow-brand:  rgba(46, 124, 255, 0.45);
    --glow-cyan:   rgba(79, 195, 255, 0.35);
    --glow-red:    rgba(255, 61, 90, 0.30);

    /* — signature spectrum gradient (logo bottom reflection) — */
    --spectrum: linear-gradient(90deg,
        #4FC3FF 0%,
        #FFFFFF 22%,
        #C73DFF 50%,
        #FF7A1A 76%,
        #2E7CFF 100%);

    /* — geometry & motion — */
    --radius:      10px;
    --max:         1200px;
    --t-fast:      140ms;
    --t-base:      280ms;
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
    --shadow-md:   0 10px 30px rgba(0,0,0,0.4);
    --shadow-sm:   0 4px 14px rgba(0,0,0,0.3);
    --shadow-brand:0 8px 28px rgba(46, 124, 255, 0.35);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui,
                 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--txt-1);
    background: var(--bg-0);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

img, svg { display: block; max-width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(5, 8, 16, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border-soft);
    transition: background var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
}
/* Stronger frost when scrolled — JS adds .is-scrolled. */
.nav.is-scrolled {
    background: rgba(5, 8, 16, 0.92);
    border-bottom-color: rgba(46, 124, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
/* Hairline of the brand spectrum at the very bottom of the nav.
   It's only visible when the nav is sticky, giving the page a
   constant logo-color cue. */
.nav::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: var(--spectrum);
    opacity: 0;
    transition: opacity var(--t-base);
}
.nav.is-scrolled::after { opacity: 0.55; }
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--txt-0);
    text-decoration: none;
}
.brand-icon {
    height: 32px;
    width: auto;
    display: block;
    /* lift the logo a bit so the colored dots above the T+V mark align
       with the cap-height of the wordmark */
    margin-top: -2px;
    /* subtle drop-shadow tuned to the brand-blue so the logo punches
       on the dark nav without looking detached */
    filter: drop-shadow(0 2px 6px rgba(46, 124, 255, 0.35));
    transition: filter var(--t-fast), transform var(--t-fast);
}
.brand:hover .brand-icon {
    filter: drop-shadow(0 4px 14px rgba(79, 195, 255, 0.55));
    transform: translateY(-1px);
}
.brand-name {
    letter-spacing: -0.01em;
    background: linear-gradient(120deg, #ffffff 0%, #B8E0FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    position: relative;
    color: var(--txt-2);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    transition: color var(--t-fast);
}
.nav-links a:not(.btn):hover { color: var(--txt-0); }
/* Active section underline driven by script.js (.is-active class). */
.nav-links a.is-active:not(.btn) {
    color: var(--cyan);
}
.nav-links a.is-active:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--brand), var(--magenta));
    box-shadow: 0 0 10px rgba(79, 195, 255, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast),
                box-shadow var(--t-fast);
    border: none;
    white-space: nowrap;
}
.btn-lg  { padding: 14px 28px; font-size: 15px; }
.btn-xl  { padding: 16px 36px; font-size: 16px; }

/* Primary action button: bright cyan→blue gradient lifted from the
   T letter highlights of the logo. White text reads cleaner than dark
   text on this hue set. */
.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%,
                                         var(--brand) 50%,
                                         var(--brand-2) 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(46, 124, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-shadow: 0 1px 2px rgba(0, 30, 80, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(46, 124, 255, 0.55),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    filter: brightness(1.08);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--txt-0);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: rgba(46, 124, 255, 0.08);
    border-color: var(--brand);
    color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(46, 124, 255, 0.12);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 720px;
    padding: 100px 24px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}
/* Multi-blob glow that reproduces the logo's color signature: a
   dominant electric-blue plume top-center, plus magenta-red and cyan
   side blobs that echo the V arrow gradient. */
.hero-glow {
    position: absolute; inset: -300px 0 auto 0;
    height: 900px;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.9;
    background:
        radial-gradient(ellipse 600px 400px at 50% 5%,
                        rgba(46, 124, 255, 0.45),
                        transparent 70%),
        radial-gradient(ellipse 380px 280px at 28% 28%,
                        rgba(199, 61, 255, 0.28),
                        transparent 70%),
        radial-gradient(ellipse 380px 280px at 72% 30%,
                        rgba(255, 61, 90, 0.22),
                        transparent 70%),
        radial-gradient(ellipse 420px 220px at 50% 60%,
                        rgba(79, 195, 255, 0.18),
                        transparent 75%);
    animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift {
    0%   { transform: translateX(0)    scale(1); }
    50%  { transform: translateX(-3%)  scale(1.04); }
    100% { transform: translateX(3%)   scale(1); }
}

/* Signature spectrum line — a subtle rainbow streak that echoes the
   reflection at the bottom of the logo. Used between sections. */
.spectrum-line {
    height: 1px;
    width: 100%;
    background: var(--spectrum);
    opacity: 0.7;
    box-shadow: 0 0 18px rgba(79, 195, 255, 0.4);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}
/* Big brand logo at the top of the hero. The image is the dark-bg
   variant of the T-Vmix mark (logo.png in /website). We cap its
   intrinsic 746x304 ratio while letting it scale on small screens. */
.hero-logo {
    display: block;
    margin: 0 auto 28px;
    width: clamp(260px, 42vw, 460px);
    height: auto;
    filter: drop-shadow(0 12px 32px rgba(91, 152, 255, 0.35))
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
    animation: hero-logo-in 700ms cubic-bezier(.22,1,.36,1) both;
}
@keyframes hero-logo-in {
    0%   { opacity: 0; transform: translateY(-12px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0)     scale(1); }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(46, 124, 255, 0.1);
    border: 1px solid rgba(46, 124, 255, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(46, 124, 255, 0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 6.5vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--txt-0);
    margin-bottom: 24px;
}
/* Headline gradient mirrors the V-arrow spectrum of the logo:
   cyan → blue → magenta → red, with an animated shimmer that
   recalls the sweep of light across the logo's mark. */
.hero-title .grad {
    background: linear-gradient(110deg,
        var(--cyan)    0%,
        var(--brand)  28%,
        var(--magenta) 58%,
        var(--red)    82%,
        var(--cyan)  100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 220% 100%;
    animation: shimmer 9s ease-in-out infinite;
    /* small text-glow that picks up the dominant brand-blue */
    filter: drop-shadow(0 4px 18px rgba(46, 124, 255, 0.35));
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--txt-1);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 48px;
    border-top: 1px solid var(--border-soft);
}
.stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--brand) 50%, var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.stat .lbl {
    font-size: 12px;
    color: var(--txt-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 100px 24px;
    position: relative;
}
.section-alt {
    background: var(--bg-1);
}
.container {
    max-width: var(--max);
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.kicker {
    display: inline-block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--txt-0);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.lead {
    font-size: clamp(15px, 1.3vw, 17px);
    color: var(--txt-1);
    max-width: 680px;
    margin: 0 auto;
}

/* ============================================================
   FEATURES
   ============================================================ */
.grid { display: grid; gap: 20px; }
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--t-base), border-color var(--t-base),
                box-shadow var(--t-base);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}
.card-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--c, var(--brand)) 0%,
                                         color-mix(in srgb, var(--c, var(--brand)) 60%, black) 100%);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--c, var(--brand)) 30%, transparent);
}
.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--txt-0);
    margin-bottom: 10px;
}
.card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--txt-2);
}

/* ============================================================
   SPLIT (mixer / streaming sections)
   ============================================================ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text h2 { text-align: left; }
.check-list {
    list-style: none;
    margin-top: 24px;
}
.check-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 15px;
    color: var(--txt-1);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, var(--cyan), var(--brand));
    color: #ffffff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(46, 124, 255, 0.4);
}

/* ============================================================
   APP SHOWCASE — real-UI screenshots
   ============================================================
   `.shot-frame` wraps a real product screenshot in a window-style
   chrome (3 traffic-light dots + title bar) so it reads as "live
   software" instead of just an image. The frame casts a strong
   brand-blue + magenta glow to integrate with the page palette.
*/
.section-showcase {
    padding: 80px 24px 60px;
}
.shot-frame {
    position: relative;
    margin: 0 auto;
    max-width: 1180px;
    border-radius: 12px;
    overflow: hidden;
    background: #050810;
    border: 1px solid rgba(46, 124, 255, 0.25);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 12px 28px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 60px -10px rgba(46, 124, 255, 0.35);
    transform: translateZ(0);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.shot-frame:hover {
    transform: translateY(-3px);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.6),
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 80px -8px rgba(46, 124, 255, 0.45);
}
/* Glow ribbon under the showcased main UI */
.shot-frame.shot-hero::before {
    content: "";
    position: absolute;
    inset: -40px -40px auto -40px;
    height: 80%;
    background: radial-gradient(ellipse 50% 60% at 50% 70%,
                                rgba(46, 124, 255, 0.22),
                                transparent 70%),
                radial-gradient(ellipse 30% 50% at 20% 70%,
                                rgba(199, 61, 255, 0.18),
                                transparent 75%),
                radial-gradient(ellipse 30% 50% at 80% 70%,
                                rgba(255, 61, 90, 0.15),
                                transparent 75%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}
.shot-bezel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(180deg, #0e1424, #0a0f1c);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.shot-dot {
    width: 11px; height: 11px; border-radius: 50%;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.shot-dot.r { background: #FF5F57; }
.shot-dot.y { background: #FEBC2E; }
.shot-dot.g { background: #28C840; }
.shot-title {
    margin-left: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--txt-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shot-frame img {
    display: block;
    width: 100%;
    height: auto;
    /* hairline at the bottom of every shot — recall the logo's
       reflection without the heavy spectrum-line treatment */
    border-bottom: 1px solid rgba(46, 124, 255, 0.25);
}
/* In split layouts the screenshots replace the smaller mock widgets,
   so they should fit comfortably in their column without dominating. */
.split .shot-frame { max-width: 100%; }
.split .shot-frame .shot-title { font-size: 11px; }

/* Mock Mixer ----------------------------------------------- */
.mock-mixer {
    background: linear-gradient(180deg, #0c1020, #0a0e1c);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    height: 320px;
}
.mock-strip {
    flex: 1;
    background: linear-gradient(180deg, #1c2238, #14182a);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mock-master {
    border-color: var(--brand);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(46, 124, 255, 0.15),
                inset 0 0 24px rgba(79, 195, 255, 0.08);
}
.mock-master-label {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
    text-shadow: 0 0 6px rgba(79, 195, 255, 0.4);
}
/* Strip number chip — uses the orange logo-pixel hue so the operator's
   eye lands on the channel index even on a busy mockup. */
.mock-chip {
    background: linear-gradient(135deg, var(--orange), #FF5A00);
    color: white;
    width: 22px; height: 18px;
    border-radius: 4px;
    display: grid; place-items: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    box-shadow: 0 2px 6px rgba(255, 122, 26, 0.35);
}
.mock-vu {
    flex: 1;
    width: 22px;
    background: #0a0e18;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}
/* Broadcast-style VU gradient: green → cyan-blue → magenta → red.
   Tuned to the logo palette while staying readable as a level meter. */
.mock-vu-fill {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top,
                                var(--green)   0%,
                                #3DCFFF       55%,
                                var(--brand)  72%,
                                var(--magenta) 86%,
                                var(--red)   100%);
    transition: height 0.6s ease;
    animation: vu-pulse 1.6s infinite;
}
@keyframes vu-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
.mock-fader {
    width: 24px; height: 80px;
    background: #0a0e18;
    border-radius: 3px;
    position: relative;
}
.mock-fader-handle {
    position: absolute;
    bottom: 30%;
    left: -2px; right: -2px;
    height: 14px;
    background: linear-gradient(180deg, #f5f7fb, #b9c0d6);
    border: 1px solid #4a5375;
    border-radius: 3px;
}
.mock-pills {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
}
.mock-pills span {
    background: var(--bg-2);
    color: var(--txt-2);
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid var(--border);
}
.mock-pills .afv {
    background: var(--green);
    color: #0a0e1c;
    border-color: var(--green);
}
.mock-limiter {
    background: linear-gradient(135deg, var(--blue), #3d6cd8);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ============================================================
   TEMPLATES GRID
   ============================================================ */
.templates-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.tpl-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 18px;
    font-weight: 500;
    color: var(--txt-1);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100px;
}
.tpl-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 10px 24px rgba(46, 124, 255, 0.1);
}
/* Dynamic templates pull a magenta accent that matches the V-arrow
   inner gradient of the logo, so they read as "energetic" vs. the
   neutral generic templates. */
.tpl-card.dyn {
    background: linear-gradient(135deg, #1A1226 0%, #131b2e 100%);
    border-color: rgba(199, 61, 255, 0.32);
}
.tpl-card.dyn:hover {
    border-color: var(--magenta);
    box-shadow: 0 10px 26px rgba(199, 61, 255, 0.22),
                0 0 0 1px rgba(199, 61, 255, 0.4);
}
.tpl-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--txt-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 50px;
    width: fit-content;
}
.tpl-tag.tpl-dyn {
    background: rgba(199, 61, 255, 0.15);
    border-color: rgba(199, 61, 255, 0.4);
    color: #DDA8FF;
}

/* ============================================================
   VST GRID
   ============================================================ */
.vst-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.vst-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all var(--t-base);
    position: relative;
    padding-left: 28px;
}
.vst-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--brand);
    border-radius: var(--radius) 0 0 var(--radius);
    /* the colour is overridden per :nth-child below */
}
.vst-card:hover {
    transform: translateX(4px);
    border-color: var(--border);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.vst-card:hover::before { width: 6px; }
.vst-dot {
    display: none; /* la barre latérale est déjà l'accent */
}
.vst-card strong {
    color: var(--txt-0);
    font-size: 14px;
    font-weight: 600;
}
.vst-card span {
    color: var(--txt-2);
    font-size: 12px;
}
/* Each VST card's left bar uses the actual manufacturer brand colour,
   not our site palette — these are deliberate brand quotes so the
   plugins are recognisable to engineers. Cakewalk gold, PSP silver,
   Waves cobalt, FabFilter yellow, Valhalla violet, SoundToys orange. */
.vst-card:nth-child(1)::before  { background: #C8A25A; }     /* Cakewalk CA-2A    */
.vst-card:nth-child(2)::before  { background: #C8C8C8; }     /* PSP FETpressor    */
.vst-card:nth-child(3)::before  { background: #4A9EFF; }     /* Waves SSL E       */
.vst-card:nth-child(4)::before  { background: #FAD000; }     /* FabFilter Pro-DS  */
.vst-card:nth-child(5)::before  { background: #FAD000; }     /* FabFilter Pro-Q 3 */
.vst-card:nth-child(6)::before  { background: #4A9EFF; }     /* Waves Q10         */
.vst-card:nth-child(7)::before  { background: #FAD000; }     /* FabFilter Pro-G   */
.vst-card:nth-child(8)::before  { background: #4A9EFF; }     /* Waves L2          */
.vst-card:nth-child(9)::before  { background: #FAD000; }     /* FabFilter Pro-L 2 */
.vst-card:nth-child(10)::before { background: #7A3DFF; }     /* Valhalla VV       */
.vst-card:nth-child(11)::before { background: #FF6633; }     /* SoundToys EchoBoy */
.vst-card:nth-child(12)::before { background: #FF6633; }     /* SoundToys Decap.  */
.vst-card:nth-child(13)::before { background: #4A9EFF; }     /* Steinberg         */

/* ============================================================
   STREAMING MOCK
   ============================================================ */
.mock-stream {
    background: linear-gradient(180deg, #0c1020, #0a0e1c);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}
.stream-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.stream-row .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--txt-3);
}
.stream-row .dot.live {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 61, 90, 0.2),
                0 0 12px rgba(255, 61, 90, 0.5);
    animation: pulse 1.5s infinite;
}
.stream-row .plat {
    flex: 1;
    color: var(--txt-0);
    font-weight: 600;
    font-size: 14px;
}
.stream-row .kbps {
    font-family: 'Consolas', 'Cascadia Mono', monospace;
    color: var(--txt-2);
    font-size: 12px;
}
.stream-row .status {
    background: rgba(255, 255, 255, 0.06);
    color: var(--txt-2);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.stream-row .status.ok {
    background: rgba(0, 210, 106, 0.15);
    color: var(--green);
    box-shadow: 0 0 0 1px rgba(0, 210, 106, 0.25);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta {
    background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
    padding: 80px 24px 100px;
}
/* Final CTA — biggest visual statement at the end of the page.
   The card uses the V-arrow color sweep (cyan→blue→magenta→red),
   a soft brand glow behind, and a 1-pixel spectrum hairline that
   rhymes with the line below the hero. */
.cta-card {
    background: linear-gradient(135deg,
                                rgba(46, 124, 255, 0.10),
                                rgba(199, 61, 255, 0.08));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 320px;
    background: radial-gradient(ellipse 50% 50% at 50% 50%,
                                rgba(46, 124, 255, 0.22),
                                transparent 70%),
                radial-gradient(ellipse 30% 60% at 30% 80%,
                                rgba(199, 61, 255, 0.18),
                                transparent 75%),
                radial-gradient(ellipse 30% 60% at 70% 80%,
                                rgba(255, 61, 90, 0.15),
                                transparent 75%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}
.cta-card::after {
    /* hairline of brand spectrum at the bottom */
    content: '';
    position: absolute;
    left: 10%; right: 10%;
    bottom: 0;
    height: 1px;
    background: var(--spectrum);
    opacity: 0.55;
}
.cta-card > * { position: relative; }
.cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--txt-0);
    margin-bottom: 14px;
}
.cta-card p {
    font-size: 16px;
    color: var(--txt-1);
    margin-bottom: 32px;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}
.cta-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--txt-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border-soft);
    padding: 40px 24px;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--txt-0);
}
.footer-brand .brand-icon {
    height: 28px;
    width: auto;
    margin-top: -2px;
    filter: drop-shadow(0 2px 6px rgba(91, 152, 255, 0.25));
}
.footer-tag {
    color: var(--txt-2);
    font-weight: 400;
    font-size: 13px;
    margin-left: 8px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--txt-2);
    font-size: 14px;
}
.footer-links a:hover { color: var(--brand); }
.footer-copy {
    color: var(--txt-3);
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav-links a:not(.btn) { display: none; }
    .hero { padding: 60px 24px 60px; min-height: auto; }
    .hero-logo { width: clamp(220px, 60vw, 360px); margin-bottom: 20px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split.reverse { direction: ltr; }
    .split-text h2 { text-align: center; }
    .check-list li { font-size: 14px; }
    .section { padding: 70px 20px; }
    .section-showcase { padding: 50px 16px 30px; }
    .shot-bezel { padding: 9px 14px; }
    .shot-bezel .shot-title { font-size: 10px; }
    .cta-card { padding: 40px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat .num { font-size: 32px; }
    .nav-inner { padding: 12px 16px; }
    .brand-icon { height: 28px; }
    .brand-name { font-size: 16px; }
    .hero-logo { width: 240px; }
    .btn { padding: 10px 16px; font-size: 13px; }
    .btn-lg { padding: 12px 20px; font-size: 14px; }
}
