/* ═══════════════════════════════════════════
   EduCore — Light Minimal Theme (Lucide Icons)
   ═══════════════════════════════════════════ */

/* ── RESET ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── TOKENS ───────────────────────────────── */
:root {
  --bg:        #f8f8f6;
  --bg-white:  #ffffff;

  --ink:       #1a1a2e;
  --ink-2:     #4b5563;
  --ink-3:     #9ca3af;

  --accent:    #2563eb;
  --accent-lt: #eff6ff;

  --border:    #e5e7eb;
  --border-md: #d1d5db;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.09);

  --font-body: 'Nunito', sans-serif;
  --font-head: 'Outfit', sans-serif;
}

/* ── BASE ─────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 800;
}

/* Lucide icon base size */
svg.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

/* ── LAYOUT ───────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }

/* ── SECTION TYPE ─────────────────────────── */
.section__eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 3.8vw, 42px);
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.text--accent { color: var(--accent); }
.section__sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* ── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 26px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg.lucide { width: 16px; height: 16px; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 14px rgba(37,99,235,0.28);
}
.btn--primary:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 22px rgba(37,99,235,0.38);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--bg-white);
  color: var(--ink);
  border: 1.5px solid var(--border-md);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── LOGO ─────────────────────────────────── */
.logo { display:flex; align-items:center; gap:10px; }
.logo__mark {
  width:26px; height:26px; border-radius:7px;
  background:var(--accent); position:relative; flex-shrink:0;
}
.logo__mark::after {
  content:''; position:absolute; bottom:-4px; right:-4px;
  width:10px; height:10px; border-radius:3px; background:#93c5fd;
}
.logo__name {
  font-family:var(--font-head); font-weight:800;
  font-size:17px; color:var(--ink); letter-spacing:-0.2px;
}

/* ── HOW IT WORKS ─────────────────────────── */
.how { background: var(--bg-white); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s, transform 0.25s;
}
.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step__num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.7;
}

.step__ico {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.step__ico svg.lucide {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.step__desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

.step__connector {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 46px;
  color: var(--border-md);
}
.step__connector svg.lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

/* ── FEATURES ─────────────────────────────── */
.features { background: var(--bg); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fcard {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.fcard:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-md);
  transform: translateY(-4px);
}

/* Icon box */
.fcard__icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--ic-bg, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ic-clr, #555);
  flex-shrink: 0;
}
.fcard__icon-box svg.lucide {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.fcard__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 9px;
}
.fcard__desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Feature list */
.fcard__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
  flex-shrink: 0;
}
.fcard__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.fcard__list li svg.lucide {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  flex-shrink: 0;
  stroke-width: 2.5;
}

/* ── CTA ──────────────────────────────────── */
.cta {
  padding: 72px 0 96px;
  background: var(--bg);
}

.cta__card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 72px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-lt);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.cta__badge svg.lucide { width: 13px; height: 13px; color: var(--accent); }

.cta__title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.cta__sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg-white);
}
.footer__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 13px; color: var(--ink-3); }

/* ── AOS REVEAL ───────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .cta__card    { padding: 48px 40px; }
}

@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps        { flex-direction: column; gap: 0; }
  .step__connector {
    width: auto; height: 32px; margin: 0;
    transform: rotate(90deg);
    justify-content: center;
  }
  .cta__card    { padding: 40px 24px; }
  .section      { padding: 64px 0; }
}
