:root {
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  --background: 220 45% 8%;
  --foreground: 0 0% 98%;

  --card: 220 40% 10%;
  --card-foreground: 0 0% 98%;

  --primary: 38 90% 50%;
  --primary-foreground: 220 70% 15%;

  --secondary: 220 30% 15%;
  --secondary-foreground: 0 0% 98%;

  --muted: 220 30% 15%;
  --muted-foreground: 220 15% 65%;

  --accent: 38 90% 50%;
  --accent-foreground: 220 70% 15%;

  --border: 220 30% 20%;
  --input: 220 30% 20%;
  --ring: 38 90% 50%;

  --radius: 0.75rem;

  --gradient-primary: linear-gradient(
    135deg,
    hsl(220 70% 15%) 0%,
    hsl(220 60% 25%) 100%
  );
  --gradient-hero: linear-gradient(
      135deg,
      hsl(220 70% 12%) 0%,
      hsl(220 65% 20%) 50%,
      hsl(38 60% 30%) 100%
    );
  --gradient-accent: linear-gradient(135deg, hsl(38 90% 50%) 0%, hsl(45 90% 55%) 100%);

  --shadow-soft: 0 2px 8px hsl(220 40% 10% / 0.05);
  --shadow-medium: 0 8px 24px hsl(220 40% 10% / 0.1);
  --shadow-large: 0 16px 48px hsl(220 40% 10% / 0.15);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  background-image: radial-gradient(
      circle at 10% 20%,
      hsla(220, 70%, 40%, 0.35),
      transparent 45%
    ),
    radial-gradient(circle at 80% 0, hsla(38, 75%, 55%, 0.35), transparent 40%);
}

.page-shell {
  min-height: 100vh;
  padding: 2rem clamp(1rem, 4vw, 3.5rem) 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero {
  position: relative;
  min-height: 90vh;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3.5rem) 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-gradient,
.hero-radial,
.hero-bottom-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-radial {
  background: radial-gradient(
    circle at 35% 45%,
    hsla(38, 90%, 50%, 0.25),
    transparent 55%
  );
  mix-blend-mode: screen;
  z-index: 0;
}

.hero-bottom-glow {
  inset: auto 0 0 0;
  height: 12rem;
  background: linear-gradient(180deg, transparent, hsla(220, 40%, 5%, 0.95));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-pill {
  align-self: center;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: 1px solid hsla(var(--accent), 0.45);
  background: hsla(var(--accent), 0.15);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 4.75rem);
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.hero-gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-description {
  color: hsl(var(--foreground) / 0.8);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 0 auto;
}

.hero-actions {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  border: none;
  padding: clamp(0.9rem, 1vw, 1.05rem) clamp(1.8rem, 3vw, 2.5rem);
  font-size: 1rem;
  border-radius: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-transform: none;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn.primary {
  background: var(--gradient-accent);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-large);
}

.btn.ghost {
  border: 2px solid hsla(var(--border), 0.4);
  color: hsl(var(--foreground));
  background: hsla(var(--card), 0.1);
  backdrop-filter: blur(12px);
}

.btn-icon {
  margin-left: 0.35rem;
  font-size: 1.1rem;
  display: inline-flex;
}

.btn.ghost .btn-icon {
  margin-left: 0;
  margin-right: 0.35rem;
}

.hero-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  color: hsl(var(--muted-foreground));
}

.trait {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.trait span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    hsla(38, 90%, 50%, 0.8),
    hsla(38, 90%, 50%, 0.5)
  );
  display: inline-block;
}

.features,
.benefits,
.waitlist {
  background: hsla(var(--card), 0.65);
  border: 1px solid hsla(var(--border), 0.35);
  border-radius: 1.5rem;
  padding: 2.5rem;
  backdrop-filter: blur(18px);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: hsl(var(--accent));
}

.section-heading h2 {
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  max-width: 640px;
}

.section-subtitle {
  margin: 0.75rem auto 0;
  color: hsl(var(--muted-foreground) / 0.92);
  max-width: 640px;
  line-height: 1.6;
}

.features-grid,
.benefit-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: hsla(var(--card), 0.35);
  border: 1px solid hsla(var(--border), 0.18);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: hsla(var(--border), 0.35);
  box-shadow: var(--shadow-medium);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.feature-icon--accent {
  background: linear-gradient(
    135deg,
    hsla(38, 90%, 50%, 0.8),
    hsla(38, 90%, 50%, 0.25)
  );
  color: hsl(var(--accent-foreground));
}

.feature-icon--primary {
  background: linear-gradient(
    135deg,
    hsla(220, 70%, 15%, 0.8),
    hsla(220, 60%, 25%, 0.35)
  );
  color: hsl(var(--card-foreground));
}

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

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.9);
  background: hsla(var(--card), 0.12);
  color: hsl(var(--foreground));
}

.waitlist-form input::placeholder {
  color: hsl(0 0% 100% / 0.8);
}

.waitlist-form input:focus-visible {
  outline: none;
  border-color: hsla(var(--accent), 0.8);
  box-shadow: 0 0 0 4px hsla(var(--accent), 0.25);
}

.waitlist-form button {
  border-radius: 999px;
  border: none;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  background: var(--gradient-accent);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.waitlist-feedback {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: hsl(var(--accent));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
  margin: 0 0 0.4rem;
}

.site-footer p {
  margin: 0;
  color: #c1c5df;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: #f5f7ff;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .waitlist-form {
    flex-direction: column;
  }
}
