/* ======================================================
   landing.css — MBA IS AI Checker Pro landing page
   Reuses the design tokens from style.css (:root + body.dark-mode).
   ====================================================== */

.page-landing { background: var(--bg-primary); }

/* ── Nav (extends .header) ── */
.landing-header .header-content { gap: 24px; }
.landing-brand {
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}
.landing-brand:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-md); }

.landing-navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
}
.landing-navlinks a {
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}
.landing-navlinks a:hover { color: var(--text-strong); background: var(--hover-bg); }
.landing-navlinks a:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* ── Buttons ── */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--brand);
  color: var(--text-on-accent);
  border: 1px solid var(--brand);
  border-radius: var(--radius-md);
  font-family: 'Kanit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-brand:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--text-on-accent); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-brand:active { background: var(--brand-deep); transform: translateY(0); }
.btn-brand:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-secondary);
  color: var(--text-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: 'Kanit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--brand-wash); }
.btn-ghost:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: var(--radius-md); min-height: 48px; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 32px 64px;
}
.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 760px;
  height: 540px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(224,99,59,0.22), transparent 70%),
    radial-gradient(closest-side, rgba(224,99,59,0.10), transparent 70%);
  background-position: 30% 40%, 75% 30%;
  background-size: 60% 60%, 55% 55%;
  background-repeat: no-repeat;
  filter: blur(14px);
  pointer-events: none;
  animation: heroFloat 9s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  from { transform: translateX(-52%) translateY(0); }
  to   { transform: translateX(-48%) translateY(16px); }
}
.hero-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'Inter', 'Kanit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--brand-wash);
  border: 1px solid var(--brand-tint);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  max-width: 18ch;
  margin: 0 auto 18px;
}
.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }

/* ── Hero product mockup ── */
.hero-mock {
  width: 100%;
  max-width: 560px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-dot:nth-child(1) { background: #f87171; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #34d399; }
.mock-url {
  margin-left: 10px;
  font-family: 'Inter', monospace;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 12px;
}
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
}
.mock-slot.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.mock-num {
  width: 26px; height: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--navy); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
}
.mock-slot.active .mock-num { background: var(--accent); }
.mock-line { flex: 1; height: 9px; border-radius: var(--radius-full); background: var(--border); }
.mock-line.short { max-width: 55%; }
.mock-chip {
  flex-shrink: 0;
  min-width: 26px; height: 22px; padding: 0 8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
  background: var(--paper); color: var(--text-muted); border: 1px solid var(--border-strong);
}
.mock-pass { background: rgba(31,138,91,0.12); color: #157a4d; border-color: rgba(31,138,91,0.3); }
.mock-fail { background: rgba(220,38,38,0.10); color: #c81e1e; border-color: rgba(220,38,38,0.3); }
.mock-scan { background: rgba(37,99,235,0.10); color: #2563eb; border-color: rgba(37,99,235,0.3); }
body.dark-mode .mock-pass { color: #34d399; }
body.dark-mode .mock-fail { color: #f87171; }
body.dark-mode .mock-scan { color: #60a5fa; }

/* ── Sections ── */
.section { padding: 64px 32px; }
.section-paper { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-align: center;
  margin-bottom: 40px;
}

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--brand-wash);
  border: 1px solid var(--brand-tint);
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title { font-size: 15px; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; line-height: 1.4; }
.feature-desc { font-size: 13px; line-height: 1.65; color: var(--text-secondary); }

/* ── Steps ── */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  counter-reset: none;
}
.step-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: var(--text-on-accent);
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.step-card p { font-size: 13.5px; line-height: 1.7; color: var(--text-secondary); margin-top: 6px; }
.step-card p strong { color: var(--text-strong); font-weight: 600; }

/* ── About ── */
.about-inner { max-width: 760px; text-align: center; }
.about-text { font-size: 15.5px; line-height: 1.85; color: var(--text-secondary); margin-bottom: 30px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .landing-navlinks { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { margin-top: 12px; }
}
@media (max-width: 560px) {
  .header-subtitle { display: none; }
  .hero { padding: 48px 20px 44px; }
  .section { padding: 48px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-cta { padding: 8px 14px; }
  .hero-cta .btn-lg { width: 100%; }
}
