/* ============================================
   LearnTribe — Custom Landing Page Theme
   ============================================ */

/* --- Tokens --- */
:root {
  --green-deep: #1A3A28;
  --green: #2A5C3F;
  --green-light: #3D7A57;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --cream: #FAF7F2;
  --cream-warm: #F5EFE6;
  --sand: #E8DDD0;
  --ink: #1C1C1C;
  --ink-soft: #4A4A4A;
  --ink-muted: #7A7A7A;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.5px;
}
.site-header nav {
  display: flex;
  gap: 32px;
}
.site-header nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--green); }

/* --- Section commons --- */
.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 48px;
}

/* --- Manifesto --- */
.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(42, 92, 63, 0.06) 0%, transparent 70%);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(217, 119, 6, 0.1);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.manifesto-headline {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-deep);
  margin-bottom: 28px;
}
.manifesto-headline em {
  font-style: italic;
  color: var(--amber);
}
.manifesto-body {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 48px;
}
.manifesto-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-deep);
}
.stat-label {
  font-size: 11px;
  color: var(--ink-muted);
  max-width: 120px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand);
}

/* Manifesto visual */
.manifesto-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  border-radius: 50%;
  position: absolute;
}
.orb-1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(42,92,63,0.15) 0%, rgba(42,92,63,0.05) 60%, transparent 80%);
  animation: pulse-slow 6s ease-in-out infinite;
}
.orb-2 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(217,119,6,0.2) 0%, transparent 70%);
  top: 60px; right: 40px;
  animation: pulse-slow 4s ease-in-out infinite 1s;
}
.orb-3 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(42,92,63,0.25) 0%, transparent 70%);
  bottom: 80px; left: 40px;
  animation: pulse-slow 5s ease-in-out infinite 2s;
}
@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.8; }
}
.shapes { position: absolute; inset: 0; }
.shape-circle {
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid rgba(42,92,63,0.3);
  border-radius: 50%;
  top: 20%; right: 15%;
  animation: spin-slow 20s linear infinite;
}
.shape-dots {
  position: absolute;
  bottom: 25%;
  left: 10%;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(217,119,6,0.15) 2px, transparent 2px);
  background-size: 12px 12px;
}
.shape-line {
  position: absolute;
  top: 40%; left: 25%;
  width: 2px; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(42,92,63,0.4), transparent);
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* --- Tracks --- */
.tracks { background: var(--cream-warm); padding: 100px 24px; }
.tracks-inner { max-width: 1200px; margin: 0 auto; }
.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.track-card {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 58, 40, 0.08);
}
.track-card--featured {
  border-color: var(--green);
  border-width: 2px;
}
.track-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--amber);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.track-icon { margin-bottom: 20px; }
.track-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.track-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}
.track-meta {
  display: flex;
  gap: 12px;
}
.track-meta span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(42,92,63,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}
.tracks-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-muted);
  font-style: italic;
}

/* --- Difference --- */
.difference { background: var(--green-deep); padding: 100px 24px; }
.difference-inner { max-width: 1200px; margin: 0 auto; }
.difference .section-tag { color: var(--amber-light); }
.difference .section-title { color: white; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.diff-item {}
.diff-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 16px;
}
.diff-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}
.diff-item p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* --- Outcomes --- */
.outcomes { background: var(--cream); padding: 100px 24px; }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.outcome-card {
  background: white;
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.outcome-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(217,119,6,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.outcome-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* --- Closing --- */
.closing {
  background: var(--green-deep);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,92,63,0.5) 0%, transparent 60%);
  border-radius: 50%;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}
.closing-visual { flex: 0 0 200px; }
.closing-orb {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--amber), var(--amber-light) 60%, transparent 80%);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.closing-text { flex: 1; }
.closing-text h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}
.closing-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 16px;
}
.closing-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--amber-light) !important;
  margin-top: 8px;
}

/* --- Footer --- */
footer {
  background: var(--ink);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 220px;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-visual { display: none; }
  .track-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .closing-inner { flex-direction: column; }
  .closing-visual { display: none; }
  .site-header nav { display: none; }
  .manifesto-stats { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .manifesto-stats { gap: 20px; }
  .stat-divider { display: none; }
}