/* BOPPE Landing Page — Theme CSS */

:root {
  --green-deep: #1a4d2e;
  --green-mid: #2d7a4a;
  --green-light: #4a9960;
  --amber: #e8a838;
  --amber-light: #f5c56d;
  --cream: #faf8f2;
  --cream-dark: #f0ead6;
  --charcoal: #1c1c1c;
  --text-body: #3a3a3a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
}

/* ─── Base ─── */
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--charcoal);
  line-height: 1.15;
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 77, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.12em;
}

.nav-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ─── Section shared ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

/* ─── Hero ─── */
.hero {
  background: var(--green-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(232, 168, 56, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(45, 122, 74, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-accent {
  color: var(--amber);
  font-style: italic;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(232, 168, 56, 0.4);
  border-radius: 999px;
  color: var(--amber-light);
  letter-spacing: 0.03em;
}

/* Hero illustration — CSS ecosystem diagram */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-diagram {
  position: relative;
  width: 280px;
  height: 280px;
}

.eco-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(232, 168, 56, 0.2), 0 0 0 16px rgba(232, 168, 56, 0.08);
}

.eco-center-icon { opacity: 0.8; }
.eco-center-label { margin-top: 2px; }

.eco-orbit {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
}

.eco-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-align: center;
  width: 80px;
}

.node-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(232, 168, 56, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  backdrop-filter: blur(4px);
}

.node-1 { top: -4px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 12%; right: -4px; }
.node-3 { bottom: 12%; right: -4px; }
.node-4 { bottom: -4px; left: 50%; transform: translateX(-50%); }
.node-5 { bottom: 12%; left: -4px; }
.node-6 { top: 12%; left: -4px; }

.eco-arcs {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  color: rgba(232, 168, 56, 0.25);
}

.hero-bottom-bar {
  background: rgba(0,0,0,0.25);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
}

.divider-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(232, 168, 56, 0.5);
  flex-shrink: 0;
}

/* ─── Ecosystem ─── */
.ecosystem {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.eco-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 77, 46, 0.1);
}

.eco-card--primary {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

.eco-card--primary h3 { color: var(--amber); }
.eco-card--primary p { color: rgba(255,255,255,0.8); }

.eco-card-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.eco-card--primary .eco-card-number { color: rgba(232, 168, 56, 0.25); }

.eco-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.eco-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── Process ─── */
.process {
  background: var(--cream-dark);
  padding: 6rem 2rem;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.process-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.process-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-top: 2px;
}

.feature-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Flow diagram */
.process-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--cream-dark);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid transparent;
}

.flow-step--active {
  background: var(--green-deep);
  color: var(--white);
}

.flow-step--active .flow-content strong { color: var(--amber); }
.flow-step--active .flow-content span { color: rgba(255,255,255,0.7); }

.flow-number {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-deep);
}

.flow-step--active .flow-number {
  background: var(--amber);
  color: var(--green-deep);
}

.flow-content {
  display: flex;
  flex-direction: column;
}

.flow-content strong {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.flow-content span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--green-light);
  padding: 0.5rem 0;
}

/* ─── Principles ─── */
.principles {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--cream-dark);
}

.principle {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.principle-marker {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.principle h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.principle p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ─── Stats ─── */
.stats {
  background: var(--green-deep);
  padding: 5rem 2rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ─── Closing ─── */
.closing {
  background: var(--cream-dark);
  padding: 6rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--green-deep);
}

.closing-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── Footer ─── */
.footer {
  background: var(--charcoal);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 2rem;
  }

  .hero-illustration { display: none; }

  .hero-sub { max-width: 100%; }

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

  .ecosystem { padding: 4rem 1.5rem; }

  .process-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process { padding: 4rem 1.5rem; }

  .stats-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .principles { padding: 4rem 1.5rem; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-info { align-items: flex-start; }

  .nav-tagline { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .eco-diagram { transform: scale(0.8); }
}