/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }

:root {
  --red: #E63946;
  --red-light: #FF6B6B;
  --navy: #0F172A;
  --bg-light: #F5F6F8;
  --white: #FFFFFF;
  --text: #1E2430;
  --text-muted: #5B6472;
  --border: #E4E7EC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
  --container: 1180px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(230, 57, 70, 0.36); }
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover { background: rgba(15, 23, 42, 0.06); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); transition: color 0.15s; }
.main-nav a:hover { color: var(--navy); }
.header-cta { display: flex; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 20px; }
.hero-sub { font-size: 1.08rem; color: var(--text-muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.88rem; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--red); width: 16px; height: 16px; }

/* hero call card mockup */
.hero-visual { display: flex; justify-content: center; }
.call-card {
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}
.call-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }
.call-card-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.call-card-row p { font-size: 0.82rem; color: var(--text-muted); }
.call-bubble { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; margin-bottom: 10px; }
.bubble-in { background: var(--bg-light); border-bottom-left-radius: 4px; }
.bubble-out { background: linear-gradient(135deg, var(--red-light), var(--red)); color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.call-confirm {
  display: flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.1); color: #15803d;
  padding: 10px 12px; border-radius: 12px; font-size: 0.82rem; font-weight: 600; margin: 14px 0 10px;
}
.call-confirm .ic { width: 15px; height: 15px; }
.call-whatsapp {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.78rem; padding-top: 6px; border-top: 1px dashed var(--border);
}
.wa-ic { width: 16px; height: 16px; fill: #25D366; }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--navy); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.8rem; color: var(--white); }
.stats-grid span { color: #94A3B8; font-size: 0.85rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-light); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 1.02rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(230, 57, 70, 0.1); color: var(--red);
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Segments ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.segment-card {
  background: linear-gradient(160deg, var(--white), var(--bg-light));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.segment-card h3 { margin-bottom: 10px; }
.segment-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.segment-features { display: flex; flex-direction: column; gap: 10px; }
.segment-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; color: var(--text); }
.segment-features .ic { color: var(--red); margin-top: 3px; width: 15px; height: 15px; }

/* ---------- Install plan tabs ---------- */
.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  max-width: fit-content;
  margin: 0 auto 44px;
}
.plan-tab {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.plan-tab small { font-weight: 500; opacity: 0.85; }
.plan-tab:hover { color: var(--navy); }
.plan-tab.active {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.28);
}
.plan-panel[hidden] { display: none; }
.plan-sector {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  background: rgba(230, 57, 70, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 6px;
}
.plan-audience { font-style: italic; font-size: 0.85rem !important; color: var(--text-muted); margin-bottom: 0 !important; }
.plans-grid.plan-panel-solo { grid-template-columns: 1fr; max-width: 640px; }
.plan-custom { border-color: var(--navy); }
.plan-custom .plan-badge { background: var(--navy); }
.plan-price-custom { margin-bottom: 22px; }
.plan-price-custom strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.plan-price-custom span { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Install plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-head h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan-head h3 small { color: var(--text-muted); font-weight: 500; font-size: 0.85rem; }
.plan-head p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.plan-price span { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.plan-price small { color: var(--text-muted); font-size: 0.85rem; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); }
.plan-features .ic { color: var(--red); margin-top: 3px; width: 16px; height: 16px; }
.plans-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; max-width: 700px; margin: 36px auto 0; }

/* ---------- Calculator ---------- */
.calculator {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}
.calculator-controls { padding: 44px 40px; }
.calc-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.calc-label-row label { font-weight: 600; color: var(--navy); }
.calc-value { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--red); }
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  margin-bottom: 10px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(230,57,70,0.5);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(230,57,70,0.5);
  cursor: pointer;
}
.calc-ticks { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.78rem; margin-bottom: 26px; }
.calc-extra { font-size: 0.85rem; color: var(--text-muted); background: var(--bg-light); padding: 12px 16px; border-radius: 12px; }
.calc-extra strong { color: var(--navy); }

.calculator-result {
  background: var(--navy);
  color: var(--white);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}
.result-label { color: #94A3B8; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.result-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.result-price span { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.8rem; }
.result-price small { color: #94A3B8; }
.result-breakdown { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.result-breakdown li { display: flex; justify-content: space-between; font-size: 0.88rem; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #CBD5E1; }
.result-breakdown strong { color: var(--white); }
.calculator-result .btn-primary { box-shadow: none; }

/* ---------- Savings table ---------- */
.savings-block { max-width: 720px; margin: 56px auto 0; text-align: center; }
.savings-block h3 { font-size: 1.4rem; margin-bottom: 14px; }
.savings-block > p { color: var(--text-muted); margin-bottom: 28px; }
.savings-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.savings-table { width: 100%; border-collapse: collapse; background: var(--white); }
.savings-table th, .savings-table td { padding: 14px 20px; text-align: center; font-size: 0.92rem; }
.savings-table thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.savings-table tbody tr:nth-child(even) { background: var(--bg-light); }
.savings-table tbody td:first-child { font-weight: 600; color: var(--navy); }
.savings-table tbody td:last-child { color: var(--red); font-weight: 700; }
.savings-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 18px; margin-bottom: 0 !important; }

/* ---------- Panel section ---------- */
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.panel-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.panel-list .ic { color: var(--red); }
.tag {
  background: rgba(230,57,70,0.1); color: var(--red);
  font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 4px;
}
.dash-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.dash-topbar { display: flex; gap: 6px; padding: 14px 16px; background: var(--bg-light); }
.dash-topbar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-body { padding: 22px; }
.dash-row { display: flex; gap: 12px; margin-bottom: 20px; }
.dash-stat { flex: 1; background: var(--bg-light); border-radius: 12px; padding: 14px; }
.dash-stat small { display: block; color: var(--text-muted); font-size: 0.72rem; margin-bottom: 4px; }
.dash-stat strong { font-family: 'Poppins', sans-serif; font-size: 1.3rem; color: var(--navy); }
.dash-list { display: flex; flex-direction: column; gap: 10px; }
.dash-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text); padding: 10px 12px; border-radius: 10px; background: var(--bg-light); }
.dash-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--red);
  margin-left: 12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red-light), var(--red) 60%, #C62633);
  padding: 80px 0;
}
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-logo { height: 44px; width: auto; margin: 0 auto 24px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.cta-form { display: flex; flex-direction: column; gap: 12px; background: var(--white); padding: 24px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.cta-form input {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.cta-form input:focus { outline: 2px solid var(--red); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-word { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; color: #94A3B8; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: #94A3B8; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 0.82rem; color: #64748B; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 60px 0 100px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-page h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 0.95rem; margin-bottom: 10px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 16px; }
.legal-page hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.legal-page strong { color: var(--navy); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; color: var(--red); font-weight: 600; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .segment-grid { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-visual { order: -1; }
  .calculator { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
