/* =============================================
   HOME PAGE STYLES
   ============================================= */

/* HERO */
.hero {
  background: var(--ink);
  padding: var(--sp-24) var(--sp-8) var(--sp-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(200,65,10,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-6);
}
.hero-title {
  font-size: clamp(var(--text-3xl), 7vw, var(--text-5xl));
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  position: relative;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  max-width: 620px;
  margin: 0 auto var(--sp-10);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-md);
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
}
.hero-stats {
  display: flex;
  gap: var(--sp-12);
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-10);
}
.stat { text-align: center; }
.stat-n {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-l {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: var(--sp-2);
}

/* MODULES GRID */
.modules-grid-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-8);
}
.section-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-3);
  color: var(--ink);
}
.section-sub {
  color: var(--muted);
  margin-bottom: var(--sp-12);
  max-width: 560px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-5);
}
.module-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  transition: all var(--transition);
  cursor: pointer;
  display: block;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.module-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.module-card:hover::before { transform: scaleX(1); }
.module-card:hover { color: inherit; }
.module-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}
.module-icon { font-size: 1.75rem; margin-bottom: var(--sp-3); }
.module-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}
.module-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: var(--sp-4);
}
.module-skills {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--muted);
}
.module-progress {
  margin-top: var(--sp-4);
}

/* PHILOSOPHY */
.philosophy {
  background: var(--ink);
  padding: var(--sp-20) var(--sp-8);
}
.phil-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.phil-text .section-label { color: rgba(255,255,255,0.4); }
.phil-text h2 {
  font-size: var(--text-2xl);
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.phil-text p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
  margin-bottom: var(--sp-6);
  line-height: 1.7;
}
.phil-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.phil-list li {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.check { color: var(--accent); flex-shrink: 0; font-weight: 700; }
.loop-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.loop-step {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.loop-step.active {
  background: var(--accent);
  color: var(--white);
  font-weight: 500;
}
.loop-arrow {
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: var(--text-sm);
  line-height: 1;
}

/* TOOLS */
.featured-resources {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-8);
}
.tools-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.tool-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: all var(--transition);
  display: block;
}
.tool-card:hover { box-shadow: var(--shadow); color: inherit; border-color: var(--accent); }
.tool-icon { font-size: 1.5rem; margin-bottom: var(--sp-3); }
.tool-name {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-2);
}
.tool-desc { font-size: var(--text-xs); color: var(--muted); line-height: 1.5; }

@media (max-width: 768px) {
  .phil-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--sp-6); }
}
