/* Landing Page — Conversion-focused home page */

/* ── Hero ──────────────────────────────────────── */

.landing-hero {
  background: linear-gradient(180deg, #F8F7F4 0%, #FFFFFF 100%);
  padding: 72px 24px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 680px;
}

.hero-logo {
  height: 80px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 200;
  color: #434343;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  direction: ltr;
}

.hero-title {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #434343;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 24px;
  direction: ltr;
}

.hero-tagline {
  font-family: "Open Sans", sans-serif;
  font-size: 21px;
  font-weight: 400;
  color: #434343;
  line-height: 1.45;
  margin-bottom: 36px;
  direction: rtl;
}

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

/* ── Section Layout ────────────────────────────── */

.landing-section {
  padding: 80px 24px;
}

.landing-section.section-alt {
  background: #F5F4F1;
}

.landing-container {
  max-width: 1080px;
  margin: 0 auto;
  direction: rtl;
}

.section-heading {
  font-size: 36px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  font-family: "Open Sans", sans-serif;
}

.section-lead {
  font-size: 18px;
  color: #86868b;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 640px;
  font-family: "Open Sans", sans-serif;
}

/* ── Value Proposition Cards ───────────────────── */

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 113, 227, 0.2);
  transform: translateY(-2px);
}

.value-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  font-family: "Open Sans", sans-serif;
}

.value-card p {
  font-size: 16px;
  color: #424242;
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 16px;
  flex: 1;
}

.card-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.card-link:hover {
  opacity: 0.8;
}

/* ── Audience Tags ─────────────────────────────── */

.audience-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.audience-tag {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  font-family: "Open Sans", sans-serif;
}

/* ── Section Link ──────────────────────────────── */

.section-link {
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.section-link:hover {
  opacity: 0.85;
  border-bottom-color: var(--primary-color);
}

/* ── Curriculum Preview ────────────────────────── */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.module-preview {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.module-preview:hover {
  border-color: rgba(0, 113, 227, 0.2);
}

.module-num {
  font-family: "Departure Mono", "SF Mono", monospace;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
  opacity: 0.6;
}

.module-preview h4 {
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 4px;
  font-family: "Open Sans", sans-serif;
  line-height: 1.3;
}

.module-meta {
  font-size: 13px;
  color: #86868b;
  font-family: "Open Sans", sans-serif;
}

/* ── Final CTA Section ─────────────────────────── */

.landing-cta {
  padding: 80px 24px;
  background: linear-gradient(180deg, #F5F4F1 0%, #EFEDE8 100%);
}

.landing-cta-inner {
  text-align: center;
}

.landing-cta h2 {
  font-size: 36px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  font-family: "Open Sans", sans-serif;
}

.landing-cta p {
  font-size: 18px;
  color: #86868b;
  margin-bottom: 32px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
}

/* ── Loading State ─────────────────────────────── */

.landing-loading {
  text-align: center;
  padding: 80px 24px;
  color: #86868b;
  font-size: 17px;
  font-family: "Open Sans", sans-serif;
}

/* ── Tablet (768px – 1024px) ───────────────────── */

@media (max-width: 1024px) {
  .landing-hero {
    padding: 56px 24px 44px;
  }

  .hero-logo {
    height: 64px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .landing-section {
    padding: 60px 24px;
  }

  .section-heading {
    font-size: 28px;
  }

  .value-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .landing-cta {
    padding: 60px 24px;
  }

  .landing-cta h2 {
    font-size: 28px;
  }
}

/* ── Phone (< 768px) ──────────────────────────── */

@media (max-width: 767px) {
  .landing-hero {
    padding: 36px 16px 32px;
  }

  .hero-logo {
    height: 48px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .hero-tagline {
    font-size: 16px;
    margin-bottom: 28px;
  }

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

  .landing-section {
    padding: 48px 16px;
  }

  .section-heading {
    font-size: 24px;
  }

  .section-lead {
    font-size: 16px;
  }

  .value-card {
    padding: 24px 20px;
  }

  .value-card h3 {
    font-size: 19px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 48px 16px;
  }

  .landing-cta h2 {
    font-size: 24px;
  }

  .audience-tags {
    gap: 8px;
  }

  .audience-tag {
    padding: 8px 16px;
    font-size: 14px;
  }
}
