/* ============================================================
   HHPOKER 官网 — Magazine Editorial Theme
   Primary: indigo-600, serif feel, big typography, asymmetric
   ============================================================ */

/* --- Google Fonts (fallback via CDN in header) --- */
/* Using: Noto Serif SC (headings) + Noto Sans SC (body) */

:root {
  --primary: #4f46e5;        /* indigo-600 */
  --primary-dark: #3730a3;   /* indigo-800 */
  --primary-light: #818cf8;  /* indigo-400 */
  --accent: #f59e0b;         /* amber-500 */
  --dark: #1e1b4b;           /* indigo-950 */
  --body: #374151;           /* gray-700 */
  --muted: #6b7280;          /* gray-500 */
  --bg-light: #f8fafc;       /* slate-50 */
  --border: #e5e7eb;         /* gray-200 */
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  color: var(--dark);
  line-height: 1.3;
  margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-family: 'Noto Sans SC', sans-serif;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.8;
}

/* ============================================================
   NAVIGATION — Transparent over hero, solid below
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 0.625rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.35s;
}

.site-nav.scrolled .nav-logo { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.site-nav.scrolled .nav-links a {
  color: var(--body);
}

.site-nav.scrolled .nav-links a:hover { color: var(--primary); }

.nav-cta {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.site-nav.scrolled .nav-toggle { color: var(--dark); }

/* ============================================================
   HERO — Full-bleed with dark overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30,27,75,0.88) 0%,
    rgba(79,70,229,0.72) 50%,
    rgba(30,27,75,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 2rem;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-family: 'Noto Sans SC', sans-serif;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  cursor: pointer;
  font-family: 'Noto Sans SC', sans-serif;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   MAGAZINE FEATURE CARDS — Asymmetric alternating layout
   ============================================================ */
.features-section {
  padding: 6rem 0;
  background: var(--white);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse .feature-img-wrap { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.feature-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-img-wrap:hover img { transform: scale(1.04); }

.feature-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.feature-number {
  font-family: 'Noto Serif SC', serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(79,70,229,0.08);
  line-height: 1;
  margin-bottom: -1.5rem;
  pointer-events: none;
  user-select: none;
}

.feature-text h3 {
  margin-bottom: 0.75rem;
}

.feature-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.feature-link:hover { border-bottom-color: var(--primary); }

.feature-link i { font-size: 0.8rem; transition: transform 0.2s; }
.feature-link:hover i { transform: translateX(4px); }

/* ============================================================
   STATS — Large centered numbers, pull-quote style
   ============================================================ */
.stats-section {
  padding: 6rem 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-suffix {
  color: var(--accent);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================================
   TESTIMONIALS — Full-width pull quotes
   ============================================================ */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.quote-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  position: relative;
  border: 1px solid var(--border);
}

.quote-mark {
  font-family: 'Noto Serif SC', 'Georgia', serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--body);
  font-style: italic;
  margin-bottom: 1.5rem;
  min-height: 80px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.quote-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.quote-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   FAQ — 2-column grid (all visible, no accordion)
   ============================================================ */
.faq-section {
  padding: 6rem 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.25s;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.faq-item h4::before {
  content: 'Q';
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.4;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  padding-left: 1.75rem;
}

/* ============================================================
   CTA SECTION — Split layout
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.cta-image {
  background: url('../img/cta-bg.jpg') center/cover no-repeat;
  min-height: 420px;
  position: relative;
}

.cta-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,0.3), transparent);
}

.cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  color: var(--white);
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-white {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--white);
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  align-self: flex-start;
}

.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ============================================================
   FOOTER — Editorial style with large logo
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/page-hero-bg.jpg') center/cover no-repeat;
  background-color: var(--dark);
}

.page-hero .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(30,27,75,0.9) 0%,
    rgba(79,70,229,0.7) 50%,
    rgba(30,27,75,0.88) 100%
  );
}

/* ============================================================
   REASON CARDS (Agent Page)
   ============================================================ */
.reasons-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.reason-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(79,70,229,0.08);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.reason-card h3 {
  margin-bottom: 0.75rem;
}

.reason-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   TIER TABLE (Agent Page)
   ============================================================ */
.tiers-section {
  padding: 6rem 0;
  background: var(--white);
}

.tier-table-wrap {
  overflow-x: auto;
  margin-top: 3rem;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tier-table thead th {
  background: var(--dark);
  color: var(--white);
  padding: 1.125rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Noto Sans SC', sans-serif;
}

.tier-table thead th:first-child { border-radius: 2px 0 0 0; }
.tier-table thead th:last-child { border-radius: 0 2px 0 0; }

.tier-table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.tier-table tbody tr:hover { background: var(--bg-light); }

.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tier-badge.gold { background: #fef3c7; color: #92400e; }
.tier-badge.diamond { background: #e0e7ff; color: #3730a3; }
.tier-badge.platinum { background: #f3e8ff; color: #6b21a8; }

/* ============================================================
   APPLICATION FORM (Agent Page)
   ============================================================ */
.apply-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.apply-form {
  max-width: 720px;
  margin: 3rem auto 0;
  background: var(--white);
  padding: 3rem;
  border-radius: 2px;
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--body);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  margin-top: 1.5rem;
}

/* ============================================================
   COURSE CARDS (Training Page)
   ============================================================ */
.courses-section {
  padding: 6rem 0;
  background: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.course-img {
  height: 180px;
  overflow: hidden;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-card:hover .course-img img { transform: scale(1.06); }

.course-body {
  padding: 1.5rem;
}

.course-level {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.course-level.beginner { background: #dbeafe; color: #1e40af; }
.course-level.intermediate { background: #e0e7ff; color: #3730a3; }
.course-level.advanced { background: #f3e8ff; color: #6b21a8; }
.course-level.master { background: #fef3c7; color: #92400e; }

.course-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.course-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.course-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ============================================================
   LEARNING PATH TIMELINE (Training Page)
   ============================================================ */
.path-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  opacity: 0.25;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -3.35rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-light);
  box-shadow: 0 0 0 3px var(--primary);
  opacity: 0.3;
}

.timeline-item.active .timeline-dot {
  opacity: 1;
  box-shadow: 0 0 0 3px var(--primary), 0 0 0 8px rgba(79,70,229,0.12);
}

.timeline-step {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
  font-family: 'Noto Sans SC', sans-serif;
}

.timeline-item h3 {
  margin-bottom: 0.375rem;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feature-row { gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-image { min-height: 260px; order: 2; }
  .cta-text { padding: 3rem 2rem; order: 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open a { color: var(--dark) !important; }
  .nav-toggle { display: block; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-row.reverse .feature-img-wrap { order: 1; }
  .feature-row.reverse .feature-text { order: 2; }

  .quote-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .tier-table-wrap { font-size: 0.85rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .page-hero { min-height: 45vh; }
  .hero { min-height: 85vh; }
  .cta-text { padding: 2.5rem 1.5rem; }
}
