/* ==========================================================================
   GRATIA AI LTD — HUMANITY PROTOCOL ARCHETYPE (CERAMIC WHITE EDITION)
   High-Fashion Tech Minimalist Aesthetic with Mouse-Tracking Humanoid Hero
   ========================================================================== */

:root {
  --bg-pure: #FFFFFF;
  --bg-subtle: #F8F9FA;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-elevated: #FFFFFF;
  --bg-dark-pill: #0F172A;
  
  --text-main: #0B0F19;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --text-mono-tag: #475569;

  --border-light: rgba(15, 23, 42, 0.07);
  --border-card: rgba(15, 23, 42, 0.1);
  --border-dark: #0F172A;

  --accent-amber: #F59E0B;
  --accent-cyan: #0284C7;
  --accent-emerald: #059669;

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.08);

  --trans-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-pure);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-pure);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle Ethereal Ambient Background */
.ambient-subtle-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(at 15% 15%, rgba(240, 244, 250, 0.8) 0px, transparent 60%),
    radial-gradient(at 85% 20%, rgba(248, 250, 252, 0.9) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(241, 245, 249, 0.6) 0px, transparent 50%);
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 2;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border-light);
  transition: var(--trans-smooth);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-cube-icon {
  width: 46px;
  height: 44px;
  color: var(--text-main);
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--trans-smooth), opacity var(--trans-smooth);
}

.brand-link:hover .brand-cube-icon {
  transform: translateY(-1px) scale(1.05);
  opacity: 0.85;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--trans-smooth);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-card);
  padding: 6px 12px;
  border-radius: 100px;
  transition: var(--trans-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle-link:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.btn-pill-dark {
  background: var(--bg-dark-pill);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--trans-smooth);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12);
}

.btn-pill-dark:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

/* ==========================================================================
   HERO SECTION (Humanity Protocol Layout)
   ========================================================================== */
.hero-humanoid-section {
  padding-top: 130px;
  padding-bottom: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-tag-mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-mono-tag);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
  font-weight: 600;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 32px;
}

/* Floating View More Card (Humanity Protocol Style) */
.hero-floating-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 22px 26px;
  max-width: 440px;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(12px);
  margin-bottom: 32px;
  position: relative;
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}

.hero-floating-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.floating-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-pill-btn {
  background: #F1F5F9;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-light);
}

.card-eye-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.floating-card-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Hero Action Strip */
.hero-action-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 45px;
}

.btn-get-touch {
  background: var(--bg-dark-pill);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--trans-smooth);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
}

.btn-get-touch:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.28);
}

.link-how-it-works {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans-smooth);
}

.link-how-it-works:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   FRONTIER MODEL EVALUATION PULSE BADGE (HERO)
   Replaces static snippet with dynamic, pulsing frontier model ticker
   ========================================================================== */
.hero-eval-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light, rgba(226, 232, 240, 0.9));
  border-radius: 14px;
  padding: 8px 14px 8px 10px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  max-width: 440px;
}

.hero-eval-pulse-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  border-color: rgba(148, 163, 184, 0.5);
}

/* Backward-compatibility fallback */
.hero-demo-snippet {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 16px 8px 8px;
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(10px);
}

/* Icon / Logo Box */
.model-badge-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #0B1120;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.model-badge-icon-box::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at center, var(--active-glow, rgba(217, 119, 87, 0.35)), transparent 70%);
  opacity: 0.75;
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Logo Scroll Viewport */
.model-logo-scroll-viewport {
  width: 46px;
  height: 46px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.model-logo-scroll-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.model-logo-item {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.model-logo-item svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Specific provider logo colors */
.provider-logo-svg.claude-logo {
  color: #E07A5F;
}

.provider-logo-svg.openai-logo {
  color: #10A37F;
}

.provider-logo-svg.gemini-logo {
  color: #38BDF8;
}

/* Badge Content Stack */
.model-badge-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 200px;
}

/* Top Row: Pulse Beacon + Kicker + Index Tag */
.model-badge-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-beacon-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pulse-beacon-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  animation: beaconRipple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes beaconRipple {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.model-badge-kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748B;
  text-transform: uppercase;
}

.model-badge-index-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 600;
  color: #94A3B8;
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.12);
}

/* Middle Row: Model Vertical Auto-Scroll Reel Viewport */
.model-badge-scroll-viewport {
  height: 26px;
  overflow: hidden;
  position: relative;
  margin: 1px 0;
}

.model-badge-scroll-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.model-scroll-item {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.model-pulse-name {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

.model-pulse-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.66rem;
  font-weight: 500;
  color: #475569;
  background: rgba(15, 23, 42, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  white-space: nowrap;
  line-height: 1.2;
}

/* Bottom Progress Pips */
.model-badge-pips {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.model-badge-pips .pip {
  width: 5px;
  height: 3px;
  border-radius: 2px;
  background: #CBD5E1;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease;
  cursor: pointer;
}

.model-badge-pips .pip:hover {
  background: #94A3B8;
}

.model-badge-pips .pip.active {
  width: 18px;
  background: #0F172A;
}

/* Advance / Cycle Button */
.model-badge-advance-btn {
  background: none;
  border: none;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.hero-eval-pulse-badge:hover .model-badge-advance-btn {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.05);
}

.model-badge-advance-btn:hover {
  transform: translateX(2px);
  color: #0F172A;
}

/* ==========================================================================
   HUMANOID HEAD 3D MOUSE-TRACKING STAGE
   ========================================================================== */
.hero-humanoid-stage {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.humanoid-interactive-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 540px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.humanoid-bust-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.08));
  transition: transform 0.15s ease-out;
}

/* Visor Dynamic Specular Reflection Beam */
.visor-glare-reflection {
  position: absolute;
  top: 25%;
  left: 30%;
  width: 160px;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: overlay;
  transition: transform 0.1s ease-out, opacity 0.2s ease;
  transform-origin: center;
  z-index: 5;
}

/* Amber Ear Sensor Pulse Light */
.ear-sensor-beacon {
  position: absolute;
  top: 31%;
  right: 44%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.9) 0%, rgba(245, 158, 11, 0) 70%);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
  pointer-events: none;
  animation: amberPulse 2.4s ease-in-out infinite;
  z-index: 4;
}

@keyframes amberPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Active Cybernetic Eye Pupil */
.visor-cyber-eye {
  position: absolute;
  top: 36.2%;
  left: 47.6%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.35);
  border: 1px solid rgba(0, 242, 254, 0.85);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.85), inset 0 0 4px #00F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
  transition: transform 0.08s ease-out;
}

.eye-pupil-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00F2FE;
  box-shadow: 0 0 8px #00F2FE;
}

/* Gaze Vector Live Telemetry Chip */
.gaze-vector-chip {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-card);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mono-tag);
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  white-space: nowrap;
}

.pulse-beacon-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F2FE;
  box-shadow: 0 0 8px #00F2FE;
  display: inline-block;
}

/* Holographic Technical Leader Callouts */
.humanoid-callout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mono-tag);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-card);
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow-subtle);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  z-index: 6;
  white-space: nowrap;
}

.callout-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-main);
}

.callout-cranial {
  top: 10%;
  right: 15%;
}

.callout-visor {
  top: 26%;
  left: 8%;
}

.callout-sensor {
  top: 42%;
  right: 10%;
}

.callout-piston {
  bottom: 18%;
  left: 12%;
}

/* Vertical Slide Indicator Rail (Right Margin) */
.vertical-slider-rail {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  z-index: 10;
}

.rail-num {
  font-weight: 600;
}

.rail-line-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rail-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all var(--trans-smooth);
}

.rail-dot.active {
  width: 9px;
  height: 9px;
  background: #0F172A;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

/* Bottom Mouse Scroll Prompter */
.bottom-mouse-scroll {
  position: absolute;
  bottom: 24px;
  right: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  z-index: 10;
}

.mouse-icon-svg {
  width: 14px;
  height: 18px;
  stroke: var(--text-muted);
}

/* ==========================================================================
   CERAMIC WHITE SECTION CARDS (Services, Architecture, 12-Gate Standard)
   ========================================================================== */
section.content-section,
section[id] {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 85px;
}

.ceramic-service-card {
  scroll-margin-top: 100px;
}

.section-anchor-alias {
  position: absolute;
  top: -85px;
  visibility: hidden;
  pointer-events: none;
}

.section-head-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-mono-tag);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-heading-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  line-height: 1.15;
}

.section-desc-p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 3 Core Services in Ceramic White Grid */
.ceramic-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ceramic-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

.ceramic-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

.ceramic-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030712;
  overflow: hidden;
}

.ceramic-card-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ceramic-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.ceramic-service-card:hover .ceramic-card-media img {
  transform: scale(1.04);
}

.ceramic-media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 2;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F2FE;
  box-shadow: 0 0 6px #00F2FE;
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
    box-shadow: 0 0 10px #00F2FE;
  }
}

.ceramic-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.ceramic-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.ceramic-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ceramic-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ceramic-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-check-dark {
  color: var(--text-main);
  font-weight: 700;
}

.ceramic-deliverable-strip {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mono-tag);
}

/* ==========================================================================
   12-GATE QUALITY STANDARD GRID (Ceramic Edition)
   ========================================================================== */
.ceramic-gates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ceramic-gate-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth), border-color var(--trans-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.ceramic-gate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.22);
}

.ceramic-gate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ceramic-gate-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.ceramic-gate-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F2FE;
  box-shadow: 0 0 6px rgba(0, 242, 254, 0.6);
}

.ceramic-gate-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.ceramic-gate-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin: 0;
}

.ceramic-gate-desc code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(15, 23, 42, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-main);
}

@media (max-width: 1200px) {
  .ceramic-gates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .ceramic-gates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .ceramic-gates-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PHILOSOPHY SECTION WITH ETHEREAL CERAMIC VOID MOTION ELEMENTS
   ========================================================================== */
.philosophy-void-section,
.philosophy-cinematic-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-pure);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 125px 0;
  min-height: 860px;
}

.philosophy-void-backdrop,
.philosophy-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.philosophy-void-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}

.void-ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  opacity: 0.75;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 50%, black 40%, transparent 85%);
}

/* Ambient Floating Glow Orbs Calibrated for Ceramic Background */
.void-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.void-orb-cyan {
  top: 8%;
  left: 12%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.075) 0%, rgba(2, 132, 199, 0) 70%);
  filter: blur(80px);
  animation: floatVoidOrb1 18s ease-in-out infinite alternate;
}

.void-orb-indigo {
  bottom: 8%;
  right: 10%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.065) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(90px);
  animation: floatVoidOrb2 22s ease-in-out infinite alternate-reverse;
}

.void-orb-violet {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 660px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.05) 0%, rgba(168, 85, 247, 0) 70%);
  filter: blur(95px);
  animation: pulseVoidOrb 12s ease-in-out infinite alternate;
}

@keyframes floatVoidOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(55px, 35px) scale(1.08); }
  100% { transform: translate(-30px, 65px) scale(0.94); }
}

@keyframes floatVoidOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, -35px) scale(1.1); }
  100% { transform: translate(35px, -20px) scale(0.92); }
}

@keyframes pulseVoidOrb {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  100% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.1); }
}

.philosophy-void-overlay,
.philosophy-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.35) 100%);
  pointer-events: none;
}

.philosophy-content-container {
  position: relative;
  z-index: 3;
}

.phil-header-light {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 55px;
}

.eyebrow-cyan {
  color: #0284C7 !important;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-shadow: none !important;
}

.phil-title-white {
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.phil-desc-light {
  color: var(--text-muted) !important;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto;
}

/* 3 Doctrinal Pillars Grid (Ceramic White Aesthetic) */
.philosophy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 45px;
}

.phil-pillar-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 34px 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.phil-pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pillar-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.pillar-beacon-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284C7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

.pillar-title {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.62;
  margin-bottom: 24px;
}

.pillar-metric-tag {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #0284C7;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Telemetry Spec Bar (Ceramic White Aesthetic) */
.philosophy-specs-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 26px 30px;
  backdrop-filter: blur(16px);
  margin-bottom: 45px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.spec-stat-cell {
  text-align: center;
  border-right: 1px solid var(--border-light);
  padding: 0 12px;
}

.spec-stat-cell:last-child {
  border-right: none;
}

.spec-stat-number {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: #0284C7;
  display: block;
  margin-bottom: 4px;
  text-shadow: none;
}

.spec-stat-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  margin-bottom: 2px;
}

.spec-stat-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Bottom Action Row */
.philosophy-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-pill-cyan {
  background: #0F172A;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.btn-pill-cyan:hover {
  background: #0284C7;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
}

.btn-pill-glass {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-card);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-pill-glass:hover {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
  .philosophy-pillars-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-specs-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .spec-stat-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
  }
  .spec-stat-cell:last-child {
    border-bottom: none;
  }
}

/* Footer (Humanity Style) */
.humanity-footer {
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
  background: #FFFFFF;
}

.footer-main-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.footer-brand-p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 440px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col-header {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--trans-smooth);
}

.footer-nav-list a:hover {
  color: var(--text-main);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.footer-reg-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-sep {
  opacity: 0.4;
}

.footer-privacy-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--trans-smooth);
}

.footer-privacy-link:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-floating-card {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-action-strip {
    justify-content: center;
  }
  .hero-humanoid-stage {
    height: 480px;
  }
  .vertical-slider-rail {
    display: none;
  }
  .ceramic-services-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .footer-main-grid {
    flex-direction: column;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
  }
}
