/* 
   Omni Design System
   Visual Language: Premium Technical Layer & Luminous Accent Orbits
   Inspired by: Apple, Linear, Vercel, OpenAI
*/

:root {
  color-scheme: dark;
  
  /* Core Base Colors */
  --bg: #030508;
  --panel: rgba(8, 11, 19, 0.55);
  --panel-hover: rgba(13, 18, 30, 0.75);
  --panel-solid: #06090e;
  --panel-strong: rgba(10, 15, 26, 0.9);
  --ink: #f1f5f9;
  --muted: #8e9cae;
  --text-muted-dark: #586576;
  --line: rgba(255, 255, 255, 0.045);
  --line-hover: rgba(255, 255, 255, 0.09);
  
  /* Logo Color System (Accents) */
  --teal: #14b8a6;
  --teal-glow: rgba(20, 184, 166, 0.15);
  --teal-border: rgba(20, 184, 166, 0.3);
  
  --orange: #f97316;
  --orange-glow: rgba(249, 115, 22, 0.15);
  --orange-border: rgba(249, 115, 22, 0.3);
  
  --blue: #0ea5e9;
  --blue-glow: rgba(14, 165, 233, 0.15);
  --blue-border: rgba(14, 165, 233, 0.3);
  
  --blue-light: #38bdf8;
  --blue-light-glow: rgba(56, 189, 248, 0.15);
  --blue-light-border: rgba(56, 189, 248, 0.3);
  
  --ivory: #faf7f5;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Grotesk', 'Fira Code', monospace;
  
  /* Radius & Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  
  /* Multilayered ambient glowing background (Derived from logo palette) */
  background-image: 
    radial-gradient(circle at 50% -20%, rgba(20, 184, 166, 0.13) 0%, transparent 45%),
    radial-gradient(circle at 15% 45%, rgba(14, 165, 233, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
}

/* Premium Blueprint Dot Grid Background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 24px 24px, 120px 120px, 120px 120px;
  mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.1) 85%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.1) 85%, rgba(0, 0, 0, 0) 100%);
}

/* Headings & Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ivory);
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Sticky Header with Ambient Blur */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 24px;
  margin-top: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(8, 11, 19, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  transition: border-color 0.3s;
}

.site-header:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--ivory);
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.site-header nav a:not(.nav-pill) {
  position: relative;
  padding: 6px 0;
}

.site-header nav a:not(.nav-pill)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--blue-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header nav a:not(.nav-pill):hover {
  color: var(--ivory);
}

.site-header nav a:not(.nav-pill):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.3);
  background: rgba(20, 184, 166, 0.06);
  color: var(--teal) !important;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.nav-pill:hover {
  background: rgba(20, 184, 166, 0.16);
  border-color: rgba(20, 184, 166, 0.6);
  box-shadow: 0 0 25px rgba(20, 184, 166, 0.25);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  width: min(1200px, calc(100% - 48px));
  min-height: calc(82vh - 90px);
  margin: 0 auto;
  padding: 40px 0 80px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.05);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 15%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 44px;
  font-weight: 400;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.button.primary {
  background: linear-gradient(135deg, var(--teal) 0%, #0d9488 100%);
  color: #020617;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(20, 184, 166, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #18ccb8 0%, #0f9f92 100%);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--ivory);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Console/System Map Preview (Hardware Module Feel) */
.console-preview {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 24px;
  width: 100%;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.console-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 40%, rgba(20,184,166,0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.console-preview:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.98), 0 0 50px rgba(20, 184, 166, 0.05);
}

.glow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.06) 0%, transparent 60%);
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.console-topbar span[class^="dot-"] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.8;
}

.dot-red { background-color: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.5); }
.dot-yellow { background-color: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.5); }
.dot-green { background-color: #10b981; box-shadow: 0 0 6px rgba(16,185,129,0.5); }

.console-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.console-visual-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.omni-core-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.signal-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 184, 166, 0.15);
  background: rgba(20, 184, 166, 0.03);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(5px);
}

.pulse {
  width: 8px;
  height: 8px;
  background-color: var(--teal);
  border-radius: 50%;
  margin-top: 6px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--teal);
}

.pulse::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background-color: var(--teal);
  opacity: 0.4;
  animation: pingPulse 3s ease-in-out infinite;
}

@keyframes pingPulse {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

.signal-details strong {
  display: block;
  font-size: 0.85rem;
  color: var(--ivory);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.signal-details p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
}

/* SVG Animations representing the operating layer */
@keyframes spinClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.compass-outer {
  transform-origin: 200px 200px;
  animation: spinClockwise 80s linear infinite;
}

.compass-inner-orbital {
  transform-origin: 200px 200px;
  animation: spinCounterClockwise 35s linear infinite;
}

/* Data Stream animations along pathways */
@keyframes streamFlow {
  0% { stroke-dashoffset: 32; }
  100% { stroke-dashoffset: -32; }
}

.stream-line {
  stroke-linecap: round;
  animation: streamFlow 4s linear infinite;
}

.stream-teal { animation-duration: 3.2s; }
.stream-blue { animation-duration: 3.6s; }
.stream-blue-light { animation-duration: 3.4s; }
.stream-orange { animation-duration: 4s; }

/* Outer Node pulse animation */
@keyframes nodeRipple {
  0% { r: 6px; opacity: 0.75; }
  100% { r: 18px; opacity: 0; }
}

.node-pulse-ring {
  transform-origin: center;
  animation: nodeRipple 3.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.node-left .node-pulse-ring { animation-delay: 0s; }
.node-top-right .node-pulse-ring { animation-delay: 0.8s; }
.node-right .node-pulse-ring { animation-delay: 1.6s; }
.node-bottom-left .node-pulse-ring { animation-delay: 2.4s; }

/* Breathing core dot animation */
@keyframes corePulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 5px rgba(20,184,166,0.3)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 18px rgba(20,184,166,0.8)); }
  100% { transform: scale(0.96); filter: drop-shadow(0 0 5px rgba(20,184,166,0.3)); }
}

.core-dot-glow {
  transform-origin: 200px 200px;
  animation: corePulse 4.5s ease-in-out infinite;
}

/* Fine tech text formatting inside SVG */
.omni-core-svg text {
  pointer-events: none;
  font-weight: 500;
}

/* Linear Blueprint Section Separator */
.section-divider {
  width: min(1200px, calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0) 0%, 
    rgba(255,255,255,0.05) 15%, 
    rgba(20, 184, 166, 0.25) 50%, 
    rgba(255,255,255,0.05) 85%, 
    rgba(255,255,255,0) 100%
  );
  position: relative;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue-light));
  filter: blur(2px);
  opacity: 0.8;
}

/* Visual flow guideline down the page */
.flow-connector-vertical {
  width: 1px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(20, 184, 166, 0.2), rgba(255,255,255,0.02));
  position: relative;
}

.flow-connector-vertical::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--teal);
  animation: flowLight 4s infinite linear;
}

@keyframes flowLight {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Capabilities Section */
.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Feature/Capability Card System (Tactile Glassmorphism) */
.feature-card {
  position: relative;
  padding: 44px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.015), transparent 60%);
  transition: all 0.5s;
  pointer-events: none;
}

/* Inner border glow helper */
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.03) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: all 0.5s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--panel-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 28px;
  color: var(--muted);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-icon svg {
  transform: scale(1.1) rotate(2deg);
}

/* Card custom lights matching logo palette nodes */
/* Card 1: Blue (Reasoning) */
.feature-card:nth-child(1):hover { 
  border-color: rgba(14, 165, 233, 0.25); 
  box-shadow: 0 20px 45px rgba(14, 165, 233, 0.05), 0 30px 60px rgba(0, 0, 0, 0.65); 
}
.feature-card:nth-child(1):hover::after {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.4) 0%, rgba(255,255,255,0) 60%, rgba(14, 165, 233, 0.1) 100%);
}
.feature-card:nth-child(1):hover .card-icon { 
  background: rgba(14, 165, 233, 0.08); 
  border-color: rgba(14, 165, 233, 0.25); 
  color: var(--blue-light); 
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}

/* Card 2: Teal (Memory) */
.feature-card:nth-child(2):hover { 
  border-color: rgba(20, 184, 166, 0.25); 
  box-shadow: 0 20px 45px rgba(20, 184, 166, 0.05), 0 30px 60px rgba(0, 0, 0, 0.65); 
}
.feature-card:nth-child(2):hover::after {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.4) 0%, rgba(255,255,255,0) 60%, rgba(20, 184, 166, 0.1) 100%);
}
.feature-card:nth-child(2):hover .card-icon { 
  background: rgba(20, 184, 166, 0.08); 
  border-color: rgba(20, 184, 166, 0.25); 
  color: var(--teal); 
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.15);
}

/* Card 3: Orange (Reminders) */
.feature-card:nth-child(3):hover { 
  border-color: rgba(249, 115, 22, 0.25); 
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.05), 0 30px 60px rgba(0, 0, 0, 0.65); 
}
.feature-card:nth-child(3):hover::after {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(255,255,255,0) 60%, rgba(249, 115, 22, 0.1) 100%);
}
.feature-card:nth-child(3):hover .card-icon { 
  background: rgba(249, 115, 22, 0.08); 
  border-color: rgba(249, 115, 22, 0.25); 
  color: var(--orange); 
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

/* Card 4: Blue Light (Docs) */
.feature-card:nth-child(4):hover { 
  border-color: rgba(56, 189, 248, 0.25); 
  box-shadow: 0 20px 45px rgba(56, 189, 248, 0.05), 0 30px 60px rgba(0, 0, 0, 0.65); 
}
.feature-card:nth-child(4):hover::after {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(255,255,255,0) 60%, rgba(56, 189, 248, 0.1) 100%);
}
.feature-card:nth-child(4):hover .card-icon { 
  background: rgba(56, 189, 248, 0.08); 
  border-color: rgba(56, 189, 248, 0.25); 
  color: var(--blue-light); 
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

/* Card 5: Orange (Voice) */
.feature-card:nth-child(5):hover { 
  border-color: rgba(249, 115, 22, 0.25); 
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.05), 0 30px 60px rgba(0, 0, 0, 0.65); 
}
.feature-card:nth-child(5):hover::after {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(255,255,255,0) 60%, rgba(249, 115, 22, 0.1) 100%);
}
.feature-card:nth-child(5):hover .card-icon { 
  background: rgba(249, 115, 22, 0.08); 
  border-color: rgba(249, 115, 22, 0.25); 
  color: var(--orange); 
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

/* Card 6: Teal (Actions) */
.feature-card:nth-child(6):hover { 
  border-color: rgba(20, 184, 166, 0.25); 
  box-shadow: 0 20px 45px rgba(20, 184, 166, 0.05), 0 30px 60px rgba(0, 0, 0, 0.65); 
}
.feature-card:nth-child(6):hover::after {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.4) 0%, rgba(255,255,255,0) 60%, rgba(20, 184, 166, 0.1) 100%);
}
.feature-card:nth-child(6):hover .card-icon { 
  background: rgba(20, 184, 166, 0.08); 
  border-color: rgba(20, 184, 166, 0.25); 
  color: var(--teal); 
  box-shadow: 0 0 15px rgba(20, 184, 166, 0.15);
}

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* Safety & Operating Discipline Section */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 80px;
  margin-top: 20px;
}

.safety-info {
  max-width: 480px;
}

.safety-sub {
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.safety-list {
  display: grid;
  gap: 16px;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.safety-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.safety-item:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--panel-strong);
  transform: translateX(4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.safety-indicator {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--muted);
}

.safety-indicator svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s;
}

.safety-item:hover .safety-indicator {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--ivory);
}

.safety-item:hover .safety-indicator svg {
  transform: scale(1.08);
}

.safety-item:nth-child(1):hover .safety-indicator { color: var(--teal); border-color: rgba(20, 184, 166, 0.25); box-shadow: 0 0 12px rgba(20, 184, 166, 0.15); }
.safety-item:nth-child(2):hover .safety-indicator { color: var(--blue-light); border-color: rgba(56, 189, 248, 0.25); box-shadow: 0 0 12px rgba(56, 189, 248, 0.15); }
.safety-item:nth-child(3):hover .safety-indicator { color: var(--orange); border-color: rgba(249, 115, 22, 0.25); box-shadow: 0 0 12px rgba(249, 115, 22, 0.15); }

.safety-copy h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}

.safety-copy p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* Site Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ivory);
}

.footer-brand img {
  width: 22px;
  height: 22px;
}

.site-footer nav {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer nav a {
  position: relative;
}

.site-footer nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--ivory);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer nav a:hover {
  color: var(--ivory);
}

.site-footer nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Legal Documents Layout */
.legal-page {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 100px;
}

.legal-document {
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  background: var(--panel-solid);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  position: relative;
}

.legal-document::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.legal-document h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  margin: 8px 0 16px;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.legal-document section {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.legal-document section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-document h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}

.legal-document p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 18px;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

/* Responsive Rules & Reflows */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-copy {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .console-preview {
    max-width: 480px;
    margin: 0 auto;
    transform: none !important;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 60px;
  }
  
  .safety-info {
    max-width: 100%;
    text-align: center;
  }
  
  .safety-list {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    margin-top: 8px;
  }
  
  .site-header nav {
    gap: 18px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .button {
    width: 100%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 36px 28px;
  }
  
  .safety-item {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
  }
  
  .safety-indicator {
    width: 38px;
    height: 38px;
  }
  
  .site-footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 40px 0;
  }
  
  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .legal-document {
    padding: 24px;
  }
}
