/* ============================================================
   Growth Hub — styles
   ============================================================ */
:root {
  --ink:        #16162e;
  --body:       #565574;
  --bg:         #ffffff;
  --bg-soft:    #fbf6f9;
  --accent:     #e5317f;
  --accent-dk:  #c41f67;
  --accent-soft:#fce7f1;
  --gold:       #ffb400;
  --border:     #ececf2;
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 50px -20px rgba(34, 18, 40, .25);
  --shadow-sm:  0 8px 24px -12px rgba(34, 18, 40, .22);
  --maxw:       1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(229,49,127,.7); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(229,49,127,.7); }
.btn-light { background: #fff; color: var(--accent-dk); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.25); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--accent); color: #fff; border-radius: 10px;
  font-weight: 800; font-size: 1.1rem;
}
.brand-name { font-size: 1.15rem; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background:
  radial-gradient(1100px 480px at 78% -8%, var(--accent-soft) 0%, rgba(252,231,241,0) 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dk);
  background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.accent-text { color: var(--accent); }
.lede { font-size: 1.18rem; margin-top: 20px; max-width: 30ch; }

.signup { display: flex; gap: 10px; margin-top: 30px; max-width: 440px; }
.signup input {
  flex: 1; min-width: 0; padding: 14px 18px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: 999px; color: var(--ink); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.signup input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.trust { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.tags { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.tags li {
  font-size: .85rem; font-weight: 600; color: var(--ink);
  background: #f4f1f5; padding: 6px 14px; border-radius: 999px;
}

/* Hero media + floating quote */
.hero-media { position: relative; }
.hero-photo {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 5;
}
.float-quote {
  position: absolute; left: -22px; bottom: -28px; margin: 0;
  max-width: 290px; background: #fff; border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.float-quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.float-quote blockquote { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.5; font-weight: 500; }
.float-quote figcaption { margin-top: 8px; font-weight: 700; font-size: .85rem; color: var(--accent-dk); }

/* ---------- Features ---------- */
.features { padding: 28px 0 8px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { font-size: .98rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 88px 0; }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem); text-align: center;
  max-width: 18ch; margin: 0 auto 52px;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  margin: 0; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 22px;
}
.card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.6; }
.card figcaption { display: flex; align-items: center; gap: 13px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar-initial { display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who strong { color: var(--ink); font-size: .98rem; }
.who span { font-size: .82rem; color: var(--body); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dk) 100%);
  padding: 76px 0;
}
.cta-inner { text-align: center; color: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.cta-inner p { margin: 16px auto 30px; max-width: 46ch; color: rgba(255,255,255,.92); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-tag { color: var(--body); }
.footer-link { color: var(--accent-dk); font-weight: 700; }
.footer-link:hover { text-decoration: underline; }
.copyright { font-size: .85rem; color: #9a99ad; margin-top: 4px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .lede { max-width: none; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .float-quote { left: auto; right: 16px; bottom: -24px; max-width: 260px; }
}
@media (max-width: 520px) {
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .header-inner { height: 64px; }
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
