/* ============================================================
   NicheFlow — Landing Page Styles
   Palette: Forest Green (#1a5c38) + Warm Amber (#d4a043) + Cream (#faf8f4)
   ============================================================ */

:root {
  --green:       #1a5c38;
  --green-dark:  #124029;
  --green-light: #e8f4ed;
  --amber:       #d4a043;
  --amber-light: #fdf3e0;
  --cream:       #faf8f4;
  --white:       #ffffff;
  --text:        #1c1a17;
  --text-muted:  #6b7280;
  --border:      #e5e0d8;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  font-family: inherit;
}

.btn-sm  { padding: 8px 18px;  font-size: 14px; }
.btn-md  { padding: 12px 24px; font-size: 15px; }
.btn-lg  { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,92,56,0.3); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--white); border-color: var(--text-muted); }

/* ---- TYPOGRAPHY HELPERS ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--text);
  margin-bottom: 16px;
}

.accent { color: var(--green); }

/* ---- LOGO ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---- NAVIGATION ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--white); }

/* ---- HERO ---- */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, #f0f7f2 0%, var(--cream) 60%);
}
.hero-inner { text-align: center; }

.hero-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-niches {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-niches span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

/* ---- PROBLEM / SOLUTION ---- */
.problem-solution {
  padding: 96px 0;
  background: var(--white);
}

.ps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.problem-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.problem-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.solution-banner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 40px 48px;
  border-radius: var(--radius-lg);
}
.solution-icon { font-size: 2.5rem; flex-shrink: 0; }
.solution-banner h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--white); }
.solution-banner p { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.7; }

/* ---- FEATURES ---- */
.features {
  padding: 96px 0;
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-card--highlight { border-color: var(--green); border-width: 2px; }

.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin-bottom: 20px; }

.feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---- PRICING ---- */
.pricing {
  padding: 96px 0;
  background: var(--white);
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.pricing-card--featured {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: 0 8px 40px rgba(26,92,56,0.15);
}

.plan-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.plan-price { margin-bottom: 8px; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--text); }
.price-period { font-size: 1rem; color: var(--text-muted); }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.plan-features { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 14px; color: var(--text); }
.plan-features li::before { display: none; }

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 32px;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 96px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--amber); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
blockquote { color: var(--text); font-size: 15px; line-height: 1.75; margin-bottom: 28px; font-style: italic; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.author-title { color: var(--text-muted); font-size: 12px; }

/* ---- NICHES SECTION ---- */
.niches-section {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin: 48px 0 32px;
}
.niche-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
}
.niche-item:hover { background: var(--green-light); border-color: var(--green); transform: translateY(-2px); }
.niche-item span { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.niche-item div { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.niches-note { color: var(--text-muted); font-size: 16px; }

/* ---- FINAL CTA ---- */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  text-align: center;
  color: var(--white);
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: 20px; }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.final-cta .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--text); }
.final-cta .btn-primary:hover { background: #c08c30; border-color: #c08c30; }

/* ---- FOOTER ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand .logo-mark { background: var(--amber); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 240px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero { padding: 56px 0; }
  .hero-headline { font-size: 2.25rem; }

  .solution-banner { flex-direction: column; padding: 32px 24px; }

  .features-grid,
  .pricing-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

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

  .niches-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .footer-links { grid-template-columns: 1fr; }
}
