/* B1G IPTV Panel: slate + emerald, flat and light */

:root {
  --navy: #0e1a2b;
  --navy-2: #15263d;
  --navy-line: rgba(255, 255, 255, 0.12);
  --emerald: #10b981;
  --emerald-hover: #34d399;
  --emerald-deep: #047857;
  --bg: #f5f7f6;
  --surface: #ffffff;
  --line: #dfe6e3;
  --text: #14211c;
  --muted: #56655f;
  --dim: #8a9891;
  --whatsapp: #25d366;
  --radius: 8px;
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--emerald-deep); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--text); line-height: 1.2; }
h1 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-weight: 800; letter-spacing: -0.01em; }
h3 { font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 2px solid var(--emerald); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
}
.btn-primary { background: var(--emerald); color: #04231a; }
.btn-primary:hover { background: var(--emerald-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: #b9c6c0; }
.btn-outline:hover { border-color: var(--emerald-deep); color: var(--emerald-deep); }
.btn-block { display: block; width: 100%; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: #ffffff;
  min-width: 0;
}
.brand-badge { width: 32px; height: 32px; border-radius: 6px; object-fit: contain; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: #b8c4d3; font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: #ffffff; }
.nav-links a[aria-current="page"] { color: var(--emerald-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--navy-line);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: #ffffff; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-2);
  border-top: 1px solid var(--navy-line);
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a:not(.btn) {
  padding: 14px 20px;
  border-bottom: 1px solid var(--navy-line);
  color: #e6edf5;
  font-weight: 600;
}
.mobile-menu a[aria-current="page"] { color: var(--emerald-hover); }
.mobile-menu .btn { margin: 14px 20px; }

/* floating buttons */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 900;
}
.whatsapp-fab svg { width: 28px; height: 28px; }

.currency-switcher {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 850;
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.currency-switcher span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93a3b5;
  margin-bottom: 8px;
}
.currency-btns { display: flex; flex-direction: column; gap: 4px; }
.currency-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--navy-line);
  background: transparent;
  color: #b8c4d3;
  cursor: pointer;
}
.currency-btn.active { background: var(--emerald); border-color: var(--emerald); color: #04231a; }

/* hero */
.hero {
  padding: 72px 0 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  color: #ffffff;
}
.hero-inner { max-width: 700px; }
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-deep);
}
.hero .eyebrow { color: var(--emerald-hover); }
.hero h1 { font-size: clamp(32px, 5.4vw, 52px); color: #ffffff; margin-top: 14px; }
.hero-sub { margin-top: 16px; font-size: 18px; color: #c5d0dc; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .btn-outline { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn-outline:hover { border-color: var(--emerald-hover); color: var(--emerald-hover); }

.stat-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--navy-line);
}
.stat { padding: 20px 20px 22px 0; }
.stat b { display: block; font-size: 22px; color: #ffffff; font-weight: 800; }
.stat span { display: block; margin-top: 2px; font-size: 13px; color: #93a3b5; }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 8px; }
.section-head p { margin-top: 12px; color: var(--muted); }

#pricing { background: var(--surface); }
#features { background: var(--bg); }
#how { background: var(--surface); }
#devices { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#credits { background: var(--bg); }
#faq { background: var(--surface); }
#features, #credits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* pricing */
.credit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.09);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) { .plan:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  border-color: var(--emerald);
  z-index: 2;
} }
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } .plan:hover { transform: none; } }
.plan.is-featured { border: 2px solid var(--emerald); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--emerald);
  color: #04231a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.plan-name { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.plan-price { margin-top: 10px; display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap; }
.plan-price .cur { font-size: 20px; color: var(--muted); font-weight: 700; }
.plan-price .num { font-size: 34px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.plan-price .days { font-size: 12px; color: var(--dim); }
.credit-rate { margin-top: 2px; font-size: 13px; color: var(--emerald-deep); font-weight: 700; }
.plan-includes-label {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.plan-features { margin: 8px 0 18px; flex-grow: 1; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); padding: 5px 0; }
.plan-features .tick, .plan-features .cross { display: flex; flex-shrink: 0; }
.plan-features .tick { color: var(--emerald-deep); }
.plan-features .cross { color: #c0473d; }
.plan-features svg { width: 14px; height: 14px; }
.currency-note { margin-top: 20px; font-size: 13px; color: var(--dim); }

/* feature + step cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 16px; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-deep);
  background: #e3f6ee;
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 12px;
}

/* about */
.about-copy { max-width: 700px; }
.about-copy p + p { margin-top: 14px; }
.about-copy p { color: var(--muted); }

/* cta band */
.cta-band { background: var(--navy); color: #ffffff; text-align: center; }
.cta-band .eyebrow { color: var(--emerald-hover); }
.cta-band h2 { color: #ffffff; font-size: clamp(24px, 3.6vw, 34px); margin-top: 10px; }
.cta-band p { margin-top: 12px; color: #c5d0dc; }
.cta-band .hero-cta { justify-content: center; }

/* faq */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--dim); flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; color: var(--emerald-deep); }
.faq-item p { padding: 0 0 18px; color: var(--muted); font-size: 15px; max-width: 640px; }

/* footer */
footer { background: var(--navy); color: #b8c4d3; padding: 48px 0 28px; }
footer .brand { color: #ffffff; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #7f90a4; }
.footer-col a { display: block; color: #b8c4d3; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #ffffff; }
.disclaimer { max-width: 560px; margin-top: 16px; font-size: 12.5px; color: #8a9bb0; line-height: 1.6; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7f90a4;
}

/* responsive */
@media (max-width: 1000px) {
  .nav-links, .main-nav > .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding-top: 48px; }
  .hero-sub { font-size: 16.5px; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .footer-top { flex-direction: column; }
  .brand { font-size: 15.5px; }
  .currency-switcher { right: 10px; padding: 8px; }
  .currency-switcher span { display: none; }
  .currency-btn { padding: 6px 9px; font-size: 11.5px; }
  .whatsapp-fab { width: 52px; height: 52px; right: 14px; bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

html { -webkit-text-size-adjust: 100%; }
@media (max-width: 640px) {
  .footer-col a { padding: 8px 0; margin-bottom: 0; }
  .footer-cols { gap: 28px 40px; }
  .plan:active { transform: scale(0.99); }
  .btn { min-height: 46px; }
}
