/* ============================================================
   HeartCore Growth — Homepage Redesign
   Visual design cloned from go.heartcoregrowth.com
   Dark UI · Montserrat headings · Inter body · pink+gold accents
   ============================================================ */

:root {
  /* Core palette (from go.hcg computed styles) */
  --bg:            #0b0614;   /* page background */
  --bg-alt:        #140a22;   /* alternating dark section */
  --bg-footer:     #080410;   /* footer */
  --ink:           #f7f2ff;   /* primary text */
  --ink-muted:     #b9b1c9;   /* secondary text */
  --ink-faint:     rgba(247,242,255,0.62);
  --brand:         #ff2d8a;   /* hot pink */
  --brand-ink:     #e01f74;   /* pink hover */
  --gold:          #ffe14a;   /* yellow accent */
  --purple:        #7b2cbf;   /* glow purple */

  --hairline:      rgba(255,255,255,0.08);
  --card-bg:       rgba(255,255,255,0.03);
  --card-border:   rgba(255,255,255,0.09);
  --shadow-pink:   0 8px 40px rgba(255,45,138,0.6);
  --shadow-lift:   0 18px 60px rgba(0,0,0,0.55);

  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-page: 1120px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); }

h1 {
  font-size: clamp(38px, 6.2vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -1.5px;
}
h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.2px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

p { color: var(--ink-muted); }

.highlight { color: var(--brand); }
.text-gold { color: var(--gold); }
.text-pink { color: var(--brand); }
.text-white { color: var(--ink); }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,6,20,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--hairline);
}
.nav-content {
  max-width: var(--max-page);
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-img { height: 38px; width: auto; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  border-radius: 6px;
  box-shadow: var(--shadow-pink);
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: all 0.3s ease;
}
.nav-links .nav-cta:hover { background: var(--brand-ink); color: #fff; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover { background: var(--brand-ink); color: #fff; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }

.section-glow {
  background:
    radial-gradient(70% 55% at 50% -10%, rgba(123,44,191,0.45) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(50% 40% at 85% 20%, rgba(255,45,138,0.22) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(40% 35% at 12% 30%, rgba(255,225,74,0.10) 0%, rgba(0,0,0,0) 55%),
    var(--bg);
}
.section-dark {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(123,44,191,0.28) 0%, rgba(0,0,0,0) 70%),
    var(--bg-alt);
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 128px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(70% 55% at 50% -10%, rgba(123,44,191,0.45) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(50% 40% at 85% 20%, rgba(255,45,138,0.22) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(40% 35% at 12% 35%, rgba(255,225,74,0.10) 0%, rgba(0,0,0,0) 55%),
    var(--bg);
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Prose block (problem/story) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose p {
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 22px;
  color: var(--ink-muted);
}
.prose p.lead { color: var(--ink); font-weight: 600; }
.prose .accent { color: var(--brand); font-weight: 600; }
.prose .closer {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-top: 36px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 22px;
  margin-top: 56px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 30px;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,45,138,0.5);
  box-shadow: var(--shadow-lift);
}
.card h3 { margin-bottom: 14px; }
.card p { font-size: 15.5px; line-height: 1.65; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .price-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.card .card-title-pink { color: var(--brand); }
.card .btn { width: 100%; margin-top: 20px; }

/* ---------- Split (who this is for) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}
.features-list { list-style: none; margin-top: 18px; }
.features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(255,45,138,0.7);
}
.split-negative .features-list li::before { background: var(--ink-faint); box-shadow: none; }

/* ---------- CTA block (blends into footer) ---------- */
.cta-block {
  text-align: center;
  padding: 120px 0 130px;
  background:
    radial-gradient(75% 90% at 50% 0%, rgba(123,44,191,0.32) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(60% 60% at 50% 20%, rgba(255,45,138,0.20) 0%, rgba(0,0,0,0) 60%),
    var(--bg-footer);
}
.cta-block h2 { margin-bottom: 18px; }
.cta-block p {
  max-width: 600px;
  margin: 0 auto 34px;
  color: var(--ink-muted);
  font-size: 18px;
}

/* ---------- Footer (matches go.heartcoregrowth.com — seamless blend, no divider) ---------- */
.footer {
  background: var(--bg-footer);
  border-top: 0;
  padding: 24px 0 80px;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-img { height: 40px; width: auto; }
.footer-tagline {
  margin-top: 18px;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}
.footer-links {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.footer-links a {
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 56px;
  font-size: 12px;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11,6,20,0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; }
  .nav-links .nav-cta { justify-content: center; margin-top: 8px; }
  .section, .hero { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Generic inner-page + blog classes (shared design system)
   ============================================================ */

/* Page header (inner pages: services, who-we-are, etc.) */
.page-header {
  padding: 120px 0 72px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(70% 60% at 50% -10%, rgba(123,44,191,0.45) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(50% 40% at 85% 15%, rgba(255,45,138,0.20) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(40% 35% at 12% 35%, rgba(255,225,74,0.10) 0%, rgba(0,0,0,0) 55%),
    var(--bg);
}
.page-header .container { max-width: 820px; }
.page-header h1 { margin: 16px 0 20px; }
.page-header p {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Generic prose/rich content (legal pages, service body copy) */
.rich-content { max-width: 780px; margin: 0 auto; }
.rich-content h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 44px 0 18px; }
.rich-content h3 { font-size: 21px; margin: 32px 0 12px; }
.rich-content p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; color: var(--ink-muted); }
.rich-content ul, .rich-content ol { margin: 0 0 20px 22px; color: var(--ink-muted); }
.rich-content li { margin-bottom: 10px; line-height: 1.7; }
.rich-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-content a:hover { color: var(--gold); }
.rich-content strong { color: var(--ink); }
.rich-content blockquote {
  border-left: 3px solid var(--brand);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
  color: var(--ink);
  font-style: italic;
}
.rich-content img { border-radius: var(--radius); margin: 24px 0; }

/* Blog listing grid + cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,45,138,0.5);
  box-shadow: var(--shadow-lift);
}
.blog-card-body { padding: 28px 26px; }
.blog-card-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 19px; line-height: 1.3; margin-bottom: 12px; }
.blog-card h3 a { color: var(--ink); transition: color 0.2s ease; }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); }

/* Single blog post */
.blog-post { max-width: 760px; margin: 0 auto; padding: 56px 24px 24px; }
.blog-post h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.blog-post-meta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}
.blog-post-content h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 40px 0 16px; }
.blog-post-content h3 { font-size: 20px; margin: 30px 0 12px; }
.blog-post-content p { font-size: 17px; line-height: 1.85; margin-bottom: 22px; color: var(--ink-muted); }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 22px 22px; color: var(--ink-muted); }
.blog-post-content li { margin-bottom: 10px; line-height: 1.7; }
.blog-post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.blog-post-content a:hover { color: var(--gold); }
.blog-post-content strong { color: var(--ink); }
.blog-post-content blockquote {
  border-left: 3px solid var(--brand);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
  color: var(--ink);
  font-style: italic;
}
.blog-post-content img { border-radius: var(--radius); margin: 24px 0; }
.blog-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
}
.blog-post-nav a { color: var(--ink-muted); transition: color 0.2s ease; }
.blog-post-nav a:hover { color: var(--brand); }

/* Utility */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .page-header { padding: 90px 0 56px; }
}
