/* ============================================================
   GUARDIANHEART.CARE — Stylesheet
   Design System: Dark navy base, heart-red accent, teal for Aegis
   ============================================================ */

:root {
  --dark:        #040d1a;
  --navy:        #080f20;
  --navy-light:  #0e1d35;
  --blue-mid:    #1a3a6b;
  --accent:      #2563eb;
  --accent-glow: rgba(37,99,235,0.25);
  --heart:       #dc2626;
  --heart-light: #ef4444;
  --heart-glow:  rgba(220,38,38,0.2);
  --teal:        #0d9488;
  --teal-light:  #14b8a6;
  --teal-glow:   rgba(13,148,136,0.2);
  --gold:        #f59e0b;
  --white:       #f0f4ff;
  --text:        #94a3b8;
  --text-bright: #cbd5e1;
  --text-dim:    #475569;
  --border:      rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.12);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:  'Crimson Pro', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--text-bright);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
input, select, textarea, button { font-family: inherit; }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--heart-light);
  margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}

/* ---- Reveal Animations ---- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(4, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px var(--heart-glow));
  transition: filter var(--transition);
}
.logo-mark:hover { filter: drop-shadow(0 0 16px rgba(220,38,38,0.5)); }
.logo-mark-sm { width: 28px; height: 28px; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-heart { color: var(--heart-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 10px 20px;
  background: var(--heart);
  color: white !important;
  border-radius: 8px;
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--heart-light) !important;
  box-shadow: 0 0 20px var(--heart-glow);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #0e1d35 0%, var(--dark) 70%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 24px 100px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: transparent;
  background: linear-gradient(135deg, var(--heart-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-outcome {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* Heartbeat SVG */
.heartbeat-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 40px;
  height: 60px;
}
.heartbeat-svg { width: 100%; height: 100%; }
.heartbeat-line {
  fill: none;
  stroke: var(--heart);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  filter: drop-shadow(0 0 6px var(--heart));
  animation: draw-heart 2s ease forwards 0.8s, heartbeat-loop 3s ease-in-out infinite 2.8s;
}
@keyframes draw-heart {
  to { stroke-dashoffset: 0; }
}
@keyframes heartbeat-loop {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px var(--heart)); }
  50% { opacity: 0.6; filter: drop-shadow(0 0 2px var(--heart)); }
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-label {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.05em;
}
.btn-aegis {
  background: linear-gradient(135deg, var(--teal), #0f766e);
  color: white;
  box-shadow: 0 4px 24px rgba(13,148,136,0.3);
}
.btn-aegis:hover {
  box-shadow: 0 8px 32px rgba(13,148,136,0.5);
  transform: translateY(-2px);
}
.btn-covenant {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-color: var(--border-bright);
}
.btn-covenant:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 32px; }
.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
}
.stat-unit { color: var(--heart-light); font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 12px; color: var(--text); letter-spacing: 0.05em; margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: fade-in-out 2s ease infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scroll-drop 2s ease infinite;
}
@keyframes fade-in-out { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes scroll-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  padding: 120px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.philosophy-header { text-align: center; max-width: 700px; margin: 0 auto 80px; }
.philosophy-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 24px;
}
.philosophy-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  border-left: 2px solid var(--heart);
  padding-left: 24px;
  text-align: left;
}
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar {
  text-align: center;
  padding: 48px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  color: var(--heart-light);
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.pillar p { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  padding: 120px 0;
  background: var(--dark);
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.product-card {
  position: relative;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.product-card:hover { transform: translateY(-4px); }
.product-covenant {
  background: linear-gradient(135deg, #0e1d35 0%, #08111f 100%);
  border-color: rgba(37,99,235,0.2);
}
.product-covenant:hover { border-color: rgba(37,99,235,0.4); }
.product-aegis {
  background: linear-gradient(135deg, #062520 0%, #040d1a 100%);
  border-color: rgba(13,148,136,0.2);
}
.product-aegis:hover { border-color: rgba(13,148,136,0.4); }
.product-bg-shape {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.05;
}
.product-covenant .product-bg-shape { background: var(--accent); }
.product-aegis .product-bg-shape { background: var(--teal); }

/* Covenant Shield */
.covenant-shield {
  position: relative;
  width: 80px; height: 90px;
  margin: 0 auto 24px;
}
.covenant-shield svg { width: 100%; height: 100%; filter: drop-shadow(0 0 16px rgba(37,99,235,0.4)); }
.shield-pulse {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 50%;
  animation: shield-breathe 3s ease infinite;
}
@keyframes shield-breathe {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* Aegis Orb */
.aegis-orb {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aegis-ring {
  position: absolute;
  border: 1px solid rgba(13,148,136,0.3);
  border-radius: 50%;
  animation: ring-expand 3s linear infinite;
}
.ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.ring-2 { width: 80%; height: 80%; animation-delay: 0.5s; }
.ring-3 { width: 60%; height: 60%; animation-delay: 1s; }
@keyframes ring-expand {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50% { opacity: 0.6; transform: scale(1.05); }
}
.aegis-core {
  width: 40px; height: 40px;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(13,148,136,0.6));
}
.aegis-core svg { width: 100%; height: 100%; }

.product-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-align: center;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}
.product-covenant .product-name { color: #93c5fd; }
.product-aegis .product-name { color: var(--teal-light); }
.product-tagline {
  font-size: 0.95rem;
  color: var(--text-dim);
  text-align: center;
  font-style: italic;
  margin-bottom: 24px;
}
.product-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-features li { font-size: 0.9rem; color: var(--text-bright); display: flex; align-items: center; gap: 10px; }
.feat-check { color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.aegis-check { color: var(--teal-light); }
.product-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(37,99,235,0.4);
  color: #93c5fd;
  transition: all var(--transition);
}
.product-cta:hover {
  background: rgba(37,99,235,0.15);
  border-color: rgba(37,99,235,0.6);
}
.aegis-cta {
  border-color: rgba(13,148,136,0.4);
  color: var(--teal-light);
}
.aegis-cta:hover {
  background: rgba(13,148,136,0.15);
  border-color: rgba(13,148,136,0.6);
}
.products-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.capabilities {
  padding: 120px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--border);
}
.capability-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.capability-row-reverse { direction: rtl; }
.capability-row-reverse > * { direction: ltr; }
.cap-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--heart-light);
  margin-bottom: 12px;
}
.capability-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}
.capability-content p { color: var(--text); line-height: 1.8; margin-bottom: 24px; }
.cap-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cap-list li {
  font-size: 0.9rem;
  color: var(--text-bright);
  padding-left: 20px;
  position: relative;
}
.cap-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--heart);
}

/* Merkle Demo */
.capability-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.merkle-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.merkle-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 130px;
  text-align: center;
  transition: all var(--transition);
}
.merkle-block:hover { border-color: var(--border-bright); }
.block-label { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.1em; }
.block-hash { font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); margin-bottom: 10px; word-break: break-all; }
.block-status { font-size: 11px; font-weight: 600; }
.block-status.verified { color: var(--teal); }
.block-status.writing { color: var(--gold); animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.merkle-arrow { color: var(--text-dim); font-size: 1.2rem; }

/* Voice Demo */
.voice-demo {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 380px;
}
.voice-waveform { margin-bottom: 16px; }
#waveCanvas { width: 100%; height: 80px; }
.voice-transcript {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-bright);
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 16px;
  min-height: 50px;
}
.nlp-entities { display: flex; gap: 8px; flex-wrap: wrap; }
.entity {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
}
.entity-adl { background: rgba(37,99,235,0.2); color: #93c5fd; border: 1px solid rgba(37,99,235,0.3); }
.entity-mood { background: rgba(220,38,38,0.15); color: #fca5a5; border: 1px solid rgba(220,38,38,0.3); }
.entity-dietary { background: rgba(13,148,136,0.15); color: var(--teal-light); border: 1px solid rgba(13,148,136,0.3); }

/* Phone / Portal Demo */
.portal-demo { display: flex; align-items: center; justify-content: center; }
.phone-frame {
  width: 240px;
  background: #0a0a0a;
  border-radius: 32px;
  padding: 12px;
  border: 1px solid #333;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-screen {
  background: var(--navy);
  border-radius: 22px;
  overflow: hidden;
  padding: 16px;
  min-height: 280px;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.phone-logo {
  width: 28px; height: 28px;
  background: var(--heart);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: white;
}
.notification-feed { display: flex; flex-direction: column; gap: 10px; }
.notif {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  transition: all 0.5s ease;
}
.notif-hidden { opacity: 0; transform: translateY(10px); }
.notif-icon { font-size: 18px; flex-shrink: 0; }
.notif-title { font-size: 12px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.notif-text { font-size: 11px; color: var(--text); }
.notif-confidence { border-color: rgba(13,148,136,0.3); }
.notif-activity { border-color: rgba(37,99,235,0.2); }
.notif-mood { border-color: rgba(245,158,11,0.2); }

/* Alert Demo */
.alert-demo { width: 100%; max-width: 380px; }
.alert-widget {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.4);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}
.alert-pulse {
  position: absolute;
  inset: 0;
  background: rgba(220,38,38,0.05);
  animation: alert-pulse 1.5s ease infinite;
}
@keyframes alert-pulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.alert-icon { font-size: 24px; flex-shrink: 0; z-index: 1; }
.alert-content { flex: 1; z-index: 1; }
.alert-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #fca5a5; margin-bottom: 4px; }
.alert-text { font-size: 12px; color: var(--text-bright); }
.alert-ack {
  background: rgba(220,38,38,0.3);
  border: 1px solid rgba(220,38,38,0.5);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1;
  transition: all var(--transition);
}
.alert-ack:hover { background: rgba(220,38,38,0.5); }
.pref-list { display: flex; flex-direction: column; gap: 12px; }
.pref-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-bright);
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pref-icon { font-size: 1rem; }

/* ============================================================
   SECURITY
   ============================================================ */
.security {
  padding: 120px 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.security-card {
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.security-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.sec-icon {
  width: 48px; height: 48px;
  color: var(--heart-light);
  margin-bottom: 20px;
}
.sec-icon svg { width: 100%; height: 100%; }
.security-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.security-card p { font-size: 0.875rem; color: var(--text); line-height: 1.7; }

/* Dataflow Diagram */
.dataflow {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.dataflow-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.dataflow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.df-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 120px;
  transition: border-color var(--transition);
}
.df-node:hover { border-color: var(--border-bright); }
.df-node-icon { font-size: 24px; }
.df-node-label { font-size: 12px; font-weight: 600; color: var(--white); }
.df-node-sub { font-size: 10px; color: var(--text-dim); font-family: var(--font-mono); }
.df-input { border-color: rgba(37,99,235,0.3); }
.df-ledger { border-color: rgba(220,38,38,0.3); }
.df-stream { border-color: rgba(13,148,136,0.3); }
.df-arrow-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.df-arrow-top, .df-arrow-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.df-arrow-top svg, .df-arrow-bottom svg { width: 80px; height: 16px; }
.arrow-label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.phi-label { color: rgba(220,38,38,0.7); }
.tele-label { color: rgba(13,148,136,0.7); }
.df-split, .df-outputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 120px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
}
.contact-info p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-label { font-size: 11px; color: var(--text-dim); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-link { font-size: 0.95rem; color: var(--white); }
a.contact-link:hover { color: var(--teal-light); }
.contact-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-bright);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(220,38,38,0.5); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy); color: var(--white); }
.form-submit {
  padding: 16px;
  background: linear-gradient(135deg, var(--heart), #9f1239);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(220,38,38,0.3);
}
.form-submit:hover {
  box-shadow: 0 8px 32px rgba(220,38,38,0.5);
  transform: translateY(-2px);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success {
  text-align: center;
  padding: 24px;
  background: rgba(13,148,136,0.1);
  border: 1px solid rgba(13,148,136,0.3);
  border-radius: var(--radius);
}
.success-icon { font-size: 2rem; color: var(--teal); margin-bottom: 8px; }
.form-success p { color: var(--teal-light); font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand p.footer-tagline {
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 8px;
  max-width: 260px;
  line-height: 1.6;
}
.footer-llc { font-size: 12px; color: var(--text-dim); font-family: var(--font-mono); }
.footer-links-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-compliance { font-family: var(--font-mono); font-size: 11px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-pillars { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .capability-row { grid-template-columns: 1fr; gap: 40px; }
  .capability-row-reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0;
    background: rgba(4,13,26,0.97);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 24px;
    align-items: flex-start;
  }
  .hero-stats { padding: 20px; flex-direction: column; gap: 20px; }
  .stat-divider { width: 100%; height: 1px; }
  .security-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
