:root {
  --bg: #07141c;
  --panel: rgba(9, 27, 36, 0.88);
  --panel-strong: rgba(15, 38, 50, 0.96);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #eff6f7;
  --muted: #9eb1b7;
  --accent: #ff8a1f;
  --accent-soft: rgba(255, 138, 31, 0.18);
  --accent-strong: #ff6a00;
  --teal: #56e3c6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 128, 0, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(86, 227, 198, 0.14), transparent 24%),
    linear-gradient(180deg, #08151d 0%, #050d12 55%, #07131b 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
  animation: ambientFloat 18s ease-in-out infinite;
}

body::before {
  top: 8%;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.18), transparent 72%);
}

body::after {
  bottom: 10%;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 227, 198, 0.14), transparent 70%);
  animation-delay: -9s;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.hero,
.section,
.cta-section {
  margin-top: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 24px;
}

.hero-copy,
.hero-panel,
.subsection,
.price-card,
.info-panel,
.cta-card {
  --tilt-transform: rotateX(0deg) rotateY(0deg);
  --float-y: 0px;
  --hover-translate: 0px;
  --hover-scale: 1;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
  will-change: transform;
}

.hero-copy,
.hero-panel,
.cta-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 48px;
}

.hero-copy::after,
.featured::after,
.cta-card::after {
  content: "";
  position: absolute;
  inset: auto auto -60px -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.17), transparent 70%);
  pointer-events: none;
  animation: pulseGlow 9s ease-in-out infinite;
}

.hero-panel {
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 138, 31, 0.18), rgba(255, 138, 31, 0.05)),
    var(--panel-strong);
}

.eyebrow,
.section-label,
.subsection-label,
.panel-tag,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd2a4;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-card h2 {
  margin: 18px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  max-width: 11ch;
}

.hero-text,
.subsection-header p,
.price-card li,
.info-panel p,
.cta-card p,
.hero-points li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  will-change: transform;
}

.button:hover {
  transform: translateY(-3px) scale(1.01);
}

.button::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px -36%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-22deg);
  opacity: 0;
  pointer-events: none;
}

.button:hover::before {
  opacity: 1;
  animation: shineSweep 900ms ease;
}

.button-primary {
  color: #111;
  background: linear-gradient(135deg, #ffad4f, var(--accent-strong));
  box-shadow: 0 0 0 1px rgba(255, 173, 79, 0.32), 0 14px 34px rgba(255, 106, 0, 0.25);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.glow {
  box-shadow: 0 0 0 1px rgba(255, 173, 79, 0.32), 0 0 38px rgba(255, 106, 0, 0.38);
  animation: glowBreath 3.6s ease-in-out infinite;
}

.hero-panel h2 {
  margin: 18px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.hero-panel p {
  margin: 0 0 18px;
  color: #ffe7d0;
  font-weight: 600;
}

.hero-points {
  display: grid;
  gap: 14px;
}

.hero-points li {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  display: grid;
  gap: 22px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

.subsection-grid,
.split-panel {
  display: grid;
  gap: 20px;
}

.subsection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subsection,
.info-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.subsection-header h3 {
  margin: 14px 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.card-grid,
.compact-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-md);
}

.price-card:hover,
.subsection:hover,
.info-panel:hover {
  --hover-translate: -7px;
  --hover-scale: 1.01;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.compact-grid .price-card {
  min-width: 0;
}

.tier {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd2a4;
}

.price {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price span {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--muted);
}

.price-card ul {
  display: grid;
  gap: 12px;
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffad4f, var(--teal));
}

.featured {
  --float-y: -8px;
  background:
    linear-gradient(180deg, rgba(255, 138, 31, 0.18), rgba(255, 138, 31, 0.05)),
    var(--panel-strong);
  border-color: rgba(255, 173, 79, 0.3);
  animation: featuredPulse 4.2s ease-in-out infinite;
}

.featured .badge {
  color: #111;
  background: linear-gradient(135deg, #ffba6b, var(--accent));
}

.card-cta {
  margin-top: auto;
}

.combo-grid {
  align-items: stretch;
}

.split-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.addon-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.addon-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.addon-list strong {
  color: var(--text);
  font-size: 1.05rem;
}

.note-panel {
  background:
    radial-gradient(circle at top right, rgba(86, 227, 198, 0.14), transparent 42%),
    var(--panel-strong);
}

.cta-card {
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 138, 31, 0.16), rgba(255, 138, 31, 0.02)),
    var(--panel-strong);
}

.cta-card h2 {
  margin-left: auto;
  margin-right: auto;
}

.cta-card p {
  max-width: 640px;
  margin: 0 auto;
}

.cta-card .hero-actions {
  justify-content: center;
}

.reveal {
  --reveal-y: 28px;
  --reveal-scale: 0.985;
  opacity: 0;
  transform:
    perspective(1200px)
    var(--tilt-transform)
    translate3d(0, calc(var(--reveal-y) + var(--float-y) + var(--hover-translate)), 0)
    scale(var(--reveal-scale))
    scale(var(--hover-scale));
  filter: blur(10px);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 820ms ease;
}

.reveal.is-visible {
  --reveal-y: 0px;
  --reveal-scale: 1;
  opacity: 1;
  filter: blur(0);
}

.tilt-panel::before {
  content: "";
  position: absolute;
  inset: -28%;
  background:
    radial-gradient(
      circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
      rgba(255, 255, 255, 0.16),
      transparent 26%
    );
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.tilt-panel.is-tilting::before {
  opacity: 1;
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -24px, 0) scale(1.06);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@keyframes glowBreath {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(255, 173, 79, 0.32), 0 0 30px rgba(255, 106, 0, 0.28);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(255, 173, 79, 0.42), 0 0 48px rgba(255, 106, 0, 0.42);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(0) skewX(-22deg);
  }

  100% {
    transform: translateX(420%) skewX(-22deg);
  }
}

@keyframes featuredPulse {
  0%,
  100% {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  }

  50% {
    box-shadow: 0 32px 96px rgba(255, 106, 0, 0.22);
  }
}

@media (max-width: 980px) {
  .hero,
  .subsection-grid,
  .split-panel,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    --float-y: 0px;
    animation: none;
  }

  .hero-copy,
  .hero-panel,
  .cta-card {
    padding: 32px;
  }

  .section h2,
  .cta-card h2 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
    padding-bottom: 56px;
  }

  .hero-copy,
  .hero-panel,
  .subsection,
  .price-card,
  .info-panel,
  .cta-card {
    padding: 22px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .addon-list li {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
