/*
  SideGuy Solutions — Cinematic 2026 Shell
  Apple-film quality · Ocean San Diego · Clear text everywhere
  v1 · April 2026
*/

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --sky:          #f5fbff;
  --sky2:         #e4f5fb;
  --white:        rgba(255,255,255,.96);
  --white-soft:   rgba(255,255,255,.82);
  --border:       rgba(11,45,72,.08);
  --border-blue:  rgba(0,150,200,.18);
  --shadow-sm:    0 2px 12px rgba(0,40,80,.06);
  --shadow-md:    0 8px 40px rgba(0,40,80,.08);
  --shadow-lg:    0 24px 80px rgba(0,40,80,.10);
  --text:         #0b2d48;
  --muted:        #3d6070;
  --sea:          #0096c7;
  --mint:         #00b894;
  --radius-lg:    24px;
  --radius-pill:  999px;
}

/* ── Page canvas — Pacific sky ───────────────────────────── */
html, body {
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%,   rgba(0,184,232,.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 10%,  rgba(0,184,148,.05), transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0,140,210,.04), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky2) 100%) !important;
  color: var(--text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Clear all section backgrounds ──────────────────────── */
section, main, article, header, aside, nav, footer {
  background-color: transparent !important;
  background-image: none !important;
}

/* ── Glass card system ───────────────────────────────────── */
.card, .glassCard, .share-card, .hero-card, .heroGlow,
.pillarCard, .radarCard, .panel, .noteCard, .bigCta,
.sectionCard, .domSection, .trustSection, .sg-cinematic-shell,
[class*="Card"], [class*="card"] {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  backdrop-filter: blur(40px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--text) !important;
  transition: box-shadow .22s ease, transform .22s ease;
}

.card:hover, .pillarCard:hover, .radarCard:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-2px);
}

/* ── Typography — dark, clear, weighted ─────────────────── */
h1, h2, h3, h4 {
  color: var(--text) !important;
  font-weight: 800 !important;
  letter-spacing: -.025em;
  line-height: 1.12;
}

h1 { font-size: clamp(36px, 5.5vw, 72px); }
h2 { font-size: clamp(24px, 3.5vw, 44px); }

p, li {
  color: var(--muted) !important;
  line-height: 1.72;
}

strong, b { color: var(--text) !important; }

.eyebrow, .badge, .label, .sectionLabel, .radarLabel,
[class*="eyebrow"], [class*="badge"] {
  color: var(--sea) !important;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Card inner text ─────────────────────────────────────── */
.cardTitle, .pName, .query { color: var(--text) !important; }
.bullets, .pDesc, .context { color: var(--muted) !important; }

/* ── Links ───────────────────────────────────────────────── */
a { color: var(--sea); text-decoration: none; }
a:hover { color: #006fa8; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0,150,200,.35), rgba(0,184,148,.25));
  border-radius: 4px;
}

/* ── Text PJ Orb ─────────────────────────────────────────── */
.sg-text-orb {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: -.01em;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(0,150,200,.20) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0,100,180,.14),
    0 2px 8px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.9);
  animation: sgOrbFloat 3.2s ease-in-out infinite;
  color: var(--text) !important;
}

.sg-text-orb:hover {
  box-shadow:
    0 16px 48px rgba(0,100,180,.20),
    0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-3px);
  animation: none;
}

.sg-orb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sea) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,150,200,.30);
  animation: sgAvatarPulse 2.4s ease-in-out infinite;
}

.sg-orb-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sg-orb-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sea) !important;
}

.sg-orb-name {
  font-size: .92rem;
  font-weight: 900;
  color: var(--text) !important;
  letter-spacing: -.02em;
}

.sg-orb-sub {
  font-size: .72rem;
  color: var(--muted) !important;
  font-weight: 500;
}

.sg-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
  margin-right: 5px;
  animation: sgDotBlink 2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(0,184,148,.15);
}

@keyframes sgOrbFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@keyframes sgAvatarPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,150,200,.30); }
  50%       { box-shadow: 0 4px 24px rgba(0,150,200,.50), 0 0 0 6px rgba(0,150,200,.08); }
}

@keyframes sgDotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
