/* ============================================================
   博馨数智 — Enterprise-Grade Design System V2
   Reference: Stripe · Vercel · Linear · Medtronic
   
   Color Philosophy: 
   - Deep Navy → Midnight base (authority)
   - Electric Blue → Brand primary (technology)
   - Luminous Cyan → Accent (healthcare/vitality)
   - Warm Amber → Humanity & care (sparingly)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* ——— Color System (OKLCH-inspired precision) ——— */

  /* Core Navy — 深邃而有权威 */
  --midnight-950: #020617;
  --midnight-900: #0A0F1E;
  --midnight-800: #0F172A;
  --midnight-700: #1A2342;
  --midnight-600: #243352;

  /* Electric Blue — 科技蓝, Stripe/Linear 风格 */
  --electric-600: #2563EB;
  --electric-500: #3B82F6;
  --electric-400: #60A5FA;
  --electric-300: #93C5FD;
  --electric-200: #BFDBFE;
  --electric-100: #DBEAFE;
  --electric-50: #EFF6FF;

  /* Luminous Cyan — 生命力、健康 */
  --cyan-500: #06B6D4;
  --cyan-400: #22D3EE;
  --cyan-300: #67E8F9;

  /* Warm Amber — 仅用于温暖点缀 */
  --amber-500: #D97706;
  --amber-400: #F59E0B;
  --amber-300: #FCD34D;
  --amber-200: #FDE68A;
  --amber-100: #FEF3C7;

  /* Neutral — 精密的灰度体系 */
  --slate-950: #020617;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  /* ——— Semantic ——— */
  --color-bg-primary: var(--white);
  --color-bg-secondary: var(--slate-50);
  --color-bg-tertiary: var(--slate-100);
  --color-bg-dark: var(--midnight-900);
  --color-bg-darker: var(--midnight-950);

  --color-text-primary: var(--slate-900);
  --color-text-secondary: var(--slate-500);
  --color-text-tertiary: var(--slate-400);
  --color-text-inverse: var(--white);

  --color-brand: var(--electric-600);
  --color-brand-light: var(--electric-500);
  --color-brand-subtle: var(--electric-50);

  --color-border: var(--slate-200);
  --color-border-subtle: rgba(148, 163, 184, 0.12);

  /* ——— Gradients ——— */
  --gradient-brand: linear-gradient(135deg, var(--electric-600), var(--cyan-500));
  --gradient-brand-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
  --gradient-dark: linear-gradient(180deg, var(--midnight-900) 0%, var(--midnight-950) 100%);
  --gradient-hero-overlay: linear-gradient(160deg, rgba(10, 15, 30, 0.92) 0%, rgba(15, 23, 42, 0.78) 40%, rgba(37, 99, 235, 0.35) 100%);
  --gradient-glow-blue: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.06), transparent 40%);
  --gradient-glow-cyan: radial-gradient(400px circle at 80% 20%, rgba(6, 182, 212, 0.08), transparent 40%);
  --gradient-warm: linear-gradient(135deg, var(--amber-500), var(--amber-400));
  --gradient-card-border: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.1), transparent);

  /* ——— Typography ——— */
  --font-display: 'Outfit', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* ——— Spacing (8px-based) ——— */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --section-py: clamp(96px, 12vw, 160px);
  --container-max: 1200px;

  /* ——— Shadows ——— */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .03);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .15);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, .12);
  --shadow-glow-sm: 0 0 20px rgba(37, 99, 235, .15);

  /* ——— Radii ——— */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ——— Motion ——— */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* ---------- Typography — Confident, Clean ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-20);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-brand);
  margin-bottom: var(--sp-4);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-brand);
  opacity: 0.4;
}

.section-title {
  margin-bottom: var(--sp-5);
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--color-brand-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-sm);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brand);
  padding: 14px 20px;
}

.btn-ghost:hover {
  background: var(--color-brand-subtle);
}

.btn i {
  font-size: 1em;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover i {
  transform: translateX(3px);
}

/* ============================================================
   NAVIGATION — Floating, Minimal, Apple-like
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--duration-normal);
  letter-spacing: -0.01em;
}

.navbar.scrolled .nav-logo {
  color: var(--color-text-primary);
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
}

.navbar.scrolled .nav-links a {
  color: var(--color-text-secondary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-cta {
  padding: 9px 22px !important;
  background: var(--color-brand) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
}

.nav-cta:hover {
  background: var(--color-brand-light) !important;
  box-shadow: var(--shadow-glow-sm) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--duration-fast);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-text-primary);
}

/* ============================================================
   HERO — Cinematic, Canvas-powered
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--midnight-950);
}

.hero .container {
  max-width: 1360px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--midnight-950);
}

.hero-video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.65) brightness(0.82) contrast(1.02);
  transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  display: block;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10, 15, 30, 0.82) 0%,
      rgba(10, 15, 30, 0.48) 35%,
      rgba(10, 15, 30, 0.15) 70%,
      transparent 100%),
    linear-gradient(0deg,
      rgba(10, 15, 30, 0.75) 0%,
      rgba(10, 15, 30, 0.15) 30%,
      transparent 50%);
  z-index: 1;
}

/* Canvas replaces particle div system */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Gradient mesh orbs — subtle luminance */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: orbDrift 20s infinite ease-in-out;
}

.hero-glow-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--electric-500);
  top: -10%;
  right: 5%;
}

.hero-glow-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--cyan-400);
  bottom: 0;
  left: 15%;
  animation-delay: -7s;
  opacity: 0.08;
}

.hero-glow-orb:nth-child(3) {
  width: 300px;
  height: 300px;
  background: var(--amber-400);
  top: 50%;
  right: 25%;
  animation-delay: -13s;
  opacity: 0.05;
}

@keyframes orbDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(40px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 40px) scale(0.95);
  }

  75% {
    transform: translate(30px, 20px) scale(1.02);
  }
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding-top: 100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-8);
  backdrop-filter: blur(12px);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  flex-shrink: 0;
  animation: pulse 2s infinite ease-in-out;
  will-change: transform;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale3d(1, 1, 1);
  }

  50% {
    opacity: 1;
    transform: scale3d(1.3, 1.3, 1);
  }
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-6);
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--electric-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: var(--sp-10);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-32);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(16px);
  contain: layout;
}

.stat-item {
  text-align: center;
  padding: var(--sp-6) var(--sp-3);
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-number {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.24rem, 1.95vw, 1.72rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stat-suffix {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--electric-400);
  margin-left: 1px;
}

.stat-unit {
  font-size: 0.34em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 4px;
  vertical-align: middle;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--color-bg-primary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-24);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 18px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  border: 1px solid var(--color-border-subtle);
}

.about-floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
}

.about-floating-card .number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-floating-card .label {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.about-text .section-eyebrow {
  justify-content: flex-start;
}

.about-text .section-subtitle {
  margin: 0 0 var(--sp-10);
  text-align: left;
  max-width: none;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.value-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid transparent;
  cursor: default;
}

.value-card:hover {
  background: var(--slate-50);
  border-color: var(--color-border-subtle);
  transform: translateX(4px);
}

.value-num-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.value-num-badge.warm {
  background: rgba(217, 119, 6, 0.05);
  border: 1px solid rgba(217, 119, 6, 0.15);
  color: var(--amber-500);
}

.value-num-badge.blue {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--electric-600);
}

.value-num-badge.teal {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan-500);
}

.value-card:hover .value-num-badge {
  transform: scale(1.05);
}

.value-card:hover .value-num-badge.warm {
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.12);
}
.value-card:hover .value-num-badge.blue {
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.12);
}
.value-card:hover .value-num-badge.teal {
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.12);
}

.pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite ease-in-out;
}

.value-num-badge.warm .pulse-dot {
  background: var(--amber-400);
  box-shadow: 0 0 6px var(--amber-400);
}

.value-num-badge.blue .pulse-dot {
  background: var(--electric-500);
  box-shadow: 0 0 6px var(--electric-500);
}

.value-num-badge.teal .pulse-dot {
  background: var(--cyan-400);
  box-shadow: 0 0 6px var(--cyan-400);
}

.value-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.value-content p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   BUSINESS — Card Grid with Gradient Borders (Foundation Tech Blue)
   ============================================================ */
.business {
  padding: var(--section-py) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.18), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(6, 182, 212, 0.16), transparent 20%),
    linear-gradient(180deg, #071122 0%, #0b1529 42%, #0c1a30 100%);
  position: relative;
  overflow: hidden;
}

/* Scoped dark theme typography for business header */
.business .section-title {
  color: var(--white);
}

.business .section-subtitle {
  color: var(--slate-400);
}

/* Subtle glow that follows mouse */
.business::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.08), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.business:hover::before {
  opacity: 1;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  position: relative;
  z-index: 2;
}

/* Card with gradient border effect */
.business-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-8);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.business-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(6, 182, 212, 0.12), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.business-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
}

.business-card:hover::before {
  opacity: 1;
}

.business-card-number {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(96, 165, 250, 0.02);
  position: absolute;
  right: 24px;
  top: 12px;
  line-height: 1;
  transition: all var(--duration-normal) var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.business-card:hover .business-card-number {
  color: rgba(96, 165, 250, 0.08);
  transform: translateY(-2px);
}

.business-card h3 {
  margin-bottom: var(--sp-3);
  font-size: 1.2rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.business-card p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* Tech Glyphs Base */
.tech-glyph {
  width: 36px;
  height: 36px;
  position: relative;
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--duration-normal) var(--ease-out);
}

/* 1. Home care glyph: rotating box + pulsing core */
.glyph-home .outer-box {
  position: absolute;
  inset: 6px;
  border: 1.5px solid var(--electric-500);
  border-radius: 6px;
  transition: transform var(--duration-normal) var(--ease-out);
}
.glyph-home .inner-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan-500);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan-500);
  transition: transform var(--duration-normal) var(--ease-out);
}
.business-card:hover .glyph-home .outer-box {
  transform: rotate(45deg);
  border-color: var(--cyan-500);
}
.business-card:hover .glyph-home .inner-dot {
  transform: scale(1.3);
  background: var(--electric-500);
}

/* 2. Community care glyph: triangle network node */
.glyph-community {
  overflow: visible;
}
.glyph-community .node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--electric-500);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-out);
}
.glyph-community .n1 { top: 4px; left: 15px; }
.glyph-community .n2 { bottom: 6px; left: 4px; }
.glyph-community .n3 { bottom: 6px; right: 4px; }

.glyph-community .node-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glyph-community .node-lines line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
  transition: all var(--duration-normal) var(--ease-out);
}
.business-card:hover .glyph-community .n1 { transform: scale(1.3); background: var(--cyan-500); }
.business-card:hover .glyph-community .n2 { transform: scale(1.3); }
.business-card:hover .glyph-community .n3 { transform: scale(1.3); }
.business-card:hover .glyph-community .node-lines line {
  stroke: var(--electric-400);
  stroke-width: 2px;
}

/* 3. Institutional care glyph: concentric target */
.glyph-institution .circle-outer {
  position: absolute;
  inset: 2px;
  border: 1.5px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: spinSlow 12s linear infinite;
}
.glyph-institution .circle-inner {
  position: absolute;
  inset: 8px;
  border: 1.5px solid var(--electric-500);
  border-radius: 50%;
}
.glyph-institution .crosshair-h, .glyph-institution .crosshair-v {
  position: absolute;
  background: var(--cyan-500);
  opacity: 0.5;
  transition: all var(--duration-normal) var(--ease-out);
}
.glyph-institution .crosshair-h {
  width: 100%;
  height: 1px;
  left: 0;
  top: 18px;
}
.glyph-institution .crosshair-v {
  width: 1px;
  height: 100%;
  top: 0;
  left: 18px;
}
.business-card:hover .glyph-institution .circle-outer {
  border-color: var(--electric-500);
  border-style: solid;
}
.business-card:hover .glyph-institution .crosshair-h,
.business-card:hover .glyph-institution .crosshair-v {
  opacity: 1;
  background: var(--electric-500);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 4. Medical-care integration: overlapping synergy rings */
.glyph-synergy .ring {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--electric-500);
  border-radius: 6px;
  transition: all var(--duration-normal) var(--ease-out);
}
.glyph-synergy .ring-left {
  left: 3px;
  top: 8px;
  border-color: var(--electric-500);
}
.glyph-synergy .ring-right {
  right: 3px;
  bottom: 8px;
  border-color: var(--cyan-500);
}
.business-card:hover .glyph-synergy .ring-left {
  transform: translate(3px, 2px) rotate(15deg);
}
.business-card:hover .glyph-synergy .ring-right {
  transform: translate(-3px, -2px) rotate(-15deg);
}

/* 5. 24h protection glyph: radar sweep and active core */
.glyph-radar .radar-ping {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--amber-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber-500);
}
.glyph-radar .radar-sweep {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(217, 119, 6, 0.25);
  border-left-color: var(--amber-500);
  border-radius: 50%;
  animation: spinSlow 2s linear infinite;
}
.business-card:hover .glyph-radar .radar-ping {
  transform: scale(1.3);
  background: var(--electric-500);
  box-shadow: 0 0 10px var(--electric-500);
}
.business-card:hover .glyph-radar .radar-sweep {
  border-left-color: var(--electric-500);
}

/* 6. Smart hospital glyph: technical grid matrix */
.glyph-hospital {
  position: relative;
  overflow: visible;
}
.glyph-hospital .grid-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--duration-normal) var(--ease-out);
}
.glyph-hospital .h1 { width: 100%; height: 1px; left: 0; top: 12px; }
.glyph-hospital .h2 { width: 100%; height: 1px; left: 0; top: 24px; }
.glyph-hospital .v1 { width: 1px; height: 100%; top: 0; left: 12px; }
.glyph-hospital .v2 { width: 1px; height: 100%; top: 0; left: 24px; }
.glyph-hospital .grid-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--electric-500);
  border-radius: 50%;
  left: 23px;
  top: 9px;
  box-shadow: 0 0 6px var(--electric-500);
  transition: all var(--duration-normal) var(--ease-out);
}
.business-card:hover .glyph-hospital .grid-line {
  background: rgba(255, 255, 255, 0.25);
}
.business-card:hover .glyph-hospital .grid-node {
  background: var(--cyan-500);
  box-shadow: 0 0 10px var(--cyan-500);
  transform: scale(1.2);
}

/* ============================================================
   PRODUCTS — Hospital
   ============================================================ */
.products-hospital {
  padding: var(--section-py) 0;
  background: var(--color-bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: var(--sp-5);
  background: var(--electric-50);
  color: var(--electric-600);
  transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card-icon {
  background: var(--gradient-brand);
  color: var(--white);
}

.product-card h3 {
  margin-bottom: var(--sp-2);
}

.product-card>p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.product-tag {
  padding: 3px 10px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================================
   PRODUCTS — Elderly Care
   ============================================================ */
.products-elderly {
  padding: var(--section-py) 0;
  background: var(--color-bg-secondary);
}

.elderly-suite {
  position: relative;
}

/* Layout: tabs on left, cards on right */
.elderly-suite-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
}

/* ── Left-side Tab Bar ── */
.elderly-suite-tabs {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  gap: 0;
  /* Nudge tabs 1px right so they overlap the card's left edge for seamless connection */
  margin-right: -1px;
  padding-top: 32px;
}

/* ── Individual Tab ── */
.elderly-suite-tab {
  position: relative;
  width: 72px;
  min-height: 160px;
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-right: none;
  /* seamless merge with card */
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 251, 255, 0.92) 100%);
  padding: 18px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 380ms var(--ease-out);
  outline: none;
  /* Inactive tabs are slightly recessed to the left */
  transform: translateX(-6px);
  opacity: 0.72;
  box-shadow: -4px 6px 20px rgba(15, 23, 42, 0.05);
}

/* Color-coded top accent strip inside each tab */
.elderly-suite-tab::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  height: 4px;
  border-radius: 999px;
  transition: background 380ms var(--ease-out), opacity 380ms var(--ease-out);
}

.elderly-suite-tab[data-tab-color="blue"]::after {
  background: linear-gradient(90deg, var(--electric-500), var(--cyan-400));
  opacity: 0.45;
}

.elderly-suite-tab[data-tab-color="green"]::after {
  background: linear-gradient(90deg, #16a34a, #22c55e);
  opacity: 0.45;
}

.elderly-suite-tab[data-tab-color="amber"]::after {
  background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
  opacity: 0.45;
}

/* Hover state for inactive tabs */
.elderly-suite-tab:hover:not(.is-active) {
  transform: translateX(-2px);
  opacity: 0.88;
  box-shadow: -4px 8px 24px rgba(15, 23, 42, 0.08);
}

/* ── Active Tab — seamlessly merges with the card ── */
.elderly-suite-tab.is-active {
  transform: translateX(0);
  opacity: 1;
  color: var(--color-text-primary);
  box-shadow: -6px 12px 30px rgba(15, 23, 42, 0.10);
  z-index: 5;
}

/* Active tab matches the active card's background */
.elderly-suite-tab.is-active[data-tab-color="blue"] {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  border-color: rgba(37, 99, 235, 0.10);
}

.elderly-suite-tab.is-active[data-tab-color="green"] {
  background: linear-gradient(180deg, #f8fcf7 0%, #eef8ed 100%);
  border-color: rgba(22, 163, 74, 0.10);
}

.elderly-suite-tab.is-active[data-tab-color="amber"] {
  background: linear-gradient(180deg, #fffaf5 0%, #fff4e8 100%);
  border-color: rgba(217, 119, 6, 0.12);
}

.elderly-suite-tab.is-active::after {
  opacity: 1;
}

/* Tab index number */
.elderly-suite-tab-index {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--color-brand);
  line-height: 1;
  margin-top: 10px;
}

/* Tab label — vertical text */
.elderly-suite-tab-text {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.08;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.06em;
  white-space: normal;
}

/* Arrow icon inside tab — points right toward the card */
.elderly-suite-tab-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-brand);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 300ms var(--ease-out);
}

.elderly-suite-tab.is-active .elderly-suite-tab-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Stage (card area) — 3D perspective ── */
.elderly-suite-stage {
  position: relative;
  min-height: 480px;
  perspective: 2400px;
  perspective-origin: 70% 50%;
}

.elderly-sector {
  --elderly-accent: rgba(37, 99, 235, 0.9);
  --elderly-soft: rgba(37, 99, 235, 0.12);
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: 0 30px 30px 0;
  padding: var(--sp-10);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.06);
  overflow: visible;
  /* Remove left border – the active tab covers it */
  border-left: none;
}

.sector-institutional {
  --elderly-accent: rgba(37, 99, 235, 0.92);
  --elderly-soft: rgba(37, 99, 235, 0.16);
}

.sector-community {
  --elderly-accent: rgba(22, 163, 74, 0.88);
  --elderly-soft: rgba(22, 163, 74, 0.14);
  background: linear-gradient(180deg, #f8fcf7 0%, #eef8ed 100%);
  border-color: rgba(22, 163, 74, 0.10);
}

.sector-home {
  --elderly-accent: rgba(217, 119, 6, 0.9);
  --elderly-soft: rgba(217, 119, 6, 0.15);
  background: linear-gradient(180deg, #fffaf5 0%, #fff4e8 100%);
  border-color: rgba(217, 119, 6, 0.12);
}

/* ── Card stacking with 3D transforms ── */
.elderly-suite-card {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: visible;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition:
    transform 600ms var(--ease-out),
    opacity 600ms var(--ease-out),
    box-shadow 600ms var(--ease-out),
    filter 600ms var(--ease-out);
}

.elderly-suite-card.is-active {
  z-index: 3;
  opacity: 1;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.10);
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

.elderly-suite-card.is-next {
  z-index: 2;
  opacity: 0.92;
  filter: saturate(0.97) brightness(1);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  transform: translate3d(44px, 20px, -80px) rotateY(-2.5deg) scale(0.992);
}

.elderly-suite-card.is-back {
  z-index: 1;
  opacity: 0.82;
  filter: saturate(0.92) brightness(0.98);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.07);
  transform: translate3d(84px, 40px, -150px) rotateY(-4deg) scale(0.984);
}

/* ── Card inner content ── */
.elderly-sector-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--sp-8);
  align-items: start;
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.elderly-sector-index {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--elderly-accent);
  margin-bottom: var(--sp-3);
}

.elderly-sector-head h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: var(--sp-4);
  max-width: 760px;
}

.elderly-sector-head p {
  max-width: 760px;
  color: var(--color-text-secondary);
  line-height: 1.85;
  font-size: 0.96rem;
}

.elderly-sector-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.elderly-sector-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--elderly-soft);
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.elderly-priority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}

.elderly-priority-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-xl);
  padding: 24px 26px 26px;
  min-height: 216px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out);
}

.elderly-priority-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.14);
}

.elderly-priority-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 14px;
}

.elderly-priority-kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-brand);
}

.elderly-priority-card h4 {
  font-size: 1.04rem;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-right: 8px;
}

.elderly-priority-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.82;
  padding-right: 10px;
  max-width: 30em;
}

/* ============================================================
   GUARDIAN — 24h — Dark, Immersive, Techy
   ============================================================ */
.guardian {
  padding: var(--section-py) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.18), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(6, 182, 212, 0.16), transparent 20%),
    linear-gradient(180deg, #071122 0%, #0b1529 42%, #0c1a30 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}


/* Conic Radar Sweep Background */
.guardian::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  margin-top: -600px;
  margin-left: -600px;
  background: conic-gradient(from 0deg, rgba(34, 211, 238, 0.1) 0deg, rgba(59, 130, 246, 0.03) 60deg, transparent 180deg, transparent 360deg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform-origin: center center;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}

.guardian.animation-active::after {
  opacity: 1;
  animation: guardianRadarSweep 8s linear infinite;
}

.guardian .section-eyebrow {
  color: var(--electric-400);
}

.guardian .section-eyebrow::before,
.guardian .section-eyebrow::after {
  background: var(--electric-400);
}

.guardian .section-title {
  color: var(--white);
}

.guardian .section-subtitle {
  color: var(--slate-400);
}

.guardian-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  position: relative;
  z-index: 1;
}

.guardian-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.guardian-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(6, 182, 212, 0.12), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.guardian-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
}

.guardian-card:hover::before {
  opacity: 1;
}

.guardian-card-bar {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--electric-400);
  margin-bottom: var(--sp-5);
  opacity: 0.6;
  transition: all var(--duration-normal) var(--ease-out);
}

.guardian-card:hover .guardian-card-bar {
  width: 40px;
  opacity: 1;
}

.guardian-card h3 {
  color: var(--white);
  margin-bottom: var(--sp-2);
  font-size: 1.1rem;
}

.guardian-card p {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.7;
}

/* ============================================================
   INTEGRATION — 医养结合
   ============================================================ */
.integration {
  padding: var(--section-py) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.18), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(6, 182, 212, 0.16), transparent 20%),
    linear-gradient(180deg, #071122 0%, #0b1529 42%, #0c1a30 100%);
  position: relative;
  overflow: hidden;
}

.integration .section-eyebrow {
  color: var(--electric-400);
}

.integration .section-eyebrow::before,
.integration .section-eyebrow::after {
  background: var(--electric-400);
}

.integration .section-title {
  color: var(--white);
}

.integration .section-subtitle {
  color: var(--slate-400);
}

.integration-shell {
  display: grid;
  gap: var(--sp-6);
  position: relative;
  z-index: 2;
}

.integration-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}

.integration-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: var(--sp-8);
  min-height: 220px;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.integration-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(6, 182, 212, 0.12), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.integration-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
}

.integration-card:hover::before {
  opacity: 1;
}

.integration-card-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 2;
}

.integration-card h4 {
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 2;
}

.integration-card p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.82;
  position: relative;
  z-index: 2;
}

/* ============================================================
   TECH
   ============================================================ */
.tech {
  padding: var(--section-py) 0;
  background: var(--color-bg-primary);
  position: relative;
  overflow: hidden;
}

.tech .container {
  position: relative;
  z-index: 1;
}

.tech .section-eyebrow {
  color: var(--color-brand);
}

.tech .section-eyebrow::before,
.tech .section-eyebrow::after {
  background: var(--color-brand);
}

.tech .section-title {
  color: var(--color-text-primary);
}

.tech .section-subtitle {
  color: var(--color-text-secondary);
}

.tech-aurora,
.tech-signal-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tech-aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.tech-aurora-a {
  width: 280px;
  height: 280px;
  top: 12%;
  left: 4%;
  background: rgba(59, 130, 246, 0.24);
}

.tech-aurora-b {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 22%;
  background: rgba(6, 182, 212, 0.22);
  animation-delay: -2s;
}

.tech-aurora-c {
  width: 320px;
  height: 320px;
  left: 36%;
  bottom: -8%;
  background: rgba(245, 158, 11, 0.12);
  animation-delay: -4s;
}

.business.animation-active .tech-aurora-orb {
  opacity: 1;
  animation: businessAurora 12s ease-in-out infinite;
}

.integration.animation-active .tech-aurora-orb {
  opacity: 1;
  animation: integrationAurora 14s ease-in-out infinite;
}

.guardian.animation-active .tech-aurora-orb {
  opacity: 0.6;
  animation: guardianAurora 10s ease-in-out infinite;
}

.tech-signal-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
}

.tech-signal {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.5);
  opacity: 0;
}

.tech-signal::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.45), transparent);
}

.tech-signal-a {
  left: 18%;
  top: 24%;
}

.tech-signal-a::after {
  transform: translate(0, -50%) rotate(18deg);
}

.tech-signal-b {
  right: 22%;
  top: 34%;
}

.tech-signal-b::after {
  transform: translate(0, -50%) rotate(168deg);
}

.tech-signal-c {
  left: 24%;
  bottom: 24%;
}

.tech-signal-c::after {
  transform: translate(0, -50%) rotate(-8deg);
  width: 160px;
}

.tech-signal-d {
  right: 18%;
  bottom: 18%;
}

.tech-signal-d::after {
  transform: translate(0, -50%) rotate(-148deg);
  width: 150px;
}

/* Business Section Animations (Flowing Data Packets) */
.business.animation-active .tech-signal {
  opacity: 1;
  animation: businessDotFlash 2.4s ease-out infinite;
}

.business.animation-active .tech-signal::after {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0) 0%, rgba(96, 165, 250, 0.8) 50%, rgba(96, 165, 250, 0) 100%);
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: businessLineFlow 2.4s ease-in-out infinite;
}

.business.animation-active .tech-signal-b,
.business.animation-active .tech-signal-b::after {
  animation-delay: 0.6s;
}

.business.animation-active .tech-signal-c,
.business.animation-active .tech-signal-c::after {
  animation-delay: 1.2s;
}

.business.animation-active .tech-signal-d,
.business.animation-active .tech-signal-d::after {
  animation-delay: 1.8s;
}

/* Integration Section Animations (Connected Network Grid & Flowing Light Pulses) */
.integration-lines-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.integration-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.03); /* very faint baseline */
}

/* Horizontal lines */
.line-h-1 {
  top: 30%;
  left: 10%;
  right: 10%;
  height: 1px;
}

.line-h-2 {
  top: 70%;
  left: 10%;
  right: 10%;
  height: 1px;
}

/* Vertical lines */
.line-v-1 {
  left: 30%;
  top: 10%;
  bottom: 10%;
  width: 1px;
}

.line-v-2 {
  left: 70%;
  top: 10%;
  bottom: 10%;
  width: 1px;
}

/* Glowing Flow Pulses on Lines */
.integration-line::after {
  content: '';
  position: absolute;
  opacity: 0;
}

.line-h-1::after,
.line-h-2::after {
  top: 0;
  bottom: 0;
  left: -150px;
  width: 150px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
}

.line-v-1::after,
.line-v-2::after {
  left: 0;
  right: 0;
  top: -150px;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--electric-400), transparent);
}

.integration.animation-active .line-h-1::after {
  animation: flowHorizontal 3s linear infinite;
}

.integration.animation-active .line-h-2::after {
  animation: flowHorizontal 3.6s linear infinite;
  animation-delay: 0.8s;
}

.integration.animation-active .line-v-1::after {
  animation: flowVertical 3.2s linear infinite;
  animation-delay: 0.4s;
}

.integration.animation-active .line-v-2::after {
  animation: flowVertical 4s linear infinite;
  animation-delay: 1.4s;
}

@keyframes businessAurora {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(70px) hue-rotate(0deg);
  }
  50% {
    transform: translate3d(-15px, 15px, 0) scale(1.08);
    filter: blur(80px) hue-rotate(30deg);
  }
}

@keyframes businessDotFlash {
  0%, 100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4);
    opacity: 0.4;
  }
  10% {
    transform: scale(1.3);
    box-shadow: 0 0 12px 4px rgba(96, 165, 250, 0.8);
    opacity: 1;
  }
  30% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    opacity: 0.4;
  }
}

@keyframes businessLineFlow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes integrationAurora {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(25px, -15px, 0) scale(1.05);
  }
  50% {
    transform: translate3d(10px, 20px, 0) scale(0.95);
  }
  75% {
    transform: translate3d(-15px, 10px, 0) scale(1.02);
  }
}

@keyframes flowHorizontal {
  0% {
    left: -150px;
    opacity: 0;
  }
  15%, 85% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes flowVertical {
  0% {
    top: -150px;
    opacity: 0;
  }
  15%, 85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes guardianAurora {
  0%, 100% {
    opacity: 0.5;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate3d(10px, -10px, 0) scale(1.03);
  }
}

@keyframes guardianRadarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  text-align: left;
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-brand-light);
}

.tech-card-bar {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--gradient-brand);
  margin: 0 0 var(--sp-5);
}

.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.tech-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   STATS — Horizontal Band
   ============================================================ */
.stats {
  padding: var(--sp-24) 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr 0.85fr;
  gap: var(--sp-8);
  position: relative;
  z-index: 1;
}

.stats-item {
  text-align: center;
}

.stats-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.stats-number .suffix {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--electric-400);
}

.stats-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--color-bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
  max-width: 760px;
}

.contact-info .section-eyebrow {
  justify-content: flex-start;
}

.contact-info .section-subtitle {
  text-align: left;
  margin: 0 0 var(--sp-10);
  max-width: none;
}

.contact-detail {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.contact-detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
  margin-top: 8px;
}

.contact-detail h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.contact-detail p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.contact-detail a {
  color: var(--color-brand);
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--midnight-950);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-20) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: var(--sp-16);
  margin-bottom: var(--sp-16);
}

.footer-brand .nav-logo {
  margin-bottom: var(--sp-4);
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.3);
  max-width: 300px;
}

.footer-col h4 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: var(--sp-5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  padding: 4px 0;
  transition: color var(--duration-fast);
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.reveal-delay-4 {
  transition-delay: 320ms;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .elderly-sector-head {
    grid-template-columns: 1fr;
  }

  .elderly-sector-meta {
    justify-content: flex-start;
  }

  .elderly-suite-stage {
    min-height: 700px;
  }

}

@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  .business-grid,
  .products-grid,
  .guardian-grid,
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .about-floating-card {
    right: 16px;
    bottom: -16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }

  .elderly-suite-tab {
    width: 60px;
    min-height: 140px;
  }

  .elderly-suite-card.is-next {
    transform: translate3d(36px, 18px, -60px) rotateY(-2.5deg) scale(0.992);
  }

  .elderly-suite-card.is-back {
    transform: translate3d(68px, 36px, -110px) rotateY(-4deg) scale(0.984);
  }

  .elderly-priority-grid {
    grid-template-columns: 1fr;
  }

  .integration-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    padding: var(--sp-5);
    gap: 2px;
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--color-text-primary) !important;
    padding: 12px var(--sp-4);
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover {
    background: var(--slate-50);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-signal::after {
    width: 90px;
  }

  .business-grid,
  .products-grid,
  .guardian-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  /* Elderly suite — stack layout vertically on mobile */
  .elderly-suite-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  /* Tabs become horizontal row above the cards */
  .elderly-suite-tabs {
    flex-direction: row;
    margin-right: 0;
    margin-bottom: -1px;
    padding-top: 0;
    gap: 8px;
    justify-content: flex-start;
    padding-left: 12px;
  }

  .elderly-suite-tab,
  .elderly-suite-tab.is-active,
  .elderly-suite-tab:hover {
    width: auto;
    min-width: 100px;
    min-height: auto;
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: none;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    transform: translateX(0) translateY(0);
    opacity: 0.7;
    box-shadow: none;
    padding: 10px 14px;
    gap: 4px;
  }

  .elderly-suite-tab.is-active {
    opacity: 1;
  }

  .elderly-suite-tab::after {
    display: none;
  }

  .elderly-suite-tab-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0;
    white-space: nowrap;
    line-height: 1.2;
  }

  .elderly-suite-tab-arrow {
    display: none;
  }

  .elderly-sector {
    padding: var(--sp-8);
    border-radius: 0 22px 22px 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
  }

  .elderly-sector-head {
    padding-bottom: var(--sp-6);
  }

  .elderly-suite-stage {
    min-height: 0;
  }

  .elderly-suite-card {
    position: relative;
    inset: auto;
    margin-top: 0;
    transform: none !important;
  }

  .elderly-suite-card.is-next,
  .elderly-suite-card.is-back {
    display: none;
  }

  .elderly-priority-card {
    min-height: auto;
    padding: 22px 20px 22px;
  }

  .elderly-priority-card h4,
  .elderly-priority-card p {
    padding-right: 0;
  }

  .integration-track {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 480px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .elderly-suite-tab {
    min-width: 90px;
  }
}

/* ——— Prefers reduced motion ——— */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .tech-aurora-orb,
  .tech-signal {
    animation: none !important;
    opacity: 1;
  }
}
