/* ===== Base Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050A1A;
  color: #E5E7EB;
  line-height: 1.6;
}

/* ===== Layout Helpers ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: #0B1220;
}

.section-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  color: #9CA3AF;
  margin-bottom: 2.5rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 10, 26, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.8rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #FBBF24, #14B8A6 55%, #0EA5E9 90%);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  color: #F9FAFB;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #9CA3AF;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #D1D5DB;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover {
  color: #FBBF24;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  background: #E5E7EB;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 55%), #050A1A;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #F9FAFB;
}

.hero-content p {
  color: #9CA3AF;
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #14B8A6, #FBBF24);
  color: #05101C;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.38);
}

.btn-ghost {
  background: transparent;
  color: #E5E7EB;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  border-color: #FBBF24;
  color: #FBBF24;
}

.btn-block {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #9CA3AF;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-orbit {
  position: relative;
  width: 230px;
  height: 230px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  animation: spin 30s linear infinite;
}

.orbit-ring-2 {
  inset: 16px;
  opacity: 0.8;
  animation-duration: 45s;
}

.orbit-ring-3 {
  inset: 32px;
  opacity: 0.6;
  animation-duration: 60s;
}

.orbit-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, #FBBF24, #14B8A6 55%, #0EA5E9 95%);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #05101C;
  font-size: 1.2rem;
}

.hero-visual-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9CA3AF;
  text-align: center;
  max-width: 260px;
}

/* ===== About, Pillars, Programs ===== */
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-cards {
  display: grid;
  gap: 1.25rem;
}

.info-card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.info-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: #020617;
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.pillar-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: #9CA3AF;
  margin-bottom: 0.75rem;
}

.pillar-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pillar-card li {
  font-size: 0.85rem;
  color: #D1D5DB;
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.1rem;
}

.pillar-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #14B8A6;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: #020617;
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.program-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #14B8A6;
}

.program-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  margin: 0.35rem 0 0.4rem;
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: #020617;
  border-radius: 1.1rem;
  padding: 1.3rem 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.4);
}

.resource-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  margin-bottom: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-coming-soon {
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #FBBF24;
}

/* Get Involved */
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 0;
}

.bullet-list li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #14B8A6;
}

/* Forms */
.form-card {
  background: #020617;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.form-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  margin-bottom: 0.4rem;
}

.form-helper {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.8rem;
  color: #E5E7EB;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.6rem 0.7rem;
  background: #020617;
  color: #F9FAFB;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6B7280;
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.founder-photo {
  display: flex;
  justify-content: center;
}

.founder-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #FBBF24, #14B8A6 60%, #0EA5E9 95%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 2.4rem;
  color: #020617;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

.founder-text p {
  margin-bottom: 0.75rem;
  color: #D1D5DB;
}

.founder-signoff {
  margin-top: 0.5rem;
  font-style: italic;
  color: #E5E7EB;
}

.founder-name {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: #F9FAFB;
}

/* Newsletter */
.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.8rem 0 2.2rem;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #F9FAFB;
}

.footer-text {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #9CA3AF;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #E5E7EB;
  text-decoration: none;
}

.footer-links a:hover {
  color: #FBBF24;
}

.footer-meta {
  text-align: right;
}

/* ===== Utilities ===== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .section-grid,
  .pillars-grid,
  .programs-grid,
  .resources-grid,
  .founder-grid,
  .newsletter-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 56px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 0.9rem;
    padding: 0.75rem 0.85rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(148, 163, 184, 0.4);
  }

  .nav-menu-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 0.55rem 0.5rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brand-tagline {
    display: none;
  }

  .hero-orbit {
    width: 200px;
    height: 200px;
  }
}