/* ==========================================================================
   AiMarketFrog — Custom theme layered on Bootstrap 5
   Palette: green + white, clean / minimal / premium
   ========================================================================== */

:root {
  --brand-50:  #edfaf1;
  --brand-100: #d3f4dd;
  --brand-200: #a8e8bd;
  --brand-300: #74d698;
  --brand-400: #43bf74;
  --brand-500: #21a559;   /* primary */
  --brand-600: #158247;
  --brand-700: #12673a;
  --brand-800: #115231;
  --brand-900: #0d3f26;

  --ink-900: #0e1a14;
  --ink-700: #223229;
  --ink-500: #4b5b52;
  --ink-300: #8a978f;

  --surface: #ffffff;
  --surface-2: #f6faf7;
  --surface-3: #eef4f0;
  --line: #e4ece7;

  --shadow-sm: 0 1px 2px rgba(13, 63, 38, .06), 0 1px 3px rgba(13, 63, 38, .08);
  --shadow-md: 0 8px 24px rgba(13, 63, 38, .08);
  --shadow-lg: 0 24px 60px rgba(13, 63, 38, .12);

  --radius-sm: .6rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', var(--font-sans);
}

/* ---------- Base ---------- */
* { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -.02em;
}

p { color: var(--ink-500); }

a { color: var(--brand-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-700); }

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-surface-2 { background: var(--surface-2); }
.bg-surface-3 { background: var(--surface-3); }

.text-brand { color: var(--brand-600) !important; }
.text-ink { color: var(--ink-900) !important; }
.text-muted-2 { color: var(--ink-300) !important; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.lead-max { max-width: 620px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 600; border-radius: var(--radius-pill); padding: .7rem 1.5rem; transition: all .2s ease; }
.btn-lg { padding: .9rem 2rem; }

.btn-brand {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  box-shadow: 0 8px 20px rgba(33, 165, 89, .25);
}
.btn-brand:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(33, 165, 89, .32); }

.btn-outline-brand { border: 1.5px solid var(--brand-200); color: var(--brand-700); background: #fff; }
.btn-outline-brand:hover { background: var(--brand-50); border-color: var(--brand-400); color: var(--brand-700); }

.btn-ghost { color: var(--ink-700); background: transparent; }
.btn-ghost:hover { background: var(--surface-3); color: var(--ink-900); }

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: .8rem;
  padding-bottom: .8rem;
}
.navbar-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-900); display: flex; align-items: center; gap: .55rem; }
.navbar-brand:hover { color: var(--ink-900); }
.navbar-brand img { height: 34px; width: 34px; }
.navbar .nav-link { font-weight: 500; color: var(--ink-700); padding: .5rem .9rem !important; border-radius: var(--radius-pill); }
.navbar .nav-link:hover { color: var(--brand-700); background: var(--brand-50); }
.navbar .nav-link.active { color: var(--brand-700); background: var(--brand-50); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 6.5rem 0 5rem;
  background:
    radial-gradient(1000px 500px at 80% -10%, var(--brand-50), transparent 60%),
    radial-gradient(800px 400px at 0% 10%, #f0fbf4, transparent 55%);
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.08; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-700); font-weight: 500; font-size: .85rem;
  padding: .45rem 1rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); }

.hero-visual {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }

.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

/* step numbers */
.step-num {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-500); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  box-shadow: 0 8px 18px rgba(33,165,89,.25);
}

/* logos strip */
.logo-strip { filter: grayscale(1); opacity: .55; }
.logo-strip span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink-500); }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border: 1.5px solid var(--brand-400);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-500); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(33,165,89,.3);
}
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink-900); line-height: 1; }
.price-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.price-list li { display: flex; align-items: flex-start; gap: .65rem; padding: .5rem 0; color: var(--ink-700); }
.price-list li svg, .price-list li .tick { color: var(--brand-500); flex: 0 0 20px; margin-top: 2px; }
.price-list li.muted { color: var(--ink-300); }
.price-list li.muted .tick { color: var(--ink-300); }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); height: 100%; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-600), var(--brand-500) 55%, var(--brand-400));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }

/* ---------- Legal / long-form pages ---------- */
.legal-page { max-width: 820px; }
.legal-page h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal-page h3 { font-size: 1.12rem; margin-top: 1.6rem; }
.legal-page ul { color: var(--ink-500); }
.page-head { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 3.5rem 0; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  padding: .75rem 1rem;
  color: var(--ink-900);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 .2rem rgba(33, 165, 89, .15);
}
.form-label { font-weight: 600; color: var(--ink-700); font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: #cdd8d1; padding: 4rem 0 2rem; }
.footer a { color: #b6c4bc; }
.footer a:hover { color: #fff; }
.footer .footer-brand { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: .55rem; }
.footer .footer-brand img { height: 30px; width: 30px; }
.footer h6 { color: #fff; font-family: var(--font-display); letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.footer .list-unstyled li { margin-bottom: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .88rem; color: #90a096; }
.social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-grid; place-items: center; color: #cdd8d1; transition: background .2s ease, color .2s ease; }
.social-link:hover { background: var(--brand-500); color: #fff; }

/* ---------- FAQ ---------- */
.accordion-button { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); }
.accordion-button:not(.collapsed) { background: var(--brand-50); color: var(--brand-700); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(33,165,89,.15); }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }

/* ---------- Misc ---------- */
.divider-soft { height: 1px; background: var(--line); border: 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--brand-600); }
.badge-soft { background: var(--brand-50); color: var(--brand-700); font-weight: 600; border-radius: var(--radius-pill); padding: .3rem .8rem; }

@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4.5rem 0 3rem; }
  .cta-band { padding: 2.2rem; }
}
