/* ===== Bio-Sensor — Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #cbd5e1; background: #0b1120; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title { font-size: 2rem; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.section-sub { color: #94a3b8; font-size: 1.05rem; max-width: 600px; margin-bottom: 48px; }
.gradient-text { background: linear-gradient(135deg, #0ea5e9, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ---------- Header / Nav ---------- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(11,17,32,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(148,163,184,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo svg { height: 38px; width: auto; }
.nav-logo-text { font-size: 1.3rem; font-weight: 700; color: #f1f5f9; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #94a3b8; transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #f1f5f9; }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #0ea5e9, #6366f1); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,17,32,0.88) 0%, rgba(11,17,32,0.55) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.25); border-radius: 999px; padding: 6px 18px; font-size: 0.8rem; font-weight: 500; color: #38bdf8; margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #0ea5e9; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; color: #f1f5f9; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: #94a3b8; margin-bottom: 36px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; box-shadow: 0 4px 24px rgba(14,165,233,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(14,165,233,0.4); }
.btn-outline { background: transparent; color: #e2e8f0; border: 1.5px solid rgba(148,163,184,0.3); }
.btn-outline:hover { border-color: #0ea5e9; color: #38bdf8; }

/* ---------- Stats Bar ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(148,163,184,0.08); border-top: 1px solid rgba(148,163,184,0.08); border-bottom: 1px solid rgba(148,163,184,0.08); }
.stat { background: #0f1729; padding: 40px 24px; text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; background: linear-gradient(135deg, #0ea5e9, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.85rem; color: #64748b; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: linear-gradient(160deg, rgba(30,41,59,0.6), rgba(15,23,41,0.8)); border: 1px solid rgba(148,163,184,0.08); border-radius: 16px; padding: 36px 28px; transition: all 0.3s; }
.feature-card:hover { border-color: rgba(14,165,233,0.3); transform: translateY(-4px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(14,165,233,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; color: #f1f5f9; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: #94a3b8; line-height: 1.7; }

/* ---------- How It Works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { text-align: center; position: relative; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1rem; font-weight: 600; color: #e2e8f0; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: #94a3b8; }

/* ---------- CTA ---------- */
.cta-section { text-align: center; }
.cta-card { background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(99,102,241,0.08)); border: 1px solid rgba(14,165,233,0.15); border-radius: 20px; padding: 72px 40px; }
.cta-card h2 { font-size: 2rem; font-weight: 700; color: #f1f5f9; margin-bottom: 16px; }
.cta-card p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 32px; border-top: 1px solid rgba(148,163,184,0.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.85rem; color: #475569; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: #64748b; transition: color 0.2s; }
.footer-links a:hover { color: #38bdf8; }

/* ---------- Team page ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1200px; }
.team-card { display: flex; gap: 20px; background: rgba(30,41,59,0.4); border: 1px solid rgba(148,163,184,0.08); border-radius: 16px; padding: 28px; transition: border-color 0.3s; }
.team-card:hover { border-color: rgba(14,165,233,0.25); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #0ea5e9, #6366f1); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; color: #fff; }
.team-info h3 { font-size: 1.1rem; font-weight: 600; color: #f1f5f9; margin-bottom: 2px; }
.team-role { font-size: 0.85rem; color: #0ea5e9; margin-bottom: 8px; font-weight: 500; }
.team-bio { font-size: 0.88rem; color: #94a3b8; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact-section { background: rgba(30,41,59,0.3); border-radius: 20px; padding: 56px; margin-top: 60px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.contact-item { text-align: center; }
.contact-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(14,165,233,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.3rem; }
.contact-item h4 { font-size: 0.95rem; font-weight: 600; color: #e2e8f0; margin-bottom: 6px; }
.contact-item p { font-size: 0.88rem; color: #94a3b8; }
.contact-item a { color: #38bdf8; }
.contact-item a:hover { text-decoration: underline; }

/* ---------- Products page ---------- */
.products-hero { padding-top: 140px; padding-bottom: 60px; text-align: center; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: rgba(30,41,59,0.4); border: 1px solid rgba(148,163,184,0.08); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.product-card:hover { border-color: rgba(14,165,233,0.3); transform: translateY(-4px); }
.product-img { padding: 24px; }
.product-img svg { width: 100%; height: auto; }
.product-body { padding: 24px 28px 28px; }
.product-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #0ea5e9; background: rgba(14,165,233,0.1); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.product-body h3 { font-size: 1.15rem; font-weight: 600; color: #f1f5f9; margin-bottom: 8px; }
.product-body p { font-size: 0.88rem; color: #94a3b8; margin-bottom: 16px; line-height: 1.65; }
.product-specs { border-top: 1px solid rgba(148,163,184,0.08); padding-top: 16px; }
.spec { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 4px 0; }
.spec-label { color: #64748b; }
.spec-value { color: #cbd5e1; font-weight: 500; }
.product-cta { margin-top: 16px; }
.product-cta .btn { width: 100%; justify-content: center; padding: 12px; font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.2rem; }
  .features-grid, .products-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
  .section { padding: 60px 0; }
  .contact-section { padding: 36px 24px; }
}

@media (max-width: 600px) {
  .nav { flex-direction: column; height: auto; padding: 16px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
}
