/**
 * Babel Flash - Public Landing Page Stylesheet
 * Light and bright, modern minimalistic, flat UI design for SEO and conversions.
 */

.landing-body {
  background-color: #ffffff;
  color: #0f172a;
}

/* Landing Navigation */
.landing-nav {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.landing-nav-brand span {
  color: #2563eb;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.landing-nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

.landing-nav-links a:hover {
  color: #2563eb;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  padding: 72px 24px 84px 24px;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid #dbeafe;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero-title .highlight {
  color: #2563eb;
  display: inline-block;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-guarantee {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Interactive Demo Showcase in Hero */
.demo-card-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.demo-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.demo-pill {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
}

.demo-toggle-lang {
  display: flex;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 3px;
}

.demo-toggle-btn {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.demo-toggle-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Section Common Styling */
.section {
  padding: 88px 24px;
  border-top: 1px solid #e2e8f0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  transition: all var(--transition-fast);
}

.feature-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-heading {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Curriculum Showcase */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.curriculum-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.curriculum-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.curriculum-card.greek::before {
  background: #0284c7;
}

.curriculum-card.hebrew::before {
  background: #7c3aed;
}

.curriculum-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.curriculum-desc {
  font-size: 14px;
  color: #475569;
  margin-bottom: 24px;
}

.curriculum-items {
  list-style: none;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.curriculum-item:last-child {
  border-bottom: none;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing / Subscription Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border-color: #2563eb;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price .sub {
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
}

.plan-desc {
  font-size: 14px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}

/* Footer */
.landing-footer {
  border-top: 1px solid #e2e8f0;
  padding: 48px 24px 32px 24px;
  background: #ffffff;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .landing-nav {
    padding: 0 20px;
  }
  .landing-nav-links {
    display: none;
  }
  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 16px;
    gap: 36px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-cta-group {
    flex-wrap: wrap;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-price {
    flex-wrap: wrap;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .landing-nav {
    padding: 0 12px;
  }
  .landing-nav-brand {
    gap: 6px;
    font-size: 18px;
  }
  .landing-nav-actions {
    gap: 6px;
  }
  .demo-card-container {
    padding: 20px;
  }
}
