/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --mint: #9EF8D1;
  --mint-dark: #0A7E5C;
  --sun: #FFB36B;
  --ink: #081018;
  --night: #101C27;
  --fog: #F2F7FB;
  --sky: #7BC6FF;
  --grad-start: #153347;
  --grad-end: #081018;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--fog);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--mint);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Utilities ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8, 16, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(158, 248, 209, 0.08);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fog);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--mint);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--fog);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--mint);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--grad-start) 0%, var(--grad-end) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(158, 248, 209, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(158, 248, 209, 0.1);
  border: 1px solid rgba(158, 248, 209, 0.2);
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--mint);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.7;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--mint);
  color: var(--ink);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(158, 248, 209, 0.25);
  color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fog);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fog);
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--ink);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  opacity: 0.6;
  max-width: 520px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(158, 248, 209, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-icon.mint {
  background: rgba(158, 248, 209, 0.12);
}

.feature-icon.sun {
  background: rgba(255, 179, 107, 0.12);
}

.feature-icon.sky {
  background: rgba(123, 198, 255, 0.12);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* ── How It Works ── */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--night) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
  background: rgba(158, 248, 209, 0.1);
  border: 2px solid rgba(158, 248, 209, 0.3);
  color: var(--mint);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  opacity: 0.55;
  line-height: 1.6;
}

/* ── Exercises ── */
.exercises {
  padding: 100px 0;
  background: var(--night);
}

.exercise-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.exercise-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s;
}

.exercise-item:hover {
  border-color: rgba(158, 248, 209, 0.2);
}

.exercise-emoji {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.exercise-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.exercise-item p {
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ── CTA ── */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--night) 0%, var(--ink) 100%);
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.05rem;
  opacity: 0.6;
  margin-bottom: 36px;
}

/* ── Footer ── */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--ink);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 0.85rem;
  opacity: 0.4;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  opacity: 0.5;
  color: var(--fog);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--mint);
}

/* ── Legal Pages ── */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.9rem;
  opacity: 0.4;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--mint);
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--mint);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .features,
  .how-it-works,
  .exercises,
  .cta {
    padding: 64px 0;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
