
:root{--cta-h: 120px;
  --bg:#0f172a;
  --panel:#111827;
  --panel2:#0b1224;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --accent:#22c55e;
  --accent2:#16a34a;
  --border:rgba(148,163,184,.18);
  --shadow:0 12px 30px rgba(0,0,0,.35);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(1200px 600px at 20% -20%, rgba(34,197,94,.14), transparent 60%),
             radial-gradient(1000px 500px at 90% 0%, rgba(56,189,248,.10), transparent 55%),
             var(--bg);
  color:var(--text);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
main{padding:18px 0 calc(40px + var(--cta-h))}
section[id]{scroll-margin-top:78px}

/* Header */
header{
  position:sticky; top:0; z-index:80;
  background:rgba(17,24,39,.92);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(10px);
}
.header-row{
  height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.2px;
}
.dot{
  width:10px;height:10px;border-radius:999px;background:var(--accent);
  box-shadow:0 0 0 3px rgba(34,197,94,.14);
  flex:0 0 auto;
}
.menu-btn{
  width:44px;height:44px;border-radius:12px;
  border:1px solid var(--border);
  background:rgba(148,163,184,.06);
  color:var(--text);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:18px;
}
.menu-btn:active{transform:scale(.98)}

/* Desktop nav */
.nav-desktop{display:none;align-items:center;gap:18px}
.nav-desktop a{
  font-size:14px;color:var(--muted);font-weight:650;
}
.nav-desktop a:hover{color:var(--text)}
.nav-desktop a.active{color:var(--accent)}

/* Language switch */
.lang{display:none;gap:8px;align-items:center;flex-wrap:wrap}
.lang a{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(148,163,184,.06);
  color:var(--muted);
  font-weight:800;
}
.lang a.active{color:#c9f7da;border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.12)}

/* Mobile nav */
.nav-mobile{
  display:none;
  border-top:1px solid var(--border);
  padding:6px 0;
}
.nav-mobile.open{display:block}
.nav-mobile a{
  display:block;
  padding:12px 16px;
  color:var(--text);
}
.nav-mobile a:hover{background:rgba(148,163,184,.06)}
.nav-mobile a.active{color:var(--accent)}

/* Hero */
.hero{padding:22px 0 10px}
.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(148,163,184,.06);
  color:var(--muted);
  font-size:12px;
}
h1{
  margin:12px 0 10px;
  font-size:30px;
  line-height:1.18;
  letter-spacing:-.4px;
}
.lead{
  margin:0 0 16px;
  color:var(--muted);
  font-size:15px;
  max-width:72ch;
}
.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 8px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;border:1px solid var(--border);
  font-weight:850;font-size:14px;min-height:44px;
  background:rgba(148,163,184,.06);color:var(--text);
}
.btn-primary{
  background:var(--accent);color:#081225;border-color:rgba(34,197,94,.35);
}
.btn-primary:hover{background:var(--accent2)}
.btn-ghost:hover{border-color:rgba(148,163,184,.35)}

/* Sections */
.section-title{margin:26px 0 12px;font-size:16px;color:#cbd5e1;letter-spacing:.2px}
.grid{display:grid;grid-template-columns:1fr;gap:12px}
.card{
  background:linear-gradient(180deg, rgba(17,24,39,.98), rgba(11,18,36,.98));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}
.card h2{margin:0 0 6px;font-size:16px;letter-spacing:-.2px}
.card p{margin:0;color:var(--muted);font-size:14px}
.list{margin:10px 0 0;padding-left:18px;color:var(--muted);font-size:14px}
.list li{margin:6px 0}
.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pill{
  font-size:12px;color:var(--muted);
  border:1px solid var(--border);
  background:rgba(148,163,184,.06);
  padding:6px 10px;border-radius:999px;
}

/* Channels */
.toolbar{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;
  margin-bottom:12px;
}
.search{flex:1;min-width:240px}
.search input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(148,163,184,.06);
  color:var(--text);
  outline:none;
  font-size:14px;
}
.filters{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
}
select{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(148,163,184,.06);
  color:var(--text);
  outline:none;
  font-size:14px;
}
.toggle{
  display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;
}
.toggle input{width:18px;height:18px}
.hint{color:var(--muted);font-size:12px;margin-top:8px}

.channel-list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:12px;
}
.channel-item{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 12px;border:1px solid rgba(148,163,184,.14);
  border-radius:14px;background:rgba(148,163,184,.04);
}
.tag{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.25);
  color:#c9f7da;
  background:rgba(34,197,94,.10);
  flex:0 0 auto;
}
.smalltag{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.22);
  color:var(--muted);
  background:rgba(148,163,184,.06);
  flex:0 0 auto;
}

/* FAQ */
details{
  background:linear-gradient(180deg, rgba(17,24,39,.98), rgba(11,18,36,.98));
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  box-shadow:var(--shadow);
}
summary{cursor:pointer;font-weight:800;font-size:14px;list-style:none}
summary::-webkit-details-marker{display:none}
details p{margin:10px 0 0;color:var(--muted);font-size:14px}

/* Floating CTA */
.floating-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  background:rgba(15,23,42,.90);
  border-top:1px solid var(--border);
  backdrop-filter:blur(10px);
  padding:10px 12px;
}
.floating-cta .wrap{
  max-width:1100px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.floating-cta .mini{
  font-size:12px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:58%;
}

/* Desktop enhancements */
@media (min-width: 900px){
  .header-row{height:64px}
  .menu-btn{display:none}
  .nav-desktop{display:flex}
  .lang{display:flex}
  .nav-mobile{display:none !important}
  h1{font-size:40px}
  .lead{font-size:16px}
  .grid{grid-template-columns:repeat(3,1fr)}
  .channel-list{grid-template-columns:repeat(2,1fr)}
  .floating-cta .mini{max-width:72%}
}

select option{background:rgba(11,18,36,1);color:var(--text);} 
select:disabled{opacity:.55;cursor:not-allowed}

.floating-cta{padding:8px 10px}
.floating-cta .wrap{gap:8px}
.floating-cta .mini{max-width:62%; white-space:nowrap}
@media (max-width: 420px){
  .floating-cta .mini{max-width:55%; font-size:11px}
}

/* Floating CTA (always visible, cannot be closed) */
.floating-cta{
  padding:14px 14px calc(14px + env(safe-area-inset-bottom));
}
.floating-cta .wrap{
  align-items:flex-start;
}
.floating-cta .mini{
  max-width:68%;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.35;
}
@media (max-width: 520px){
  .floating-cta .mini{max-width:62%;}
}
@media (max-width: 380px){
  .floating-cta .mini{max-width:56%;}
}

/* Form controls consistency (Chrome/Safari) */
select, input[type="search"], input[type="text"], input[type="email"], textarea{
  -webkit-appearance:none;
  appearance:none;
  line-height:1.2;
}
select{
  background-image: linear-gradient(45deg, transparent 50%, rgba(229,231,235,.85) 50%),
                    linear-gradient(135deg, rgba(229,231,235,.85) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* Fix Chrome layout quirks for bottom bar */
.floating-cta{
  position:fixed;
  left:0; right:0;
  width:100vw;
  box-sizing:border-box;
}
body{overflow-x:hidden;}

/* Ensure CTA text fully visible */
.floating-cta .wrap{flex-wrap:wrap}
.floating-cta .mini{max-width:none; flex:1 1 320px}
.floating-cta .btn{flex:0 0 auto}
