/* ==========================================================================
   HunterViz Marketing site styles. Loads after hunterviz.css (shares tokens).
   ========================================================================== */

/* --- Marketing header ---------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(246, 248, 252, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-soft); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-nav { display: flex; align-items: center; gap: 0.35rem; }
.site-nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; padding: 0.45rem 0.8rem; border-radius: var(--r-sm); }
.site-nav a:hover { color: var(--text); background: var(--accent-tint); }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 26px; }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); }
@media (max-width: 860px) {
  .site-nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 4rem; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% -10%, rgba(59, 130, 246, 0.16), transparent 70%),
  radial-gradient(40% 40% at 85% 10%, rgba(14, 165, 233, 0.1), transparent 70%); z-index: -1; }
.hero h1 { max-width: 16ch; margin: 0 auto 1.25rem; }
.hero .lead { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.25rem; }
.hero-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-faint); }
.gradient-text { background: linear-gradient(120deg, #2563eb, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-shot { margin: 3rem auto 0; max-width: 1000px; border-radius: var(--r-xl); border: 1px solid var(--border); box-shadow: var(--shadow-xl); overflow: hidden; background: var(--surface); }
.hero-shot .browser-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.hero-shot .browser-bar i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--border-strong); display: inline-block; }

/* --- Logo cloud / trust -------------------------------------------------- */
.trust { padding: 2.5rem 0; }
.trust p { text-align: center; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 600; margin-bottom: 1.25rem; }
.logo-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; opacity: 0.7; }
.logo-cloud span { font-weight: 700; font-size: 1.1rem; color: var(--text-faint); letter-spacing: -0.02em; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: 5rem 0; }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: var(--dark-muted); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }

/* --- Feature grid -------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-xs); transition: box-shadow var(--transition), transform var(--transition); }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.feature-icon svg { width: 1.4rem; height: 1.4rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* --- Split feature row --------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { border-radius: var(--r-xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 1.75rem; } .split.reverse .split-media { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.7rem; color: var(--text-muted); }
.checklist svg { color: var(--success); flex-shrink: 0; margin-top: 0.15rem; width: 1.15rem; height: 1.15rem; }

/* --- Integrations grid --------------------------------------------------- */
.integ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.integ { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1.5rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.integ:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.integ-logo { width: 2.5rem; height: 2.5rem; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.1rem; }
.integ-name { font-weight: 600; font-size: 0.9rem; }
.integ-tag { font-size: 0.72rem; color: var(--text-faint); }

/* --- How it works -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: var(--shadow-accent); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* --- Stats band ---------------------------------------------------------- */
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat-band .big { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em; }

/* --- Pricing ------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); background: var(--accent-grad); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.85rem; border-radius: var(--r-pill); }
.plan-name { font-size: 1.05rem; font-weight: 700; }
.plan-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.5rem 0 0.1rem; }
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--text-faint); }
.plan-desc { color: var(--text-muted); font-size: 0.9rem; min-height: 2.6rem; }
.plan .checklist { flex: 1; margin-bottom: 1.5rem; }
.plan .checklist li { font-size: 0.9rem; }

/* --- Testimonials -------------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-xs); }
.quote p { font-size: 1rem; line-height: 1.6; }
.quote-author { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.1rem; }
.quote-author .name { font-weight: 600; font-size: 0.9rem; }
.quote-author .role { font-size: 0.8rem; color: var(--text-faint); }

/* --- FAQ ----------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 1.15rem 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--text-faint); transition: transform var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-muted); margin: 0.8rem 0 0; }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { text-align: center; background: var(--accent-grad); color: #fff; border-radius: var(--r-xl); padding: 3.5rem 2rem; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 50ch; margin: 0 auto 1.75rem; font-size: 1.1rem; }

/* --- Security / compliance ----------------------------------------------- */
.compliance-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.compliance-badge { display: flex; align-items: center; gap: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0.7rem 1.1rem; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-xs); }
.compliance-badge svg { color: var(--success); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.site-footer a { display: block; color: var(--dark-muted); font-size: 0.9rem; padding: 0.3rem 0; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 24px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid var(--dark-border); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; }

/* --- Reveal on scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
