/* ═══════════════════════════════════════════════════════════════════════
   TotumTeams — Public / marketing pages stylesheet
   Scoped under .public-page to avoid Bootstrap conflicts.
   CSS tokens (--blue, --orange, etc.) are defined in portal.css which
   is loaded globally.
═══════════════════════════════════════════════════════════════════════ */

/* ── base reset for public pages ── */
.public-page *,
.public-page *::before,
.public-page *::after {
  box-sizing: border-box;
}

.public-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Clip horizontal overflow from page content only — keep nav unaffected */
.public-page > main {
  overflow-x: clip;
  flex-grow: 1;
}

.public-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; font-weight: 800; margin: 0; }
.public-page h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; margin: 0; }
.public-page h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.public-page p  { color: var(--muted); margin: 0; }
.public-page strong { color: var(--text); }
.public-page a { text-decoration: none; }

/* ── responsive SVGs in content sections ── */
.editor-visual svg,
.ai-inner svg {
  max-width: 100%;
  height: auto;
}
.editor-visual {
  overflow: hidden;
}

/* ── layout container ── */
.pub-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── buttons ── */
.pub-btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
  border: none;
  cursor: pointer;
}
.pub-btn-primary:hover { background: #c94317; transform: translateY(-1px); color: #fff; }

.pub-btn-ghost {
  display: inline-block;
  color: var(--blue);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: background 0.18s;
  background: transparent;
  cursor: pointer;
}
.pub-btn-ghost:hover { background: var(--blue); color: #fff; }

.pub-btn-outline {
  display: inline-block;
  color: var(--white);
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.18s, background 0.18s;
  background: transparent;
  cursor: pointer;
}
.pub-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.pub-btn-large { padding: 16px 36px; font-size: 1.05rem; }
.pub-btn-white { background: #fff; color: var(--orange); }
.pub-btn-white:hover { background: var(--grey); color: var(--orange); }

/* ── shared section labels ── */
.pub-section-eyebrow {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}
.pub-section-title       { margin-bottom: 12px; color: var(--text); }
.pub-section-title-large {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}
.pub-section-title-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── hero tagline ── */
.pub-hero-tagline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

/* ── hero trust pills ── */
.pub-hero-trust-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pub-trust-pill {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  background: rgba(0,17,88,0.07);
  border: 2px solid rgba(0,17,88,0.2);
  border-radius: 24px;
  padding: 8px 20px;
  white-space: nowrap;
}

/* ── "Only on TotumTeams" stamp ── */
.pub-only-stamp {
  display: inline-block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 10px 28px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 4px 4px 0 #001158;
  transform: rotate(-1deg);
}

/* ── feature link ── */
.pub-feature-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.pub-feature-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   PUBLIC NAV  (CSS-only hamburger via hidden checkbox)
═══════════════════════════════════════════════════════════════════════ */

/* The shell wraps nav + drawer so the ~ sibling selector can reach the drawer */
.pub-nav-shell {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* Hidden checkbox — controls mobile drawer */
.pub-menu-cb {
  display: none;
  position: absolute;
  visibility: hidden;
}

.pub-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey);
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 64px;
  gap: 32px;
}

.pub-nav-logo {
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo-totum { color: var(--blue); }
.logo-teams { color: var(--orange); }

.pub-nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: center;
}
.pub-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.pub-nav-links a:hover { color: var(--blue); }

.pub-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.pub-nav-actions .pub-btn-ghost   { padding: 8px 18px; font-size: 0.9rem; }
.pub-nav-actions .pub-btn-primary { padding: 9px 20px; font-size: 0.9rem; }
.pub-auth-btns { display: flex; gap: 8px; align-items: center; }

/* ── language picker — CSS :focus-within / :hover dropdown ── */
.pub-lang-picker {
  position: relative;
  outline: none;
}
.pub-lang-btn {
  background: none;
  border: 1px solid var(--grey);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s;
  display: block;
  width: 100%;
}
.pub-lang-btn:hover { border-color: var(--blue); }

/* Transparent bridge fills the gap so hover stays active as mouse moves to dropdown */
.pub-lang-picker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.pub-lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 160px;
  overflow: hidden;
  z-index: 300;
}
.pub-lang-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text) !important;
  text-decoration: none;
  transition: background 0.12s;
}
.pub-lang-dropdown a:hover { background: var(--bg); }

/* Show dropdown on hover or keyboard focus */
.pub-lang-picker:hover .pub-lang-dropdown,
.pub-lang-picker:focus-within .pub-lang-dropdown {
  display: block;
}

/* ── hamburger label (acts as button) ── */
.pub-nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--blue);
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── mobile drawer — hidden by default, shown when checkbox :checked ── */
.pub-nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 2px solid var(--grey);
  padding: 0 24px 20px;
  z-index: 199;
}
/* CSS-only open state: checkbox sibling selector */
.pub-menu-cb:checked ~ .pub-nav-drawer {
  display: flex;
}
/* Change burger icon when open */
.pub-menu-cb:checked ~ .pub-nav .pub-nav-burger {
  font-size: 1.4rem;
}

.pub-nav-drawer > a {
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--grey);
  text-decoration: none;
}
.pub-nav-drawer > a:hover { color: var(--blue); }

.pub-drawer-lang {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--grey);
}
.pub-drawer-lang-btn {
  background: var(--bg);
  border: 1px solid var(--grey);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.pub-drawer-lang-btn:hover { border-color: var(--blue); color: var(--blue); }

.pub-drawer-auth {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOUNDING BANNER
═══════════════════════════════════════════════════════════════════════ */
.pub-founding-banner {
  background: linear-gradient(135deg, #001158 0%, #002699 100%);
  padding: 72px 32px;
  border-bottom: 4px solid var(--orange);
}
.pub-founding-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.pub-founding-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.pub-founding-headline {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  line-height: 1.05;
}
.pub-founding-free {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #fff;
}
.pub-founding-until {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--orange);
  background: rgba(225,80,30,0.15);
  border: 2px solid var(--orange);
  border-radius: 8px;
  padding: 2px 16px;
}
.pub-founding-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.pub-founding-fifty {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.pub-founding-fifty-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
  flex-shrink: 0;
}
.pub-founding-fifty-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.5;
}
.pub-founding-fifty-desc strong { color: #fff; font-size: 1.1rem; }
.pub-founding-fifty-small {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 4px;
}
.pub-founding-ctas { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.pub-founding-more {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.pub-founding-more:hover { color: #fff; text-decoration: underline; }
.pub-founding-graphic { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════ */
.pub-hero {
  background: linear-gradient(160deg, #eef1f8 0%, var(--bg) 60%);
  padding: 80px 32px 72px;
  overflow: hidden;
}
.pub-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pub-hero-headline {
  color: var(--blue);
  margin-bottom: 20px;
}
.pub-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.pub-hero-sub strong { color: var(--blue); }
.pub-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pub-hero-illustration { width: 100%; min-width: 0; }
.pub-hero-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0,17,88,0.22), 0 4px 12px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════════════════════════════════
   PAIN STRIP
═══════════════════════════════════════════════════════════════════════ */
.pub-pain-strip {
  background: var(--blue);
  padding: 56px 32px;
}
.pub-pain-heading {
  text-align: center;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 36px;
}
.pub-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.pub-pain-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-pain-icon { font-size: 1.6rem; }
.pub-pain-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES HIGHLIGHT
═══════════════════════════════════════════════════════════════════════ */
.pub-features-highlight {
  padding: 88px 32px;
  background: var(--white);
}
.pub-features-highlight .pub-container { text-align: center; }
.pub-features-highlight .pub-section-title { margin-bottom: 48px; }

.pub-feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
}
.pub-feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--grey);
  transition: box-shadow 0.2s;
}
.pub-feature-card:hover { box-shadow: 0 8px 32px rgba(0,17,88,0.1); }
.pub-feature-card-icon  { margin-bottom: 20px; }
.pub-feature-card h3    { font-size: 1.2rem; margin-bottom: 12px; color: var(--text); }
.pub-feature-card p     { margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════════════
   AUDIENCE SPLIT
═══════════════════════════════════════════════════════════════════════ */
.pub-audience-split {
  padding: 88px 32px;
  background: var(--bg);
  text-align: center;
}
.pub-audience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
  margin-top: 48px;
}
.pub-audience-card {
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.pub-audience-card:hover { box-shadow: 0 12px 40px rgba(0,17,88,0.13); }
.pub-audience-card--sports:hover { border-color: #1a7a3a; }
.pub-audience-card--music:hover  { border-color: var(--orange); }
.pub-audience-svg { width: 100%; background: var(--grey); }
.pub-audience-svg svg { width: 100%; height: auto; display: block; }
.pub-audience-card-text {
  padding: 28px 28px 24px;
  flex: 1;
}
.pub-audience-card-text h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.pub-audience-card-text p { font-size: 0.97rem; margin-bottom: 18px; }
.pub-audience-link { color: var(--orange); font-weight: 700; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════════════════
   SECONDARY FEATURES
═══════════════════════════════════════════════════════════════════════ */
.pub-secondary-features {
  padding: 88px 32px;
  background: var(--white);
  text-align: center;
}
.pub-secondary-features .pub-section-title { margin-bottom: 48px; }
.pub-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}
.pub-fg-item {
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--grey);
}
.pub-fg-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.pub-fg-item strong { display: block; margin-bottom: 6px; font-size: 0.97rem; color: var(--text); }
.pub-fg-item p { font-size: 0.88rem; }

/* ═══════════════════════════════════════════════════════════════════════
   HONEST PRICING STRIP
═══════════════════════════════════════════════════════════════════════ */
.pub-pricing-strip {
  background: var(--orange);
  padding: 72px 32px;
}
.pub-pricing-strip-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.pub-pricing-strip-text h2 { color: #fff; margin-bottom: 12px; }
.pub-pricing-strip-text p  { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 1rem; }
.pub-pricing-strip-pillars { display: flex; flex-direction: column; gap: 14px; }
.pub-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
.pub-pillar-no {
  min-width: 40px;
  height: 28px;
  padding: 0 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   EU SOVEREIGNTY
═══════════════════════════════════════════════════════════════════════ */
.pub-sovereignty {
  background: var(--bg);
  padding: 88px 32px;
  border-top: 1px solid var(--grey);
}
.pub-sovereignty-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}
.pub-sovereignty-shield { flex-shrink: 0; }
.pub-sovereignty-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.2;
}
.pub-sovereignty-text p { font-size: 1.05rem; margin-bottom: 18px; }

/* ═══════════════════════════════════════════════════════════════════════
   CTA FOOTER SECTION
═══════════════════════════════════════════════════════════════════════ */
.pub-cta-section {
  background: var(--blue);
  padding: 88px 32px;
  text-align: center;
}
.pub-cta-section h2 { color: #fff; margin-bottom: 12px; }
.pub-cta-section p  { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════════════════ */
.pub-footer {
  background: #000d3d;
  padding: 48px 32px;
  color: rgba(255,255,255,0.6);
}
.pub-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
}
.pub-footer-brand .logo-totum { color: rgba(255,255,255,0.9); }
.pub-footer-brand .logo-teams  { color: var(--orange); }
.pub-footer-brand p { font-size: 0.82rem; margin-top: 8px; color: rgba(255,255,255,0.45); }
.pub-footer-logo { text-decoration: none; font-size: 1.3rem; font-weight: 800; }
.pub-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 4px;
}
.pub-footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.pub-footer-links a:hover { color: #fff; }
.pub-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pub-nav-links { display: none; }
  /* hide auth buttons on mobile — they are available in the drawer */
  .pub-nav-actions .pub-auth-btns { display: none; }
  .pub-nav-actions .pub-btn-ghost  { display: none; }
  .pub-nav-burger { display: block; }
  .pub-nav { padding: 0 16px; gap: 12px; }
  /* nav-links (flex:1 spacer) is hidden on mobile — push lang picker + burger to the right */
  .pub-nav-actions { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════
   TRUST BAR — for dark hero backgrounds (white pills)
═══════════════════════════════════════════════════════════════════════ */
.pub-trust-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pub-trust-pill-light {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════════════════════════════════════════
   "NO" PRICING STRIP — light background, 4-pillar grid
═══════════════════════════════════════════════════════════════════════ */
.pub-no-strip {
  background: #fff8f0;
  padding: 72px 32px;
  border-top: 4px solid var(--orange);
}
.pub-no-strip-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.pub-no-strip-text h2 { color: var(--blue); margin-bottom: 12px; }
.pub-no-strip-text p  { color: var(--muted); margin-bottom: 20px; font-size: 1rem; }
.pub-no-pillars {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.pub-no-pillar {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid var(--grey);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.pub-no-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   AI TERMINAL WIDGET — shared across features, sports, music pages
═══════════════════════════════════════════════════════════════════════ */
.pub-ai-terminal {
  background: #0d1b3e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.45);
}
.pub-ai-terminal-bar {
  background: #162040;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pub-term-dot { width: 11px; height: 11px; border-radius: 50%; }
.pub-term-dot.red   { background: #ff5f56; }
.pub-term-dot.amber { background: #ffbd2e; }
.pub-term-dot.green { background: #27c93f; }
.pub-term-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
  margin-left: 6px;
}
.pub-ai-messages {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pub-ai-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pub-ai-bubble.user { flex-direction: row-reverse; }
.pub-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pub-bubble-avatar.user-av { background: var(--orange); color: #fff; }
.pub-bubble-avatar.ai-av   { background: #162040; color: rgba(255,255,255,0.7); font-size: 1rem; }
.pub-bubble-text {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.55;
  font-family: monospace;
}
.pub-ai-bubble.user .pub-bubble-text {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.pub-ai-bubble:not(.user) .pub-bubble-text {
  background: #162040;
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
}
.pub-ai-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 20px;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════════════
   GHOST BUTTON — white (for dark sections)
═══════════════════════════════════════════════════════════════════════ */
.pub-btn-ghost-white {
  display: inline-block;
  color: rgba(255,255,255,0.9);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.18s, background 0.18s;
  background: transparent;
  cursor: pointer;
}
.pub-btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

@media (max-width: 600px) {
  /* Hero */
  .pub-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pub-hero-ctas { justify-content: center; }
  .pub-hero-sub   { margin: 0 auto 32px; }
  .pub-hero-illustration { display: none; }
  .pub-hero-trust-bar { justify-content: center; }

  /* Founding banner */
  .pub-founding-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pub-founding-graphic { display: none; }
  .pub-founding-headline { justify-content: center; }
  .pub-founding-ctas { justify-content: center; }

  /* Founding fifty box: stack vertically on mobile */
  .pub-founding-fifty {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .pub-founding-fifty-number { white-space: normal; }

  /* Features */
  .pub-feature-pair     { grid-template-columns: 1fr; }
  .pub-audience-cards   { grid-template-columns: 1fr; }

  /* Pricing strip */
  .pub-pricing-strip-inner { grid-template-columns: 1fr; }
  .pub-pricing-strip-pillars { flex-direction: row; flex-wrap: wrap; gap: 8px; }

  /* Sovereignty */
  .pub-sovereignty-inner { flex-direction: column; text-align: center; }

  /* Footer */
  .pub-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pub-footer-links { justify-content: center; }
  .pub-footer-meta  { align-items: center; }

  /* Pain / features grid */
  .pub-pain-grid { grid-template-columns: 1fr; }
  .pub-feature-grid { grid-template-columns: 1fr; }

  /* Only stamp alignment */
  .pub-features-highlight .pub-container { text-align: center; }

  /* NO pricing strip */
  .pub-no-strip-inner { grid-template-columns: 1fr; gap: 32px; }
  .pub-no-pillars { grid-template-columns: repeat(2,1fr); }

  /* Trust bar */
  .pub-trust-bar { justify-content: center; }
}
