/* ========================================
   LANDING PAGE - MkDocs Material Compatible
   Fixed colors, layout, and spacing
   ======================================== */

/* Base container */
.landing-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ========== HERO SECTION ========== */
.landing-hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--md-primary-fg-color);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  color: var(--md-primary-fg-color);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
}

.hero-subtitle strong {
  color: var(--md-accent-fg-color);
  font-weight: 700;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0 0 2.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* ========== STATS SECTION ========== */
.landing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--md-primary-fg-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.9375rem;
  opacity: 0.7;
  line-height: 1.4;
}

/* ========== BUTTONS ========== */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.landing-btn-primary {
  background: var(--md-primary-fg-color);
  color: white !important;
}

.landing-btn-primary:hover {
  background: var(--md-primary-fg-color--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.landing-btn-secondary {
  background: transparent;
  border: 2px solid var(--md-primary-fg-color);
  color: var(--md-primary-fg-color);
}

.landing-btn-secondary:hover {
  background: var(--md-primary-fg-color);
  color: white;
  transform: translateY(-2px);
}

.landing-btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ========== SECTIONS ========== */
.landing-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 1rem 0;
  color: var(--md-primary-fg-color);
}

.section-description {
  font-size: 1.125rem;
  text-align: center;
  opacity: 0.7;
  margin: 0 0 3rem 0;
}

/* ========== FEATURES GRID ========== */
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  padding: 2rem;
  background: var(--md-code-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--md-primary-fg-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.feature-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

/* ========== JOURNEY SECTION ========== */
.landing-journey {
  background: var(--md-code-bg-color);
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.journey-card {
  position: relative;
  padding: 2rem;
  background: var(--md-default-bg-color);
  border: 2px solid var(--md-default-fg-color--lightest);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.journey-card:hover {
  border-color: var(--md-primary-fg-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.journey-number {
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--md-primary-fg-color);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.journey-icon {
  font-size: 3rem;
  margin: 1rem 0;
  display: block;
}

.journey-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.journey-time {
  font-size: 0.875rem;
  color: var(--md-accent-fg-color);
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.journey-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0 0 1rem 0;
}

.journey-link {
  display: inline-flex;
  align-items: center;
  color: var(--md-primary-fg-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.journey-link:hover {
  color: var(--md-accent-fg-color);
  transform: translateX(4px);
}

/* ========== CTA SECTION ========== */
.landing-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, 
    var(--md-primary-fg-color) 0%, 
    var(--md-accent-fg-color) 100%);
  color: white;
  margin-top: 4rem;
}

.landing-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: white;
  margin: 0 0 1rem 0;
}

.landing-cta > p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.landing-cta .landing-btn-primary {
  background: white;
  color: var(--md-accent-fg-color) !important;
  border: 2px solid white;
}

.landing-cta .landing-btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.landing-cta .landing-btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white !important;
}

.landing-cta .landing-btn-secondary:hover {
  background: white;
  color: var(--md-accent-fg-color) !important;
  transform: translateY(-2px);
}

.cta-footer {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cta-footer strong {
  color: white;
}

/* ========== DARK MODE ADJUSTMENTS ========== */
[data-md-color-scheme="slate"] .feature-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-md-color-scheme="slate"] .feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-md-color-scheme="slate"] .journey-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-md-color-scheme="slate"] .journey-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .landing-hero {
    padding: 3rem 1.5rem 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .landing-btn {
    width: 100%;
  }
  
  .landing-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .landing-section {
    padding: 3rem 1.5rem;
  }
  
  .landing-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .journey-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .landing-cta {
    padding: 4rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .feature-box,
  .journey-card {
    padding: 1.5rem;
  }
}

/* ========== FOOTER ========== */
.landing-footer {
  background: var(--md-code-bg-color);
  border-top: 1px solid var(--md-default-fg-color--lightest);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--md-primary-fg-color);
}

.footer-section p {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0 0 0.5rem 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--md-default-fg-color);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.footer-section a:hover {
  color: var(--md-primary-fg-color);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--md-default-fg-color);
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: all 0.2s ease;
}

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

/* Footer Responsive */
@media (max-width: 768px) {
  .landing-footer {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

