/* ── SproutedStocks shared styles ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:         #eef7ee;
  --green-dark: #2e7d32;
  --green-mid:  #4caf50;
  --green-light:#dff0df;
  --gold:       #a67c2e;
  --text:       #1a1a1a;
  --muted:      #666;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 2px 16px rgba(0,0,0,0.07);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid #e0ece0;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span { color: var(--green-mid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 0.25rem; cursor: pointer;
}
.nav-chevron {
  font-size: 0.58rem;
  transition: transform 0.2s ease;
  display: inline-block;
  opacity: 0.55;
  line-height: 1;
  margin-top: 1px;
}
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.11);
  min-width: 205px;
  padding: 0.4rem 0;
  border: 1px solid #e8f0e8;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.58rem 0.9rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  transition: background 0.12s;
  white-space: nowrap;
  border-radius: 8px;
  margin: 0.08rem 0.3rem;
}
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--green-dark); }
.nav-dropdown-menu .menu-badge {
  font-size: 0.58rem; font-weight: 700; text-transform: uppercase;
  background: #fff8e6; color: var(--gold); border: 1px solid #ffe082;
  padding: 0.08rem 0.35rem; border-radius: 8px; margin-left: auto; letter-spacing: 0.2px;
}
.nav-dropdown-menu hr { border: none; border-top: 1px solid #f0f4f0; margin: 0.2rem 0.4rem; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover { background: #1b5e20; }

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-outline:hover { background: var(--green-light); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #8a6424; }

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* ── FOOTER ── */
footer {
  margin-top: auto;
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: var(--white); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ── PREMIUM MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.modal h2 {
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.modal p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }

.modal-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--muted);
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-premium { background: #fff3cd; color: var(--gold); border: 1px solid #ffe082; }
.badge-free    { background: var(--green-light); color: var(--green-dark); border: 1px solid #c8e6c9; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
section { padding: 4rem 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ── HAMBURGER / MOBILE NAV ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 201;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 98;
  flex-direction: column;
  padding: 1.5rem 2rem 3rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--green-dark); }
.mobile-nav .mobile-sub {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding-left: 1rem;
}
.mobile-nav-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-actions .btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.85rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none !important; }
  .nav-burger { display: flex; }
}
