/* AiPlayout marketing website */
:root {
    --red: #e11c22;
    --red-hover: #c8141b;
    --red-dark: #8f0d12;
    --red-glow: #ff6b6f;
    --red-tint: #fef2f2;
    --ink: #282a30;
    --ink-2: #3b3d42;
    --night: #151619;
    --night-2: #1f2125;
    --muted: #6a6f76;
    --line: #e4e4e7;
    --soft: #f4f4f5;
    --bg: #ffffff;
    --wa: #25d366;
    --wa-hover: #1eb957;
    --radius: 20px;
    --shadow: 0 1px 2px rgba(20, 20, 25, 0.04), 0 12px 32px rgba(20, 20, 25, 0.08);
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); letter-spacing: -0.025em; }
::selection { background: var(--red); color: #fff; }

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

.grad-text {
    background: linear-gradient(100deg, #ff3b41 0%, var(--red) 45%, #ff8a8d 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
    padding: 13px 24px; border-radius: 12px; border: 0; cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--red) 0%, var(--red-hover) 100%); color: #fff; box-shadow: 0 8px 24px rgba(225, 28, 34, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(225, 28, 34, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.1); }
.play-dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.btn .play-dot svg { width: 12px; height: 12px; fill: var(--red); stroke: none; margin-left: 2px; transform: none; }
.btn-light { background: #fff; color: var(--red-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; box-shadow: 0 4px 14px rgba(225, 28, 34, 0.25); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Navigation */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(17, 18, 20, 0.35);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.nav.scrolled { background: rgba(17, 18, 20, 0.88); border-bottom-color: rgba(255, 255, 255, 0.08); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: #c4c4cc; transition: color .2s; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform .25s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { color: #fff; }
.nav-login { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.nav-links .nav-login::after { left: 24px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative; margin-top: -74px; padding: 150px 0 120px; overflow: hidden; isolation: isolate; color: #e4e4e7;
    background:
        radial-gradient(900px 620px at 88% 8%, rgba(225, 28, 34, 0.30), transparent 60%),
        radial-gradient(700px 520px at -5% 105%, rgba(143, 13, 18, 0.45), transparent 60%),
        linear-gradient(180deg, #1c1d21 0%, #121316 100%);
}
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(225, 28, 34, 0.9), transparent);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .8; }
.blob-1 { width: 560px; height: 560px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(225, 28, 34, 0.5), rgba(225, 28, 34, 0) 70%); animation: float1 16s ease-in-out infinite; }
.blob-2 { width: 480px; height: 480px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(255, 107, 111, 0.22), rgba(255, 107, 111, 0) 70%); animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(-60px, 50px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(70px, -40px) scale(1.1); } }
.grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 12.5px; font-weight: 600; color: #fecaca;
    background: rgba(225, 28, 34, 0.12); border: 1px solid rgba(225, 28, 34, 0.45);
    padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
    text-transform: uppercase; letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(225, 28, 34, 0.08);
}
.eyebrow .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(225, 28, 34, 0.5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(225, 28, 34, 0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; margin-bottom: 24px; color: #fff; }
.lead { font-size: 18.5px; color: #b4b4bc; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hp-label { font-size: 13px; font-weight: 600; color: #8b8b94; margin-right: 6px; text-transform: uppercase; letter-spacing: .08em; }
.pill { font-size: 13px; font-weight: 600; color: #e4e4e7; padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }

.hero h1 .eyebrow { font-family: var(--font-body); line-height: 1.4; }
.hero-title { display: block; }

/* Hero console illustration */
.hero-visual { position: relative; }
.console {
    background: linear-gradient(160deg, var(--night-2), var(--night));
    border-radius: 24px; padding: 16px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(225, 28, 34, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 0 8px rgba(255, 255, 255, 0.05);
    color: #e4e4e7;
    transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
    transition: transform .6s ease;
}
.hero-visual:hover .console { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.console-bar { display: flex; align-items: center; gap: 12px; font-size: 12px; margin-bottom: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: .06em; font-size: 11px; }
.live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.console-title { color: #a1a1aa; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-time { font-family: ui-monospace, 'SF Mono', Menlo, monospace; color: #fff; font-size: 13px; }
.console-screen {
    position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
    background:
        radial-gradient(circle at 30% 40%, rgba(225, 28, 34, 0.6), transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(120, 30, 40, 0.6), transparent 60%),
        linear-gradient(135deg, #2b2d33, #121316);
    background-size: 160% 160%;
    animation: screenShift 12s ease-in-out infinite;
    display: grid; place-items: center;
}
@keyframes screenShift { 50% { background-position: 100% 60%; } }
.screen-bug { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; opacity: .92; }
.screen-play { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); }
.screen-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.screen-ticker { position: absolute; left: 0; right: 0; bottom: 6px; height: 24px; background: rgba(225, 28, 34, 0.92); overflow: hidden; display: flex; align-items: center; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; }
.screen-ticker span { display: inline-block; padding-left: 100%; animation: ticker 18s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }
.screen-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0, 0, 0, 0.5); }
.screen-progress span { display: block; height: 100%; width: 42%; background: #fff; animation: progress 30s linear infinite; }
@keyframes progress { from { width: 8%; } to { width: 96%; } }
.console-schedule { margin-top: 12px; display: grid; gap: 6px; }
.sched-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); font-size: 13px; }
.sched-row.now { background: rgba(225, 28, 34, 0.14); box-shadow: inset 3px 0 0 var(--red); }
.sched-time { font-family: ui-monospace, 'SF Mono', Menlo, monospace; color: #a1a1aa; font-size: 12px; }
.sched-name { flex: 1; color: #f4f4f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #d4d4d8; text-transform: uppercase; letter-spacing: .05em; }
.tag-live { background: var(--red); color: #fff; }
.tag-break { background: rgba(251, 191, 36, 0.18); color: #fcd34d; }
.tag-yt { background: rgba(255, 255, 255, 0.92); color: var(--red); }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 12px 16px 12px 12px; border-radius: 14px;
    box-shadow: 0 16px 40px rgba(20, 20, 25, 0.18); border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 13px; line-height: 1.3;
}
.float-card strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fc-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.fc-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.fc-1 { left: -34px; top: 38%; animation: bob 6s ease-in-out infinite; }
.fc-2 { right: -18px; bottom: -26px; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { background: linear-gradient(90deg, var(--red-dark), var(--red) 50%, var(--red-dark)); padding: 20px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--red-dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--red-dark), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-group span { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; white-space: nowrap; }
.marquee-group i { width: 8px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2, .contact-info h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; margin-bottom: 16px; }
.section-head p { font-size: 17.5px; color: var(--muted); }

/* Spotlight hover (mouse position set by JS) */
.spot { position: relative; isolation: isolate; }
.spot::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 28, 34, 0.08), transparent 45%);
    opacity: 0; transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #fecaca; }
.card-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.f-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--red-tint), #fee2e2); display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #fecaca; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

.card-dark { background: linear-gradient(150deg, var(--ink-2), var(--night)); border-color: transparent; }
.card-dark h3 { color: #fff; }
.card-dark p { color: #a1a1aa; }
.card-dark .f-icon { background: rgba(225, 28, 34, 0.16); border-color: rgba(225, 28, 34, 0.4); }
.card-dark .f-icon svg { stroke: var(--red-glow); }
.card-dark.spot::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 28, 34, 0.22), transparent 45%); }

.mini-timeline { position: relative; background: var(--soft); border-radius: 14px; padding: 16px 16px 18px; overflow: hidden; }
.mt-hours { display: flex; justify-content: space-between; font-size: 10.5px; color: #a1a1aa; font-family: ui-monospace, Menlo, monospace; margin-bottom: 10px; }
.mt-track { display: flex; gap: 4px; margin-bottom: 6px; }
.mt-block { height: 34px; border-radius: 7px; font-size: 11px; font-weight: 600; color: #fff; display: flex; align-items: center; padding: 0 9px; white-space: nowrap; overflow: hidden; }
.b1 { flex: 3; background: var(--ink-2); }
.b2 { flex: 2; background: #52545a; }
.b3 { flex: 3; background: #6a6f76; }
.b4 { flex: 3; background: var(--ink); }
.b5 { flex: 2; background: #52545a; }
.b-ad { flex: 1; background: #f59e0b; }
.b-live { flex: 2; background: var(--red); }
.mt-now { position: absolute; top: 34px; bottom: 10px; left: 40%; width: 2px; background: var(--red); animation: nowline 14s ease-in-out infinite alternate; }
.mt-now::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225, 28, 34, 0.2); }
@keyframes nowline { from { left: 20%; } to { left: 78%; } }

.mini-screen {
    position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(120, 130, 150, 0.35), transparent 60%), linear-gradient(135deg, #3a3d44, #1b1c20);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ms-logo { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; }
.ms-lower { position: absolute; left: 12px; bottom: 34px; display: flex; flex-direction: column; background: #fff; border-left: 4px solid var(--red); padding: 6px 12px; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); animation: slideIn 5s ease-in-out infinite; }
.ms-lower strong { font-family: var(--font-head); font-size: 13px; color: var(--ink); line-height: 1.2; }
.ms-lower em { font-style: normal; font-size: 10.5px; color: var(--muted); }
@keyframes slideIn { 0%, 8% { transform: translateX(-120%); opacity: 0; } 18%, 82% { transform: none; opacity: 1; } 92%, 100% { transform: translateX(-120%); opacity: 0; } }
.ms-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: var(--red); display: flex; align-items: center; overflow: hidden; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; }
.ms-ticker span { display: inline-block; padding-left: 100%; animation: ticker 14s linear infinite; }

/* Restream */
.restream {
    background:
        radial-gradient(700px 420px at 50% 0%, rgba(225, 28, 34, 0.25), transparent 60%),
        linear-gradient(180deg, var(--night-2), var(--night));
    color: #d4d4d8; position: relative; overflow: hidden;
}
.restream::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.restream .container { position: relative; }
.restream h2 { color: #fff; }
.restream .section-head p { color: #a1a1aa; }

.flow { display: grid; grid-template-columns: 1fr 90px auto 90px 1fr; align-items: stretch; }
.flow-col { display: flex; flex-direction: column; justify-content: space-around; gap: 16px; }
.node {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    transition: border-color .25s, background .25s, transform .25s;
}
.node:hover { border-color: rgba(225, 28, 34, 0.6); background: rgba(225, 28, 34, 0.08); transform: translateY(-2px); }
.node strong { display: block; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 15.5px; line-height: 1.3; }
.node small { font-size: 13px; color: #a1a1aa; line-height: 1.4; display: block; }
.node-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); }
.node-icon svg { width: 22px; height: 22px; fill: none; stroke: #e4e4e7; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.node-yt { background: #fff; }
.node-yt svg { fill: var(--red); stroke: none; }
.node-yt .yt-play { fill: #fff; }

.wires { width: 100%; height: 100%; overflow: visible; }
.wires path {
    fill: none; stroke: rgba(225, 28, 34, 0.75); stroke-width: 2;
    vector-effect: non-scaling-stroke; stroke-dasharray: 6 8;
    animation: flowDash 1.2s linear infinite;
}
@keyframes flowDash { to { stroke-dashoffset: -14; } }

.flow-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 10px; text-align: center; }
.hub-core { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.hub-core img { width: 108px; height: 108px; position: relative; z-index: 1; filter: drop-shadow(0 12px 30px rgba(225, 28, 34, 0.45)); }
.hub-ring { position: absolute; inset: 0; border-radius: 34px; border: 2px solid rgba(225, 28, 34, 0.5); animation: hubPulse 2.6s ease-out infinite; }
@keyframes hubPulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.flow-hub > strong { font-family: var(--font-head); font-size: 20px; color: #fff; }
.hub-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 220px; }
.hub-tags span { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(225, 28, 34, 0.16); color: #fecaca; border: 1px solid rgba(225, 28, 34, 0.35); }

.restream-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.restream-points div { padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.restream-points strong { display: block; font-family: var(--font-head); color: #fff; font-size: 17px; margin-bottom: 6px; }
.restream-points span { font-size: 15px; color: #a1a1aa; }

/* How it works */
.how { background: linear-gradient(180deg, #fff, var(--soft)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 16px); opacity: .45;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
    width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
    display: grid; place-items: center; position: relative;
    font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 12px 28px rgba(225, 28, 34, 0.35), 0 0 0 8px #fff, 0 0 0 9px var(--line);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 320px; margin: 0 auto; }

/* Use cases */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #fecaca; }
.uc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); margin-bottom: 18px; transition: background .3s; }
.usecase:hover .uc-icon { background: var(--red); }
.uc-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.usecase h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.usecase p { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { background: linear-gradient(180deg, var(--soft), #fff); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; margin-bottom: 16px; }
.faq-intro p { font-size: 17px; color: var(--muted); }
.faq-intro a { color: var(--red); font-weight: 600; border-bottom: 1.5px solid rgba(225, 28, 34, 0.3); }
.faq-intro a:hover { border-bottom-color: var(--red); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: #fecaca; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.faq-item summary:hover h3 { color: var(--red); }
.faq-icon { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); transition: background .25s, transform .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s, background .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--red); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* CTA */
.cta { padding: 0 0 20px; }
.cta-inner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--red-dark), var(--red) 60%, #f0444a);
    border-radius: 28px; padding: 56px 60px; color: #fff;
    box-shadow: 0 30px 70px rgba(225, 28, 34, 0.3);
}
.cta-inner::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(90deg, transparent, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-inner::after { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%); pointer-events: none; }
.cta-inner > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, 0.88); font-size: 17px; }

/* Contact */
.contact-section {
    position: relative; overflow: hidden;
    padding: 110px 0 120px; margin-top: 90px;
    background:
        radial-gradient(640px 420px at 8% 12%, rgba(225, 28, 34, 0.28), transparent 60%),
        radial-gradient(520px 380px at 100% 100%, rgba(225, 28, 34, 0.16), transparent 60%),
        linear-gradient(160deg, var(--ink-2), var(--night) 70%);
    color: #d4d4d8;
}
.contact-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.contact-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.contact-info h2 { color: #fff; }
.contact-info > p { font-size: 17px; color: #a1a1aa; margin-bottom: 34px; max-width: 460px; }
.perks { list-style: none; display: grid; gap: 20px; }
.perks li { display: flex; gap: 16px; align-items: flex-start; font-size: 15px; color: #a1a1aa; }
.perks strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.perk-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(225, 28, 34, 0.14); border: 1px solid rgba(225, 28, 34, 0.35); }
.perk-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--red-glow); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.form-card {
    position: relative; background: #fff; color: var(--ink);
    border-radius: 24px; padding: 38px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-glow)); }
.contact-form { display: grid; gap: 18px; }
.form-head h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.form-head p { font-size: 14px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { position: relative; }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--ink);
    padding: 24px 14px 9px 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fafafa;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { padding: 28px 14px 30px; resize: vertical; min-height: 140px; display: block; }
.field label {
    position: absolute; left: 46px; top: 17px; font-size: 15px; color: var(--muted);
    pointer-events: none; transition: top .18s, font-size .18s, color .18s;
}
.field-area label { left: 14px; top: 18px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    top: 7px; font-size: 12px; font-weight: 600; color: var(--red);
}
.field-area textarea:focus + label, .field-area textarea:not(:placeholder-shown) + label { top: 9px; }
.field svg {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; fill: none; stroke: #a1a1aa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke .2s; pointer-events: none;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(225, 28, 34, 0.12); }
.field input:focus ~ svg { stroke: var(--red); }
.field .invalid { border-color: var(--red); background: var(--red-tint); }
.counter { position: absolute; right: 14px; bottom: 9px; font-size: 12px; color: #a1a1aa; }

.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
    display: inline-block; font-size: 14px; font-weight: 500; color: var(--ink-2);
    padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
    transition: all .18s;
}
.chips label:hover span { border-color: #fca5a5; }
.chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(225, 28, 34, 0.25); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.btn-send { padding: 16px 26px; font-size: 16px; margin-top: 4px; }
.btn-send:hover svg { transform: translate(3px, -3px); }
.btn-send.loading .btn-label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-send.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { font-size: 13px; color: #a1a1aa; text-align: center; margin-top: -6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { font-size: 14px; text-align: center; }
.form-status.err { color: var(--red-dark); background: var(--red-tint); border: 1px solid #fecaca; padding: 12px; border-radius: 10px; }

.form-success { text-align: center; padding: 50px 10px; }
.form-success[hidden], .contact-form[hidden] { display: none; }
.success-check { width: 84px; height: 84px; margin: 0 auto 22px; }
.success-check svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: #22c55e; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .6s ease forwards; }
.success-check path { stroke: #22c55e; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 26px; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 26px; }

/* Footer */
.footer { background: var(--night); color: #a1a1aa; padding: 56px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-icon { width: 48px; height: 48px; }
.wordmark { font-family: var(--font-head); font-weight: 600; font-size: 26px; color: #fff; line-height: 1; letter-spacing: -0.01em; }
.wordmark span { color: var(--red); font-weight: 700; }
.footer-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-top: 6px; }
.footer-about { font-size: 13.5px; color: #8b8b94; margin-top: 10px; max-width: 360px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 13px; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--wa); color: #fff; display: grid; place-items: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    transition: transform .2s, background .2s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: wa-pulse 2.4s infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.06); background: var(--wa-hover); }
.wa-float svg { width: 32px; height: 32px; }
.wa-tip {
    position: absolute; right: 72px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
    padding: 8px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateX(6px);
    transition: opacity .2s, transform .2s; pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

/* Reveal on scroll */
/* Uses `translate` so hover `transform` effects keep working */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .7s ease, transform .3s, box-shadow .3s, border-color .3s, background .25s; }
.reveal.in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; translate: none; }
    html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1100px) {
    .flow { grid-template-columns: 1fr 60px auto 60px 1fr; }
    .hub-core { width: 110px; height: 110px; }
    .hub-core img { width: 90px; height: 90px; }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
    .console, .hero-visual:hover .console { transform: none; }
    .fc-1 { left: -12px; }
    .fc-2 { right: -8px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card-wide { grid-column: span 2; }
    .usecase-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .faq-grid { grid-template-columns: 1fr; gap: 36px; }
    .faq-intro { position: static; }

    /* Restream flow becomes vertical */
    .flow { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
    .wires { display: none; }
    .flow-hub { padding: 44px 0; position: relative; }
    .flow-hub::before, .flow-hub::after {
        content: ""; position: absolute; left: 50%; width: 2px; height: 34px; margin-left: -1px;
        background: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 12px);
    }
    .flow-hub::before { top: 4px; }
    .flow-hub::after { bottom: 4px; }
    .restream-points { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 74px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(17, 18, 20, 0.97); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 8px 24px 20px; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-login { padding-left: 0; border-left: 0; }
    .nav-links .btn { margin-top: 14px; }
    .steps { grid-template-columns: 1fr; gap: 40px; }
    .steps::before { display: none; }
    .br-desk { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .nav-logo img { height: 34px; }
    .hero { padding: 110px 0 90px; }
    .lead { font-size: 16.5px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .float-card { padding: 9px 12px 9px 9px; }
    .fc-icon { width: 30px; height: 30px; }
    .fc-1 { left: -6px; top: auto; bottom: 34%; }
    .fc-2 { right: -4px; bottom: -22px; }
    .section { padding: 76px 0; }
    .section-head { margin-bottom: 42px; }
    .bento, .usecase-grid, .form-row { grid-template-columns: 1fr; }
    .card-wide { grid-column: auto; grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .cta-inner { padding: 38px 24px; border-radius: 22px; }
    .cta-inner .btn { width: 100%; }
    .contact-section { padding: 72px 0 80px; margin-top: 60px; }
    .form-card { padding: 28px 20px; border-radius: 20px; }
    .faq-item summary { padding: 18px; }
    .faq-item summary h3 { font-size: 16px; }
    .faq-item p { padding: 0 18px 20px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
    .wa-tip { display: none; }
}
