:root {
  --bg: #070519;
  --bg-secondary: #0f1230;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --text: #f3f4f6;
  --muted: #94a3b8;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(226, 232, 240, 0.12);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1b224d, var(--bg));
  color: var(--text);
  min-height: 100vh;
}

a {
  color: var(--accent);
}

.gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(82, 170, 255, 0.25), transparent 40%),
    radial-gradient(ellipse at bottom left, rgba(130, 255, 173, 0.25), transparent 55%);
  z-index: 0;
  filter: blur(10px);
}

main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.hero-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.hero-text .tagline {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: var(--accent-strong);
  margin: 0;
  text-align: center;
}

.hero-link {
  position: absolute;
  left: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

header.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero img {
  width: 320px;
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero-text {
  max-width: 720px;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  text-align: center;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.hero-visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta a {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta .primary {
  background: linear-gradient(135deg, var(--accent-strong), #34d399);
  color: #041425;
  box-shadow: 0 10px 30px rgba(104, 211, 196, 0.35);
}

.cta .secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.cta a:hover {
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(5, 10, 30, 0.4);
  backdrop-filter: blur(18px);
  text-align: center;
}

.card.mini {
  width: 220px;
  text-align: left;
  padding: 1.25rem;
}

.card.mini h3 {
  font-size: 1rem;
}

.card.mini p {
  font-size: 0.95rem;
}

.card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.subscription {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(3, 7, 18, 0.85));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.subscription h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.subscription p {
  margin: 0;
  color: var(--muted);
}

.subscription .eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent-strong);
}

.subscription .benefits {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.subscription .benefits li {
  position: relative;
  padding-left: 1.5rem;
}

.subscription .benefits li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-size: 0.8rem;
  top: 0.2rem;
}

.subscription .footnote {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.subscription-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 25px 50px rgba(5, 10, 30, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.subscription-card .plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.subscription-card .price {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  color: var(--muted);
}

.subscription-card .price span {
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-right: 0.35rem;
}

.subscription-card .plan-note {
  margin: 0;
  color: var(--muted);
}

.subscribe-button {
  border: none;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #041425;
  background: linear-gradient(120deg, var(--accent-strong), #34d399);
  box-shadow: 0 15px 35px rgba(52, 211, 153, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.subscribe-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.subscribe-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.assurance {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(20, 184, 166, 0.08));
  text-align: center;
}

.stat {
  flex: 1;
  min-width: 140px;
}

.stat span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.stat small {
  color: var(--muted);
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

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

@media (max-width: 720px) {
  header.hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto;
  }

  .hero-top {
    flex-direction: column;
    min-height: auto;
  }

  .hero-link {
    position: static;
  }

  .card-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card.mini {
    width: 160px;
  }

  .cta {
    justify-content: center;
  }

  .subscription {
    padding: 1.5rem;
  }
}
