/* StreamForge landing page. Colours match the app. */
:root {
  --bg: #0b0c10; --bg2: #101219; --panel: #151821; --panel2: #1c202b; --line: #262b38;
  --text: #eceef4; --muted: #9aa0b2; --accent: #ff4f7b; --accent2: #a77bff; --teal: #2fd4c9; --good: #4cc38a;
  --r: 16px; --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { background: var(--panel2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2) 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border-radius: 12px; font-weight: 650; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; font-size: 1rem; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff6f94); color: #fff; box-shadow: 0 10px 30px rgba(255, 79, 123, .35); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255, 79, 123, .5); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #3a4152; background: rgba(255, 255, 255, .07); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn-block { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 12, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 550; font-size: .96rem; }
.site-nav a:not(.btn):hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.g1 { width: 520px; height: 520px; background: var(--accent); left: -160px; top: -140px; opacity: .28; }
.g2 { width: 620px; height: 620px; background: var(--accent2); right: -220px; top: 60px; opacity: .22; }
.g3 { width: 700px; height: 400px; background: var(--accent); left: 50%; top: 10%; transform: translateX(-50%); opacity: .18; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 54px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.lead { font-size: 1.18rem; color: #c3c7d4; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.fine { font-size: .88rem; color: var(--muted); }
.hero-shot { position: relative; }
.frame { display: block; width: 100%; padding: 0; border: 1px solid #2c3242; border-radius: var(--r); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); cursor: zoom-in; text-align: left; transition: transform .3s, box-shadow .3s; }
.frame:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(0, 0, 0, .65); }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #12141b; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f4d; }
.frame-bar i:first-child { background: #ff5f57; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar em { margin-left: 10px; font-style: normal; font-size: .8rem; color: var(--muted); }
.hero-shot .frame { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
.hero-shot .frame:hover { transform: perspective(1600px) rotateY(-3deg) translateY(-4px); }
.float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(22, 25, 34, .92); border: 1px solid #333a4c; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); font-size: .92rem; white-space: nowrap; animation: bob 6s ease-in-out infinite; backdrop-filter: blur(6px); }
.f1 { left: -34px; top: 18%; } .f2 { right: -18px; top: 52%; animation-delay: -2s; } .f3 { left: 8%; bottom: -18px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.tag { font-size: .68rem; font-weight: 700; letter-spacing: .05em; padding: 3px 7px; border-radius: 6px; }
.t-gift { background: rgba(255, 79, 123, .18); color: #ff8eab; } .t-raid { background: rgba(255, 160, 60, .18); color: #ffb26b; }

/* strip */
.strip { border-block: 1px solid var(--line); background: var(--bg2); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 18px 0; }
.strip .muted { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-right: 6px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: #cfd3de; }

/* sections */
.sec { padding: 100px 0; position: relative; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.sec-h { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .2s, border-color .2s, background .2s; }
.card:hover { transform: translateY(-4px); border-color: #3a4152; background: var(--panel2); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.ic { width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.4rem; border-radius: 12px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(255, 79, 123, .2), rgba(167, 123, 255, .2)); border: 1px solid rgba(255, 255, 255, .06); }

.row-feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.row-feature.flip .rf-copy { order: 2; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #c9cdd8; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: rgba(76, 195, 138, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234cc38a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks.cols { grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.note { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: rgba(167, 123, 255, .08); border: 1px solid rgba(167, 123, 255, .25); color: #d6d0f0; font-size: .95rem; }
.pro { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; vertical-align: 2px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); cursor: zoom-in; transition: transform .2s, border-color .2s; }
.shot:hover { transform: translateY(-3px); border-color: #3a4152; }
.shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.shot span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(11, 12, 16, .85); font-size: .85rem; font-weight: 600; color: var(--text); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.steps p { color: var(--muted); margin: 0; }
.n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; margin-bottom: 16px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.plan .ticks { margin: 18px 0 28px; flex: 1; }
.plan-pro { border-color: rgba(255, 79, 123, .45); background: linear-gradient(180deg, rgba(255, 79, 123, .08), var(--panel) 45%); box-shadow: 0 20px 60px rgba(255, 79, 123, .12); }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
#proPrice.text { font-size: 1.35rem; padding: 8px 0; }
.ribbon { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent2)); }

/* download */
.dl { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 36px; border-radius: 22px; background: linear-gradient(135deg, rgba(255, 79, 123, .12), rgba(167, 123, 255, .1)); border: 1px solid rgba(255, 79, 123, .3); }
.dl img { border-radius: 20px; box-shadow: 0 14px 40px rgba(255, 79, 123, .35); }
.dl h2 { margin-bottom: .3em; }
.dl-copy p { margin: 0 0 16px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.dl-meta dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dl-meta dd { margin: 0; font-weight: 700; }
.dl-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.small-link { font-size: .88rem; color: var(--muted); }
.small-link:hover { color: var(--text); }
.notes { margin: 18px 0 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.notes summary { cursor: pointer; padding: 14px 0; font-weight: 650; }
#notes { white-space: pre-wrap; color: #c3c7d4; padding-bottom: 16px; font-size: .95rem; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* final */
.final { position: relative; padding: 110px 0; overflow: hidden; border-top: 1px solid var(--line); }
.final .lead { margin: 0 auto 28px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0; background: var(--bg2); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; align-items: center; }
.foot nav { display: flex; gap: 22px; justify-content: flex-end; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot nav a:hover { color: var(--text); }
.foot p { grid-column: 1 / -1; margin: 6px 0 0; }

/* lightbox */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
#lightbox::backdrop { background: rgba(5, 6, 9, .88); backdrop-filter: blur(4px); }
#lightbox img { max-width: 96vw; max-height: 94vh; border-radius: 12px; box-shadow: var(--shadow); }
.lb-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a4152; background: rgba(21, 24, 33, .9); color: #fff; font-size: 1.1rem; cursor: pointer; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  .btn:hover, .card:hover, .frame:hover, .shot:hover { transform: none; }
  .hero-shot .frame, .hero-shot .frame:hover { transform: none; }
}

/* responsive */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .row-feature { grid-template-columns: 1fr; gap: 40px; }
  .row-feature.flip .rf-copy { order: 0; }
  .hero-copy { text-align: center; } .hero-copy .lead { margin-inline: auto; } .cta-row { justify-content: center; }
  .hero-shot .frame, .hero-shot .frame:hover { transform: none; }
  .f1 { left: 4px; } .f2 { right: 4px; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: rgba(11, 12, 16, .97); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
  .gallery, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 20px; }
  .dl-meta { justify-content: center; }
  .ticks.cols { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 72px 0; }
  .foot-in { grid-template-columns: 1fr; text-align: center; } .foot .brand { justify-content: center; } .foot nav { justify-content: center; }
}
@media (max-width: 560px) {
  .grid, .gallery, .steps { grid-template-columns: 1fr; }
  .float { display: none; }
  .btn-lg { width: 100%; }
  .hero { padding-top: 44px; }
}
