/* seo.css — shared shell for HustleFlow SEO landing + blog pages.
   Mirrors the design tokens in index.html so these pages match the brand
   without duplicating its full inline stylesheet. */

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

:root {
  --bg:       #000000;
  --surface:  #111111;
  --surface2: #1a1a1a;
  --surface-0:#0a0a0a;
  --border:   rgba(255,255,255,0.09);
  --border-hi:rgba(255,255,255,0.16);
  --green:    #4ade80;
  --green-dim:rgba(74,222,128,0.1);
  --green-deep:#0f8f61;
  --text:     #ffffff;
  --muted:    #666666;
  --muted2:   #999999;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --font-ui:      "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-display: 'Space Grotesk', "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 84px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }

/* ── NAV ───────────────────────────── */
header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; }
.nav-capsule {
  width: min(1100px, calc(100% - 32px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 56px; padding: 0 12px 0 20px;
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 700; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand b { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--muted2); font-size: 0.85rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 999px; border: none;
  font: 500 0.85rem/1 var(--font-ui); cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s, box-shadow 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8e8; box-shadow: 0 4px 20px rgba(255,255,255,0.15); }
.btn-ghost { background: transparent; border: 1px solid var(--border-hi); color: var(--muted2); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.28); }

/* ── HERO ──────────────────────────── */
.seo-hero { padding: 64px 0 56px; position: relative; }
.seo-hero::before {
  content: ""; position: absolute; top: -120px; left: -10%;
  width: 70%; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse at 30% 20%, rgba(74,222,128,0.07), transparent 60%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--green-dim); border: 1px solid rgba(74,222,128,0.18);
  color: var(--green); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px;
}
.seo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 22px;
  max-width: 16ch; text-wrap: balance;
}
.seo-hero h1 .accent { color: var(--green); }
.lead { font-size: 1.05rem; color: var(--muted2); max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── BREADCRUMB ────────────────────── */
.crumb { font-size: 0.78rem; color: var(--muted); margin-bottom: 28px; font-family: var(--font-mono); }
.crumb a { color: var(--muted2); }
.crumb a:hover { color: var(--text); }

/* ── SECTIONS ──────────────────────── */
.sec { padding: 56px 0; border-top: 1px solid var(--border); }
.sec h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 18px; text-wrap: balance;
}
.sec h2 .accent { color: var(--green); }
.sec p { color: var(--muted2); max-width: 680px; margin-bottom: 16px; }
.sec h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; }
.label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px; display: block; font-family: var(--font-mono);
}

/* benefit / feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 1rem; }
.card p { font-size: 0.88rem; margin: 0; color: var(--muted2); }

/* checklist */
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 8px 0 0; }
.checks li { display: flex; gap: 10px; color: var(--muted2); font-size: 0.95rem; }
.checks li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  background: var(--green); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.faq details {
  border-top: 1px solid var(--border); padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--green); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; font-size: 0.95rem; }

/* internal link cluster */
.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.link-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--muted2); transition: border-color 0.15s, color 0.15s;
}
.link-pill:hover { border-color: var(--border-hi); color: var(--text); }

/* CTA banner */
.cta {
  margin: 56px 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px 40px; text-align: center;
}
.cta h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 12px; }
.cta h2 .accent { color: var(--green); }
.cta p { color: var(--muted2); max-width: 460px; margin: 0 auto 24px; }
.cta .hero-actions { justify-content: center; }

/* blog */
.post { max-width: 720px; }
.post p, .post li { color: var(--muted2); font-size: 1.02rem; margin-bottom: 18px; }
.post h2 { margin-top: 40px; }
.post ul { margin: 0 0 18px 22px; }
.post .meta { color: var(--muted); font-size: 0.82rem; font-family: var(--font-mono); margin-bottom: 28px; }
.post-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.post-list a {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; transition: border-color 0.15s;
}
.post-list a:hover { border-color: var(--border-hi); }
.post-list h3 { margin: 0 0 6px; font-size: 1.1rem; }
.post-list p { margin: 0; color: var(--muted2); font-size: 0.9rem; }

/* ── FOOTER ────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 48px 0; margin-top: 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 0.95rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted2); font-size: 0.82rem; }
.footer-links a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 0.76rem; margin-top: 20px; }
