/* ============================================
   PersonTees v2 Marketing — Universal Global Style Override
   Loaded AFTER inline-02.css to layer v2 dark theme on top
   v2-marketing.css?v=20260928a
   ============================================ */

/* === DESIGN TOKENS (mirror of v2 design system) === */
:root {
  --v2-ground: #08090A;
  --v2-surface-1: #16171C;
  --v2-surface-2: #1E1F25;
  --v2-surface-3: #26282F;
  --v2-hairline: rgba(255, 255, 255, 0.06);
  --v2-hairline-strong: rgba(255, 255, 255, 0.12);
  --v2-text: #F7F8F8;
  --v2-text-2: #9CA3AF;
  --v2-text-3: #6B7280;
  --v2-purple: #A855F7;
  --v2-purple-deep: #7C3AED;
  --v2-pink: #EC4899;
  --v2-yellow: #F59E0B;
  --v2-white: #FFFFFF;
}

/* === TOKEN REMAP (override inline-02.css :root) === */
:root {
  --paper: var(--v2-ground) !important;
  --paper-2: var(--v2-surface-1) !important;
  --paper-3: var(--v2-surface-2) !important;
  --ink: var(--v2-text) !important;
  --ink-2: var(--v2-text-2) !important;
  --ink-3: var(--v2-text-3) !important;
  --line: var(--v2-hairline) !important;
  --line-2: var(--v2-hairline-strong) !important;
  --purple: var(--v2-purple) !important;
  --purple-deep: var(--v2-purple-deep) !important;
  --pink: var(--v2-pink) !important;
  --yellow: var(--v2-yellow) !important;
  --gradient: linear-gradient(90deg, var(--v2-purple-deep), var(--v2-purple), var(--v2-pink)) !important;
  --cyan: var(--v2-purple) !important;  /* Override rejected cyan */
}

/* === GLOBAL BODY OVERRIDE === */
html, body {
  background: var(--v2-ground) !important;
  background-color: var(--v2-ground) !important;
  color: var(--v2-text) !important;
}

/* === NAV === */
.nav, header.nav, .top-nav, .main-nav, [class*="navbar"], [class*="NavBar"] {
  background: rgba(8, 9, 10, 0.8) !important;
  background-color: rgba(8, 9, 10, 0.8) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid var(--v2-hairline) !important;
  color: var(--v2-text) !important;
}
.nav a, .top-nav a, [class*="nav"] a, [class*="Nav"] a {
  color: var(--v2-text-2) !important;
  transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav a:hover, [class*="nav"] a:hover {
  color: var(--v2-text) !important;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
[class*="heading"], [class*="title"] {
  color: var(--v2-text) !important;
}
.eyebrow, [class*="eyebrow"], [class*="overline"] {
  color: var(--v2-text-2) !important;
}

/* === SECTIONS === */
.section, .container section, main > section {
  background: transparent !important;
  color: var(--v2-text) !important;
}
.section-alt, [class*="section-alt"], [class*="section_2"] {
  background: var(--v2-surface-1) !important;
  background-color: var(--v2-surface-1) !important;
}

/* === CARDS === */
.card, [class*="card"]:not([class*="iscard"]):not([class*="iscard-"]) {
  background: var(--v2-surface-2) !important;
  background-color: var(--v2-surface-2) !important;
  border: 1px solid var(--v2-hairline) !important;
  color: var(--v2-text) !important;
  border-radius: 16px !important;
}
.card p, [class*="card"] p {
  color: var(--v2-text-2) !important;
}

/* === BUTTONS === */
.btn, button.btn, a.btn,
[class*="button"]:not([class*="lucy"]):not([class*="Lucy"]),
[class*="Button"]:not([class*="lucy"]):not([class*="Lucy"]) {
  border-radius: 999px !important;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary, .btn-cta, [class*="btn-primary"], [class*="primary-btn"] {
  background: var(--v2-white) !important;
  background-color: var(--v2-white) !important;
  color: var(--v2-ground) !important;
  border: none !important;
}
.btn-primary:hover, [class*="btn-primary"]:hover {
  background: var(--v2-purple) !important;
  background-color: var(--v2-purple) !important;
  color: var(--v2-white) !important;
}
.btn-secondary, [class*="btn-secondary"], [class*="secondary-btn"] {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--v2-text) !important;
  border: 1px solid var(--v2-hairline-strong) !important;
}
.btn-secondary:hover, [class*="btn-secondary"]:hover {
  background: var(--v2-hairline) !important;
  background-color: var(--v2-hairline) !important;
  border-color: var(--v2-purple) !important;
}

/* === FORMS === */
input, textarea, select,
.form-control, [class*="input"], [class*="form-input"] {
  background: var(--v2-surface-2) !important;
  background-color: var(--v2-surface-2) !important;
  color: var(--v2-text) !important;
  border: 1px solid var(--v2-hairline) !important;
  border-radius: 8px !important;
}
input::placeholder, textarea::placeholder {
  color: var(--v2-text-3) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--v2-purple) !important;
  outline: none !important;
}

/* === TABLES === */
table, [class*="table"]:not([class*="gettable"]) {
  background: var(--v2-surface-2) !important;
  color: var(--v2-text) !important;
}
th, td {
  color: var(--v2-text) !important;
  border-color: var(--v2-hairline) !important;
}
th {
  color: var(--v2-text-2) !important;
  font-weight: 600 !important;
}

/* === CTA FINAL — EXPLICIT OVERRIDE (fixes [class*=cta] bug) === */
.section.cta-final,
section.cta-final,
[id*="cta-final"], [id*="cta_final"] {
  background: var(--v2-ground) !important;
  background-color: var(--v2-ground) !important;
  color: var(--v2-text) !important;
}
.cta-final-inner, .cta-final-social-proof {
  background: var(--v2-surface-1) !important;
  background-color: var(--v2-surface-1) !important;
  background-image: none !important;
  border: 1px solid var(--v2-hairline) !important;
  color: var(--v2-text) !important;
}

/* === FOOTER === */
footer, .footer, [class*="footer"] {
  background: var(--v2-ground) !important;
  background-color: var(--v2-ground) !important;
  border-top: 1px solid var(--v2-hairline) !important;
  color: var(--v2-text-2) !important;
}
footer a, .footer a, [class*="footer"] a {
  color: var(--v2-text-2) !important;
  transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
footer a:hover, [class*="footer"] a:hover {
  color: var(--v2-text) !important;
}

/* === HERO OVERRIDES (specific classes from inline-02.css) === */
.hero-h1-canva, .hero-h1, .hero-h1-brand {
  color: var(--v2-text) !important;
}
.hero-subline, .hero-lede, .hero-p {
  color: var(--v2-text-2) !important;
}
.hero-pill, .hero-chip, .hero-tag {
  background: var(--v2-surface-1) !important;
  background-color: var(--v2-surface-1) !important;
  color: var(--v2-text-2) !important;
  border: 1px solid var(--v2-hairline) !important;
}
.hero-stats, .stats-row {
  background: var(--v2-surface-1) !important;
  background-color: var(--v2-surface-1) !important;
  border: 1px solid var(--v2-hairline) !important;
  border-radius: 16px !important;
}

/* === GRADIENT TEXT (used by inline-02.css features) === */
.gradient-text, [class*="gradient-text"], [class*="gradientText"] {
  background: linear-gradient(90deg, var(--v2-purple-deep), var(--v2-purple), var(--v2-pink)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* === TICKER (if any inline-02 page has one) === */
.ticker, .ticker-bar, .live-stats, [class*="ticker"] {
  background: var(--v2-surface-1) !important;
  border-bottom: 1px solid var(--v2-hairline) !important;
  color: var(--v2-text-2) !important;
}

/* === TRUST PILLS / BADGES === */
.trust-pillar, .trust-item, .pillar, [class*="trust-"] {
  background: var(--v2-surface-2) !important;
  border: 1px solid var(--v2-hairline) !important;
  color: var(--v2-text) !important;
}

/* === LINKS === */
a {
  color: var(--v2-text) !important;
  transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
a:hover {
  color: var(--v2-purple) !important;
}

/* === SELECTION === */
::selection {
  background: var(--v2-purple) !important;
  color: var(--v2-white) !important;
}

/* === STICKY LUCY CTA (injected by v2-marketing.js) === */
.v2-sticky-cta {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 90 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 18px !important;
  background: linear-gradient(135deg, var(--v2-purple), var(--v2-pink)) !important;
  color: var(--v2-white) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}
.v2-sticky-cta:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.6) !important;
  color: var(--v2-white) !important;
}
.v2-sticky-cta-dot {
  width: 8px !important;
  height: 8px !important;
  background: #10B981 !important;
  border-radius: 999px !important;
  animation: v2-pulse-cta 2s ease-in-out infinite !important;
}
@keyframes v2-pulse-cta {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* === COUNTER ANIMATION === */
[data-counter] {
  font-variant-numeric: tabular-nums;
}

/* === FADE-UP === */
.v2-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v2-fade-up.v2-visible {
  opacity: 1;
  transform: translateY(0);
}
