/* canaltv_v2/styles.css */
:root{
  /* Different palette: charcoal + electric purple + lime (web3 but NOT yellow) */
  --bg:#0A0A0F;
  --bg2:#05060B;
  --panel:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.10);

  --text:#F2F4FF;
  --muted:rgba(242,244,255,.72);
  --muted2:rgba(242,244,255,.56);

  --purple:#8B5CF6;
  --purple2:#C4B5FD;
  --lime:#A3FF12;

  --wa:#25D366;
  --tg:#229ED9;

  --radius:18px;
  --shadow:0 18px 46px rgba(0,0,0,.6);
  --max:1120px;
  --font:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(900px 520px at 12% 10%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(900px 520px at 88% 15%, rgba(163,255,18,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 32px)); margin:0 auto}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  border:1px solid transparent;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  transition: transform .08s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn:hover{filter:brightness(1.06)}
.btn--primary{
  color:#06060B;
  background: linear-gradient(135deg, var(--purple2), var(--lime));
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(139,92,246,.16);
}
.btn--ghost{background: rgba(255,255,255,.06)}
.btn--text{background: transparent; color: var(--muted)}
.btn--wa{background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.40)}
.btn--tg{background: rgba(34,158,217,.16); border-color: rgba(34,158,217,.40)}
.btn--sm{padding:10px 12px; font-size:13px}

/* Rail (desktop) */
.rail{
  position:fixed; top:0; left:0; bottom:0;
  width: 280px;
  padding: 14px;
  background: rgba(5,6,11,.88);
  border-right: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  display:flex; flex-direction:column; gap:14px;
}
.rail__brand{display:flex; align-items:center; gap:10px}
.rail__mark{
  width:12px;height:12px;border-radius:4px;
  background: linear-gradient(135deg, var(--purple2), var(--lime));
  box-shadow: 0 0 0 4px rgba(139,92,246,.12);
}
.rail__name{font-weight:950}
.rail__sub{color: var(--muted); font-weight:800; font-size:12px}
.rail__nav{display:grid; gap:10px; margin-top: 4px}
.rail__link{
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight:900;
  color: var(--muted);
}
.rail__ctas{display:grid; gap:10px; margin-top:auto}
.rail__hint{
  color: var(--muted2);
  font-weight:800;
  font-size:12px;
  line-height:1.5;
}

/* Mobile bar */
.mbar{
  display:none;
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(12px);
  background: rgba(5,6,11,.86);
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding:10px 12px;
}
.mbar__left{display:flex; align-items:center; gap:10px}
.mbar__mark{
  width:10px;height:10px;border-radius:4px;
  background: linear-gradient(135deg, var(--purple2), var(--lime));
}
.mbar__name{font-weight:950}
.mbar__right{display:flex; gap:8px}
.mchip{
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-weight:950;
  font-size:12px;
}

/* Main layout offset */
.main{margin-left: 280px}
.hero{padding: 26px 0 12px}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:14px; align-items:start}
.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight:900;
  font-size:13px;
}
h1{margin:12px 0 10px; font-size: clamp(28px, 5vw, 44px); line-height:1.08; letter-spacing:-0.6px}
.grad{
  background: linear-gradient(90deg, var(--purple2), var(--lime), var(--purple));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.lead{margin:0 0 14px; color: var(--muted); font-size:16px; line-height:1.55}
.hero__ctas{display:flex; flex-wrap:wrap; gap:10px; margin: 10px 0 12px}

.kv{display:grid; grid-template-columns: repeat(4,1fr); gap:10px; margin-top: 10px}
.kv__item{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 12px;
}
.kv__k{color: var(--muted); font-weight:900; font-size:12px}
.kv__v{font-weight:950; font-size:18px; margin-top:4px}

.hero__card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(139,92,246,.18), rgba(255,255,255,.04)),
    radial-gradient(520px 260px at 85% 20%, rgba(163,255,18,.10), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding: 14px;
}
.heroCard__top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.heroCard__t{font-weight:950}
.heroCard__s{color: var(--muted); font-weight:800; font-size:13px; margin-top:4px}
.pill{
  font-size:12px; font-weight:950;
  padding: 6px 10px;
  border-radius:999px;
  border: 1px solid rgba(163,255,18,.30);
  background: rgba(163,255,18,.10);
  color: rgba(242,244,255,.95);
}
.heroCard__btns{display:grid; gap:10px; margin-top: 12px}
.heroCard__mini{margin-top: 12px; display:grid; gap:8px}
.miniLink{font-weight:950; color: var(--muted)}
.heroCard__fine{margin-top: 10px; color: var(--muted2); font-weight:800; font-size:12px}

/* Sections */
.section{padding: 22px 0}
.section--alt{
  border-top:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%);
}
.head{display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom: 14px; flex-wrap:wrap}
.head h2{margin:0; font-size:22px; letter-spacing:-0.2px}
.head p{margin:0; color: var(--muted); max-width: 620px; font-weight:800}

.grid{display:grid; grid-template-columns: repeat(4,1fr); gap:12px}
.tile{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 14px;
}
.tile h3{margin:0 0 8px}
.tile p{margin:0 0 12px; color: var(--muted); font-weight:800; line-height:1.55}
.tile__btns{display:flex; gap:10px; flex-wrap:wrap}

.ctaBar{
  margin-top: 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(520px 220px at 15% 50%, rgba(139,92,246,.14), transparent 60%),
    radial-gradient(520px 220px at 85% 50%, rgba(163,255,18,.10), transparent 60%),
    rgba(255,255,255,.03);
  padding: 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.ctaBar__t{font-weight:950}
.ctaBar__s{color: var(--muted); font-weight:800; font-size:13px; margin-top:4px}
.ctaBar__btns{display:flex; gap:10px; flex-wrap:wrap}

/* Pricing */
.pricing{display:grid; grid-template-columns: repeat(3,1fr); gap:12px}
.plan{
  position:relative;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 16px;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.plan--mid{
  border-color: rgba(163,255,18,.22);
  background: radial-gradient(540px 260px at 40% 0%, rgba(163,255,18,.10), rgba(255,255,255,.04));
}
.plan--best{
  border-color: rgba(139,92,246,.24);
  background: radial-gradient(540px 260px at 40% 0%, rgba(139,92,246,.14), rgba(255,255,255,.04));
}
.tag{
  position:absolute; top:12px; right:12px;
  font-size:12px; font-weight:950;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(163,255,18,.25);
  background: rgba(163,255,18,.10);
  color: rgba(242,244,255,.95);
}
.tag--best{border-color: rgba(139,92,246,.35); background: rgba(139,92,246,.14)}
.plan__top{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom: 10px}
.plan__name{font-weight:950; font-size:16px}
.plan__sub{color: var(--muted2); font-weight:900; font-size:12px; margin-top:4px}
.plan__price{font-weight:950; font-size:22px; letter-spacing:-0.2px; color: var(--lime)}
.ul{
  margin:0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-weight:800;
  line-height:1.7;
  font-size:13px;
}
.plan__btns{display:grid; gap:10px}

/* Slider */
.slider{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 12px;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.slider__track{
  display:flex; gap:12px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.slide{min-width: 82%; scroll-snap-align: start;}
@media (min-width: 980px){ .slide{min-width: calc(33.333% - 8px)} }
.slider__controls{
  margin-top: 10px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.iconBtn{
  width:44px; height:44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 22px;
  font-weight: 950;
}
.dots{display:flex; gap:8px; align-items:center; justify-content:center; flex:1}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.18);
}
.dot.is-active{
  background: rgba(163,255,18,.70);
  border-color: rgba(163,255,18,.70);
}

/* FAQ + Footer */
.faq details{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.faq summary{cursor:pointer; font-weight:950}
.faq p{color: var(--muted); font-weight:800; line-height:1.6}
.faq__btns{display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px}

.end{
  margin-top: 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.end__t{font-weight:950}
.end__btns{display:flex; gap:10px; flex-wrap:wrap}

.foot{
  border-top:1px solid rgba(255,255,255,.10);
  padding: 18px 0;
}
.foot__row{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 12px;
  align-items:center;
}
.foot__brand{font-weight:950}
.foot__muted{color: var(--muted); font-weight:800; font-size:13px}
.foot__links{display:flex; gap:12px; flex-wrap:wrap; color: var(--muted); font-weight:900}
.foot__cta{display:flex; justify-content:flex-end}

/* Responsive */
@media (max-width: 980px){
  .rail{display:none}
  .mbar{display:flex; align-items:center; justify-content:space-between}
  .main{margin-left: 0}
  .hero__grid{grid-template-columns: 1fr}
  .grid{grid-template-columns: repeat(2,1fr)}
  .pricing{grid-template-columns: 1fr}
  .kv{grid-template-columns: repeat(2,1fr)}
  .foot__row{grid-template-columns: 1fr}
  .foot__cta{justify-content:flex-start}
}
@media (max-width: 480px){
  .btn{padding:10px 12px; font-size:13px}
  .grid{grid-template-columns: 1fr}
  .slide{min-width: 92%}
}