/* ============================================================
   Tivione — styles.css
   Modern IPTV landing — emerald / ink, light + cinematic dark.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0f1e;
  --ink-2: #131a2e;
  --muted: #5b6478;
  --muted-2: #8b93a6;
  --line: #e8ecf3;
  --bg: #ffffff;
  --bg-soft: #f4f8f6;
  --bg-mint: #eef6f1;

  --brand: #10b981;
  --brand-d: #0e9f6e;
  --brand-l: #34d39e;
  --brand-grad: linear-gradient(135deg, #14c98a 0%, #0c9d6c 100%);
  --brand-glow: rgba(16, 185, 129, 0.42);
  --amber: #f6b73c;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(15, 25, 60, 0.06);
  --shadow: 0 14px 40px rgba(15, 25, 60, 0.1);
  --shadow-lg: 0 30px 70px rgba(10, 18, 45, 0.16);
  --shadow-brand: 0 16px 38px -10px var(--brand-glow);

  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-mint { background: linear-gradient(180deg, #f0f8f3 0%, #f7fbf9 100%); }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-d);
}
.eyebrow i { font-size: 11px; }
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 0; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15.5px; padding: 15px 28px;
  border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn i { font-size: 15px; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -10px var(--brand-glow); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand-d); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .25s, background .25s, border-color .25s;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { box-shadow: 0 6px 26px rgba(15,25,60,.08); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo { height: 40px; width: auto; display: block; }
.site-footer .brand-logo { height: 38px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-grad); color: #fff; font-size: 17px;
  box-shadow: var(--shadow-brand);
}
.brand-name { font-size: 21px; letter-spacing: -0.03em; }
.brand-name b { color: var(--brand-d); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  font-size: 15px; font-weight: 600; color: #38415a; padding: 9px 13px;
  border-radius: 9px; transition: color .2s, background .2s; white-space: nowrap;
}
.primary-nav a:hover { color: var(--brand-d); background: var(--bg-mint); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; font-size: 20px; color: var(--ink); border: 1.5px solid var(--line); align-items: center; justify-content: center; }

/* ============================================================
   Hero (cinematic dark)
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 560px at 80% -10%, rgba(16,185,129,.34), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(16,185,129,.16), transparent 55%),
    linear-gradient(160deg, #070b16 0%, #0c1426 55%, #0a1120 100%);
  padding: 64px 0 90px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.03em; }
.hero h1 .hl { color: transparent; background: linear-gradient(120deg, #34d39e, #7ef0c4); -webkit-background-clip: text; background-clip: text; }
.hero-sub { color: #b9c2d6; font-size: 18.5px; margin-top: 20px; max-width: 540px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: 13.5px; font-weight: 600; color: #d7deec; margin-bottom: 22px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-l); box-shadow: 0 0 0 4px rgba(52,211,158,.22); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52,211,158,0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; }
.hero-trust .t-txt { font-size: 14px; color: #aeb8cc; }
.hero-trust .t-txt b { color: #fff; }
.hero-trust .divider { width: 1px; height: 30px; background: rgba(255,255,255,.14); }

/* Hero visual — poster collage card */
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: 22px; padding: 16px;
  background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hero-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-collage img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.hero-collage img:nth-child(2) { transform: translateY(-16px); }
.hero-collage img:nth-child(5) { transform: translateY(-16px); }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px;
}
.hero-float i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-mint); color: var(--brand-d); font-size: 15px; }
.hero-float span small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.hero-float.f1 { top: -18px; left: -22px; }
.hero-float.f2 { bottom: -18px; right: -16px; }
@keyframes floaty { 50% { transform: translateY(-9px); } }
.hero-float.f1 { animation: floaty 4s ease-in-out infinite; }
.hero-float.f2 { animation: floaty 4.6s ease-in-out infinite .6s; }

/* Logo strip under hero */
.hero-logos { position: relative; z-index: 2; margin-top: 58px; }
.hero-logos p { text-align: center; color: #8893aa; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.hero-logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 44px; }
.hero-logos-row img { height: 26px; width: auto; opacity: .72; filter: brightness(0) invert(1); transition: opacity .2s; }
.hero-logos-row img:hover { opacity: 1; }

/* ============================================================
   Stats bar
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14.5px; font-weight: 600; margin-top: 6px; }

/* ============================================================
   Poster reel (spinner)
   ============================================================ */
.reel-section { padding: 84px 0; overflow: hidden; }
.reel-wrap { position: relative; }
.reel-wrap::before, .reel-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 3; pointer-events: none;
}
.reel-wrap::before { left: 0; background: linear-gradient(to right, var(--bg) 8%, rgba(255,255,255,0) 100%); }
.reel-wrap::after { right: 0; background: linear-gradient(to left, var(--bg) 8%, rgba(255,255,255,0) 100%); }
.section-soft .reel-wrap::before { background: linear-gradient(to right, var(--bg-soft) 8%, rgba(244,248,246,0) 100%); }
.section-soft .reel-wrap::after { background: linear-gradient(to left, var(--bg-soft) 8%, rgba(244,248,246,0) 100%); }
.section-mint .reel-wrap::before { background: linear-gradient(to right, #f1f8f4 8%, rgba(241,248,244,0) 100%); }
.section-mint .reel-wrap::after { background: linear-gradient(to left, #f1f8f4 8%, rgba(241,248,244,0) 100%); }
.reel-track {
  display: flex; gap: 18px; width: max-content;
  animation: reel-scroll 80s linear infinite;
}
@keyframes reel-scroll { to { transform: translateX(-50%); } }
.reel-track.reverse { animation-direction: reverse; }
.poster-card {
  position: relative; width: 232px; height: 348px; flex-shrink: 0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(8,15,40,.18); background: #11182e;
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; }
.poster-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,11,22,.5), transparent 42%); }
.poster-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11.5px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; color: #fff; background: rgba(10,15,30,.6);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); letter-spacing: .02em;
}

/* ============================================================
   Logo grids (channels / sports)
   ============================================================ */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.logo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 0 auto; }
.logo-tile {
  display: grid; place-items: center; height: 116px; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.logo-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(16,185,129,.3); }
.logo-tile img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.grid-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 34px; }
.grid-note b { color: var(--brand-d); }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 30px 32px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  counter-increment: step; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--bg-mint); color: var(--brand-d); font-size: 22px; margin-bottom: 22px;
}
.step-num::before { content: "0" counter(step); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after {
  content: "\f061"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -22px; top: 56px; color: var(--brand-l); font-size: 18px; z-index: 2;
}

/* ============================================================
   Features
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(16,185,129,.28); }
.feature-ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; font-size: 22px;
  color: #fff; background: var(--brand-grad); box-shadow: var(--shadow-brand); margin-bottom: 20px;
}
.feature h3 { font-size: 18.5px; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 14.8px; }

/* ============================================================
   Pricing
   ============================================================ */
.plan-tabs { display: inline-flex; gap: 8px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); margin: 0 auto 18px; }
.plan-tabs-wrap { display: flex; justify-content: center; }
.plan-tab { padding: 17px 34px; border-radius: 999px; font-weight: 700; font-size: 16.5px; color: var(--muted); transition: color .2s, background .2s; position: relative; line-height: 1.1; }
.plan-tab:hover { color: var(--ink); }
.plan-tab .save { display: block; font-size: 11.5px; font-weight: 800; color: var(--brand-d); margin-top: 3px; }
.plan-tab.is-active { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
.plan-tab.is-active .save { color: #eafff6; }

.plan-panel { display: none; }
.plan-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; max-width: 1040px; margin: 44px auto 0; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: scale(1.03); }
.plan.popular:hover { transform: scale(1.03) translateY(-6px); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-brand);
}
.plan-name { font-size: 19px; font-weight: 800; }
.plan-desc { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 40px; }
.plan-price { display: flex; align-items: flex-end; gap: 4px; margin: 18px 0 4px; }
.plan-price .cur { font-size: 22px; font-weight: 800; color: var(--ink); align-self: flex-start; margin-top: 6px; }
.plan-price .amt { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.plan-old { color: var(--muted-2); font-size: 14px; text-decoration: line-through; margin-bottom: 18px; }
.plan-feats { display: grid; gap: 12px; margin: 8px 0 26px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: #2c3346; }
.plan-feats li i { color: var(--brand); font-size: 13px; margin-top: 5px; }
.plan-feats li.muted { color: var(--muted-2); }
.plan-feats li.muted i { color: var(--muted-2); }
.plan .btn { margin-top: auto; }
.plans-foot { text-align: center; margin-top: 32px; color: var(--muted); font-size: 14.5px; }
.plans-foot i { color: var(--brand-d); }

/* ============================================================
   Split / Why
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  background: #0a1120;
}
.split-media .collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.split-media .collage img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; }
.why-list { display: grid; gap: 20px; margin-top: 30px; }
.why-item { display: flex; gap: 16px; }
.why-item .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-mint); color: var(--brand-d); font-size: 19px; }
.why-item h4 { font-size: 17px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   Devices
   ============================================================ */
.devices { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.device-chip {
  display: flex; align-items: center; gap: 11px; padding: 16px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-sm);
  transition: transform .2s, border-color .2s;
}
.device-chip:hover { transform: translateY(-4px); border-color: rgba(16,185,129,.3); }
.device-chip i { font-size: 20px; color: var(--brand-d); }

/* ============================================================
   Testimonials
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review p { color: #2c3346; font-size: 15px; margin-bottom: 22px; }
.review-by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 16px; }
.review-by b { font-size: 14.5px; display: block; }
.review-by span { color: var(--muted); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: rgba(16,185,129,.4); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; text-align: left; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq-q .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-mint); color: var(--brand-d); transition: transform .25s, background .2s; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); background: var(--brand-grad); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.4,0,.2,1); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; min-height: 0; padding: 0 26px; color: var(--muted); font-size: 15px; transition: padding .34s ease; }
.faq-item.is-open .faq-a > p { padding: 0 26px 24px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; border-radius: 30px; padding: 64px 48px; text-align: center; color: #fff;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(255,255,255,.18), transparent 60%),
    var(--brand-grad);
  box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.cta-band p { color: rgba(255,255,255,.92); font-size: 18px; margin: 16px auto 30px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--brand-d); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #f3fff9; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #070b16; color: #aeb8cc; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cdd5e6; transition: background .2s, color .2s, transform .2s; }
.footer-social a:hover { background: var(--brand-grad); color: #fff; transform: translateY(-3px); }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: -.01em; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; color: #aeb8cc; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--brand-l); padding-left: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #8893aa; }
.footer-bottom a { color: #8893aa; }
.footer-bottom a:hover { color: var(--brand-l); }
.footer-disclaimer { font-size: 12.5px; color: #69718a; margin-top: 18px; line-height: 1.6; max-width: 880px; }

/* ============================================================
   Blog index + articles
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card-head { height: 148px; display: grid; place-items: center; color: #fff; font-size: 46px; background: var(--brand-grad); }
.blog-card-head.c-blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.blog-card-head.c-violet { background: linear-gradient(135deg, #7c5cff, #9333ea); }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 10px; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.28; }
.blog-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.blog-card .read { margin-top: 18px; font-weight: 700; color: var(--brand-d); font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; transition: gap .2s; }
.blog-card:hover .read { gap: 12px; }

/* Article */
.article { max-width: 768px; margin: 0 auto; }
.tldr-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-mint); border: 1px solid rgba(16,185,129,.22); border-radius: 16px; padding: 22px 24px; margin: 4px 0 30px; }
.tldr-box .tldr-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; font-size: 18px; box-shadow: var(--shadow-brand); }
.tldr-box .tldr-label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 5px; }
.tldr-box p { margin: 0; color: #2c3346; font-size: 15.5px; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; color: #b9c2d6; font-size: 14px; margin-top: 18px; }
.article-meta i { color: var(--brand-l); margin-right: 6px; }
.cat-pill { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #d7deec; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.tip-box { background: var(--bg-mint); border: 1px solid rgba(16,185,129,.22); border-left: 4px solid var(--brand); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.tip-box p { margin: 0; color: #2c3346; }
.tip-box strong { color: var(--brand-d); }
.article ol, .article ul.steps-list { padding-left: 22px; margin: 14px 0; display: grid; gap: 10px; }
.article ol li, .article ul.steps-list li { color: #36405a; line-height: 1.7; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, #f0f8f3, #eef6f1); border: 1px solid rgba(16,185,129,.2); border-radius: 20px; padding: 28px 30px; margin: 40px 0; }
.article-cta h3 { font-size: 20px; margin-bottom: 6px; }
.article-cta p { color: var(--muted); font-size: 14.5px; margin: 0; }
.related { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 30px; }
.related h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.related a { display: block; font-weight: 700; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.related a:hover { color: var(--brand-d); }
.related a i { color: var(--brand); margin-right: 9px; font-size: 13px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } .article-cta { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   SEO content block
   ============================================================ */
.seo-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.seo-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 14px 0 16px; }
.seo-head p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.seo-head strong, .seo-card strong { color: #2c3346; font-weight: 700; }
.seo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0 auto; }
.seo-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 34px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; }
.seo-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.seo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(16,185,129,.28); }
.seo-card:hover::before { transform: scaleX(1); }
.seo-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 23px; color: #fff; background: var(--brand-grad); box-shadow: var(--shadow-brand); margin-bottom: 22px; }
.seo-card h3 { font-size: 19.5px; margin-bottom: 12px; line-height: 1.3; }
.seo-card p { color: var(--muted); font-size: 15px; line-height: 1.72; margin: 0; }
.seo-card a { color: var(--brand-d); font-weight: 600; }
.seo-card a:hover { color: var(--brand); }
.seo-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.seo-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: #38415a; box-shadow: var(--shadow-sm); }
.seo-tag i { color: var(--brand-d); font-size: 13px; }
@media (max-width: 760px) { .seo-cards { grid-template-columns: 1fr; } }

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #2be36f 0%, #1ebe5a 100%); color: #fff; font-weight: 800; font-size: 17px;
  padding: 19px 28px 19px 22px; border-radius: 999px;
  transition: transform .2s ease;
  animation: wa-glow 2.1s ease-in-out infinite;
}
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.6), 0 18px 42px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 22px 54px rgba(37,211,102,.7); }
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.wa-float i, .wa-float svg { font-size: 32px; width: 32px; height: 32px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.wa-float .wa-label { line-height: 1.18; }
.wa-float .wa-label small { display: block; font-weight: 500; font-size: 13px; opacity: .94; }
.wa-float::after {
  content: ""; position: absolute; top: 11px; right: 16px; width: 13px; height: 13px;
  background: #ff4d4f; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(255,77,79,.7); animation: wa-dot 1.6s ease-out infinite;
}
@keyframes wa-dot {
  0% { box-shadow: 0 0 0 0 rgba(255,77,79,.7); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(255,77,79,0); }
}
@media (max-width: 575px) {
  .wa-float { right: 16px; bottom: 16px; padding: 20px; }
  .wa-float .wa-label { display: none; }
  .wa-float i, .wa-float svg { font-size: 30px; width: 30px; height: 30px; }
  .wa-float::after { top: 8px; right: 8px; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero { background: linear-gradient(160deg, #070b16, #0c1426); color: #fff; padding: 58px 0 64px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
.page-hero p { color: #b9c2d6; max-width: 620px; margin: 16px auto 0; font-size: 17px; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 38px 0 14px; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.prose p { color: #36405a; margin-bottom: 14px; }
.prose ul { display: grid; gap: 10px; margin: 14px 0; }
.prose ul li { display: flex; gap: 11px; color: #36405a; }
.prose ul li i { color: var(--brand); margin-top: 6px; font-size: 13px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brand-d); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .features, .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .primary-nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px 22px 22px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn:not(.nav-toggle) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 22px 8px; min-width: 0; }
  .stat .num { font-size: clamp(22px, 6.4vw, 32px); letter-spacing: -.04em; }
  .stat .lbl { font-size: 13px; }
  .plans { grid-template-columns: 1fr; max-width: 420px; }
  .plan.popular { transform: none; }
  .plan.popular:hover { transform: translateY(-6px); }
  .features, .reviews, .steps, .logo-grid, .logo-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .reel-wrap::before, .reel-wrap::after { width: 60px; }
  .poster-card { width: 168px; height: 252px; }
  .hero-float { display: none; }
  .cta-band { padding: 48px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan-tabs { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
}
@media (max-width: 460px) {
  .features, .reviews, .steps { grid-template-columns: 1fr; }
  .logo-grid, .logo-grid.cols-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .logo-tile { height: 92px; padding: 16px; }
  .logo-tile img { max-height: 40px; }
  .hero-collage { gap: 8px; }
}
