/* ============================================================
   ExpertLab — Landing page
   Design tokens mirror learner.css for visual coherence
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Play:wght@400;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Design tokens (mirrored from learner.css) ── */
:root {
  --font-display: "Play", Inter, system-ui, sans-serif;
  --font-body:    Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;

  --bg-main:         #06111f;
  --bg-panel:        rgba(9, 24, 42, 0.78);
  --bg-panel-strong: rgba(14, 34, 58, 0.94);
  --bg-card:         rgba(8, 22, 40, 0.72);
  --bg-inset:        rgba(0, 0, 0, 0.28);

  --border-soft:   rgba(93, 160, 220, 0.14);
  --border-mid:    rgba(93, 160, 220, 0.24);
  --border-active: rgba(82, 150, 255, 0.68);

  --text-main:  #f4f7fb;
  --text-muted: #8fa6bd;
  --text-dim:   #5e7288;

  --accent:   #4fd8ff;
  --accent-2: #5ee0a0;

  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --sh-card:  0 2px 20px rgba(0,0,0,0.50), 0 1px 3px rgba(0,0,0,0.30);
  --sh-float: 0 8px 40px rgba(0,0,0,0.60);
  --sh-glow:  0 0 24px rgba(79,216,255,0.14);
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-main);
  background: var(--bg-main);
  background-image:
    radial-gradient(ellipse 70% 50% at 0% 0%,    rgba(76, 141, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 8%,  rgba(94, 224, 160, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
}

/* ── Page shell ── */
.page {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ── Header ── */
.page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo-group img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* No filter — preserve crispness */
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: var(--border-mid);
  flex-shrink: 0;
}

.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
}

.page-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Card ── */
.entry-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 24px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  min-height: 240px;
}

.entry-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--sh-float), var(--sh-glow);
  transform: translateY(-3px);
}

/* Icon */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(79, 216, 255, 0.08);
  border: 1px solid rgba(79, 216, 255, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

/* Card body */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.card-description {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA row */
.card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.card-cta-arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(79, 216, 255, 0.10);
  border: 1px solid rgba(79, 216, 255, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .15s, transform .12s;
}

.entry-card:hover .card-cta-arrow {
  background: rgba(79, 216, 255, 0.22);
  transform: translateX(2px);
}

.card-cta-arrow svg {
  width: 10px;
  height: 10px;
  color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .entry-card {
    min-height: auto;
    padding: 22px 20px 16px;
  }

  .page-title { font-size: 28px; }
}

@media (max-width: 480px) {
  body { padding: 20px 12px 36px; }
  .page { gap: 36px; }
  .page-title { font-size: 24px; }
  .logo-group img { height: 32px; }
  .logo-divider { height: 24px; }
}
