:root {
  --bg: #050814;
  --bg-2: #0a1024;
  --surface: #0e1630;
  --surface-2: #142044;
  --border: rgba(56, 189, 248, 0.18);
  --border-strong: rgba(0, 168, 255, 0.45);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #00a8ff;
  --primary-2: #2563eb;
  --cyan: #22d3ee;
  --green: #10b981;
  --gold: #fbbf24;
  --red: #ef4444;
  --radius: 16px;
  --shadow-glow: 0 0 40px rgba(0, 168, 255, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #0d1b3e 0%, var(--bg) 45%), var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 800; margin-bottom: 0.75rem; }
h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 0.5rem; }
a { color: var(--cyan); text-decoration: none; transition: color 0.18s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
code { background: rgba(0,168,255,0.14); color: #7dd3fc; padding: 2px 7px; border-radius: 6px; font-size: 0.92em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 68px 0; }
.section-alt { background: rgba(14, 22, 48, 0.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0.5rem 0 0; }
.text-gradient {
  background: linear-gradient(95deg, #fff 10%, #38bdf8 55%, #00a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #0b1a42, #092c54, #0b1a42);
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-link { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 8, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand img { border-radius: 12px; border: 1.5px solid var(--border-strong); box-shadow: 0 0 18px rgba(0,168,255,0.35); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 900; }
.brand-text .accent { color: var(--primary); }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--muted); margin-top: 3px; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { color: #dbeafe; font-size: 0.92rem; font-weight: 600; }
.main-nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); color: #fff; font-size: 1.35rem; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 700; border-radius: 12px;
  padding: 12px 22px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.16s, box-shadow 0.18s, background 0.18s;
  font-size: 0.98rem; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #00a8ff, #2563eb);
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 168, 255, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 32px rgba(0, 168, 255, 0.55); }
.btn-wa {
  background: linear-gradient(135deg, #16a34a, #10b981);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.btn-wa:hover { color: #fff; }
.btn-outline {
  background: rgba(14, 22, 48, 0.8);
  border-color: var(--border-strong);
  color: #e0f2fe;
}
.btn-outline:hover { background: rgba(0, 168, 255, 0.14); color: #fff; }
.btn-sm { padding: 9px 15px; font-size: 0.86rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Badges */
.badge-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(0, 168, 255, 0.14); border: 1px solid rgba(56, 189, 248, 0.4); color: #7dd3fc;
}
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: rgba(34,211,238,0.12); color: var(--cyan); border: 1px solid rgba(34,211,238,0.28); }
.pill-gold { background: rgba(251,191,36,0.14); color: var(--gold); border-color: rgba(251,191,36,0.35); }

/* Hero */
.hero { padding: 54px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 38px; align-items: center; }
.hero-lead { color: #cbd5e1; font-size: 1.12rem; margin: 16px 0 24px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.stat-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 12px; text-align: center;
}
.stat-box strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.45rem; color: #fff; }
.stat-box span { font-size: 0.78rem; color: var(--muted); }

.hero-visual {
  position: relative; background: linear-gradient(155deg, rgba(0,168,255,0.14), rgba(14,22,48,0.92));
  border: 1px solid var(--border-strong); border-radius: 24px; padding: 26px;
  box-shadow: var(--shadow-glow); text-align: center;
}
.hero-logo-big {
  width: 220px; height: 220px; margin: 0 auto 18px; border-radius: 28px;
  border: 2px solid rgba(0, 168, 255, 0.55);
  box-shadow: 0 0 45px rgba(0, 168, 255, 0.42);
}
.hero-card-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; text-align: left; }
.hero-card-metrics div { background: rgba(5,8,20,0.65); border: 1px solid var(--border); padding: 10px 12px; border-radius: 12px; font-size: 0.82rem; }
.hero-card-metrics strong { display: block; color: var(--cyan); font-size: 0.92rem; }

/* Cards & Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-strong); }
.card-link { display: block; color: inherit; }
.card-link:hover { transform: translateY(-3px); color: inherit; }
.card-glow {
  background: linear-gradient(160deg, rgba(14,22,48,0.96), rgba(9,24,56,0.95));
  border: 1.5px solid var(--border-strong); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-glow);
}
.icon-circle {
  width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,168,255,0.14); border: 1px solid rgba(0,168,255,0.35); font-size: 1.45rem; margin-bottom: 14px;
}

/* Test Widget */
.test-widget { margin: 28px 0; }
.tw-header h3 { margin: 10px 0 6px; font-size: 1.45rem; }
.tw-header p { margin: 0 0 18px; color: var(--muted); }
.tw-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.tw-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; font-weight: 600; color: #cbd5e1; }
.tw-field select, .tw-field input, .input {
  width: 100%; padding: 13px 14px; border-radius: 11px;
  background: #070d20; border: 1px solid var(--border-strong); color: #fff;
  font-family: inherit; font-size: 0.96rem;
}
.tw-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 0.84rem; color: #86efac; }

/* Pricing */
.screen-tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 5px; margin-bottom: 28px; gap: 6px; }
.screen-tab { background: transparent; border: none; color: var(--muted); padding: 10px 20px; border-radius: 10px; font-family: 'Outfit', sans-serif; font-weight: 700; cursor: pointer; font-size: 0.95rem; }
.screen-tab.active { background: linear-gradient(135deg, #00a8ff, #2563eb); color: #fff; }
.plan-card { display: flex; flex-direction: column; position: relative; }
.plan-card.featured { border-color: var(--primary); background: linear-gradient(180deg, rgba(0,168,255,0.14), var(--surface)); box-shadow: var(--shadow-glow); }
.plan-badge { position: absolute; top: -12px; right: 18px; background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #050814; font-weight: 800; font-size: 0.74rem; padding: 4px 11px; border-radius: 999px; }
.plan-price { font-family: 'Outfit', sans-serif; font-size: 2.35rem; font-weight: 900; margin: 10px 0 4px; color: #fff; }
.plan-price small { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.plan-per-month { font-size: 0.85rem; color: var(--cyan); margin-bottom: 16px; min-height: 22px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-features li { padding: 6px 0; font-size: 0.92rem; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.05); }
.plan-features li::before { content: '✔ '; color: var(--green); font-weight: 800; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); }
th { background: rgba(0, 168, 255, 0.1); font-family: 'Outfit', sans-serif; color: #e0f2fe; }
tr:last-child td { border-bottom: none; }

/* Lists & Articles */
.prose { max-width: 880px; }
.prose h2 { margin-top: 34px; color: #fff; }
.prose p { color: #cbd5e1; }
.check-list, .steps-list { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { background: rgba(14,22,48,0.7); border: 1px solid var(--border); padding: 13px 16px; border-radius: 12px; color: #dbeafe; }
.steps-list { counter-reset: st; }
.steps-list li { counter-increment: st; background: rgba(14,22,48,0.75); border: 1px solid var(--border); padding: 15px 18px 15px 54px; border-radius: 12px; position: relative; color: #dbeafe; }
.steps-list li::before {
  content: counter(st); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px;
  border-radius: 8px; background: linear-gradient(135deg, #00a8ff, #2563eb); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.88rem;
}
.glossary dt { font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--cyan); margin-top: 14px; font-size: 1.05rem; }
.glossary dd { margin: 4px 0 0; color: #cbd5e1; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; padding: 18px 20px; cursor: pointer; font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 18px; color: #cbd5e1; margin: 0; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 14px; }

/* Interactive Tools */
.speed-gauge {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0;
}
.metric-tile { background: #070d20; border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; }
.metric-tile strong { display: block; font-family: 'Outfit', sans-serif; font-size: 2rem; color: var(--cyan); }
.metric-tile span { color: var(--muted); font-size: 0.85rem; }
.progress-bar { width: 100%; height: 10px; border-radius: 999px; background: #070d20; overflow: hidden; border: 1px solid var(--border); margin: 14px 0; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #00a8ff, #10b981); transition: width 0.25s; }

.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 20px 0; }
.calc-item {
  display: flex; align-items: center; gap: 11px; padding: 14px; border-radius: 12px;
  background: #070d20; border: 1.5px solid var(--border); cursor: pointer; user-select: none;
}
.calc-item:has(input:checked) { border-color: var(--primary); background: rgba(0,168,255,0.12); }
.calc-item input { width: 18px; height: 18px; accent-color: var(--primary); }
.calc-result {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(0,168,255,0.14));
  border: 1.5px solid rgba(16,185,129,0.45); border-radius: 16px; padding: 22px; text-align: center;
}
.calc-result strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.95rem; color: #fff; }
.calc-result .save-big strong { color: #4ade80; }

/* Breadcrumbs */
.breadcrumbs { padding: 16px 20px 0; font-size: 0.84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs .sep { opacity: 0.45; }

/* Page Hero */
.page-hero { padding: 38px 0 32px; border-bottom: 1px solid var(--border); }
.page-hero p.hero-lead { max-width: 780px; }

/* Footer */
.site-footer { background: #030610; border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 14px 0; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { font-size: 0.78rem; padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer ul a { color: var(--muted); font-size: 0.9rem; }
.site-footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 0.84rem; color: var(--muted);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* Floating WA + Modal */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #16a34a, #10b981); color: #fff;
  border: none; border-radius: 999px; padding: 13px 20px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45); cursor: pointer;
}
.wa-float:hover { transform: scale(1.04); }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(2, 6, 18, 0.8); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  width: 100%; max-width: 490px; background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: 22px; padding: 28px; position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.65);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: #fff; cursor: pointer;
}
.modal-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.modal-brand img { border-radius: 12px; }
.modal-brand h3 { margin: 5px 0 0; }
.modal-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 18px; }
.modal-form { display: flex; flex-direction: column; gap: 14px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tw-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #070d20; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 18px 20px; align-items: flex-start; gap: 14px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  .hero-stats, .grid-2, .grid-3, .grid-4, .speed-gauge, .calc-result { grid-template-columns: 1fr; }
  .wa-label { display: none; }
  .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; font-size: 1.4rem; }
}
