:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-soft: #fff2c7;
  --surface-blue: #e9f4ff;
  --text: #142033;
  --muted: #64748b;
  --primary: #1f6feb;
  --primary-dark: #154fb0;
  --accent: #ffd43b;
  --accent-dark: #d99b00;
  --green: #21a67a;
  --dark: #102033;
  --dark-2: #172a43;
  --border: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 35, 70, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f7fbff;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 18px;
  letter-spacing: -0.03em;
  box-shadow: 0 12px 26px rgba(31, 111, 235, 0.22);
}

.brand-text {
  font-size: 18px;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: var(--muted);
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 212, 59, 0.55), transparent 32%),
    radial-gradient(circle at 86% 30%, rgba(31, 111, 235, 0.18), transparent 31%),
    linear-gradient(135deg, #fffaf0, #eaf5ff);
  padding: 78px 0 62px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 13px;
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 70px);
  letter-spacing: -0.055em;
  max-width: 920px;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 21px;
}

.lead {
  margin: 22px 0 0;
  max-width: 790px;
  font-size: 21px;
  color: var(--muted);
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 14px 32px rgba(31, 111, 235, 0.25);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: #3d2b00;
  background: var(--accent);
  border-color: var(--accent);
}

.button-ghost {
  color: var(--primary-dark);
  background: white;
  border-color: var(--border);
}

.code-card {
  background: var(--dark);
  color: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.code-window {
  background: #07111f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
}

.code-dots {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.code-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
}

.code-dots span:nth-child(2) {
  background: var(--primary);
}

.code-dots span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.7;
  color: #d9e7ff;
}

.code-card p {
  color: #c9d7ea;
  margin: 16px 4px 0;
}

.section {
  padding: 66px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.steps,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.project-card,
.exam-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 23px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(20, 28, 54, 0.07);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 40px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: #6b4b00;
  font-weight: 900;
  margin-bottom: 18px;
}

.step-card p,
.project-card p,
.exam-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-soft {
  background: var(--surface-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 18px;
}

.topic-list,
.mistake-list {
  display: grid;
  gap: 14px;
}

.topic-list div,
.mistake-list div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.topic-list strong,
.mistake-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.topic-list span,
.mistake-list span {
  color: var(--muted);
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.exam-card {
  min-height: 230px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.exam-card:hover,
.project-card:hover {
  transform: translateY(-2px);
  transition: 0.15s ease;
}

.exam-card span {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  height: 38px;
  padding: 0 13px;
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 18px;
}

.exam-card.oge span {
  background: #e6f7ef;
  color: #0d805b;
}

.exam-card.ege span {
  background: #eeedff;
  color: #5043d7;
}

.section-dark {
  background: var(--dark-2);
  color: white;
}

.section-heading-light p {
  color: #c2d0e4;
}

.project-card {
  text-decoration: none;
  min-height: 230px;
}

.section-dark .project-card {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.section-dark .project-card p {
  color: #c2d0e4;
}

.project-icon {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 212, 59, 0.16);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
  font-size: 14px;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.callout {
  padding-top: 34px;
}

.callout-inner {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 212, 59, 0.28), transparent 28%),
    linear-gradient(135deg, #102033, #1f6feb);
  color: white;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.callout-inner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 38px 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .steps,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 52px 0 40px;
  }

  .section {
    padding: 44px 0;
  }

  .lead {
    font-size: 18px;
  }

  .steps,
  .project-grid,
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .callout-inner,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .hero-actions,
  .callout-actions {
    width: 100%;
  }
}
