/* MediaBridge product page */
:root {
  --blue: #1F8BFF;
  --violet: #5B3DF5;
  --grad: linear-gradient(135deg, var(--blue), var(--violet));
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #0e1220;
  --text-2: #4a5268;
  --muted: #6b7388;
  --line: #e4e8f0;
  --ok: #22c55e;
  --no: #ef4444;
  --dark-bg: #0b0f1c;
  --dark-surface: #141a2c;
  --dark-text: #e9ecf5;
  --dark-text-2: #a4acc2;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14,18,32,.05), 0 12px 32px rgba(14,18,32,.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f1c;
    --bg-alt: #10162a;
    --surface: #141a2c;
    --text: #e9ecf5;
    --text-2: #a4acc2;
    --muted: #8a93ab;
    --line: #232b43;
    --dark-bg: #070a14;
    --dark-surface: #11172a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
em { font-style: normal; font-weight: 600; color: var(--text); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .75em; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; padding: 12px 22px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, opacity .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(31,139,255,.3); }
.btn-store { flex-direction: column; align-items: flex-start; gap: 0; background: #000; color: #fff; border-radius: 14px; padding: 10px 26px 11px; line-height: 1.1; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-store { background: #fff; color: #000; } }
.store-small { font-size: 12px; font-weight: 500; }
.store-big { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.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 { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(91,61,245,.16), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -20%; width: 800px; height: 800px; background: radial-gradient(closest-side, rgba(31,139,255,.14), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.lead { font-size: 19px; color: var(--text-2); max-width: 580px; }
.cta-row { display: flex; align-items: center; gap: 22px; margin: 28px 0 22px; flex-wrap: wrap; }
.price-tag { display: flex; flex-direction: column; line-height: 1.15; }
.price-tag strong { font-size: 30px; font-family: var(--font-display); letter-spacing: -.02em; }
.price-tag span { font-size: 14px; color: var(--muted); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-2); font-size: 15px; }
.hero-points li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; gap: 0; min-height: 440px; }
.device { position: relative; }
.phone { width: 210px; height: 430px; border-radius: 40px; background: #111; padding: 10px; box-shadow: 0 30px 60px rgba(14,18,32,.25), inset 0 0 0 2px #2b2b2b; z-index: 2; transform: rotate(-4deg); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; background: #000; border-radius: 12px; z-index: 3; }
.phone-screen { height: 100%; border-radius: 31px; background: #fff; padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 10px; color: #0e1220; font-size: 12px; overflow: hidden; }
.ps-head { display: flex; align-items: center; gap: 5px; color: #4a5268; font-size: 10px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.ps-title { font-weight: 700; font-size: 16px; }
.ps-bar { height: 8px; border-radius: 8px; background: #e8ecf4; overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 8px; transition: width .25s linear; }
.ps-stats { display: flex; justify-content: space-between; color: #6b7388; font-size: 11px; }
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; flex: 1; }
.ps-grid i { border-radius: 6px; background: linear-gradient(135deg, #c9d8ff, #e7dcff); }
.ps-grid i:nth-child(2n) { background: linear-gradient(135deg, #ffd9c2, #ffc2d6); }
.ps-grid i:nth-child(3n) { background: linear-gradient(135deg, #c2f0e0, #c9e4ff); }
.ps-actions { display: flex; gap: 6px; }
.ps-actions span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: #eef1f7; font-weight: 600; font-size: 11px; }
.ps-actions span:first-child { background: var(--grad); color: #fff; }

.beam { display: flex; gap: 8px; margin: 0 -6px; z-index: 1; }
.beam i { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); animation: beam 1.4s ease-in-out infinite; opacity: .2; }
.beam i:nth-child(2) { animation-delay: .2s; }
.beam i:nth-child(3) { animation-delay: .4s; }
@keyframes beam { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

.pc { width: 300px; transform: rotate(2deg); }
.pc-screen { height: 200px; border-radius: 14px; background: var(--surface); border: 8px solid #1a1f2e; display: flex; overflow: hidden; box-shadow: var(--shadow); }
.pc-side { width: 54px; background: var(--bg-alt); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.pc-side i { height: 8px; border-radius: 4px; background: var(--line); }
.pc-side i:first-child { background: var(--grad); }
.pc-main { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.pc-row.h { height: 10px; width: 50%; border-radius: 4px; background: var(--line); }
.pc-files { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--text-2); }
.pc-files div { padding: 6px 8px; background: var(--bg-alt); border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.pc-files div.in { opacity: 1; transform: none; }
.ico { margin-right: 4px; }
.pc-stand { width: 80px; height: 28px; margin: 0 auto; background: linear-gradient(#1a1f2e, #2a3147); clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head p:not(.eyebrow) { color: var(--text-2); font-size: 18px; }

.strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 30px 24px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.stats span { color: var(--text-2); font-size: 15px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps p { color: var(--text-2); font-size: 16px; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p { color: var(--text-2); font-size: 16px; margin: 0; }
.f-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 20px; margin-bottom: 18px; }

/* Organizer */
.org-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.org-grid > div > p { color: var(--text-2); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0 18px; }
.seg button { font: 600 14px var(--font); border: 0; background: transparent; color: var(--text-2); padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(14,18,32,.12); }
.check { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.tree { margin: 0; font: 14px/1.75 var(--mono); background: var(--dark-bg); color: #cdd5ea; border-radius: var(--radius); padding: 26px 28px; overflow-x: auto; min-height: 340px; box-shadow: var(--shadow); white-space: pre; }
.tree .d { color: #8fb8ff; }
.tree .f { color: #e9ecf5; }
.tree .c { color: #6f7a96; }

/* Privacy */
.section.dark { background: var(--dark-bg); color: var(--dark-text); }
.section.dark .sec-head p:not(.eyebrow) { color: var(--dark-text-2); }
.section.dark .eyebrow { color: #8fb8ff; }
.section.dark em { color: var(--dark-text); }
.privacy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { background: var(--dark-surface); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 28px; }
.p-card p { color: var(--dark-text-2); font-size: 16px; margin: 0; }
.p-card h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 16px; }

/* Honest limits */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.list-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.list-card li { padding-left: 30px; position: relative; color: var(--text-2); }
.list-card li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.list-card.yes li::before { content: "✓"; background: var(--ok); }
.list-card.no li::before { content: "✕"; background: var(--no); }
.fine { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 28px; background: var(--surface); }
.fine summary { cursor: pointer; padding: 20px 0; font-weight: 600; }
.fine ul { margin: 0 0 24px; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 10px; }
.fine b { color: var(--text); }

/* Requirements */
.req { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.req-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.req-card ul { margin: 0; padding-left: 18px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 40px 22px 0; font: 600 18px var(--font); color: var(--text); cursor: pointer; position: relative; }
.q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.a > p { overflow: hidden; margin: 0; color: var(--text-2); }
.qa.open .a { grid-template-rows: 1fr; }
.qa.open .a > p { padding-bottom: 22px; }

/* Buy */
.buy { background: var(--bg-alt); }
.buy-card { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.buy-card img { border-radius: 20px; margin-bottom: 22px; box-shadow: 0 16px 40px rgba(91,61,245,.3); }
.buy-price { font-size: 19px; color: var(--text-2); }
.buy-price strong { color: var(--text); font-size: 26px; }
.buy-list { list-style: none; padding: 0; margin: 8px 0 30px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); }
.buy-list li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.buy-card .small { margin-top: 20px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; max-width: 720px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam i { animation: none; opacity: .7; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .org-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-top: 10px; }
  .features, .privacy, .req { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .features, .privacy, .req, .steps, .two-col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
  .stats div:nth-child(-n+2) { border-top: 0; }
  .stats div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hero-visual { transform: scale(.78); transform-origin: top center; margin-bottom: -90px; }
  .pc { width: 230px; }
  .phone { width: 180px; height: 370px; }
  .tree { font-size: 12.5px; padding: 20px; min-height: 0; }
  .fine { padding: 0 18px; }
}
@media (max-width: 420px) {
  .hero-visual { transform: scale(.62); margin-bottom: -150px; margin-left: -40px; margin-right: -40px; }
}
