/* MeepleQuest Landing — Museums & Cultural Spaces */

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo: #4F46E5;
  --indigo-dark: #3730A3;
  --amber: #F59E0B;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--indigo); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--indigo); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
}
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
}
.btn-outline:hover { background: var(--indigo); color: var(--white); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #f0f4ff 0%, #fafafa 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF2FF;
  color: var(--indigo);
  border: 1px solid #C7D2FE;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--indigo); }
.hero p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--gray-600);
  font-size: 0.875rem;
}
.hero-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* ── Section Shared ───────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 52px; }
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-header p { color: var(--gray-600); font-size: 1.0625rem; }

/* ── Use Cases ────────────────────────────────────────────────────────────── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.use-case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.2s;
}
.use-case-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.use-case-icon {
  width: 48px;
  height: 48px;
  background: #EEF2FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.use-case-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.use-case-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.55; }

/* ── How it Works ─────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--indigo), var(--amber));
  border-radius: 1px;
}
.step {
  text-align: center;
  padding: 0 16px;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--indigo);
}
.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.step p { font-size: 0.9375rem; color: var(--gray-600); }

/* ── Benefits ─────────────────────────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.benefit-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px;
}
.benefit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #EEF2FF, #FEF3C7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.benefit-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.55; }
.stat-badge {
  display: inline-block;
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 8px;
}

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--gray-900);
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-section p { color: #9CA3AF; font-size: 1.0625rem; margin-bottom: 32px; }
.cta-section .btn-primary {
  background: var(--amber);
  color: var(--gray-900);
  font-size: 1.0625rem;
  padding: 14px 28px;
}
.cta-section .btn-primary:hover { background: #D97706; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  border-top: 1px solid #1F2937;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.footer-brand span { color: var(--amber); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #9CA3AF; text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--white); }

/* ── Secondary use case note ─────────────────────────────────────────────── */
.secondary-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--gray-400);
}
.secondary-note a { color: var(--indigo); text-decoration: none; }
.secondary-note a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero h1 { font-size: 2rem; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
}