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

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --accent: #06b6d4;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --bg-card-hover: #253348;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --success: #10b981;
  --warning: #f59e0b;
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #10b981 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #34d399 100%);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.4), 0 8px 10px -6px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 60px rgba(14,165,233,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-height: 72px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--primary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  background: var(--gradient);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s !important;
  box-shadow: 0 2px 10px rgba(14,165,233,0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(14,165,233,0.4) !important;
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fade-up 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  color: var(--warning);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--warning);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  line-height: 1.05;
}

.hero h1 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero-demo-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-demo-note svg {
  flex-shrink: 0;
  stroke: var(--text-muted);
}

.hero-demo-note a {
  color: var(--primary-light);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(14,165,233,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14,165,233,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(14,165,233,0.05);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  animation: fade-up 0.8s ease-out 0.2s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid rgba(51,65,85,0.5);
  border-top: none;
}

.hero-image-wrapper img {
  width: 100%;
  display: block;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,23,42,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}


/* Hero - Deployed Banner (above product image) */
.hero-deployed-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.deployed-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  white-space: nowrap;
}

.deployed-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.deployed-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 56px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 10px;
}

.deployed-logo-wrap img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ========================================
   CLINICAL DEPLOYMENT SECTION
   ======================================== */
.deployment {
  padding: 100px 0;
  position: relative;
}

.deployment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.deployment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.deployment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.deployment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(14,165,233,0.08);
}

.deployment-logo {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
}

.deployment-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.deployment-location {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.deployment-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.deployment-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header h2 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.feature-grid .feature-card {
  width: 100%;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(14,165,233,0.08);
}

.feature-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-darker);
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.05);
}

.feature-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--bg-card));
}

.feature-card-body {
  padding: 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   PLATFORM / ARCHITECTURE SECTION
   ======================================== */
.platform {
  padding: 100px 0;
  position: relative;
}

.platform .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.platform-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  padding: 20px;
}

.platform-image img {
  width: 100%;
  border-radius: var(--radius);
}

.platform-content h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.platform-content h2 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.platform-content > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.platform-list li .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.platform-list li .check svg {
  width: 14px;
  height: 14px;
  stroke: var(--success);
  fill: none;
  stroke-width: 3;
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.vision-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.vision-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.vision-header h2 .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vision-header .tagline {
  font-size: 1.15rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.vision-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.vision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,233,0.2);
}

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

.vision-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(14,165,233,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-card .card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-light);
  fill: none;
  stroke-width: 1.5;
}

.vision-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.vision-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   FUNDING SECTION
   ======================================== */
.funding {
  padding: 100px 0;
  position: relative;
}

.funding::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.funding-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.funding-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.funding-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 88px;
  padding: 12px 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.funding-logo-wrap img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.funding-details {
  display: flex;
  gap: 28px;
  width: 100%;
  max-width: 800px;
}

.funding-item {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s;
}

.funding-item:hover {
  border-color: rgba(14,165,233,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.funding-phase {
  flex-shrink: 0;
  padding: 6px 14px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: 8px;
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.funding-phase.phase-ii {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.25);
  color: var(--success);
}

.funding-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.funding-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.icorps-logo-wrap {
  background: #1a2056;
}

.icorps-highlight {
  width: 100%;
  max-width: 800px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  position: relative;
  overflow: hidden;
}

.icorps-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient);
}

.icorps-badge {
  flex-shrink: 0;
  width: 100px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a2056;
  border-radius: 10px;
  padding: 8px 12px;
}

.icorps-badge img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.icorps-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.icorps-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.icorps-content strong {
  color: var(--warning);
  font-weight: 700;
}

@media (max-width: 768px) {
  .funding-details {
    flex-direction: column;
  }
  .funding-logo-wrap {
    width: 240px;
    height: 76px;
  }
  .icorps-highlight {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team {
  padding: 100px 0;
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  transition: all 0.4s;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--border);
  transition: border-color 0.3s;
  background: var(--bg-card);
}

.team-card:hover .team-avatar {
  border-color: var(--primary);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.team-card .role {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom .fda-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--warning);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-bottom .fda-note .dot {
  width: 6px;
  height: 6px;
  background: var(--warning);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ========================================
   LIGHTBOX / MODAL
   ======================================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 40px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: var(--bg-card-hover);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 2;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-description { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .deployment-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .platform .container { grid-template-columns: 1fr; }
  .platform-content { order: -1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-toggle { display: flex; }

  .hero h1 { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .feature-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; gap: 16px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .section-header h2,
  .platform-content h2,
  .vision-header h2 { font-size: 1.8rem; }

  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .team-avatar { width: 120px; height: 120px; }
}
