/* ============================================
   MDI Generator — Landing Page Styles
   Used only by index.html
   ============================================ */

/* ─── Hero Section ────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--accent), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

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

.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* ─── Section Titles ──────────────────────── */
.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 60px;
}

/* ─── Features ────────────────────────────── */
.features {
  padding: 80px 0;
  background: rgba(20, 27, 38, 0.3);
}

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

.feature-card {
  background: var(--panel);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* ─── How It Works ────────────────────────── */
.how-it-works {
  padding: 80px 0;
}

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

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  color: #fff;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
}

/* ─── FAQ ─────────────────────────────────── */
.faq-section {
  padding: 80px 0;
  background: rgba(20, 27, 38, 0.3);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary::after {
  content: '\25BC';
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── CTA ─────────────────────────────────── */
.cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(91, 156, 246, 0.1), rgba(16, 185, 129, 0.1));
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ─── Footer (Landing) ────────────────────── */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--accent);
}

.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section li { margin-bottom: 12px; }

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ─── Midnight Overrides (Landing) ────────── */
[data-theme="midnight"] .hero h1,
[data-theme="midnight"] .section-title {
  background: linear-gradient(135deg, #a78bfa, #f7b90a 60%, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="midnight"] .stat-number {
  background: linear-gradient(135deg, #f7b90a, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="midnight"] .feature-card:hover { border-color: #7c3aed; }
[data-theme="midnight"] .faq-item summary:hover { color: #f7b90a; }
[data-theme="midnight"] .footer-section h4 { color: #f7b90a; }
[data-theme="midnight"] .footer-section a:hover { color: #fcd34d; }

[data-theme="midnight"] .cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(247, 185, 10, .08));
}

[data-theme="midnight"] .step-number {
  background: linear-gradient(135deg, #7c3aed, #f7b90a);
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
}

/* ─── Responsive (Landing) ────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 18px; }
  .section-title { font-size: 32px; }
  .stats { gap: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .midnight-banner { font-size: 11px; }
}
