/* ═══════════════════════════════════════════
   Young Grasshopper — Design System v2.0
   Dark premium theme matching Mission Control
   ═══════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&display=swap');

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

/* ── Colors ── */
:root {
  --bg-primary: #080c08;
  --bg-secondary: #0a0f0a;
  --bg-card: #0d150d;
  --bg-card-hover: #111a11;
  --border-subtle: #151f15;
  --border-card: #1a2a1a;
  --text-primary: #e0e8e0;
  --text-secondary: #b0c0b0;
  --text-muted: #8aaa8a;
  --text-dim: #5a7a5a;
  --accent-green: #6da36d;
  --accent-green-dim: #3a5a3a;
  --gold: #d4af37;
  --gold-dark: #b8962e;
  --gold-gradient: linear-gradient(135deg, #d4af37, #b8962e);
  --danger: #c06060;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 20px 60px rgba(0,0,0,0.3);
  --transition: all 0.3s ease;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-green-dim); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
  line-height: 1.2;
}
.gold { color: var(--gold); }
.green { color: var(--accent-green); }
.muted { color: var(--text-muted); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(8,12,8,0.95) 0%, rgba(8,12,8,0.7) 60%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo small {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }
.nav-links .btn-nav {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.nav-links .btn-nav:hover {
  background: var(--gold);
  color: var(--bg-primary);
}
.nav-links .btn-nav::after { display: none; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}
.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Section Base ── */
section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
}
.section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 700px;
  font-weight: 300;
}

/* ── Section Divider ── */
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}
.divider.green { background: linear-gradient(90deg, transparent, var(--accent-green), transparent); }

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 140px 48px;
  background: linear-gradient(180deg, var(--bg-primary), #0d1a0d);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(93, 137, 93, 0.03) 0%, transparent 50%);
  animation: bgSpin 20s linear infinite;
  pointer-events: none;
}
@keyframes bgSpin { to { transform: rotate(360deg); } }
.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

/* ── CTA Buttons in CTA Section ── */
.cta-section .btn-primary {
  position: relative;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid rgba(93, 137, 93, 0.05);
}
footer p {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  line-height: 2;
}
footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}
footer a:hover { color: var(--gold); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Card Styles ── */
.card {
  background: linear-gradient(145deg, var(--bg-card-hover), var(--bg-card));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-card);
}

/* ── Hero Base ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  max-width: none;
}

/* ── Page Hero (inner pages — smaller) ── */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 48px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d1a0d, var(--bg-primary));
}
.page-hero h1 {
  font-size: 52px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.page-hero .hero-bg-icon {
  position: absolute;
  font-size: 300px;
  opacity: 0.03;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

/* ── Tagline Grid (2-column content) ── */
.tagline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Scroll animation for page sections ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Pill tags ── */
.pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 100px;
  background: rgba(109, 163, 109, 0.1);
  border: 1px solid rgba(109, 163, 109, 0.2);
  color: var(--accent-green);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .nav-links .btn-nav { padding: 8px 16px; font-size: 12px; }
  .mobile-menu-btn { display: block; }
  section { padding: 60px 20px; }
  .section-title { font-size: 28px; }
  .tagline-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 120px 20px 60px; }
  .page-hero h1 { font-size: 32px; }
  .cta-section { padding: 80px 20px; }
  .cta-section h2 { font-size: 32px; }
}