/* ============================================================
   SILOAM THERAPEUTICS — STYLESHEET
   ============================================================ */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --bg:          #080E1A;
  --bg2:         #0D1A2E;
  --card:        #0F1E38;
  --card-hover:  #142444;

  --cyan:        #00D4FF;
  --purple:      #6C63FF;
  --green:       #10B981;
  --amber:       #F59E0B;
  --red:         #EF4444;

  --text:        #FFFFFF;
  --text-2:      #94A3B8;
  --text-3:      #64748B;

  --border:      rgba(0, 212, 255, 0.15);
  --border-sub:  rgba(255, 255, 255, 0.07);

  --grad:        linear-gradient(135deg, #00D4FF, #6C63FF);
  --grad-card:   linear-gradient(135deg, rgba(0,212,255,0.08), rgba(108,99,255,0.08));

  --shadow:      0 8px 32px rgba(0, 0, 0, 0.5);
  --glow:        0 0 40px rgba(0, 212, 255, 0.18);

  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-d:      'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h:       130px;
  --pad:         96px 0;
  --max-w:       1280px;
  --r:           16px;
  --r-sm:        8px;
  --ease:        all 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--ease); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== UTILITY ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

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

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.section-title {
  font-family: var(--font-d);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--ease);
}

.navbar.scrolled {
  background: rgba(8, 14, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-sub);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  gap: 1px;
}
.logo-text   { color: #fff; }
.logo-accent { color: var(--cyan); }

.nav-logo-img {
  height: 112px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.07); }

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 7px 20px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,212,255,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--ease);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: calc(var(--nav-h) + 24px) 28px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeDown 0.8s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s infinite;
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.85;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 68px;
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.8s both;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-value {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  color: var(--cyan);
}
.stat-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-sep { width: 1px; height: 40px; background: var(--border-sub); }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

/* ===== ABOUT ===== */
.about {
  padding: var(--pad);
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 28px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.about-card:hover::after { transform: scaleX(1); }
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--glow);
  border-color: rgba(0,212,255,0.3);
}

.about-icon { font-size: 36px; margin-bottom: 20px; }
.about-card h3 {
  font-family: var(--font-d);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.about-card p { font-size: 15px; color: var(--text-2); line-height: 1.75; }

/* ===== TECHNOLOGY ===== */
.technology {
  padding: var(--pad);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.technology::after {
  content: '';
  position: absolute;
  top: 40%; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.platform-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 22px 30px;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  flex-wrap: wrap;
}

.platform-icon-wrap {
  font-size: 30px;
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.platform-banner h3 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 3px;
}
.platform-banner p {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.platform-pills span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-sub);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 28px;
}

.tech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--ease);
}
.tech-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--glow);
  border-color: rgba(0,212,255,0.3);
}

.tech-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.tech-num {
  font-family: var(--font-d);
  font-size: 52px;
  font-weight: 800;
  color: rgba(0,212,255,0.12);
  line-height: 1;
}
.tech-pill {
  padding: 5px 14px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tech-title {
  font-family: var(--font-d);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.tech-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.tech-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.feat-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.workflow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-sm);
}
.wf-step {
  padding: 5px 13px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  white-space: nowrap;
}
.wf-arrow { color: var(--text-3); font-size: 14px; font-weight: 700; }

/* ===== PIPELINE ===== */
.pipeline {
  padding: var(--pad);
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.pipeline-table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  min-width: 820px;
}

.pipeline-table thead { background: rgba(0,0,0,0.35); }
.pipeline-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-sub);
}
.pipeline-table td {
  padding: 20px 18px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-sub);
}
.pipeline-table tbody tr:last-child td { border-bottom: none; }
.pipeline-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.prog-id {
  font-family: var(--font-d);
  font-weight: 700;
  color: var(--cyan);
  font-size: 15px;
}

.indication-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.ind-badge {
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.ind-badge.her2 {
  background: rgba(239,68,68,0.15);
  color: #F87171;
  border: 1px solid rgba(239,68,68,0.3);
}
.ind-badge.cf {
  background: rgba(245,158,11,0.15);
  color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.3);
}

.stage { min-width: 100px; }
.stage-bar {
  height: 7px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}
.stage-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}
.stage.completed .stage-fill  { background: var(--green); }
.stage.in-progress .stage-fill { background: var(--grad); }
.stage.planned .stage-fill     { width: 0 !important; }

.stage.completed span  { font-size: 11px; font-weight: 600; color: var(--green); }
.stage.in-progress span{ font-size: 11px; font-weight: 600; color: var(--cyan);  }

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.stage-fill.animated {
  background-size: 200% auto;
  background-image: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 50%, var(--cyan) 100%);
  animation: shimmer 2.5s linear infinite;
}

.pipeline-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.legend-swatch {
  width: 30px;
  height: 7px;
  border-radius: 4px;
}
.legend-swatch.completed   { background: var(--green); }
.legend-swatch.in-progress { background: var(--grad); }
.legend-swatch.planned     { background: rgba(255,255,255,0.07); border: 1px solid var(--border-sub); }

.pipeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
}

.pipeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: var(--ease);
}
.pipeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pipeline-card-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.her2-hdr {
  background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(239,68,68,0.04));
  border-bottom: 1px solid rgba(239,68,68,0.15);
}
.cf-hdr {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.04));
  border-bottom: 1px solid rgba(245,158,11,0.15);
}

.pipeline-badge {
  padding: 4px 13px;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--font-d);
}
.pipeline-card-header h3 {
  font-family: var(--font-d);
  font-size: 19px;
  font-weight: 700;
}

.pipeline-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ms-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.milestone.done .ms-icon {
  background: rgba(16,185,129,0.12);
  color: var(--green);
  border: 2px solid var(--green);
}
.milestone.active .ms-icon {
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  border: 2px solid var(--cyan);
}
.ms-icon.pulse { animation: ringPulse 2s ease-in-out infinite; }
.milestone strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.milestone p { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ===== TEAM ===== */
.team {
  padding: var(--pad);
  background: var(--bg);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--ease);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--glow);
  border-color: rgba(0,212,255,0.3);
}

.team-avatar-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 40px auto 28px;
  flex-shrink: 0;
  border: 3px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.07), 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.team-card:hover .team-avatar-wrap {
  border-color: rgba(0, 212, 255, 0.7);
  box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.12), 0 8px 40px rgba(0, 212, 255, 0.2);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-avatar { transform: scale(1.05); }

/* Face positioning per photo */
.team-avatar.dony  { object-position: center 18%; }
.team-avatar.linna { object-position: center 28%; }

.photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-d);
  font-size: 56px;
  font-weight: 800;
  color: rgba(0,212,255,0.4);
  background: linear-gradient(135deg, #0D2137, #152A50);
}

.team-body {
  padding: 32px 28px;
  flex: 1;
}
.team-body h3 {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}
.team-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.team-bio {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 22px;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.team-tags span {
  padding: 4px 13px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #A78BFA;
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--pad);
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info > p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--text-2);
}
.ci-icon { font-size: 20px; flex-shrink: 0; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.03);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-group select { cursor: pointer; }
.form-group select option { background: #112240; color: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer {
  background: #050A14;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-sub);
}

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

.footer-brand { max-width: 280px; }
.footer-logo {
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--text-3); }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-3); }
.footer-disclaimer { font-style: italic; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(14px); opacity: 0.2; }
}
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(0,212,255,0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .tech-grid       { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand    { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .platform-banner { flex-direction: column; align-items: flex-start; }
  .platform-pills  { margin-left: 0; }
  .team-grid       { grid-template-columns: 1fr; }
  .pipeline-cards  { grid-template-columns: 1fr; }
  .contact-wrap    { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  :root { --pad: 72px 0; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,14,26,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    border-bottom: 1px solid var(--border-sub);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; font-size: 15px; }

  .hero-stats     { gap: 20px; }
  .stat-sep       { display: none; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
  .about-grid   { grid-template-columns: 1fr; }
  .tech-card    { padding: 28px 22px; }
}
