:root {
  --bg: #070b14;
  --bg-soft: #0d1322;
  --card: rgba(15, 23, 42, 0.72);
  --card-hover: rgba(20, 31, 56, 0.88);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(52, 211, 153, 0.42);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #34d399;
  --accent-2: #38bdf8;
  --accent-glow: rgba(52, 211, 153, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background:
    radial-gradient(900px 460px at 15% -10%, rgba(14, 165, 233, 0.16), transparent 60%),
    radial-gradient(800px 460px at 88% -5%, rgba(52, 211, 153, 0.15), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand span { color: var(--accent); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04131c;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.24);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(52, 211, 153, 0.34);
}

.btn--ghost {
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }

/* Hero */
.hero { padding: 72px 0 56px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.grad {
  background: linear-gradient(120deg, #6ee7b7, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.stat__val {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat__lbl {
  font-size: 12.5px;
  color: var(--muted);
}

/* Status Preview Card */
.status-card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.92), rgba(10, 16, 30, 0.96));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.status-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.45), rgba(56, 189, 248, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.status-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6ee7b7;
}

.status-proto {
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.1);
}

.shield-orb {
  width: 112px;
  height: 112px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.24), rgba(14, 165, 233, 0.06) 65%, transparent 72%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.shield-orb svg { width: 54px; height: 54px; }

.status-card__title {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 4px;
}

.status-card__sub {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 22px;
}

.metric-rows {
  display: grid;
  gap: 10px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 13.5px;
}

.metric-row span { color: var(--muted); }
.metric-row b { font-weight: 600; color: var(--text); }

/* Sections */
.section { padding: 64px 0; }

.section__head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 42px;
}

.section__eyebrow {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* Features Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  background: var(--card-hover);
  border-color: rgba(148, 163, 184, 0.3);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Pricing */
.period-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 0 auto 34px;
}

.period-wrap { text-align: center; }

.period-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}

.period-tab.is-active {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(56, 189, 248, 0.22));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.38);
}

.period-tab small {
  color: #6ee7b7;
  font-weight: 600;
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.plan--featured {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(16, 36, 44, 0.85), rgba(13, 21, 38, 0.92));
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.12);
}

.plan__tag {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04131c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.plan__desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
  min-height: 40px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.plan__amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan__unit {
  font-size: 13.5px;
  color: var(--muted);
}

.plan__sub {
  font-size: 12.5px;
  color: #6ee7b7;
  margin-bottom: 18px;
  min-height: 19px;
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: #cbd5e1;
  flex-grow: 1;
}

.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan__list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Platforms */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* Legal pages */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
}

.legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.legal-card h2 {
  margin: 26px 0 10px;
  font-size: 18px;
  color: #e2e8f0;
}

.legal-card p, .legal-card li {
  font-size: 14.5px;
  color: #cbd5e1;
}

.legal-card ul { padding-left: 20px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.is-open { display: grid; }

.modal {
  width: 100%;
  max-width: 440px;
  background: #0d1424;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.modal h3 { margin: 0 0 6px; font-size: 21px; }
.modal__sub { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }

.modal__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
  margin-bottom: 16px;
  font-size: 14px;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.85);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
}

.field input:focus, .field textarea:focus {
  border-color: var(--accent);
}

.notice {
  display: none;
  padding: 14px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e0f2fe;
  font-size: 13.5px;
  margin-top: 12px;
}

.notice.is-visible { display: block; }

.modal__legal {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.modal__legal a { text-decoration: underline; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 44px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a:hover { color: var(--text); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .pricing-grid, .grid-3, .steps { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 36px; }
  .legal-card { padding: 24px 20px; }
}
