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

:root {
  --blue:       #3BB9FF;
  --blue-dark:  #1A9FE0;
  --blue-deep:  #0B6FA4;
  --blue-light: #E8F7FF;
  --blue-mid:   #B3E5FC;
  --ink:        #0A1628;
  --ink-soft:   #1E3A5F;
  --muted:      #5A7FA0;
  --border:     #D6EAF8;
  --white:      #FFFFFF;
  --surface:    #F4FBFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}

.nav-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none;
}

.nav-logo-img { height: 80px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover { color: var(--blue-deep); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px; border-radius: 9px;
  font-weight: 700 !important; font-size: 14px !important;
  transition: background .2s, box-shadow .2s !important;
  box-shadow: 0 3px 14px rgba(59,185,255,.35);
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
  box-shadow: 0 5px 20px rgba(59,185,255,.45) !important;
}

/* ─── HERO ─── */
.hero-wrap {
  background: linear-gradient(160deg, var(--surface) 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
}

.hero {
  max-width: 1180px; margin: 0 auto;
  padding: 100px 6% 90px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue-deep);
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 100px;
  margin-bottom: 26px; border: 1px solid var(--blue-mid);
}

.dot-pulse {
  width: 7px; height: 7px; background: var(--blue);
  border-radius: 50%; animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }

.hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 900; line-height: 1.07;
  letter-spacing: -2.5px; color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--blue); }

.hero-sub {
  font-size: 17px; color: var(--muted);
  line-height: 1.75; margin-bottom: 38px;
  max-width: 460px;
}

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white;
  padding: 14px 28px; border-radius: 11px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(59,185,255,.38);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(59,185,255,.48);
}

.btn-ghost {
  font-size: 15px; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--blue); }

/* Hero signal graphic */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}

.signal-wrap {
  position: relative; width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}

.ring {
  position: absolute; border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0;
  animation: ripple 3.2s ease-out infinite;
}
.ring:nth-child(1){ width:80px;  height:80px;  animation-delay:0s;    border-color:rgba(59,185,255,.9); }
.ring:nth-child(2){ width:160px; height:160px; animation-delay:.7s;   border-color:rgba(59,185,255,.6); }
.ring:nth-child(3){ width:250px; height:250px; animation-delay:1.4s;  border-color:rgba(59,185,255,.35); }
.ring:nth-child(4){ width:340px; height:340px; animation-delay:2.1s;  border-color:rgba(59,185,255,.15); }

@keyframes ripple {
  0%   { transform:scale(.55); opacity:.85; }
  100% { transform:scale(1);   opacity:0;   }
}

.signal-core {
  width: 72px; height: 72px; z-index: 2;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 16px var(--blue-light), 0 8px 32px rgba(59,185,255,.5);
}

.signal-core svg { width: 36px; height: 36px; }

/* speed badges */
.badge-float {
  position: absolute;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(10,22,40,.09);
  font-size: 13px; font-weight: 700; color: var(--ink);
  animation: float 4s ease-in-out infinite;
}
.badge-float span { color: var(--blue); font-size: 16px; display: block; }
.badge-float.b1 { top: 40px; right: 20px; animation-delay: 0s; }
.badge-float.b2 { bottom: 60px; left: 10px; animation-delay: 1.5s; }

@keyframes float {
  0%,100%{ transform:translateY(0); }
  50%    { transform:translateY(-8px); }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue) 100%);
  padding: 32px 6%;
}
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; text-align: center;
}
.stat-val { font-size: 34px; font-weight: 900; color: white; letter-spacing: -1.5px; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.72); font-weight: 500; margin-top: 5px; }

/* ─── PACKAGES ─── */
#packages {
  background: var(--surface);
  padding: 100px 6%;
}

.sec-head {
  text-align: center; max-width: 540px;
  margin: 0 auto 64px;
}
.sec-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.sec-head h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 900; letter-spacing: -1.5px;
  color: var(--ink); margin-bottom: 14px;
}
.sec-head p { font-size: 16px; color: var(--muted); line-height: 1.72; }

.pkg-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; max-width: 960px; margin: 0 auto;
}

.pkg {
  background: white;
  border: 2px solid var(--border);
  border-radius: 22px; padding: 38px 28px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.pkg:hover {
  border-color: var(--blue);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(59,185,255,.14);
}
.pkg.popular {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(59,185,255,.18);
}
.pkg.popular::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(59,185,255,.06) 0%, transparent 60%);
  pointer-events: none;
}

.pop-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--blue); color: white;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 5px 13px; border-radius: 100px;
}

.pkg-dur {
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.pkg-price {
  font-size: 48px; font-weight: 900; color: var(--ink);
  letter-spacing: -2.5px; line-height: 1; margin-bottom: 5px;
}
.pkg-price sup { font-size: 22px; font-weight: 800; vertical-align: super; letter-spacing: 0; }
.pkg-period { font-size: 13px; color: var(--muted); margin-bottom: 30px; }

.pkg-feats { list-style: none; margin-bottom: 32px; }
.pkg-feats li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.pkg-feats li:last-child { border: none; }
.check {
  width: 20px; height: 20px; min-width: 20px;
  background: var(--blue-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.check svg { width: 11px; height: 11px; }

.btn-sel {
  width: 100%;
  background: var(--blue-light); color: var(--blue-deep);
  padding: 13px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.pkg.popular .btn-sel,
.pkg:hover .btn-sel {
  background: var(--blue); color: white;
}

/* ─── HOW IT WORKS ─── */
#how {
  padding: 100px 6%;
  max-width: 1180px; margin: 0 auto;
}

.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 48px; margin-top: 64px;
}

.step { text-align: center; }

.step-num {
  width: 56px; height: 56px;
  background: var(--blue-light); color: var(--blue-deep);
  border-radius: 16px; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 4px 14px rgba(59,185,255,.18);
}

.step h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* connector line between steps */
.steps-connector {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 48px; max-width: 1180px; margin: 0 auto;
  padding: 0 6%;
  position: relative;
}
.steps-connector::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(6% + 28px + 80px);
  right: calc(6% + 28px + 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue), var(--blue-mid));
  z-index: 0;
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  padding: 52px 6% 36px;
}
.foot-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.foot-logo .n1 { font-size: 20px; font-weight: 900; color: var(--blue); letter-spacing: -0.5px; }
.foot-logo .n2 { font-size: 9px; color: rgba(255,255,255,.35); letter-spacing: 3px; text-transform: uppercase; }
.foot-right { font-size: 13px; color: rgba(255,255,255,.35); text-align: right; line-height: 1.8; }

/* ─── MODAL ─── */
.backdrop {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(10,22,40,.65);
  backdrop-filter: blur(5px);
  align-items: center; justify-content: center;
  padding: 20px;
}
.backdrop.open { display: flex; }

.modal {
  background: white; border-radius: 26px;
  padding: 44px 40px; width: 100%; max-width: 476px;
  position: relative; animation: mIn .26s cubic-bezier(.34,1.56,.64,1);
}
@keyframes mIn {
  from{ opacity:0; transform:translateY(20px) scale(.97); }
  to  { opacity:1; transform:translateY(0)    scale(1);   }
}

.m-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #F1F5F9; cursor: pointer;
  font-size: 15px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: background .2s;
}
.m-close:hover { background: #E2E8F0; }

.m-plan-badge {
  display: inline-block;
  background: var(--blue-light); color: var(--blue-deep);
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 15px; border-radius: 100px;
  margin-bottom: 14px; border: 1px solid var(--blue-mid);
}
.modal h2 { font-size: 27px; font-weight: 900; letter-spacing: -1px; color: var(--ink); margin-bottom: 4px; }
.m-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.fg input {
  width: 100%; padding: 12px 15px;
  border: 2px solid var(--border); border-radius: 11px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.fg input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,185,255,.15); }
.fg input::placeholder { color: #A0B5C8; }

.m-summary {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 13px; padding: 16px 20px;
  margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.m-sum-lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.m-sum-amt { font-size: 24px; font-weight: 900; color: var(--ink); letter-spacing: -1px; }

.btn-pay {
  width: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white; padding: 15px;
  border-radius: 13px; font-size: 15px; font-weight: 800;
  border: none; cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 4px 20px rgba(59,185,255,.38);
}
.btn-pay:hover { opacity:.92; transform:translateY(-1px); box-shadow: 0 7px 28px rgba(59,185,255,.48); }
.btn-pay:disabled { opacity:.6; cursor:not-allowed; transform:none; }

.pay-note {
  text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px;
}
.pay-note a { color: var(--blue); text-decoration: none; }

/* success */
.success { display:none; text-align:center; padding: 10px 0; }
.success.show { display:block; }
.cf.hide { display:none; }

.s-icon {
  width: 76px; height: 76px;
  background: #ECFDF5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 38px;
}
.success h3 { font-size: 24px; font-weight: 900; color: var(--ink); margin-bottom: 10px; }
.success p  { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .hero          { grid-template-columns: 1fr; padding: 64px 6%; gap: 40px; }
  .hero-visual   { display: none; }
  .pkg-grid      { grid-template-columns: 1fr; }
  .stats-inner   { grid-template-columns: 1fr; gap: 10px; }
  .steps         { grid-template-columns: 1fr; gap: 28px; }
  .steps-connector::before { display: none; }
  .nav-links     { display: none; }
  .foot-inner    { flex-direction: column; text-align: center; }
  .foot-right    { text-align: center; }
  .modal         { padding: 36px 24px; }
}
