/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0F;
  --surface: #111118;
  --surface-2: #18181F;
  --border: #1E1E28;
  --text: #E8E4DC;
  --text-muted: #7A7A8C;
  --accent: #F59E0B;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-2: #6366F1;
  --accent-2-dim: rgba(99, 102, 241, 0.12);
  --green: #10B981;
  --green-dim: rgba(16, 185, 129, 0.12);
  --rose: #F43F5E;
  --rose-dim: rgba(244, 63, 94, 0.12);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 40%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
}
.hero-content {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline em {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  max-width: 480px;
}
.card-stack {
  position: relative;
  height: 320px;
}
.opportunity-card {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  width: 88%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}
.card-1 {
  top: 0;
  left: 0;
  z-index: 3;
  animation: float-1 6s ease-in-out infinite;
}
.card-2 {
  top: 70px;
  left: 32px;
  z-index: 2;
  animation: float-2 6s ease-in-out infinite 1s;
}
.card-3 {
  top: 140px;
  left: 64px;
  z-index: 1;
  animation: float-3 6s ease-in-out infinite 2s;
}
@keyframes float-1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}
.card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.tag-scholarship { background: var(--accent-dim); color: var(--accent); }
.tag-internship { background: var(--green-dim); color: var(--green); }
.tag-fellowship { background: var(--accent-2-dim); color: var(--accent-2); }
.card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.card-match {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}
.ai-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-left: 80px;
}
.ai-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.ai-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.ai-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ===== PROOF ===== */
.proof {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-header { margin-bottom: 56px; }
.proof-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 640px;
  color: var(--text);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.proof-stat {
  background: var(--surface-2);
  padding: 40px 36px;
  transition: background 0.2s;
}
.proof-stat:hover { background: #1C1C24; }
.proof-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.proof-number {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.proof-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== PILLARS ===== */
.pillars { padding: 100px 24px; }
.pillars-inner { max-width: 1200px; margin: 0 auto; }
.pillars-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 520px;
  margin-bottom: 56px;
  color: var(--text);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.2s, transform 0.2s;
}
.pillar:hover {
  border-color: rgba(245,158,11,0.25);
  transform: translateY(-2px);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.pillar-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.pillar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.manifesto-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto-quote {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  line-height: 1.5;
}
.quote-mark { font-size: 2rem; line-height: 0; vertical-align: -0.4em; }

/* Compound visual */
.compound-visual {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.compound-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  animation: spin-slow 20s linear infinite;
}
.ring-1 {
  width: 300px;
  height: 300px;
  border-color: rgba(245,158,11,0.15);
  border-style: dashed;
}
.ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(245,158,11,0.25);
  animation-direction: reverse;
}
.ring-3 {
  width: 140px;
  height: 140px;
  border-color: rgba(245,158,11,0.4);
  animation-duration: 12s;
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.compound-center {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.compound-center span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 400;
}
.compound-center span:last-child { font-size: 1.4rem; font-weight: 700; }

/* ===== CLOSING ===== */
.closing { padding: 120px 24px; }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 48px;
}
.closing-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.closing-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.closing-note svg { color: var(--accent); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; gap: 48px; padding-top: 100px; }
  .hero-visual { max-width: 100%; }
  .card-stack { height: 280px; }
  .ai-sidebar { margin-left: 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .compound-visual { display: none; }
  .nav-links { display: none; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 80px 20px 60px; }
  .pillar { padding: 28px 24px; }
  .proof-stat { padding: 28px 24px; }
  .closing-cta-row { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-tagline { margin-left: 0; }
}