/* ===================================================================
   UPIPTV — Global Stylesheet
   Dark cinematic theme · amber/gold accents · glassmorphism
   =================================================================== */

:root {
  /* Palette */
  --bg:            #0b0b0d;
  --bg-2:          #111114;
  --surface:       #16161a;
  --surface-2:     #1d1d22;
  --line:          rgba(255,255,255,.08);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #f4f4f6;
  --muted:         #a6a6ad;
  --muted-2:       #6f6f77;

  --accent:        #e8a33d;
  --accent-2:      #f6c25b;
  --accent-deep:   #c47e1d;
  --accent-glow:   rgba(232,163,61,.35);

  --live:          #ff4d4d;
  --success:       #36c98e;

  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     26px;

  --shadow:        0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-glow:   0 18px 50px -12px var(--accent-glow);

  --maxw:          1240px;
  --font:          'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
section { position: relative; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

h1,h2,h3,h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.h-section { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 620px; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #1a1206; box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -10px var(--accent-glow); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-wa { background: #25d366; color: #04250f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(37,211,102,.5); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,11,13,.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #1a1206; box-shadow: var(--shadow-glow);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand b { color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .95rem;
  transition: color .18s, background .18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); margin-inline: auto; position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 12%, rgba(11,11,13,.7) 45%, rgba(11,11,13,.25) 75%, rgba(11,11,13,.6)),
    linear-gradient(0deg, var(--bg) 4%, transparent 40%);
}
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-glow {
  position: absolute; width: 620px; height: 620px; right: -120px; top: -80px; z-index: 0;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%); filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 110px; max-width: 680px; }
.badge-live {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,77,77,.4); background: rgba(255,77,77,.12); color: #ff8080;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px;
}
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255,77,77,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,77,77,.6);} 70%{box-shadow:0 0 0 9px rgba(255,77,77,0);} 100%{box-shadow:0 0 0 0 rgba(255,77,77,0);} }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #d6d6da; font-size: 1.12rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-stats { display: flex; gap: 38px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.7rem; font-weight: 800; color: var(--accent-2); }
.hero-stats .lbl { font-size: .85rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.trust-item svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

/* ---------- Poster carousel ---------- */
.poster-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.poster-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr);
  gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--accent-deep) transparent;
}
.poster-track::-webkit-scrollbar { height: 8px; }
.poster-track::-webkit-scrollbar-thumb { background: var(--accent-deep); border-radius: 8px; }
.poster-track.auto { scrollbar-width: none; }
.poster-track.auto::-webkit-scrollbar { display: none; }
.poster {
  scroll-snap-align: start; position: relative; aspect-ratio: 2/3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.poster:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(1.05); transition: filter .25s, transform .25s; }
.poster:hover img { filter: brightness(.92) saturate(1.1); transform: scale(1.04); }
.poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 35%, transparent 55%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.poster .tag, .poster .cap { z-index: 2; }
.poster .tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: var(--accent-2); }
.poster .cap { position: absolute; bottom: 0; inset-inline: 0; padding: 26px 12px 12px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); font-weight: 700; font-size: .92rem; }

/* ---------- Cards / features ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(232,163,61,.12); color: var(--accent-2); border: 1px solid rgba(232,163,61,.25);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 26px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem; color: #1a1206; background: linear-gradient(135deg,var(--accent-2),var(--accent-deep)); box-shadow: var(--shadow-glow);
}
.step h3 { margin: 18px 0 8px; font-size: 1.14rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Devices ---------- */
.devices { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.device-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-weight: 600; color: var(--muted);
  transition: border-color .2s, color .2s, transform .2s;
}
.device-pill:hover { border-color: var(--accent); color: var(--text); transform: translateY(-3px); }
.device-pill svg { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Discount banner ---------- */
.promo {
  border: 1px solid rgba(232,163,61,.4); background: linear-gradient(120deg, rgba(232,163,61,.16), rgba(232,163,61,.04));
  border-radius: var(--radius-lg); padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between;
}
.promo .big { font-size: 1.5rem; font-weight: 800; }
.promo .big b { color: var(--accent-2); }
.promo .countdown { display: flex; gap: 10px; }
.cd-box { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 62px; }
.cd-box .n { font-size: 1.5rem; font-weight: 800; color: var(--accent-2); line-height: 1; }
.cd-box .u { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Pricing ---------- */
.term-tabs { display: inline-flex; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin: 0 auto 14px; }
.term-tab { padding: 11px 24px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: .2s; position: relative; }
.term-tab .save { font-size: .68rem; color: var(--success); display: block; }
.term-tab.active { background: linear-gradient(135deg,var(--accent-2),var(--accent-deep)); color: #1a1206; }
.term-tab.active .save { color: #1a1206; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 20px; margin-top: 30px; }
.price-card {
  position: relative; background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.price-card.popular { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.price-card.popular::after {
  content: "★ Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,var(--accent-2),var(--accent-deep)); color: #1a1206; font-size: .72rem; font-weight: 800;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap; letter-spacing: .03em;
}
.price-card .dev { font-size: 1.05rem; font-weight: 700; color: var(--accent-2); }
.price-card .dev span { color: var(--muted); font-weight: 600; font-size: .9rem; display: block; }
.price-card .amt { font-size: 2.5rem; font-weight: 800; margin: 14px 0 2px; letter-spacing: -.03em; }
.price-card .amt small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price-card .was { color: var(--muted-2); text-decoration: line-through; font-size: .95rem; }
.price-card ul { margin: 18px 0 22px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.price-card li svg { width: 17px; height: 17px; color: var(--success); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---------- Reseller ---------- */
.credit-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.credit-table th, .credit-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.credit-table th { background: var(--surface-2); font-weight: 700; color: var(--accent-2); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.credit-table td { color: var(--muted); }
.credit-table tr:last-child td { border-bottom: none; }
.credit-table .c { color: var(--accent-2); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; text-align: left; font-size: 1.02rem; }
.faq-q .pm { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: .25s; color: var(--accent-2); font-size: 1.2rem; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--accent); color: #1a1206; border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(232,163,61,.16), rgba(11,11,13,.4));
  border: 1px solid rgba(232,163,61,.3); padding: 56px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem,3.4vw,2.5rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 26px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--accent-2); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { color: #d6d6da; margin-bottom: 16px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,var(--accent-2),var(--accent-deep)); display: grid; place-items: center; font-weight: 800; color: #1a1206; }
.quote .who b { font-size: .95rem; } .quote .who span { color: var(--muted); font-size: .82rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem,4vw,2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted-2); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; color: var(--accent-2); }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal .note { border-left: 3px solid var(--accent); background: rgba(232,163,61,.06); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.legal .note p { margin: 0; color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-card { background: linear-gradient(160deg,var(--surface),var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: .96rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.info-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-line:last-child { border-bottom: none; }
.info-line .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,163,61,.12); color: var(--accent-2); flex: none; }
.info-line b { display: block; } .info-line span { color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .95rem; transition: color .18s; }
.footer-links a:hover { color: var(--accent-2); }
.footer .blurb { color: var(--muted); font-size: .95rem; margin: 14px 0 18px; max-width: 280px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .87rem; }
.footer-bottom a { color: var(--muted); }
.disclaimer { color: var(--muted-2); font-size: .8rem; line-height: 1.7; margin-top: 18px; max-width: 760px; }

/* ---------- Install guide ---------- */
.dev-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.dev-tab { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; transition: .2s; }
.dev-tab svg { width: 20px; height: 20px; color: var(--accent); }
.dev-tab:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }
.dev-tab.active { background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); color: #1a1206; border-color: transparent; }
.dev-tab.active svg { color: #1a1206; }
.guide-panel { display: none; }
.guide-panel.active { display: block; animation: gfade .4s ease; }
@keyframes gfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.guide-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.guide-ico { width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center; background: rgba(232,163,61,.12); border: 1px solid rgba(232,163,61,.25); color: var(--accent-2); flex: none; }
.guide-ico svg { width: 34px; height: 34px; }
.guide-head h3 { font-size: 1.5rem; }
.guide-head .sub { color: var(--muted); font-size: .95rem; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: .85rem; font-weight: 700; color: var(--accent-2); margin-top: 6px; }
.guide-steps { counter-reset: gs; display: grid; gap: 14px; max-width: 780px; list-style: none; padding: 0; margin: 0; }
.guide-steps li { counter-increment: gs; position: relative; padding: 18px 20px 18px 66px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); }
.guide-steps li::before { content: counter(gs); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: #1a1206; background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); }
.guide-steps li b { color: var(--text); }
.guide-steps code { background: var(--bg); border: 1px solid var(--line-strong); padding: 2px 7px; border-radius: 6px; font-size: .88em; color: var(--accent-2); }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dl-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: .9rem; background: linear-gradient(135deg, var(--accent-2), var(--accent-deep)); color: #1a1206; transition: transform .2s, box-shadow .2s, border-color .2s, color .2s; }
.dl-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.dl-btn.ghost { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); }
.dl-btn.ghost:hover { border-color: var(--accent); color: var(--accent-2); box-shadow: none; }
.dl-btn::before { content: ""; width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M8 11l4 4 4-4'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M8 11l4 4 4-4'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center/contain no-repeat; }
.guide-tip { margin-top: 18px; border-left: 3px solid var(--accent); background: rgba(232,163,61,.06); padding: 13px 17px; border-radius: 0 12px 12px 0; color: var(--muted); font-size: .92rem; max-width: 780px; }
.guide-tip b { color: var(--text); }
.creds { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; margin-top: 8px; }
.cred-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.cred-card h4 { color: var(--accent-2); font-size: 1rem; margin-bottom: 8px; }
.cred-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .2s; color: #fff;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2s infinite; }
@keyframes ring { 0%{transform:scale(1);opacity:.7;} 100%{transform:scale(1.5);opacity:0;} }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0; padding: 16px 24px 24px;
    background: rgba(11,11,13,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
  }
  .nav-links.open a { padding: 13px 14px; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 64px 0 80px; }
  .hero-stats { gap: 26px; }
  .promo { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .term-tabs { width: 100%; justify-content: center; }
}
