/* AvanceOmics Modern Biotech Stylesheet */
:root {
  --primary: #0062ff;
  --primary-hover: #004ecc;
  --primary-light: #e0edff;
  --accent-cyan: #00c2ff;
  --accent-emerald: #10b981;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --gradient-brand: linear-gradient(135deg, #0052d4 0%, #4364f7 50%, #6fb1fc 100%);
  --gradient-cyan: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #14b8a6 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-900);
  background-color: #fcfdfe;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  color: var(--slate-600);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  color: var(--primary);
  background: var(--slate-100);
}

.nav-btn.active {
  color: var(--white);
  background: #0062ff;
  border-color: #0062ff;
  box-shadow: 0 4px 12px rgba(0, 98, 255, 0.25);
}

.nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0, 98, 255, 0.1);
  color: var(--primary);
}

/* Page Section visibility for SPA routing */
.page-view {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-view.active-view {
  display: block;
  opacity: 1;
}

/* Genomic Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 85px 0 70px;
  background: linear-gradient(180deg, #f0f7ff 0%, #e2effe 100%);
  border-bottom: 1px solid #bfdbfe;
}

.hero-dna-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.genomic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 98, 255, 0.08);
  border: 1px solid rgba(0, 98, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0062ff;
  box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 98, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 98, 255, 0); }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #0052d4 0%, #0099ff 50%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: #0062ff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #004ecc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
  transform: translateY(-2px);
}

/* Goals & Aims Bar */
.goals-card-wrap {
  margin-top: 48px;
}

.goals-header {
  margin-bottom: 14px;
}

.goals-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.stats-strip {
  margin-top: 0;
  padding: 26px 32px;
  background: #ffffff;
  border: 1px solid #c7ddfc;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 25px -4px rgba(0, 98, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* Mission Section */
.mission-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #fcfdfe 0%, #f8fafc 100%);
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 760px;
  line-height: 1.7;
}

.mission-card {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid rgba(0, 98, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 98, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-brand);
}

.mission-highlight-text {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.mission-detailed-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-600);
}

/* Genomic Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 255, 0.35);
  box-shadow: var(--shadow-lg);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Genomic DNA Motif Elements */
.dna-base-strip {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.base-badge {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  background: var(--slate-50);
}

.base-badge.a { border-color: #fca5a5; color: #dc2626; background: #fef2f2; }
.base-badge.t { border-color: #93c5fd; color: #2563eb; background: #eff6ff; }
.base-badge.c { border-color: #86efac; color: #16a34a; background: #f0fdf4; }
.base-badge.g { border-color: #fde047; color: #ca8a04; background: #fefce8; }

/* Interactive Tech Showcase */
.showcase-section {
  padding: 95px 0;
  background: linear-gradient(180deg, #e4effb 0%, #d5e5f7 100%);
  border-bottom: 1px solid #bed7f4;
}

.pipeline-flow {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  position: relative;
}

.pipeline-step {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.05);
  transition: all 0.3s ease;
}

.pipeline-step:hover {
  transform: translateY(-4px);
  border-color: #60a5fa;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 800;
  font-mono: monospace;
  color: var(--primary);
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Meet the Founder Section */
.founder-section {
  padding: 85px 0 95px;
  background: linear-gradient(180deg, #d8e8fc 0%, #c6ddfa 100%);
  border-bottom: 1px solid #b1d2f7;
  position: relative;
}

.founder-card {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 35px -5px rgba(15, 45, 107, 0.14), 0 8px 16px -6px rgba(15, 45, 107, 0.08);
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: stretch;
}

.founder-img-container {
  position: relative;
  background: #0f172a;
  overflow: hidden;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.founder-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.founder-name {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.founder-program-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.founder-bio-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-700);
  margin-bottom: 24px;
}

.founder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.founder-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0369a1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.founder-chip:hover {
  background: #e0edff;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.founder-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #0077b5;
  color: var(--white);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
  transition: all 0.2s ease;
}

.linkedin-btn:hover {
  background: #006097;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 119, 181, 0.35);
}

/* Contact Page Section */
.contact-section {
  padding: 85px 0 105px;
  background: linear-gradient(180deg, #edf6ff 0%, #ddedfe 100%);
  border-bottom: 1px solid #b8d7f8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 10px 25px -4px rgba(14, 57, 131, 0.08);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.contact-info-desc {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-top: 2px;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 12px 28px -4px rgba(14, 57, 131, 0.1);
  position: relative;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form-label span.req {
  color: #ef4444;
  margin-left: 2px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-800);
  background: var(--slate-50);
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  background: #0062ff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.3);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit-btn:hover {
  background: #004ecc;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 98, 255, 0.4);
}

/* Submission feedback alert */
.form-alert {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: #081225;
  color: var(--slate-400);
  padding: 60px 0 32px;
  border-top: 2px solid #1e3a8a;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-box {
  max-width: 380px;
}

.footer-logo {
  height: 52px;
  width: auto;
  max-width: 280px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate-400);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-link {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
}

.footer-copyright {
  color: var(--slate-400);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .founder-card {
    grid-template-columns: 1fr;
  }
  .founder-img-container {
    height: 380px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    height: 78px;
  }
  .brand-logo-img {
    height: 42px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .mission-card {
    padding: 28px 20px;
  }
  .mission-highlight-text {
    font-size: 1.2rem;
  }
  .founder-info {
    padding: 28px 20px;
  }
  .contact-form-card, .contact-info-card {
    padding: 24px 20px;
  }
}
