/* ── HOME PAGE ── */

/* Hero */
.hero {
  padding: 6rem 2rem 5rem;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(26,107,74,0.2);
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--green-mid); border-radius: 50%; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero p { font-size: 1.05rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.score-ring-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.score-ring {
  position: relative; width: 120px; height: 120px;
}
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-ring-label .num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--ink); line-height: 1; }
.score-ring-label .lbl { font-size: 0.7rem; color: var(--ink-60); margin-top: 2px; }
.score-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.score-module {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.score-module .mod-label { font-size: 0.75rem; color: var(--ink-60); margin-bottom: 4px; }
.score-module .mod-score { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.score-module .mod-bar { margin-top: 6px; }

/* Stats */
.stats-section { background: var(--white); padding: 3rem 0; border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); }
.stats-grid { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--ink-60); margin-top: 6px; }

/* Modules Section */
.modules-section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { max-width: 500px; margin: 0 auto; font-size: 1rem; }
.modules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.module-card {
  background: var(--white); border: 1px solid var(--ink-08);
  border-radius: var(--radius-xl); padding: 2rem 1.5rem;
  cursor: pointer; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.module-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.module-card:hover::after { transform: scaleX(1); }
.module-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.mod-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.4rem;
}
.module-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-weight: 600; }
.module-card p { font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; }
.module-card .mod-link { font-size: 0.85rem; font-weight: 500; color: var(--green); display: flex; align-items: center; gap: 4px; }
.module-card.reading { --card-accent: #1D9E75; }
.module-card.writing { --card-accent: #534AB7; }
.module-card.listening { --card-accent: #BA7517; }
.module-card.speaking { --card-accent: #c0392b; }

/* How it works */
.how-section { background: var(--ink); color: var(--white); padding: 5rem 0; }
.how-section .section-eyebrow { color: var(--green-mid); }
.how-section h2 { color: var(--white); }
.how-section p { color: rgba(255,255,255,0.55); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step-card { padding: 2rem; }
.step-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 600;
  color: rgba(255,255,255,0.1); line-height: 1; margin-bottom: 1rem;
}
.step-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.75rem; font-family: var(--font-display); }
.step-card p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* CTA Banner */
.cta-section {
  padding: 5rem 0;
  text-align: center;
}
.cta-inner {
  background: var(--green); border-radius: var(--radius-xl);
  padding: 4rem 2rem; max-width: 800px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
}
.cta-inner h2 { color: white; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 2rem; }
.btn-white { background: white; color: var(--green); border: 2px solid white; }
.btn-white:hover { background: var(--green-light); color: var(--green-dark); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .hero-visual { max-width: 400px; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 480px) {
  .modules-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; justify-content: center; }
}
