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

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --border: #e0e0e0;
  --accent: #6641f5;
  --accent-hover: #5332d4;
  --text: #111111;
  --text-muted: #666666;
  --danger: #e03131;
  --featured-glow: rgba(102, 65, 245, 0.12);
}

html, body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── LANDING PAGE ─────────────────────────────── */

body.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.25rem 5rem;
}

.landing-main {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.5rem;
}

body.landing h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 380px;
  margin: 0 auto 2.5rem;
}

.landing-hook {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
  text-align: left;
}

.landing-hook p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

input::placeholder {
  color: #444;
}

input:focus {
  border-color: var(--accent);
}

input.invalid {
  border-color: var(--danger);
}

.error {
  font-size: 0.8rem;
  color: var(--danger);
  display: none;
}

.error.visible {
  display: block;
}

/* Button */
.btn-primary {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  margin-top: 0.4rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Footer */
.landing-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.9rem 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  color: #444;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ─── THANK YOU PAGE ───────────────────────────── */

body.thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.25rem 5rem;
}

.ty-main {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.ty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ty-main h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.ty-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.ty-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: left;
  margin-bottom: 1.75rem;
}

.ty-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ty-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ty-step strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.ty-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ty-divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.ty-cta {
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.ty-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── CONTENT PAGE ─────────────────────────────── */

body.content {
  padding-bottom: 4rem;
}

.content-header {
  padding: 2.5rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
}

.content-header-inner {
  max-width: 620px;
  margin: 0 auto;
}

.header-title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin: 0.75rem 0 0.6rem;
}

.header-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}

.content-hero-inner {
  max-width: 620px;
  margin: 0 auto;
}

.content-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin: 1rem 0 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.intro-hook {
  font-size: clamp(1.4rem, 4vw, 2rem) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem !important;
}

.content-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* Intro */
.intro-section h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.intro-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

/* Problems */
.problems-section h2,
.programme-section h2,
.pricing-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.problem-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.problem-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* Programme details */
.programme-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.detail-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.detail-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-note {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--featured-glow);
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.pricing-card.featured .card-tag {
  color: var(--accent);
}

.card-track {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.pricing-card.featured .card-track {
  color: var(--accent);
}

.card-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  flex: 1;
}

.card-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card-spots {
  font-size: 0.75rem;
  color: #ff9a3c;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-btn {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-top: auto;
}

.testing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  text-align: center;
}

/* Content footer */
.content-footer {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  font-size: 0.72rem;
  color: #444;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
