/* --- Font smoothing + clean stack --- */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}
/* -------------------------------------- */

/* IPTV PLATFORM Storefront — Xfinity/ISP corporate style */
:root{
  --bg-purple-1:#3a0bd9;
  --bg-purple-2:#5d1be7;
  --bg-purple-3:#7b35f0;

  --text:#0b1020;
  --text-inv:#ffffff;
  --muted:#55607a;

  --card:#f6f7fb;
  --card-2:#ffffff;
  --card-border:rgba(9,14,28,.08);

  --accent:#5d1be7;
  --accent-2:#3a0bd9;

  --btn:#0b0f19;          /* isp black button */
  --btn-hover:#1c2233;

  --radius:18px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 10% 10%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(135deg,var(--bg-purple-1) 0%, var(--bg-purple-2) 45%, var(--bg-purple-3) 100%);
  min-height:100vh;
}

.wrap{max-width:1180px;margin:0 auto;padding:26px;}

/* Topbar (light/ISP feel) */
.top{
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 16px;margin-bottom:18px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.6);
  border-radius:999px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}
.brand{
  display:flex;align-items:center;gap:10px;font-weight:900;
  letter-spacing:.6px;text-transform:uppercase;font-size:14px;color:#0b1020;
}
.brand .dot{
  width:34px;height:34px;border-radius:9px;
  background:linear-gradient(145deg,#e7e9f6,#ffffff);
  border:1px solid var(--card-border);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.8);
}
.nav a{
  color:#1a2236;margin-left:10px;text-decoration:none;font-weight:800;font-size:13px;
  padding:8px 10px;border-radius:999px;
}
.nav a:hover{background:rgba(0,0,0,.06);}

/* Hero */
.hero{
  background:transparent;
  border:none;
  display:grid;grid-template-columns:1.1fr .9fr;gap:18px;
  padding:16px 4px;margin:6px 0 14px;
  color:var(--text-inv);
}
.hero h1{
  margin:0 0 8px;
  font-size:46px;line-height:1.06;font-weight: 900;
  letter-spacing:.2px;

  font-weight:900;
  letter-spacing:-0.2px;
}
.hero p{
  margin:0 0 14px;
  color:rgba(255,255,255,.9);
  font-size:16px;line-height:1.6;
  max-width:640px;
}
.hero .box{
  background:var(--card);
  color:var(--text);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 14px 36px rgba(0,0,0,.22);
}
.hero .badge{
  display:inline-block;
  font-weight:900;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  color:#232a3d;
  background:#eef0f7;border:1px solid var(--card-border);
  padding:5px 10px;border-radius:999px;margin-bottom:8px;
}
.hero ul{padding-left:18px;margin:8px 0 0;color:#2b3348;line-height:1.75;}
.hero li{margin:6px 0;}

/* Plans grid */
.grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px;
}
.card{
  background:var(--card-2);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  padding:20px 20px 18px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  position:relative;
}
.badge{
  display:inline-flex;align-items:center;gap:6px;
  background:#f0f2f9;color:#0d1220;padding:5px 10px;border-radius:999px;
  font-size:12px;font-weight:900;letter-spacing:.3px;text-transform:uppercase;
  border:1px solid var(--card-border);
}
.price{
  font-size:54px;font-weight: 900;letter-spacing:-.6px;margin:12px 0 6px;color:#0b1020;
}
.price:after{
  content:" /mo";
  font-size:18px;font-weight:800;color:#2c3346;margin-left:6px;
}
.card ul{
  padding-left:18px;color:#2c3346;line-height:1.7;margin:10px 0 16px;font-size:14px;
}

/* Buttons */
.btn{
  display:inline-flex;justify-content:center;align-items:center;gap:8px;
  width:100%;text-align:center;
  background:var(--btn);color:#fff;padding:12px 14px;border-radius:12px;
  font-weight:900;text-decoration:none;border:none;cursor:pointer;font-size:14px;
  transition:.12s ease;
}
.btn:hover{background:var(--btn-hover);}
.btn.green{background:var(--btn);} /* keep CTA consistent */
.btn.gray{background:#e8eaf2;color:#0b1020;border:1px solid var(--card-border);}

/* Forms */
label{font-weight:800;font-size:13px;display:block;margin-top:8px;color:#11162a;}
.input, select.input{
  width:100%;padding:12px 12px;border-radius:12px;border:1px solid var(--card-border);
  background:#fff;color:#0b1020;outline:none;font-size:14px;
}
.input::placeholder{color:#7a849c;}
.input:focus, select.input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(93,27,231,.18);
}

/* Tables */
.table{
  width:100%;border-collapse:collapse;margin-top:10px;
  background:rgba(255,255,255,.95);
  border:1px solid var(--card-border);border-radius:var(--radius);overflow:hidden;
}
.table th,.table td{
  padding:10px 12px;border-bottom:1px solid var(--card-border);
  font-size:13px;color:#0b1020;
}
.table th{
  text-transform:uppercase;font-size:11.5px;letter-spacing:.06em;color:#2b3348;
  font-weight:900;background:#f0f2f9;
}
.table tr:last-child td{border-bottom:none;}

.notice{
  background:rgba(255,255,255,.95);
  border:1px dashed var(--card-border);
  padding:10px 12px;border-radius:12px;font-size:13px;color:#2b3348;
}

.muted{color:#2b3348;}

@media(max-width:980px){
  .hero{grid-template-columns:1fr;}
  .grid{grid-template-columns:1fr;}
  .hero h1{font-size:36px;}
}


/* Dashboard link boxes */
.linkbox, .codebox, pre.linkbox{
  background:#0b0f19;
  color:#ffffff !important;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.2);
  font-weight:700;
  font-size:14px;
  overflow-x:auto;
}
.linkbox a{color:#fff;text-decoration:none;}
.small-pill{
  display:inline-block;
  background:#f0f2f9;
  border:1px solid var(--card-border);
  padding:6px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#0b1020;
}

pre{margin:0;white-space:pre-wrap;word-break:break-all;}


/* TV icon */
.top .brand .dot{
  width:32px;
  height:32px;
  background:url('tv_icon.png') center/contain no-repeat;
  border-radius:6px;
  margin-right:10px;
}
