/* ============================================
   GROWTHNEST AFRICA — Landing Page
   Built For Builders. Backed By Purpose.
   Colors: Deep Teal, Warm Gold, White, Dark Navy
============================================ */

:root {
  --navy: #0A1628;
  --navy-soft: #0D1B2A;
  --navy-card: #111E30;
  --navy-border: #1A2E45;
  --teal: #0D7377;
  --teal-light: #149698;
  --teal-dim: #085558;
  --teal-glow: rgba(13, 115, 119, 0.12);
  --gold: #D4920A;
  --gold-light: #E6AA28;
  --gold-dim: #8a5e06;
  --white: #ffffff;
  --white-soft: #F5F5F0;
  --grey: #8899AA;
  --grey-light: #AABBCC;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }

/* ===== CURSOR ===== */
.cursor {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.5;
}

/* ===== GRAIN ===== */
.grain {
  position: fixed; top: -50%; left: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 1; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain 0.5s steps(1) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 10%{transform:translate(-2%,-3%)} 20%{transform:translate(3%,2%)} 30%{transform:translate(-1%,4%)} 40%{transform:translate(2%,-1%)} 50%{transform:translate(-3%,1%)} 60%{transform:translate(1%,-2%)} 70%{transform:translate(-2%,3%)} 80%{transform:translate(3%,-3%)} 90%{transform:translate(-1%,2%)}
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 115, 119, 0.15);
  transition: var(--transition);
}
.nav-logo { display: flex; align-items: center; gap: 1rem; }
.logo-block {
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  letter-spacing: 0.05em;
}
.logo-block.small {
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.logo-text em { color: var(--teal-light); font-style: italic; }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey-light); transition: var(--transition);
  position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--teal);
  transition: var(--transition);
}
.nav-link:hover { color: var(--teal-light); }
.nav-link:hover::after { width: 100%; }
.btn-nav {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--teal);
  color: var(--teal); transition: var(--transition);
}
.btn-nav:hover { background: var(--teal); color: var(--white); }

/* ===== REUSABLE ===== */
.teal { color: var(--teal-light); }
.section-label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal-light); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 1.5rem;
}
.teal-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  margin-bottom: 2rem;
}
.teal-line.centered {
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  width: 80px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--teal); color: var(--white);
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,115,119,0.3); }
.btn-ghost {
  display: inline-block;
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white-soft); transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-light); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0; transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 8rem 4rem 4rem;
  overflow: hidden; text-align: center;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(13,115,119,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(212,146,10,0.04) 0%, transparent 50%);
}
.hero-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 28vw, 28rem);
  font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px rgba(13,115,119,0.07);
  white-space: nowrap; pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.hero-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(13,115,119,0.3);
  padding: 0.5rem 1.5rem; margin-bottom: 2rem;
  background: rgba(13,115,119,0.06);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300; line-height: 1.0;
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column; align-items: center;
}
.hero-title .line { display: block; }
.hero-title .white { color: var(--white-soft); }
.hero-title .teal {
  color: var(--teal-light);
  font-style: italic; font-weight: 600;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--grey-light); max-width: 600px;
  margin: 0 auto 1.5rem; line-height: 1.9;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex; gap: 1.5rem;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex; align-items: center;
  justify-content: center; gap: 2rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--navy-border);
  background: rgba(13,115,119,0.04);
  display: inline-flex;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  color: var(--teal-light); line-height: 1;
}
.stat-label {
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey);
}
.stat-divider { width: 1px; height: 40px; background: var(--navy-border); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem; z-index: 2;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; } 50% { opacity: 1; }
}

/* ===== ABOUT ===== */
.about { padding: 8rem 4rem; }
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.about-left { position: sticky; top: 8rem; }
.about-text { font-size: 1rem; color: var(--grey-light); margin-bottom: 1.5rem; line-height: 1.9; }
.about-text strong { color: var(--white); font-weight: 500; }
.founder-link {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); transition: var(--transition);
  display: inline-block; margin-top: 1rem;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-dim);
}
.founder-link:hover { letter-spacing: 0.18em; }
.about-right {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  padding: 2rem; position: relative;
  transition: var(--transition); overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: var(--transition);
}
.about-card:hover { border-color: rgba(13,115,119,0.4); transform: translateY(-3px); }
.about-card:hover::before { width: 100%; }
.about-card.featured {
  background: linear-gradient(135deg, rgba(13,115,119,0.1), transparent);
  border-color: rgba(13,115,119,0.3);
}
.card-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.5rem;
}
.about-card p { font-size: 0.85rem; color: var(--grey); line-height: 1.7; }

/* ===== FEATURES ===== */
.features {
  padding: 8rem 4rem;
  background: var(--navy-soft);
  position: relative; overflow: hidden;
}
.features::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent);
}
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-header { text-align: center; max-width: 600px; margin: 0 auto 5rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-item {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  padding: 2.5rem; position: relative;
  transition: var(--transition);
}
.feature-item::after {
  content: ''; position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--teal);
  transition: var(--transition);
}
.feature-item:hover { border-color: rgba(13,115,119,0.3); transform: translateY(-4px); }
.feature-item:hover::after { height: 100%; }
.feature-number {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: rgba(13,115,119,0.2);
  line-height: 1; margin-bottom: 1.5rem;
}
.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.75rem;
}
.feature-item p { font-size: 0.875rem; color: var(--grey); line-height: 1.7; }

/* ===== WHO IT'S FOR ===== */
.for-who {
  padding: 8rem 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(13,115,119,0.07) 0%, transparent 60%), var(--navy);
  text-align: center;
}
.for-who-inner { max-width: 1000px; margin: 0 auto; }
.for-who-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 1rem;
}
.for-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  padding: 2.5rem; text-align: left;
  transition: var(--transition); display: flex;
  gap: 1.5rem; align-items: flex-start;
}
.for-card:hover { border-color: rgba(13,115,119,0.3); transform: translateY(-3px); }
.for-icon { font-size: 1.8rem; flex-shrink: 0; }
.for-card p { font-size: 0.95rem; color: var(--grey-light); line-height: 1.7; }
.for-card strong { color: var(--white); font-weight: 500; }

/* ===== WAITLIST ===== */
.waitlist {
  padding: 8rem 4rem; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(13,115,119,0.08) 0%, transparent 60%), var(--navy-soft);
}
.waitlist-inner { max-width: 600px; margin: 0 auto; }
.section-label.light { color: var(--teal-light); }
.section-title.light { color: var(--white); }
.waitlist-sub {
  font-size: 1rem; color: var(--grey-light);
  margin-bottom: 3rem; line-height: 1.8;
}
.waitlist-form {
  display: flex; flex-direction: column;
  gap: 1rem; margin-bottom: 1rem;
}
.form-input {
  width: 100%; padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  color: var(--white); font-family: var(--font-body);
  font-size: 0.9rem; outline: none;
  transition: var(--transition);
}
.form-input::placeholder { color: var(--grey); }
.form-input:focus { border-color: var(--teal); background: rgba(13,115,119,0.06); }
.form-note { font-size: 0.75rem; color: var(--grey); margin-top: 1rem; }
.success-msg {
  margin-top: 1.5rem; padding: 1rem 1.5rem;
  background: rgba(13,115,119,0.1);
  border: 1px solid var(--teal);
  color: var(--teal-light); font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer { padding: 3rem 4rem; border-top: 1px solid var(--navy-border); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 1rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600; color: var(--white);
}
.footer-tagline {
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--grey);
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.75rem; color: var(--grey);
  transition: var(--transition); letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--teal-light); }
.footer-copy { font-size: 0.75rem; color: var(--grey); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav { padding: 1.5rem 2rem; }
  .nav-right .nav-link { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-left { position: static; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero, .about, .features, .for-who, .waitlist { padding: 5rem 1.5rem; }
  .nav { padding: 1.25rem 1.5rem; }
  .about-right { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .for-who-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
