/* ═══════════════════════════════════════════════════════════
   hyperstacking.com — category-home specific styles
   Layered on top of style.css + conversion-proposed.css
   Brand: white text · HYPERSTACK always in the blue/purple gradient
   Accent salmon #FB8A7E · connected/live green #37d67a (Jimmy)
   ═══════════════════════════════════════════════════════════ */

:root {
  --grn: #37d67a;
  --grn-soft: rgba(55, 214, 122, 0.10);
  --grn-line: rgba(55, 214, 122, 0.30);
  --hs-blue: #4d90ff;
  --hs-purple: #8a6bff;
}

/* ── App-like feel: no text I-beam / selection caret anywhere on the page ── */
body { cursor: default; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
a, button, summary, label, [role="button"],
.nav-cta, .hs-btn, .cta-card, .give-cta, .faq-item summary { cursor: pointer; }
input, textarea, select { cursor: text; -webkit-user-select: text; -moz-user-select: text; user-select: text; }

/* ── Brand lockup in nav (logo mark + HYPERSTACK wordmark) ── */
.nav-brand { gap: 11px; }
.brand-mark { height: 30px; width: auto; opacity: 0.96; }
.brand-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(110deg, #4d90ff 0%, #8a6bff 30%, #c2cef5 50%, #8a6bff 70%, #4d90ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Hero: oversized definition ── */
.hs-hero { text-align: center; padding-bottom: var(--s-3); }
/* tighten the gap into the first concept section so it sits more centered/balanced */
.hs-hero + .section { padding-top: var(--s-6); }
.hs-hero .hero-bg-glow {
  background: radial-gradient(ellipse, rgba(138,107,255,0.30) 0%, rgba(77,144,255,0.12) 35%, rgba(77,144,255,0.03) 60%, transparent 78%);
}
.hs-hero-inner { max-width: 940px; margin: 0 auto; padding: var(--s-6) var(--s-4) 0; }

.hs-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px;
  color: var(--white-70);
  padding: 9px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--white-12);
  margin-bottom: var(--s-4);
}
.hs-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 9px var(--grn); }

.hs-hero-title {
  font-size: clamp(46px, 7.0vw, 92px);
  font-weight: 800; line-height: 1.0; letter-spacing: 0.02em;
  margin-bottom: var(--s-3);
}

/* ── graceful entrance: fade-up with a gentle stagger ── */
@keyframes hs-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hs-reveal > * {
  opacity: 0;
  animation: hs-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hs-reveal > *:nth-child(1) { animation-delay: 0.05s; }
.hs-reveal > *:nth-child(2) { animation-delay: 0.14s; }
.hs-reveal > *:nth-child(3) { animation-delay: 0.23s; }
.hs-reveal > *:nth-child(4) { animation-delay: 0.32s; }
.hs-reveal > *:nth-child(5) { animation-delay: 0.41s; }
@media (prefers-reduced-motion: reduce) {
  .hs-reveal > * { opacity: 1; animation: none; }
}
.hs-hero-title .hs-shine { margin-right: -0.06em; }
/* smooth brand gradient (matches the HYPERSTACK wordmark) — no stripes */
.hs-hero-title .hs-stack { position: relative; display: inline-block; }
.hs-hero-title .hs-shine {
  background-size: 200% auto;
  background-position: center;
}
/* all-caps HYPERSTACK wordmark sitting above the title */
.hs-hero-mark {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 900; letter-spacing: 0.01em; text-transform: uppercase;
  line-height: 1; text-align: center; margin: 0 auto var(--s-3);
}
.hs-hero-def {
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.5; color: var(--white-90); font-weight: 500;
  max-width: 760px; margin: 0 auto var(--s-2);
}
.hs-hero-def strong { color: var(--white); font-weight: 700; }
.hs-hero-sub {
  font-size: 17px; line-height: 1.6; color: var(--white-70);
  max-width: 660px; margin: var(--s-2) auto var(--s-4);
}

/* ── Creator badge (Matt) ── */
.creator-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 18px 9px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--white-12);
  margin-bottom: var(--s-4);
}
.creator-badge img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--white-20); }
.creator-badge .cb-text { text-align: left; line-height: 1.25; }
.creator-badge .cb-k { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white-50); }
.creator-badge .cb-n { font-size: 15px; font-weight: 700; color: var(--white); }

/* ── Hero action row (DM / book / follow) ── */
.hs-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--s-3); }
.hs-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.hs-btn svg { flex-shrink: 0; }
.hs-btn--primary {
  background: linear-gradient(110deg, #4d90ff 0%, #8a6bff 55%, #6f7bff 100%);
  color: #fff; box-shadow: 0 10px 34px rgba(120,110,255,0.35), 0 2px 8px rgba(0,0,0,0.3);
}
.hs-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 44px rgba(120,110,255,0.45); }
.hs-btn--ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--white-20); color: var(--white); }
.hs-btn--ghost:hover { transform: translateY(-1px); border-color: var(--hs-purple); background: rgba(255,255,255,0.09); }

/* ── Definition callout (noun / verb / outcome) ── */
.defs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 1000px; margin: var(--s-5) auto 0;
}
.def-card {
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--white-03); border: 1px solid var(--white-12);
  text-align: left;
}
.def-card .def-term { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.def-card .def-pos { font-size: 12px; font-style: italic; color: var(--hs-purple); margin-bottom: 12px; letter-spacing: 0.3px; }
.def-card .def-body { font-size: 15px; line-height: 1.55; color: var(--white-70); }
@media (max-width: 820px) { .defs-grid { grid-template-columns: 1fr; } }

/* ── Anatomy diagram recolored to Hyperstack purple (was salmon) ── */
.anatomy .hslab { border-color: rgba(138,107,255,0.5); }
.anatomy .hslab-4 { background: rgba(138,107,255,0.24); }
.anatomy .hslab-3 { background: rgba(138,107,255,0.17); }
.anatomy .hslab-2 { background: rgba(138,107,255,0.11); }
.anatomy .hslab-1 { background: rgba(138,107,255,0.06); }
.anatomy .mini-label { color: #a78bff; }
.anatomy .mini-seg { border-color: rgba(138,107,255,0.5); }
.anatomy .mini-seg.s4 { background: rgba(138,107,255,0.24); }
.anatomy .mini-seg.s3 { background: rgba(138,107,255,0.17); }
.anatomy .mini-seg.s2 { background: rgba(138,107,255,0.11); }
.anatomy .mini-seg.s1 { background: rgba(138,107,255,0.06); }
.anatomy .multi-link { color: #8a6bff; }

/* labeled bubble around a single Hyperstack (the 4 layers) and around several wired together */
.anatomy .hstack-bubble, .anatomy .multi-bubble {
  position: relative;
  border: 1.5px solid rgba(138,107,255,0.45);
  border-radius: 22px;
  padding: 34px 20px 24px;
  margin-top: 30px;
  box-shadow: 0 0 40px rgba(138,107,255,0.06) inset;
}
.anatomy .multi-bubble { margin-top: 40px; padding: 40px 24px 30px; }
.anatomy .multi-bubble .multistack { margin-top: 0; align-items: stretch; }

/* ── NEON-PURPLE "fully Hyperstacked company" ── */
.anatomy .multi-bubble--neon {
  border-color: rgba(167,139,255,0.7);
  box-shadow: 0 0 50px rgba(138,107,255,0.18), 0 0 60px rgba(138,107,255,0.06) inset;
}
/* each department Hyperstack (Sales / Finance / Operations) = its own neon bubble */
.anatomy .multi-bubble .mini {
  border: 1.5px solid rgba(167,139,255,0.6);
  border-radius: 16px;
  padding: 16px 14px 18px;
  background: rgba(138,107,255,0.05);
  box-shadow: 0 0 26px rgba(138,107,255,0.28), 0 0 50px rgba(138,107,255,0.08) inset;
}
.anatomy .multi-bubble .mini-label {
  margin-bottom: 12px; color: #c9bcff;
  text-shadow: 0 0 14px rgba(167,139,255,0.55);
}
.anatomy .multi-bubble .mini-stack { gap: 6px; }
/* labeled layers inside each little Hyperstack */
.anatomy .multi-bubble .mini-seg {
  height: auto; min-height: 30px; padding: 7px 6px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.2px;
  color: #e3dbff; text-align: center; line-height: 1.15;
  border-color: rgba(167,139,255,0.6);
}
.anatomy .multi-bubble .mini-seg.s4 { background: rgba(138,107,255,0.32); }
.anatomy .multi-bubble .mini-seg.s3 { background: rgba(138,107,255,0.24); }
.anatomy .multi-bubble .mini-seg.s2 { background: rgba(138,107,255,0.16); }
.anatomy .multi-bubble .mini-seg.s1 { background: rgba(138,107,255,0.09); }

/* glowing connectors between departments */
.anatomy .multi-bubble .multi-link {
  align-self: center; color: #c9bcff; font-size: 26px;
  text-shadow: 0 0 14px rgba(167,139,255,0.9);
  animation: hs-link-pulse 1.9s ease-in-out infinite;
}
@keyframes hs-link-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.18); }
}

/* convergence into the big company-wide Hyperstack */
.anatomy .merge-zone { text-align: center; margin: 26px 0 18px; }
.anatomy .merge-arrow {
  font-size: 30px; line-height: 1; color: #c9bcff;
  text-shadow: 0 0 16px rgba(167,139,255,0.85);
  animation: hs-link-pulse 1.9s ease-in-out infinite;
}
.anatomy .merge-cap {
  margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--white-70);
}
.anatomy .mega-stack {
  border: 2px solid rgba(167,139,255,0.8);
  border-radius: 18px; padding: 18px;
  background: linear-gradient(180deg, rgba(138,107,255,0.16), rgba(138,107,255,0.05));
  box-shadow: 0 0 60px rgba(138,107,255,0.4), 0 0 80px rgba(138,107,255,0.1) inset;
}
.anatomy .mega-layers { display: flex; flex-direction: column; gap: 9px; }
.anatomy .mega-seg {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 22px; border-radius: 12px;
  border: 1px solid rgba(167,139,255,0.55);
}
.anatomy .mega-seg span { font-weight: 800; font-size: 16px; color: #fff; white-space: nowrap; }
.anatomy .mega-seg em { font-style: normal; font-size: 13.5px; color: var(--white-70); text-align: right; line-height: 1.4; }
.anatomy .mega-seg.s4 { background: rgba(138,107,255,0.34); }
.anatomy .mega-seg.s3 { background: rgba(138,107,255,0.25); }
.anatomy .mega-seg.s2 { background: rgba(138,107,255,0.17); }
.anatomy .mega-seg.s1 { background: rgba(138,107,255,0.10); }
@media (max-width: 600px) {
  .anatomy .mega-seg { flex-direction: column; align-items: flex-start; gap: 4px; }
  .anatomy .mega-seg em { text-align: left; }
}
.anatomy .bubble-label {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--bg, #000); padding: 5px 18px; border-radius: 100px;
  border: 1px solid rgba(138,107,255,0.35);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
  color: var(--white-90); white-space: nowrap;
}

/* ── Jimmy section ── */
.jimmy-sec { background: linear-gradient(180deg, transparent, rgba(55,214,122,0.04) 50%, transparent); }
.jimmy-layout {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-6); align-items: center;
  margin-top: var(--s-5);
}
.jimmy-copy h3 { font-size: 22px; font-weight: 800; margin: var(--s-4) 0 8px; }
.jimmy-copy h3:first-child { margin-top: 0; }
.jimmy-copy p { font-size: 16px; line-height: 1.6; color: var(--white-70); }
.jimmy-points { display: grid; gap: 16px; margin-top: var(--s-3); }
.jimmy-point { padding-left: 30px; position: relative; }
.jimmy-point::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--grn-soft); border: 1px solid var(--grn-line);
  box-shadow: 0 0 10px rgba(55,214,122,0.25);
}
.jimmy-point b { color: var(--white); font-weight: 700; }
.jimmy-point span { color: var(--white-70); }
.jimmy-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--white-12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
  background: #07070b;
}
.jimmy-stage iframe { width: 100%; height: 700px; border: 0; display: block; }
@media (max-width: 940px) {
  .jimmy-layout { grid-template-columns: 1fr; gap: var(--s-5); }
  .jimmy-stage iframe { height: 700px; }
}

/* ── Game-changer: RESEARCH PLACEHOLDER section ── */
.gamechanger { background: linear-gradient(180deg, transparent, var(--bg-soft) 55%, transparent); }
.research-flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: #ffd27a;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(255,200,90,0.08); border: 1px dashed rgba(255,200,90,0.4);
  margin-bottom: var(--s-4);
}
.gc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: var(--s-5);
}
.gc-card {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: var(--white-03); border: 1px dashed var(--white-20);
}
.gc-card .gc-num {
  font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700;
  color: var(--hs-purple); line-height: 1; margin-bottom: 14px;
}
.gc-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--white); }
.gc-card .gc-thesis { font-size: 15.5px; line-height: 1.55; color: var(--white-90); margin-bottom: 14px; }
.gc-card .gc-fill {
  font-size: 13px; line-height: 1.5; color: var(--white-50); font-style: italic;
  padding-top: 12px; border-top: 1px solid var(--white-10);
}
.gc-card .gc-fill::before { content: '⌁ '; color: #ffd27a; font-style: normal; }
@media (max-width: 820px) { .gc-grid { grid-template-columns: 1fr; } }

/* ── The giveaway ── */
.giveaway { background: linear-gradient(180deg, transparent, rgba(55,214,122,0.05) 50%, transparent); }
.give-card {
  max-width: 920px; margin: var(--s-5) auto 0;
  padding: 48px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(55,214,122,0.10) 0%, rgba(138,107,255,0.06) 100%);
  border: 1px solid var(--grn-line);
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
}
.give-num {
  text-align: center; padding: 0 14px;
}
.give-num .big {
  font-family: 'Fraunces', serif; font-size: 96px; font-weight: 700; line-height: 0.9;
  background: linear-gradient(180deg, var(--grn), #1f8f52);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.give-num .word { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--white-70); margin-top: 6px; }
.give-body h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.give-body p { font-size: 16px; line-height: 1.6; color: var(--white-80, rgba(255,255,255,0.8)); margin-bottom: 16px; }
.give-list { display: grid; gap: 10px; margin: 0 0 22px; }
.give-list li { font-size: 15px; color: var(--white-70); padding-left: 26px; position: relative; }
.give-list li::before { content: '✓'; position: absolute; left: 0; color: var(--grn); font-weight: 800; }
.give-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 12px;
  background: var(--grn); color: #07120b; font-weight: 800; font-size: 15px;
  box-shadow: 0 10px 30px rgba(55,214,122,0.3); transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.give-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 40px rgba(55,214,122,0.42); }
.give-note { font-size: 13px; color: var(--white-50); margin-top: 14px; }
@media (max-width: 720px) {
  .give-card { grid-template-columns: 1fr; gap: 22px; padding: 32px; text-align: center; }
  .give-num .big { font-size: 76px; }
  .give-list { text-align: left; max-width: 360px; margin: 0 auto 22px; }
}

/* ── Final CTA band ── */
.final-cta { text-align: center; }
.final-cta .section-headline { margin-left: auto; margin-right: auto; }
.cta-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 900px; margin: var(--s-5) auto 0;
}
.cta-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 34px 24px; border-radius: var(--radius);
  background: var(--white-03); border: 1px solid var(--white-12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-align: center;
}
.cta-card:hover { transform: translateY(-3px); border-color: var(--hs-purple); background: var(--white-06); }
.cta-card .cta-ico {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(138,107,255,0.12); border: 1px solid rgba(138,107,255,0.3); color: #b9a6ff;
}
.cta-card h3 { font-size: 18px; font-weight: 800; }
.cta-card p { font-size: 14px; color: var(--white-70); line-height: 1.5; }
.cta-card .cta-go { margin-top: auto; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--hs-purple); }
.cta-card--dm .cta-ico { background: var(--grn-soft); border-color: var(--grn-line); color: #8ef0b6; }
.cta-card--dm .cta-go { color: var(--grn); }
@media (max-width: 760px) { .cta-cards { grid-template-columns: 1fr; } }

/* ── Footer wordmark ── */
.footer-word {
  font-size: 17px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(110deg, #4d90ff 0%, #8a6bff 30%, #c2cef5 50%, #8a6bff 70%, #4d90ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Section centering tweaks for category page ── */
.section--center { text-align: center; }
.section--center .section-headline,
.section--center .section-sub { margin-left: auto; margin-right: auto; }
.section--center .section-sub { max-width: 760px; }

@media (max-width: 640px) {
  .hs-hero-title { letter-spacing: 0.04em; }
  .hs-hero-title .hs-shine { --bar: 13px; --gap: 4px; --cap: 0.18em; }
  .give-card { padding: 26px; }
}
