:root {
  --bg: #0b0d12;
  --surface: #15181f;
  --surface-2: #1c2029;
  --border: #262a33;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #ff3b30;
  --accent-hover: #ff5247;
  --gold: #ffb703;
  --success: #34d399;
  --max: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

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

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 48px 0 18px; }
h3 { font-size: 1.2rem; margin: 28px 0 12px; }
p { margin-bottom: 16px; color: #d4d6db; }
ul, ol { margin: 0 0 16px 22px; color: #d4d6db; }
li { margin-bottom: 6px; }
strong { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; color: #fff; }

.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.nav .btn { padding: 10px 18px; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; font-size: 1.5rem; }

@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 18px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.12s ease, background 0.18s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-gold { background: var(--gold); color: #0b0d12; }
.btn-gold:hover { background: #ffc933; color: #0b0d12; text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 800px 500px at 80% -10%, rgba(255, 59, 48, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 0% 100%, rgba(255, 183, 3, 0.10), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; max-width: 880px; }
.hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-trust .dot { color: var(--success); margin-right: 6px; }

/* TL;DR / answer box (front-loading + featured snippet bait) */
.answer-box {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 26px 0 32px;
}
.answer-box strong { color: var(--gold); }
.answer-box p:last-child { margin-bottom: 0; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); }
.kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; margin-bottom: 8px; }

/* Feature grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #0b0d12;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.feature h3 { margin: 0 0 8px; color: #fff; font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 36px 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: var(--muted); font-size: 0.9rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.plan:hover { border-color: var(--accent); }
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 59, 48, 0.08), var(--surface) 30%);
  transform: scale(1.02);
}
.plan.featured .plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan h3 { margin: 0 0 6px; font-size: 1.3rem; color: #fff; }
.plan-period { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan-monthly { color: var(--success); font-size: 0.9rem; margin-bottom: 22px; font-weight: 600; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan li { padding: 8px 0; color: #d4d6db; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 10px; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.18s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > div { margin-top: 14px; color: #d4d6db; }

/* Steps (HowTo) */
.steps { counter-reset: step; display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px 24px 76px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.step h3 { margin: 0 0 8px; color: #fff; }
.step p:last-child { margin-bottom: 0; }

/* Channel logos / device icons (CSS-only placeholders) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}
.logo-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.9rem;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.logo-tile:hover { border-color: var(--accent); color: #fff; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial blockquote {
  font-style: italic;
  color: #d4d6db;
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.testimonial cite {
  display: block;
  font-style: normal;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial cite span { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }
.stars { color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 22px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.95rem;
}
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); color: #fff; font-weight: 700; font-size: 0.92rem; }
td { color: #d4d6db; }
tr:last-child td { border-bottom: 0; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.18), rgba(255, 183, 3, 0.10));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px;
  text-align: center;
  margin: 40px 0;
}
.cta-banner h2 { margin-top: 0; color: #fff; }
.cta-banner p { color: var(--muted); max-width: 580px; margin: 0 auto 22px; }

/* Article body */
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { margin-top: 56px; }
.article-body h3 { margin-top: 36px; }
.article-body img { border-radius: var(--radius-sm); margin: 24px 0; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 20px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 32px;
}
.toc h2 { margin: 0 0 12px; font-size: 1.05rem; color: #fff; }
.toc ol { margin: 0 0 0 20px; }
.toc li { color: var(--muted); }
.toc a { color: var(--text); }

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 24px 0 8px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.meta-line {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Related links / internal linking block */
.related {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin: 40px 0;
}
.related h2 { margin-top: 0; font-size: 1.2rem; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.related li:last-child { border-bottom: 0; }
.related a { color: var(--text); }
.related a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  background: #07090d;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Form */
.form { max-width: 540px; margin: 0 auto; }
.form label { display: block; margin-bottom: 8px; font-weight: 600; color: #fff; font-size: 0.95rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: inherit;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }

/* Misc utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 6px;
}

/* Floating WhatsApp button */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  z-index: 250;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
  text-decoration: none;
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.2s infinite;
}
.whatsapp-fab::after {
  content: "Fale no WhatsApp";
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #15181f;
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #262a33;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-fab:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 720px) {
  .whatsapp-fab { bottom: 16px; right: 16px; width: 56px; height: 56px; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
  .whatsapp-fab::after { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
