/* ==========================================================================
   Design Tokens & Modern CSS Reset
   ========================================================================== */
:root {
  --green-darkest: #01140d;
  --green-dark: #021d13;
  --green-mid: #032a1b;
  --green-accent: #0b5034;
  --green-mint: #34b982;
  --gold: #ffbd4d;
  --gold-glow: rgba(255, 189, 77, 0.25);
  --cream: #f8f9f5;
  --ink: #0d1e18;
  --muted: #596b63;
  --white: #ffffff;
  
  --glass-bg: rgba(4, 35, 24, 0.65);
  --glass-border: rgba(255, 255, 255, 0.15);
  
  --font-heading: 'Manrope', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* ==========================================================================
   Typography & Reusable Components
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.badge {
  display: inline-block;
  color: var(--green-mint);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.gold-text { color: var(--gold); }
.green-text { color: var(--green-mid); }

.gold-gradient {
  background: linear-gradient(135deg, #ffe094 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--green-darkest);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #ffca6e;
  box-shadow: 0 8px 25px rgba(255, 189, 77, 0.4);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--green-darkest);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background-color: #ffca6e;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  height: 80px;
  background: rgba(2, 29, 19, 0.9);
  backdrop-filter: blur(12px);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 5vw;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  line-height: 0.95;
}

.brand-text small {
  display: block;
  font-size: 0.45rem;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: #dbe6e0;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gold);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--green-darkest);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--white);
  left: 0;
  transition: transform var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, #021a11 0%, #032a1b 50%, #06452c 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-a {
  width: 450px;
  height: 450px;
  top: -10%;
  right: 5%;
  background: rgba(255, 189, 77, 0.12);
}

.orb-b {
  width: 350px;
  height: 350px;
  bottom: -5%;
  left: -5%;
  background: rgba(52, 185, 130, 0.15);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5vw;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: #c9d8d1;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Glassmorphic Art Cards */
.hero-art {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center-mark {
  width: 220px;
  height: 220px;
  opacity: 0.2;
}

.glass-card {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  width: 210px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-smooth);
}

.glass-card:hover {
  transform: scale(1.05) translateY(-5px) !important;
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-mint);
  margin-bottom: 0.25rem;
}

.glass-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white);
}

.glass-card p {
  font-size: 0.75rem;
  color: #b8ccc3;
  margin: 0.5rem 0;
  line-height: 1.4;
}

.card-arrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.card-one { top: 5%; left: 0; transform: rotate(-4deg); }
.card-two { bottom: 5%; left: 5%; transform: rotate(3deg); }
.card-three { top: 30%; right: 0; transform: rotate(-2deg); }

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes floatDelayed {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-delayed { animation: floatDelayed 7s ease-in-out infinite 1s; }

/* ==========================================================================
   Ecosystem Section
   ========================================================================== */
.section {
  padding: 6rem 0;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  max-width: 540px;
  font-size: 1.05rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.venture-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.venture-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.venture-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.venture-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.venture-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.venture-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.venture-subtitle {
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.venture-body {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.venture-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.venture-link:hover {
  color: var(--green-mint);
}

/* ==========================================================================
   About Section & Animated Counter
   ========================================================================== */
.about-section {
  background: var(--green-dark);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: #c0d1c9;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.stats-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-cell {
  background: var(--green-mid);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.stat-number, .stat-symbol {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #b5c7bf;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Builds Timeline Stepper
   ========================================================================== */
.builds-section {
  background: var(--white);
}

.timeline-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
  position: relative;
}

.step-node {
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 0 1rem;
}

.node-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--green-mint);
  color: var(--green-dark);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-node strong {
  display: block;
  font-size: 0.95rem;
}

.step-node span {
  font-size: 0.8rem;
  color: var(--muted);
}

.step-connector {
  flex-grow: 1;
  height: 2px;
  background: #e1e8e4;
  margin: 0 -1rem;
  transform: translateY(-20px);
}

/* ==========================================================================
   Contact Banner & Footer
   ========================================================================== */
.contact-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-darkest) 100%);
  color: var(--white);
  padding: 5rem 0;
}

.banner-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.banner-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.banner-text p {
  color: #b9ccc3;
  margin: 0;
}

.site-footer {
  background: var(--green-darkest);
  color: #92a69d;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.footer-logo {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .banner-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .step-node {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    padding: 0;
  }

  .node-icon {
    margin: 0;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }
}