/* StreamerControl — public site. Self-contained, no external dependencies (cPanel-friendly). */
:root {
  --bg: #08090c;
  --panel: #0f1219;
  --panel-2: #141926;
  --border: #1e2536;
  --text: #e9edf5;
  --muted: #9aa4b6;
  --accent: #38bdf8;
  --accent-2: #a855f7;
  --good: #22c55e;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand img { width: 30px; height: 30px; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(124, 92, 255, .45)); }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); padding: 8px 12px; border-radius: 9px; font-size: 15px;
}
.nav-links a:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 600;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #08090c !important;
  border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn.ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--border); }

/* Hero */
.hero { padding: 90px 0 70px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 480px;
  background: radial-gradient(60% 60% at 50% 0, rgba(56,189,248,.18), transparent 70%),
              radial-gradient(50% 50% at 70% 10%, rgba(168,85,247,.16), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin: 0 0 14px; letter-spacing: -1px; }
.hero p.lead { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 0 34px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { font-size: 24px; margin-bottom: 10px; display: block; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: 16px; padding: 26px; display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(56,189,248,.12); }
.tier .name { font-size: 20px; font-weight: 700; }
.tier .price { font-size: 34px; font-weight: 800; margin: 10px 0 2px; }
.tier .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier .tagline { color: var(--muted); min-height: 42px; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.tier li { padding: 7px 0; border-top: 1px solid var(--border); display: flex; gap: 10px; font-size: 15px; }
.tier li:first-child { border-top: none; }
.tier li::before { content: "✓"; color: var(--good); font-weight: 700; }
.tier li.no { color: var(--muted); }
.tier li.no::before { content: "—"; color: #475569; }
.tier .btn { margin-top: auto; text-align: center; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
  background: rgba(56,189,248,.16); color: var(--accent); margin-left: 8px; vertical-align: middle; }

/* "Elite" badge on feature cards */
.tag-elite { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 20px; background: rgba(56,189,248,.14); color: var(--accent);
  border: 1px solid rgba(56,189,248,.35); vertical-align: middle; white-space: nowrap; }

/* Legal pages */
.legal { padding: 50px 0 70px; }
.legal .doc { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 30px; font-size: 14px; }
.legal h2 { font-size: 20px; margin: 34px 0 8px; }
.legal h3 { font-size: 16px; margin: 20px 0 6px; }
.legal p, .legal li { color: #cdd5e3; }
.legal ul { padding-left: 20px; }
.legal .note {
  background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.5);
  border-radius: 10px; padding: 14px 16px; color: #fde68a; font-size: 14px; margin: 18px 0;
}
.legal .toc { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 0 0 30px; }
.legal .toc a { display: inline-block; margin: 3px 14px 3px 0; font-size: 14px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border); background: #06070a; padding: 40px 0; margin-top: 30px; color: var(--muted);
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot-links a { color: var(--muted); margin-left: 18px; font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.disclaimer { font-size: 12.5px; margin-top: 16px; max-width: 720px; }

@media (max-width: 600px) {
  .nav-links a { padding: 6px 8px; font-size: 14px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-links a { margin: 0 16px 0 0; }
}
