/* ================================================
   NF CONNECT — SHARED STYLESHEET
   Bootstrap 5.3 + Custom Design System
   Aesthetic: Organic / Earthy / Natural
   Fonts: Playfair Display + DM Sans (loaded via <link> in HTML)
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green-900: #0f2d1c;
  --green-800: #1a3d2b;
  --green-700: #1e5c3a;
  --green-600: #2d7a50;
  --green-500: #3a9e68;
  --green-400: #6fcf97;
  --green-100: #e8f5ee;
  --green-50:  #f0faf4;
  --cream:     #faf7f2;
  --cream-dark:#f2ece0;
  --earth:     #8b6914;
  --text-dark: #1a2a1e;
  --text-mid:  #3d5442;
  --text-muted:#6b8070;
  --shadow-sm: 0 2px 12px rgba(15,45,28,.08);
  --shadow-md: 0 8px 28px rgba(15,45,28,.12);
  --shadow-lg: 0 16px 48px rgba(15,45,28,.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Navbar ---------- */
.nf-navbar {
  background: rgba(250, 247, 242, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 92, 58, .1);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  transition: box-shadow .3s ease;
}

.nf-navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nf-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.nf-brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-800);
  line-height: 1.15;
}

.nf-brand-text .brand-tagline {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.nf-nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-mid) !important;
  border-radius: 50px;
  padding: 8px 18px !important;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nf-nav-link:hover,
.nf-nav-link.active {
  background: var(--green-100) !important;
  color: var(--green-700) !important;
}

.btn-nav-login {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--green-700);
  border: 2px solid var(--green-400);
  border-radius: 50px;
  padding: 7px 20px;
  transition: all .2s;
}

.btn-nav-login:hover {
  background: var(--green-100);
  color: var(--green-700);
  border-color: var(--green-500);
}

.btn-nav-register {
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--green-700);
  color: #fff;
  border: 2px solid var(--green-700);
  border-radius: 50px;
  padding: 7px 20px;
  transition: all .2s;
}

.btn-nav-register:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(140deg, var(--green-800) 0%, var(--green-600) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(111,207,151,.12) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-leaf {
  position: absolute;
  font-size: 14rem;
  opacity: 0.04;
  bottom: -40px;
  right: -30px;
  pointer-events: none;
  line-height: 1;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 5px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Section Helpers ---------- */
.eyebrow {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-600);
  border: 1px solid rgba(30,92,58,.15);
  border-radius: 50px;
  padding: 5px 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--green-800);
  line-height: 1.2;
}

.section-title-white {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.2;
}

.lead-muted {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ---------- Homepage Hero ---------- */
.home-hero {
  background: linear-gradient(160deg, var(--green-50) 0%, var(--cream) 70%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,207,151,.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-600);
  border: 1px solid rgba(30,92,58,.2);
  border-radius: 50px;
  padding: 6px 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--green-800);
  line-height: 1.12;
}

.hero-headline .accent {
  color: var(--green-600);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 500px;
}

.stat-block .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}

.stat-block .lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Audience grid pills */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.audience-pill {
  background: #fff;
  border: 1.5px solid rgba(30,92,58,.1);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: default;
}

.audience-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-400);
}

.audience-pill .p-icon { font-size: 1.9rem; flex-shrink: 0; }
.audience-pill .p-name { font-weight: 700; font-size: 0.88rem; color: var(--green-800); line-height: 1.2; }
.audience-pill .p-role { font-size: 0.73rem; color: var(--text-muted); }

/* ---------- Aim Cards ---------- */
.aim-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  height: 100%;
  transition: background .25s, transform .25s;
}

.aim-card:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }

.aim-icon { font-size: 2.4rem; margin-bottom: 14px; }

.aim-card h5 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.aim-card p { font-size: 0.875rem; color: rgba(255,255,255,.72); margin: 0; line-height: 1.7; }

/* ---------- Explore Cards ---------- */
.explore-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  height: 100%;
  border: 2px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}

.explore-card::before {
  content: attr(data-icon);
  position: absolute;
  bottom: -10px;
  right: -10px;
  font-size: 6rem;
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
}

.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30,92,58,.2);
}

.explore-icon { font-size: 2.5rem; margin-bottom: 16px; }
.explore-card h5 { font-family: 'Playfair Display', serif; color: var(--green-700); margin-bottom: 10px; }
.explore-card p { font-size: 0.865rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.explore-card .go-link { font-size: 0.84rem; font-weight: 700; color: var(--green-600); }

/* ---------- NF Footer ---------- */
.nf-footer {
  background: var(--green-800);
}

.footer-brand { font-family: 'Playfair Display', serif; font-weight: 700; color: #fff; font-size: 1.15rem; }
.footer-desc  { color: rgba(255,255,255,.45); font-size: 0.845rem; line-height: 1.7; }
.footer-head  { color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 16px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 0.875rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--green-400); }

.footer-divider { border-color: rgba(255,255,255,.1) !important; }
.footer-copy    { color: rgba(255,255,255,.35); font-size: 0.8rem; text-align: center; }

/* ---------- Learn Page ---------- */
.learn-tabs-sticky {
  background: #fff;
  border-bottom: 2px solid var(--green-100);
  position: sticky;
  top: 68px;
  z-index: 40;
  overflow-x: auto;
  scrollbar-width: none;
}
.learn-tabs-sticky::-webkit-scrollbar { display: none; }

.learn-tabs-inner { display: flex; min-width: max-content; }

.lt-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 15px 24px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.lt-btn:hover { color: var(--green-600); }
.lt-btn.active { color: var(--green-700); border-bottom-color: var(--green-600); }

.learn-panel { display: none; }
.learn-panel.active { display: block; }

.learn-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.learn-content h2 { color: var(--green-800); margin-bottom: 20px; font-size: 2rem; }
.learn-content h4 { color: var(--green-700); font-size: 1.2rem; margin-top: 36px; margin-bottom: 14px; }
.learn-content p  { color: var(--text-mid); line-height: 1.85; }
.learn-content li { color: var(--text-mid); line-height: 1.85; margin-bottom: 6px; }

.highlight-box {
  background: var(--green-100);
  border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.highlight-box p { margin: 0; color: var(--green-800); font-weight: 500; }

/* NF Input cards */
.nf-input-card {
  background: #fff;
  border: 1.5px solid rgba(30,92,58,.1);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}

.nf-input-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.nf-input-card .card-cat-icon { font-size: 2rem; margin-bottom: 12px; }
.nf-input-card h6 {
  font-family: 'Playfair Display', serif;
  color: var(--green-700);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--green-100);
}
.nf-input-card ul { padding-left: 0; margin: 0; list-style: none; }
.nf-input-card li {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 5px 0;
  border-bottom: 1px solid var(--green-100);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.nf-input-card li:last-child { border-bottom: none; }
.nf-input-card li::before { content: '·'; color: var(--green-500); font-weight: 900; flex-shrink: 0; }

/* ---------- Marketplace ---------- */
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.fp-btn {
  background: #fff;
  border: 2px solid rgba(30,92,58,.18);
  border-radius: 50px;
  padding: 8px 22px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.845rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
}

.fp-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.fp-btn.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.product-card {
  background: #fff;
  border: 1.5px solid rgba(30,92,58,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.product-thumb {
  height: 180px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid var(--green-100);
  position: relative;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: var(--green-600);
  border: 1px solid rgba(30,92,58,.18);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 0.7rem;
  font-weight: 700;
}

.product-body { padding: 18px; }
.product-body h6 { font-family: 'Playfair Display', serif; color: var(--text-dark); font-size: 0.95rem; margin-bottom: 4px; }
.product-body .seller { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.product-body .price { font-size: 1.1rem; font-weight: 700; color: var(--green-700); font-family: 'Playfair Display', serif; }

.btn-buy {
  display: block;
  width: 100%;
  background: var(--green-700);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 9px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.845rem;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
  margin-top: 14px;
}

.btn-buy:hover { background: var(--green-800); color: #fff; }

/* ---------- Community ---------- */
.comm-card {
  background: #fff;
  border: 2px solid rgba(30,92,58,.08);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}

.comm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.comm-card .comm-icon { font-size: 3.5rem; margin-bottom: 18px; }
.comm-card h4 { font-family: 'Playfair Display', serif; color: var(--green-800); margin-bottom: 12px; }
.comm-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }

.comm-qr {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto 18px;
}

.comm-info-box {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: left;
  margin-bottom: 22px;
}

.comm-info-box .ci-title { font-weight: 700; font-size: 0.87rem; margin-bottom: 3px; }
.comm-info-box .ci-sub   { font-size: 0.78rem; color: var(--text-muted); }

.btn-whatsapp {
  display: block;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-whatsapp:hover { background: #1fb358; color: #fff; transform: scale(1.02); }

.btn-youtube {
  display: block;
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-youtube:hover { background: #aa0000; color: #fff; transform: scale(1.02); }

/* ---------- About ---------- */
.founder-card {
  background: #fff;
  border: 1.5px solid rgba(30,92,58,.1);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}

.founder-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.founder-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 5px solid var(--green-400);
  display: block;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(111,207,151,.3);
}

.founder-card .f-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green-800);
  margin-bottom: 4px;
}

.founder-card .f-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.founder-card .f-bio {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  text-align: left;
  margin-bottom: 24px;
}

.skill-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  border: 1px solid rgba(30,92,58,.15);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.73rem;
  font-weight: 700;
  margin: 4px;
}

/* ---------- Value Cards ---------- */
.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  border: 1.5px solid rgba(30,92,58,.07);
}
.value-card .v-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h5 { font-family: 'Playfair Display', serif; color: var(--green-700); margin-bottom: 10px; font-size: 1.05rem; }
.value-card p { font-size: 0.865rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ---------- Auth Pages ---------- */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
}

.auth-panel-left {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-600) 100%);
  width: 42%;
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.auth-panel-left::after {
  content: '🌾';
  position: absolute;
  font-size: 15rem;
  bottom: -60px;
  right: -50px;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.auth-panel-right {
  flex: 1;
  background: var(--cream);
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.auth-form-wrap { max-width: 480px; width: 100%; margin: 0 auto; }

.auth-left-title {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.auth-left-desc { color: rgba(255,255,255,.65); font-size: 0.9rem; line-height: 1.75; margin-bottom: 36px; }

.auth-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.auth-benefit .ab-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.auth-benefit .ab-text { font-size: 0.87rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.auth-benefit .ab-text strong { color: #fff; }

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--green-800);
  margin-bottom: 6px;
}
.form-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px; }

.nf-form-group { margin-bottom: 20px; }

.nf-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}

.nf-input {
  width: 100%;
  border: 2px solid rgba(30,92,58,.15) !important;
  border-radius: var(--radius-sm) !important;
  padding: 13px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  color: var(--text-dark) !important;
  background: #fff !important;
  transition: border-color .2s, box-shadow .2s !important;
  outline: none !important;
}
.nf-input:focus {
  border-color: var(--green-400) !important;
  box-shadow: 0 0 0 4px rgba(111,207,151,.15) !important;
}
.nf-input.is-invalid { border-color: #dc3545 !important; box-shadow: none !important; }

.nf-input-group {
  display: flex;
  gap: 10px;
}
.nf-input-group .nf-input { flex: 1; min-width: 0; }

.btn-otp {
  background: var(--green-100);
  border: 2px solid var(--green-400);
  border-radius: var(--radius-sm) !important;
  padding: 13px 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
  color: var(--green-700);
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.btn-otp:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn-otp:disabled { opacity: .5; cursor: not-allowed; }

.pw-wrap {
  position: relative;
}
.pw-wrap .nf-input { padding-right: 48px !important; }
.pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  padding: 2px;
}
.pw-toggle:hover { color: var(--green-700); }

.err-msg { display: none; font-size: 0.78rem; color: #dc3545; margin-top: 5px; font-weight: 600; }
.err-msg.show { display: block; }

.pw-rules {
  background: var(--green-50);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.pw-rule { display: flex; align-items: center; gap: 7px; }
.pw-rule .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(30,92,58,.2); flex-shrink: 0; transition: background .2s; }
.pw-rule.met .dot { background: var(--green-500); }
.pw-rule.met { color: var(--green-600); }

.nf-id-reveal {
  display: none;
  background: var(--green-100);
  border: 2px dashed var(--green-400);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 22px 0;
}
.nf-id-reveal.show { display: block; }
.nf-id-reveal .nf-id-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; }
.nf-id-reveal .nf-id-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-800);
  letter-spacing: 0.04em;
}
.nf-id-reveal .nf-id-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; }

.btn-submit {
  width: 100%;
  background: var(--green-700);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--green-800); transform: scale(1.01); }

.auth-link { font-size: 0.875rem; color: var(--text-muted); text-align: center; margin-top: 20px; }
.auth-link a { color: var(--green-600); font-weight: 700; text-decoration: none; }
.auth-link a:hover { color: var(--green-700); text-decoration: underline; }

.login-mode-toggle {
  background: none;
  border: none;
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  transition: color .2s;
}
.login-mode-toggle:hover { color: var(--green-800); text-decoration: underline; }

.divider-text {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(30,92,58,.12);
}

/* ---------- Toast ---------- */
#nf-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
#nf-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  padding: 64px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .auth-panel-left  { display: none; }
  .auth-panel-right { padding: 48px 32px; }
  .auth-form-wrap   { max-width: 100%; }
}

@media (max-width: 767.98px) {
  .learn-content   { padding: 40px 16px 60px; }
  .comm-card       { padding: 32px 22px; }
  .founder-card    { padding: 36px 24px; }
  .auth-panel-right{ padding: 40px 20px; }
}

@media (max-width: 575.98px) {
  .hero-headline { font-size: 2rem; }
  .audience-grid { grid-template-columns: 1fr; }
}

/* ---------- Additional Polish & Fixes ---------- */

/* Smooth scroll for all anchor links */
html { scroll-behavior: smooth; }

/* Prevent Bootstrap from overriding our body background */
body { background-color: var(--cream) !important; }

/* Fix Bootstrap navbar-toggler border showing */
.navbar-toggler:focus { box-shadow: none !important; outline: none !important; }

/* Ensure all page sections have proper width */
section, .page-hero, .home-hero { width: 100%; }

/* Footer logo consistent sizing */
.nf-footer .nf-brand-logo { width: 40px; height: 40px; }

/* Learn tab bar scroll on mobile */
.learn-tabs-sticky { -webkit-overflow-scrolling: touch; }

/* Product grid equal height fix */
#productsGrid .product-item { display: flex; }
#productsGrid .product-item .product-card { flex: 1; display: flex; flex-direction: column; }
#productsGrid .product-item .product-body { flex: 1; display: flex; flex-direction: column; }
#productsGrid .product-item .product-body .btn-buy { margin-top: auto; }

/* Founder photo fallback if image missing */
.founder-photo { background: var(--green-100); }

/* Fix Bootstrap form-select not styled */
select.nf-input { appearance: auto; }

/* Auth panel right scrollable on short screens */
@media (max-height: 700px) {
  .auth-panel-right { padding: 30px 32px; }
}

/* Ensure hero section min height works correctly */
@media (max-width: 991.98px) {
  .home-hero { min-height: auto; padding: 60px 0; }
}

/* Fix gap between cards on small screens */
@media (max-width: 575.98px) {
  .audience-grid { gap: 10px; }
  .aim-card { padding: 22px 16px; }
  .comm-card { padding: 28px 18px; }
  .founder-card { padding: 28px 18px; }
  .explore-card { padding: 24px 20px; }
}

/* Visually highlight required field labels */
.nf-form-group label .req {
  color: #e53935;
  margin-left: 2px;
}

/* Smooth link transitions site-wide */
a { transition: color .2s, opacity .2s; }

/* Print styles - hide nav/footer */
@media print {
  .nf-navbar, footer, .cta-banner { display: none !important; }
  body { background: white !important; }
}

/* ---------- How It Works (Homepage) ---------- */
.how-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-100);
  line-height: 1;
  margin-bottom: 10px;
}
.how-step-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.how-step-title {
  font-family: 'Playfair Display', serif;
  color: var(--green-800);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.how-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.how-step-arrow {
  font-size: 1.8rem;
  color: var(--green-300, #a8e4c0);
  padding: 0 8px;
  flex-shrink: 0;
}

/* ---------- Feature Pills (Homepage) ---------- */
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid rgba(30,92,58,.15);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.845rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* ================================================
   SCROLL ANIMATIONS — IntersectionObserver
   ================================================ */
.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.anim-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ================================================
   NAVBAR — Enhanced scrolled state
   ================================================ */
.nf-navbar {
  transition: box-shadow .3s ease, background .3s ease;
}
.nf-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15,45,28,.10) !important;
  border-bottom-color: rgba(30,92,58,.15) !important;
}

/* ================================================
   HOME HERO — Larger min-height on desktop
   ================================================ */
@media (min-width: 992px) {
  .home-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
  }
}

/* ================================================
   AIM CARDS — Hover lift effect
   ================================================ */
.aim-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  transition: background .25s, transform .25s;
  height: 100%;
}
.aim-card:hover { background: rgba(255,255,255,.16); transform: translateY(-4px); }
.aim-icon  { font-size: 2.4rem; margin-bottom: 14px; }
.aim-card h5 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.aim-card p  { color: rgba(255,255,255,.65); font-size: 0.875rem; line-height: 1.75; margin: 0; }

/* ================================================
   EXPLORE CARDS — Rich hover
   ================================================ */
.explore-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1.5px solid rgba(30,92,58,.1);
  border-radius: var(--radius-lg, 20px);
  padding: 32px 26px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 100%;
  cursor: pointer;
}
.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-400);
  text-decoration: none;
}
.explore-icon { font-size: 2.4rem; margin-bottom: 16px; }
.explore-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--green-800);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.explore-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.75; flex: 1; margin-bottom: 20px; }
.go-link { font-size: 0.845rem; font-weight: 700; color: var(--green-600); margin-top: auto; }
.explore-card:hover .go-link { color: var(--green-700); }

/* ================================================
   COMMUNITY PAGE — Why Join strip
   ================================================ */
.comm-why-strip {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  padding: 52px 0;
}
.comm-why-item { text-align: center; padding: 16px; }
.comm-why-icon { font-size: 2.2rem; margin-bottom: 10px; }
.comm-why-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.comm-why-desc  { color: rgba(255,255,255,.65); font-size: 0.845rem; line-height: 1.65; margin: 0; }

/* ================================================
   ABOUT PAGE — Story / Timeline section
   ================================================ */
.story-timeline { position: relative; padding-left: 28px; }
.story-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-400), var(--green-100));
}
.story-item {
  position: relative;
  padding: 0 0 36px 28px;
}
.story-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--green-400);
}
.story-year {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 4px;
}
.story-item h6 {
  font-family: 'Playfair Display', serif;
  color: var(--green-800);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.story-item p { font-size: 0.845rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ================================================
   STAT COUNTERS — Homepage hero stats
   ================================================ */
.stat-block .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--green-800);
  line-height: 1;
}
.stat-block .lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================================================
   FOUNDER CARD — Enhanced
   ================================================ */
.founder-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green-100);
  margin: 0 auto 18px;
  display: block;
  box-shadow: var(--shadow-sm);
}
.f-name { font-family: 'Playfair Display', serif; color: var(--green-800); font-size: 1.25rem; text-align: center; margin-bottom: 4px; }
.f-role { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--green-500); text-align: center; margin-bottom: 20px; }
.f-bio  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.skill-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 3px 2px;
}

/* ================================================
   COMM CARD — Enhanced
   ================================================ */
.comm-card {
  background: #fff;
  border: 1.5px solid rgba(30,92,58,.1);
  border-radius: var(--radius-lg, 20px);
  padding: 40px 32px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.comm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.comm-card-icon { font-size: 2.5rem; margin-bottom: 14px; }
.comm-card h5 { font-family: 'Playfair Display', serif; color: var(--green-800); font-size: 1.2rem; margin-bottom: 8px; }
.comm-card p  { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.btn-whatsapp, .btn-youtube {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all .2s;
  margin-bottom: 16px;
}
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }
.btn-youtube  { background: #ff0000; color: #fff; }
.btn-youtube:hover  { background: #cc0000; color: #fff; }
