/* ============================================================
   CH.HEALTHCARE — Conceptual Health Design System
   The Best in Healthcare. The Best in Design.
   ============================================================ */

/* --- Geist Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Animated Gradient Border --- */
@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* --- Design Tokens --- */
:root {
  --background: #030014;
  --foreground: #ededed;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-bg-hover: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.14);
  --text-primary: #ededed;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-faint: rgba(255, 255, 255, 0.25);
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --purple: #a78bfa;
  --emerald: #34d399;
  --amber: #fbbf24;
  --orange: #fb923c;
  --red: #f87171;
  --green: #4ade80;
  --gold-1: #C8A961;
  --gold-2: #E8D5A0;
  --glow-cyan: 0 0 20px rgba(34, 211, 238, 0.3), 0 0 60px rgba(34, 211, 238, 0.1);
  --glow-emerald: 0 0 20px rgba(52, 211, 153, 0.3), 0 0 60px rgba(52, 211, 153, 0.1);
  --glow-orange: 0 0 20px rgba(251, 146, 60, 0.3), 0 0 60px rgba(251, 146, 60, 0.1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* --- Utility Classes --- */
.glass {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glow-cyan { box-shadow: var(--glow-cyan); }
.glow-emerald { box-shadow: var(--glow-emerald); }

.gradient-text {
  background: linear-gradient(135deg, #fff, var(--cyan), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Scroll Animation Base --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

/* Particle canvas sits behind everything */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(34, 211, 238, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 50%, rgba(167, 139, 250, 0.06) 0%, transparent 60%),
    var(--background);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: meshDrift 30s linear infinite;
}

@keyframes meshDrift {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* --- Animated Orb --- */
.orb-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 2.5rem;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
}

.orb-ring-outer {
  inset: 0;
  border-color: rgba(34, 211, 238, 0.2);
  animation: orbRotate 20s linear infinite;
}

.orb-ring-mid {
  inset: 20px;
  border-color: rgba(59, 130, 246, 0.25);
  animation: orbRotate 15s linear infinite reverse;
}

.orb-ring-inner {
  inset: 40px;
  border-color: rgba(167, 139, 250, 0.3);
  animation: orbPulse 4s ease-in-out infinite;
}

.orb-core {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(34, 211, 238, 0.9) 0%,
    rgba(59, 130, 246, 0.7) 40%,
    rgba(167, 139, 250, 0.5) 70%,
    rgba(167, 139, 250, 0.2) 100%);
  box-shadow:
    0 0 40px rgba(34, 211, 238, 0.4),
    0 0 80px rgba(59, 130, 246, 0.2),
    0 0 120px rgba(167, 139, 250, 0.1);
  animation: orbGlow 4s ease-in-out infinite;
}

/* Ring tick marks */
.orb-ring-outer::before,
.orb-ring-mid::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 2px;
  height: 8px;
  background: var(--cyan);
  border-radius: 1px;
  transform: translateX(-50%);
  opacity: 0.6;
}

.orb-ring-mid::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--purple);
  border-radius: 1px;
  transform: translateX(-50%);
  opacity: 0.5;
}

@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes orbGlow {
  0%, 100% {
    box-shadow: 0 0 40px rgba(34,211,238,0.4), 0 0 80px rgba(59,130,246,0.2), 0 0 120px rgba(167,139,250,0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 60px rgba(34,211,238,0.5), 0 0 100px rgba(59,130,246,0.3), 0 0 160px rgba(167,139,250,0.15);
    transform: scale(1.03);
  }
}

/* Hero text */
.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.hero-title .brand-name {
  background: linear-gradient(135deg, #ffffff 0%, rgba(34,211,238,0.9) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .reg-mark {
  font-size: 0.4em;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  vertical-align: super;
  margin-left: 2px;
}

.hero-tagline {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Formula teaser */
.formula-card {
  display: inline-block;
  border-radius: 16px;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.formula-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.formula-eq {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.formula-eq .var-ch { color: var(--cyan); }
.formula-eq .var-op { color: var(--text-muted); }
.formula-eq .var-val { color: var(--text-secondary); }
.formula-eq .sup-c { color: var(--cyan); }
.formula-eq .sup-p { color: var(--purple); }

.formula-patent {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: 0.25rem;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.25);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  background: transparent;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  color: #fff;
  transform: translateY(-2px);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.8);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-glass:hover {
  background: var(--card-bg-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.25);
}

.btn-emerald:hover {
  box-shadow: 0 6px 30px rgba(52, 211, 153, 0.4);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.25);
}

.btn-orange:hover {
  box-shadow: 0 6px 30px rgba(251, 146, 60, 0.4);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
}

.btn-amber:hover {
  box-shadow: 0 6px 30px rgba(251, 191, 36, 0.4);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Scroll hint */
.scroll-hint {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  animation: bounce 2.5s ease-in-out infinite;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.scroll-hint:hover { opacity: 0.8; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   SECTION 2: TRUST BAR — BY THE NUMBERS
   ============================================================ */
.trust-section {
  padding: 5rem 0;
  position: relative;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust-card {
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.trust-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
}

.trust-value {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.trust-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   SECTION 3: THE ECOSYSTEM
   ============================================================ */
.ecosystem-section {
  padding: 5rem 0;
  position: relative;
}

.ecosystem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(167, 139, 250, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(34, 211, 238, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
}

/* --- Ecosystem Card --- */
.eco-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  outline-offset: 3px;
}

.eco-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.eco-card:active {
  transform: translateY(-1px) scale(0.995);
}

/* Animated gradient border on hover */
.eco-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  padding: 1px;
  background: conic-gradient(from var(--border-angle), transparent 40%, var(--card-accent, var(--cyan)) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderRotate 4s linear infinite;
}

.eco-card:hover::before {
  opacity: 1;
}

@keyframes borderRotate {
  to { --border-angle: 360deg; }
}

/* Left color accent */
.eco-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--card-accent);
  border-radius: 4px 0 0 4px;
  transition: width var(--transition-fast);
}

.eco-card:hover .eco-card-accent {
  width: 6px;
}

/* Card icon */
.eco-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition-smooth);
}

.eco-card:hover .eco-card-icon {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.eco-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.eco-card:hover .eco-card-icon svg {
  color: var(--card-accent, var(--text-primary));
}

/* Card body */
.eco-card-body {
  flex: 1;
  min-width: 0;
}

.eco-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.15rem;
  transition: color var(--transition-fast);
}

.eco-card:hover .eco-card-title {
  color: #fff;
}

.eco-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Card arrow */
.eco-card-arrow {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: all var(--transition-fast);
}

.eco-card:hover .eco-card-arrow {
  transform: translateX(4px);
  color: var(--text-secondary);
}

/* HEALTHCOIN gold */
.eco-card-gold .eco-card-title {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2), var(--gold-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Highlighted card (UTM) */
.eco-card.highlighted {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3), 0 4px 20px rgba(34, 211, 238, 0.15);
  animation: highlightPulse 2s ease-in-out 3;
}

@keyframes highlightPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34,211,238,0.3), 0 4px 20px rgba(34,211,238,0.15); }
  50% { box-shadow: 0 0 0 4px rgba(34,211,238,0.5), 0 4px 30px rgba(34,211,238,0.25); }
}

/* ============================================================
   SECTION 4: NEXUSORB SHOWCASE
   ============================================================ */
.showcase-section {
  padding: 5rem 0;
  position: relative;
}

.showcase-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.showcase-content {
  flex: 1;
}

.showcase-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.6);
  margin-bottom: 0.5rem;
}

.showcase-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.showcase-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 540px;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.feature-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--cyan);
  margin-top: 2px;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.phone-frame {
  width: 280px;
  height: 560px;
  border-radius: 40px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, #0a0020 0%, #030014 100%);
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 16px;
}

.phone-orb-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 16px;
}

.phone-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(34, 211, 238, 0.8) 0%,
    rgba(59, 130, 246, 0.6) 35%,
    rgba(167, 139, 250, 0.4) 65%,
    rgba(167, 139, 250, 0.1) 100%);
  box-shadow:
    0 0 30px rgba(34, 211, 238, 0.3),
    0 0 60px rgba(59, 130, 246, 0.15);
  animation: phoneOrbPulse 3s ease-in-out infinite;
}

@keyframes phoneOrbPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(34,211,238,0.3), 0 0 60px rgba(59,130,246,0.15); }
  50% { transform: scale(1.04); box-shadow: 0 0 40px rgba(34,211,238,0.4), 0 0 80px rgba(59,130,246,0.2); }
}

.phone-score {
  text-align: center;
  margin-bottom: 8px;
}

.phone-score-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.phone-score-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phone-axes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 8px;
}

.phone-axis {
  text-align: center;
  padding: 6px 2px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.phone-axis-code {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.phone-axis-bar {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  margin: 3px auto 0;
  opacity: 0.7;
}

/* Floating badges around phone */
.phone-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phone-badge {
  position: absolute;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  animation: badgeFloat 6s ease-in-out infinite;
}

.phone-badge:nth-child(1) { top: 10%; right: -30%; animation-delay: 0s; background: rgba(34,211,238,0.15); border: 1px solid rgba(34,211,238,0.3); color: var(--cyan); }
.phone-badge:nth-child(2) { top: 35%; left: -25%; animation-delay: 1.5s; background: rgba(167,139,250,0.15); border: 1px solid rgba(167,139,250,0.3); color: var(--purple); }
.phone-badge:nth-child(3) { bottom: 30%; right: -35%; animation-delay: 3s; background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.3); color: var(--emerald); }
.phone-badge:nth-child(4) { bottom: 10%; left: -20%; animation-delay: 4.5s; background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); color: var(--blue); }

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

/* ============================================================
   SECTION 5: RADAR CHART — THE SCIENCE
   ============================================================ */
.radar-section {
  padding: 5rem 0;
  position: relative;
}

.radar-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.radar-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.radar-chart-container {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

.radar-chart-container svg {
  width: 100%;
  height: 100%;
}

/* Animated radar polygon */
.radar-polygon {
  transition: all 1.5s ease;
}

.radar-polygon.animate {
  animation: radarDraw 2s ease forwards;
}

@keyframes radarDraw {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}

.radar-info {
  text-align: center;
}

.radar-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.radar-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.axis-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.axis-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.axis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SECTION 6: GUARDIANRIDE
   ============================================================ */
.ride-section {
  padding: 5rem 0;
}

.ride-card {
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.ride-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

.ride-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.ride-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.ride-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
}

.ride-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ride-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ride-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.ride-quote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(251, 191, 36, 0.3);
}

/* ============================================================
   SECTION 7: ZERO-FEE FRANCHISE
   ============================================================ */
.franchise-section {
  padding: 5rem 0;
}

.franchise-card {
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.franchise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.franchise-badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--emerald);
  margin-bottom: 1rem;
}

.franchise-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.franchise-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ============================================================
   SECTION 8: THE STANDARD — MOTTO
   ============================================================ */
.motto-section {
  padding: 6rem 0;
  position: relative;
}

.motto-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.motto-quote-mark {
  font-size: 5rem;
  color: rgba(34, 211, 238, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
}

.motto-quote-mark.open { top: -2rem; left: -0.5rem; }
.motto-quote-mark.close { bottom: -3rem; right: -0.5rem; }

.motto-quote {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.motto-follow {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.motto-divider {
  width: 64px;
  height: 2px;
  background: rgba(34, 211, 238, 0.3);
  margin: 0 auto 1rem;
}

.motto-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION 9: FINAL CTA
   ============================================================ */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================================
   SECTION 10: FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand-col { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-logo-text .reg {
  font-size: 0.5rem;
  color: var(--cyan);
  vertical-align: super;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: #fff;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.7rem;
  color: var(--text-faint);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.footer-legal-links a,
.footer-legal-links span {
  font-size: 0.7rem;
  color: var(--text-faint);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

.footer-legal-links .sep {
  color: rgba(255,255,255,0.15);
}

.footer-hipaa {
  font-size: 0.7rem;
  color: rgba(34, 211, 238, 0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (600px+) */
@media (min-width: 600px) {
  .hero-ctas,
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .eco-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .ride-features {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .axis-legend {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop (960px+) */
@media (min-width: 960px) {
  .section-container {
    padding: 0 2rem;
  }

  .showcase-layout,
  .radar-layout {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }

  .radar-info {
    text-align: left;
  }

  .radar-info p {
    margin-left: 0;
  }

  .radar-chart-container {
    width: 360px;
    height: 360px;
  }

  .phone-mockup {
    width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Print */
@media print {
  .hero-bg, #particle-canvas, .scroll-hint, .phone-badges { display: none; }
  body { background: #fff; color: #000; }
  .eco-card, .glass, .glass-strong { border: 1px solid #ccc; break-inside: avoid; background: #fff; }
}
