/* ==========================================================================
   Thuzhal Tech — single-file stylesheet (layout + "biotech" skin)
   Modern dark-blue lab aesthetic: glassmorphism, glow accents, bento layout.
   Depends on: bootstrap.min.css (grid/utilities), bootstrap-icons.css, aos.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Palette & tokens
   -------------------------------------------------------------------------- */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Ubuntu", sans-serif;
  --nav-font: "Rubik", sans-serif;

  /* Deep blue lab skin */
  --background-color: #050e19;
  --default-color: #a9c6de;
  --heading-color: #e8f4ff;
  --accent-color: #2f8fe8;
  --surface-color: rgba(13, 32, 54, 0.62);
  --contrast-color: #ffffff;

  --nav-color: #9db9d3;
  --nav-hover-color: #6ec2ff;

  /* Skin-local tokens */
  --bio-glow: rgba(47, 143, 232, 0.35);
  --bio-line: rgba(110, 194, 255, 0.16);
  --bio-cyan: #59d7ff;
  --bio-radius: 20px;
  --bio-shadow: 0 24px 60px rgba(2, 8, 16, 0.55);

  scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  background-image:
    radial-gradient(ellipse 55% 40% at 85% -5%, rgba(47, 143, 232, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 38% at 8% 30%, rgba(11, 82, 158, 0.25), transparent 70%),
    radial-gradient(ellipse 45% 35% at 95% 75%, rgba(89, 215, 255, 0.08), transparent 70%);
  background-attachment: fixed;
  font-family: var(--default-font);
}

/* Fixed tech-grid draped behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(110, 194, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 194, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 0%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 0%, transparent 90%);
}

::selection {
  background: rgba(47, 143, 232, 0.4);
  color: #eaf6ff;
}

a {
  color: var(--bio-cyan);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #9be2ff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Glass panel utility */
.glass,
.holo-panel,
.mv-card,
.compliance-card,
.info-item,
.member-card,
.console-tab {
  background: rgba(11, 27, 47, 0.55);
  border: 1px solid var(--bio-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   3. Custom scrollbar (WebKit + Firefox)
   -------------------------------------------------------------------------- */
html {
  scrollbar-width: thin;
  scrollbar-color: #2f8fe8 #061426;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #061426;
}

::-webkit-scrollbar-thumb {
  border-radius: 20px;
  border: 3px solid #061426;
  background: linear-gradient(180deg, #59b6ff, #1f6fd1 45%, #134a8c);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7cc7ff, #2f8fe8 45%, #1b5fa8);
}

::-webkit-scrollbar-corner {
  background: #061426;
}

/* --------------------------------------------------------------------------
   4. Custom cursor — targeting reticle + glowing arrow.
      biotech.js adds .no-custom-cursor on coarse (touch) pointers.
   -------------------------------------------------------------------------- */
body:not(.no-custom-cursor) {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%2350c8ff' stroke-width='1.6'%3E%3Ccircle cx='16' cy='16' r='9' opacity='0.85'/%3E%3Cpath d='M16 1v6M16 25v6M1 16h6M25 16h6' opacity='0.8'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2.4' fill='%2359d7ff'/%3E%3C/svg%3E") 16 16, auto;
}

body:not(.no-custom-cursor) a,
body:not(.no-custom-cursor) button,
body:not(.no-custom-cursor) .nav-link,
body:not(.no-custom-cursor) [role="button"],
body:not(.no-custom-cursor) .navmenu a,
body:not(.no-custom-cursor) .mobile-nav-toggle,
body:not(.no-custom-cursor) .scroll-top,
body:not(.no-custom-cursor) input,
body:not(.no-custom-cursor) select,
body:not(.no-custom-cursor) textarea,
body:not(.no-custom-cursor) video,
body:not(.no-custom-cursor) img {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 2l22 9-10 3.6L12.4 25z' fill='%232f8fe8' stroke='%23bfe6ff' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='4' cy='2' r='2.6' fill='%2359d7ff'/%3E%3C/svg%3E") 4 2, auto;
}

body.no-custom-cursor {
  cursor: auto !important;
}

body.no-custom-cursor a,
body.no-custom-cursor button,
body.no-custom-cursor .nav-link,
body.no-custom-cursor [role="button"] {
  cursor: pointer !important;
}

/* --------------------------------------------------------------------------
   5. Layout scaffolding
   -------------------------------------------------------------------------- */
main,
section,
.section,
.footer {
  position: relative;
  z-index: 1;
}

/* The header must sit above all page content: the fixed-position mobile
   drawer (.mobile-nav-active .navmenu) lives inside the header, so its
   z-index only applies within the header's stacking context. */
.header {
  position: sticky;
  top: 0;
  z-index: 1080;
}

section,
.section {
  color: var(--default-color);
  background-color: transparent;
  padding: 96px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 767px) {
  section,
  .section {
    padding: 64px 0;
  }
}

/* --------------------------------------------------------------------------
   6. Header — floating glass bar
   -------------------------------------------------------------------------- */
.header {
  color: var(--default-color);
  padding: 14px 0;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 194, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1,
.header .logo .sitename {
  font-size: 26px;
  margin: 0;
  font-weight: 500;
  font-family: var(--heading-font);
  background: linear-gradient(100deg, #dff2ff, #59b6ff 60%, #2f8fe8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(59, 153, 240, 0.35);
}

.scrolled .header {
  background-color: rgba(6, 18, 33, 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(2, 8, 16, 0.55);
}

.scrolled .header::after {
  opacity: 1;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: linear-gradient(120deg, #2f8fe8, #59d7ff);
  font-size: 14px;
  padding: 8px 24px;
  margin: 0;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(47, 143, 232, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: 0.3s;
  white-space: nowrap;
}

.header .btn-getstarted:hover {
  color: #03111a;
  background: linear-gradient(120deg, #59d7ff, #8fe4ff);
  box-shadow: 0 0 30px rgba(89, 215, 255, 0.55);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 12px 0 0;
    padding: 7px 18px;
  }

  .header .navmenu {
    order: 3;
  }
}

@media (max-width: 576px) {
  .header .logo h1 {
    font-size: 1rem;
  }

  .header .btn-getstarted {
    font-size: 0.78rem;
  }
}

/* --------------------------------------------------------------------------
   7. Navigation — desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 6px;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
    background: rgba(47, 143, 232, 0.1);
  }
}

/* --------------------------------------------------------------------------
   8. Navigation — mobile drawer
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 6px;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 70px 16px 16px 16px;
    padding: 10px;
    margin: 0;
    border-radius: 16px;
    background-color: rgba(7, 19, 34, 0.96);
    border: 1px solid var(--bio-line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(2, 8, 16, 0.7);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 14px 18px;
    margin: 2px 0;
    border-radius: 12px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li .active,
  .navmenu li:hover > a {
    color: var(--nav-hover-color);
    background: rgba(47, 143, 232, 0.12);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 16px;
    right: 16px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .header {
    /* backdrop-filter on the header makes it the containing block for the
       fixed-position nav overlay, confining the drawer to the header box
       and clipping it invisible once the page is scrolled (.scrolled). */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(3, 10, 19, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   9. Section titles — lab report styling
   -------------------------------------------------------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-title span,
.section-title .description-title {
  position: absolute;
  top: -6px;
  color: rgba(110, 194, 255, 0.06);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 4px;
  pointer-events: none;
}

.section-title h2 {
  font-size: clamp(1.8rem, 1.35rem + 2.2vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
  background: linear-gradient(105deg, #f2fbff 20%, #a9d7ff 50%, #4ea8ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(47, 143, 232, 0.28));
}

.section-title h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #59d7ff, transparent);
  box-shadow: 0 0 14px rgba(89, 215, 255, 0.7);
}

.section-title p {
  margin: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title span,
  .section-title .description-title {
    font-size: 34px;
    letter-spacing: 2px;
  }
}

/* --------------------------------------------------------------------------
   10. Shared keyframes
   -------------------------------------------------------------------------- */
@keyframes bio-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes bio-scan {
  0%, 100% { top: -90px; }
  50% { top: 100%; }
}

@keyframes bio-float {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-46px); opacity: 0.8; }
}

@keyframes bio-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px 2px rgba(89, 215, 255, 0.8); }
  50% { transform: scale(1.5); box-shadow: 0 0 18px 5px rgba(89, 215, 255, 0.4); }
}

@keyframes bio-fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bio-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   11. Hero — asymmetric lab-console composition
   -------------------------------------------------------------------------- */
.hero {
  padding: 170px 0 90px;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 42%, rgba(47, 143, 232, 0.24) 0%, transparent 55%),
    radial-gradient(circle at 10% 20%, rgba(89, 215, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero .hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero .hero-decor .scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(89, 215, 255, 0.05) 45%, rgba(89, 215, 255, 0.12) 50%, rgba(89, 215, 255, 0.05) 55%, transparent);
  animation: bio-scan 9s ease-in-out infinite;
}

.hero .hero-decor .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #59d7ff;
  box-shadow: 0 0 12px 2px rgba(89, 215, 255, 0.6);
  opacity: 0.5;
  animation: bio-float 14s ease-in-out infinite;
}

.hero .hero-decor .particle.p2 { background: #7cc7ff; animation-delay: -4s; animation-duration: 18s; }
.hero .hero-decor .particle.p3 { background: #2f8fe8; animation-delay: -8s; animation-duration: 22s; }
.hero .hero-decor .particle.p4 { width: 4px; height: 4px; animation-delay: -12s; animation-duration: 16s; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1099px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero .hero-visual {
    order: 2;
    max-width: 640px;
    margin-top: 2.5rem;
  }

  .hero {
    padding: 140px 0 70px;
  }
}

/* Badge pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9be2ff;
  border: 1px solid rgba(110, 194, 255, 0.35);
  background: linear-gradient(120deg, rgba(47, 143, 232, 0.16), rgba(89, 215, 255, 0.06));
  box-shadow: 0 0 24px rgba(47, 143, 232, 0.25), inset 0 0 18px rgba(89, 215, 255, 0.05);
  margin-bottom: 28px;
}

.hero-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59d7ff;
  box-shadow: 0 0 10px 2px rgba(89, 215, 255, 0.8);
  animation: bio-pulse 2s ease-in-out infinite;
}

.hero .hero-title {
  font-size: clamp(2.15rem, 1.2rem + 4.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.5px;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(105deg, #f2fbff 20%, #a9d7ff 50%, #4ea8ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(47, 143, 232, 0.3));
}

.hero .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

@media (max-width: 480px) {
  .hero .hero-actions,
  .hero .hero-actions .btn-glow,
  .hero .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

.hero .hero-actions .btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f2fbff;
  background: linear-gradient(120deg, #1b5fa8, #2f8fe8 55%, #59d7ff);
  padding: 15px 32px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3px;
  border: 1px solid rgba(143, 228, 255, 0.4);
  box-shadow: 0 0 26px rgba(47, 143, 232, 0.42), inset 0 0 20px rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero .hero-actions .btn-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.hero .hero-actions .btn-glow:hover {
  color: #f2fbff;
  transform: translateY(-3px);
  box-shadow: 0 0 44px rgba(89, 215, 255, 0.55), inset 0 0 22px rgba(255, 255, 255, 0.1);
}

.hero .hero-actions .btn-glow:hover::after {
  transform: translateX(110%);
}

.hero .hero-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9be2ff;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid rgba(110, 194, 255, 0.28);
  background: rgba(47, 143, 232, 0.07);
  transition: all 0.3s ease;
}

.hero .hero-actions .btn-ghost:hover {
  color: #d9f5ff;
  border-color: rgba(143, 228, 255, 0.6);
  background: rgba(47, 143, 232, 0.14);
  transform: translateY(-3px);
}

.hero .hero-actions .btn-ghost i {
  transition: transform 0.3s ease;
}

.hero .hero-actions .btn-ghost:hover i {
  transform: translate(3px, 3px);
}

/* Stats — glazed chips */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-stats .stat-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(9, 23, 40, 0.55);
  border: 1px solid var(--bio-line);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-stats .stat-chip .stat-ic {
  font-size: 1.7rem;
  color: var(--bio-cyan);
  filter: drop-shadow(0 0 10px rgba(89, 215, 255, 0.55));
}

.hero-stats .stat-chip .stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #8fd2ff;
  line-height: 1.2;
}

.hero-stats .stat-chip .stat-label {
  font-size: 0.8rem;
  color: var(--default-color);
}

/* Hero visual — holo device panel */
.hero .hero-visual {
  position: relative;
}

.hero .hero-visual .orbit-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 90px);
  height: calc(100% + 90px);
  max-width: 105%;
  aspect-ratio: 1;
  pointer-events: none;
  background-image: radial-gradient(circle at center, transparent 58%, rgba(110, 194, 255, 0.22) 58.6%, rgba(110, 194, 255, 0.22) 59%, transparent 59.6%);
  background-size: 100% 100%;
  opacity: 0.7;
  animation: bio-ring 50s linear infinite;
}

.hero .holo-panel {
  position: relative;
  z-index: 1;
  border-radius: var(--bio-radius);
  padding: 14px;
  box-shadow: 0 34px 80px rgba(2, 8, 16, 0.7), 0 0 60px rgba(47, 143, 232, 0.25);
}

.holo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid var(--bio-line);
  margin-bottom: 12px;
}

.holo-bar .holo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #59d7ff;
  box-shadow: 0 0 8px rgba(89, 215, 255, 0.9);
  flex-shrink: 0;
}

.holo-bar .holo-id {
  font-family: var(--nav-font);
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7fb8dd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holo-bar .holo-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #7dedc9;
}

.holo-bar .holo-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dedc9;
  box-shadow: 0 0 8px rgba(125, 237, 201, 0.9);
  animation: bio-pulse 1.8s ease-in-out infinite;
}

.holo-img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(110, 194, 255, 0.24);
}

.holo-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.holo-readouts .readout {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(5, 15, 28, 0.6);
  border: 1px solid rgba(110, 194, 255, 0.14);
  min-width: 0;
}

.holo-readouts .readout span {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6f9ec4;
  margin-bottom: 3px;
}

.holo-readouts .readout strong {
  display: block;
  font-size: 0.8rem;
  color: #d8ebfa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.holo-readouts .readout strong.ok {
  color: #9be2ff;
}

@media (max-width: 480px) {
  .holo-readouts {
    grid-template-columns: 1fr 1fr;
  }

  .holo-readouts .readout:last-child {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   12. About — bento split
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (max-width: 1099px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about .about-media {
    order: 2;
    max-width: 680px;
  }
}

.about .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, rgba(47, 143, 232, 0.18), rgba(89, 215, 255, 0.08));
  border: 1px solid rgba(110, 194, 255, 0.35);
  color: #9be2ff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.about .about-heading {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.4rem;
  background: linear-gradient(105deg, #f2fbff 20%, #a9d7ff 60%, #4ea8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about .lead-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #d4e9f8;
  font-weight: 500;
}

.about .description-text {
  color: var(--default-color);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Mission / Vision bento cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

.mv-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 194, 255, 0.42);
  box-shadow: 0 18px 40px rgba(2, 8, 16, 0.55), 0 0 28px rgba(47, 143, 232, 0.2);
}

.mv-card .mv-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #1b5fa8, #2f8fe8 60%, #59d7ff);
  color: #03111a;
  box-shadow: 0 0 22px rgba(47, 143, 232, 0.45);
}

.mv-card .mv-icon.mv-icon-alt {
  background: linear-gradient(135deg, #0d3a6e, #1b7ac1 65%, #6ec2ff);
}

.mv-card h5 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #e8f4ff;
}

.mv-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--default-color);
}

/* Collage — all three photos are native 16:9 landscape, so the bento
   preserves that ratio: one full-width frame + two half-width frames. */
.about .collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
}

.about .collage .collage-main {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(110, 194, 255, 0.26);
  box-shadow: 0 22px 55px rgba(2, 8, 16, 0.6), 0 0 30px rgba(47, 143, 232, 0.18);
}

/* Frame wrapper so the badge anchors to the main photo itself */
.about .collage .collage-frame {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
}

.about .collage .collage-frame .collage-main {
  grid-column: auto;
}

.about .collage .collage-small {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(110, 194, 255, 0.22);
  box-shadow: 0 14px 32px rgba(2, 8, 16, 0.55);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.about .collage .collage-small:hover {
  transform: scale(1.04);
  border-color: rgba(143, 228, 255, 0.55);
}

/* On narrow phones the half-frames would get too small — stack everything */
@media (max-width: 480px) {
  .about .collage {
    grid-template-columns: 1fr;
  }

  .about .collage .collage-main {
    grid-column: 1;
  }
}

.about .cert-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border-color: rgba(110, 194, 255, 0.38);
  box-shadow: 0 16px 44px rgba(2, 8, 16, 0.65);
}

.about .cert-chip .cert-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: linear-gradient(135deg, #1b5fa8, #59d7ff);
  color: #03111a;
  box-shadow: 0 0 20px rgba(89, 215, 255, 0.5);
}

.about .cert-chip strong {
  display: block;
  font-size: 0.9rem;
  color: #e8f4ff;
}

.about .cert-chip span {
  font-size: 0.72rem;
  color: var(--default-color);
}

/* Slightly tighter on small phones */
@media (max-width: 480px) {
  .about .cert-chip {
    left: 10px;
    bottom: 10px;
    padding: 10px 13px;
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   13. Team — auto-fit specimen grid
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.team .member-card {
  position: relative;
  border-radius: 18px;
  padding: 10px 10px 4px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(2, 8, 16, 0.5);
  transition: transform 0.35s cubic-bezier(0.22, 0.68, 0.31, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.team .member-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(89, 215, 255, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team .member-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #59d7ff, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  box-shadow: 0 0 18px rgba(89, 215, 255, 0.7);
}

.team .member-card:hover {
  transform: translateY(-8px);
  border-color: rgba(110, 194, 255, 0.45);
  box-shadow: 0 26px 60px rgba(2, 8, 16, 0.7), 0 0 40px rgba(47, 143, 232, 0.25);
}

.team .member-card:hover::before,
.team .member-card:hover::after {
  opacity: 1;
}

.team .member-card .member-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.team .member-card .member-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(110, 194, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team .member-card:hover .member-image img {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(47, 143, 232, 0.4);
}

.team .member-card .member-info {
  margin: 0.9rem 0 0.6rem;
}

.team .member-card .member-info h5 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #d8ebfa;
  transition: 0.3s;
}

.team .member-card .member-info .position {
  display: block;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #86a7c2;
  transition: 0.3s;
}

.team .member-card:hover .member-info h5 {
  color: #8fe4ff;
}

.team .member-card:hover .member-info .position {
  color: #a9c6de;
}

/* --------------------------------------------------------------------------
   14. Features — bio console (segmented tabs + media panes)
   -------------------------------------------------------------------------- */
.features .console-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.features .console-tabs::-webkit-scrollbar {
  display: none;
}

.features .console-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  color: var(--nav-color);
  box-shadow: 0 12px 30px rgba(2, 8, 16, 0.4);
  transition: all 0.3s ease;
  min-width: max-content;
}

.features .console-tab:hover {
  color: #cfe7f7;
  border-color: rgba(110, 194, 255, 0.4);
  transform: translateY(-2px);
}

.features .console-tab .ct-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(47, 143, 232, 0.12);
  color: #8fd2ff;
  border: 1px solid rgba(110, 194, 255, 0.22);
  transition: all 0.3s ease;
}

.features .console-tab .ct-text {
  text-align: left;
}

.features .console-tab .ct-text strong {
  display: block;
  font-size: 0.95rem;
  color: #d8ebfa;
  transition: color 0.3s ease;
}

.features .console-tab .ct-text em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  color: #6f9ec4;
  transition: color 0.3s ease;
}

.features .console-tab.active {
  color: #f2fbff;
  border-color: rgba(143, 228, 255, 0.55);
  background: linear-gradient(120deg, rgba(27, 95, 168, 0.55), rgba(89, 215, 255, 0.22));
  box-shadow: 0 14px 40px rgba(47, 143, 232, 0.3);
}

.features .console-tab.active .ct-ic {
  background: #dff2ff;
  color: #03111a;
  border-color: transparent;
}

.features .console-tab.active .ct-text strong {
  color: #ffffff;
}

.features .console-tab.active .ct-text em {
  color: #bfe6ff;
}

@media (max-width: 560px) {
  .features .console-tab {
    padding: 12px 14px;
  }

  .features .console-tab .ct-text em {
    display: none;
  }
}

.features .console-panes .tab-pane {
  background: rgba(9, 23, 40, 0.5);
  border: 1px solid var(--bio-line);
  border-radius: var(--bio-radius);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--bio-shadow);
}

.features .pane-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

@media (max-width: 991px) {
  .features .pane-grid {
    grid-template-columns: 1fr;
  }

  .features .pane-media {
    order: 2;
  }
}

.features .pane-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8fd2ff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 194, 255, 0.3);
  background: rgba(47, 143, 232, 0.09);
  margin-bottom: 1.2rem;
}

.features .pane-copy h3 {
  font-size: clamp(1.45rem, 1.2rem + 1.2vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(105deg, #e8f4ff, #7cc7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features .pane-copy p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--default-color);
  margin-bottom: 1.6rem;
}

/* Spec checklist */
.features .spec-list {
  display: grid;
  gap: 10px;
}

.features .spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #cfe7f7;
  font-size: 0.9rem;
  line-height: 1.45;
  background: rgba(47, 143, 232, 0.07);
  border: 1px solid rgba(110, 194, 255, 0.16);
  border-radius: 12px;
  padding: 11px 15px;
}

.features .spec-item i {
  color: var(--bio-cyan);
  font-size: 1.05rem;
  flex-shrink: 0;
  transform: translateY(1px);
}

/* Media */
.features .pane-media {
  position: relative;
}

.features .pane-media img,
.features .pane-media video {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(110, 194, 255, 0.24);
  box-shadow: 0 24px 60px rgba(2, 8, 16, 0.6), 0 0 34px rgba(47, 143, 232, 0.2);
}

.features .pane-chip {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(8, 20, 36, 0.85);
  border: 1px solid rgba(110, 194, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(2, 8, 16, 0.6);
  animation: bio-fadeInUp 0.8s ease 0.6s both;
}

@media (max-width: 560px) {
  .features .pane-chip {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
  }
}

.features .pane-chip i {
  font-size: 1.5rem;
  color: var(--bio-cyan);
  filter: drop-shadow(0 0 10px rgba(89, 215, 255, 0.5));
}

.features .pane-chip span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--default-color);
}

.features .pane-chip strong {
  display: block;
  font-size: 0.95rem;
  color: #e8f4ff;
}

/* --------------------------------------------------------------------------
   15. Roadmap — glowing milestone track
   -------------------------------------------------------------------------- */
.roadmap-section {
  overflow: visible;
}

.roadmap-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 3rem;
}

.roadmap-head h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.25rem;
  color: #e8f4ff;
}

.roadmap-head h4 i {
  color: var(--bio-cyan);
  filter: drop-shadow(0 0 8px rgba(89, 215, 255, 0.5));
}

.roadmap-head .roadmap-caption {
  font-size: 0.85rem;
  color: #6f9ec4;
}

.roadmap {
  --node-y: 6px;
  position: relative;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
}

/* Horizontal track behind nodes */
.roadmap::before {
  content: "";
  position: absolute;
  top: var(--node-y);
  left: min(6%, 60px);
  right: min(6%, 60px);
  height: 2px;
  background: linear-gradient(90deg, rgba(110, 194, 255, 0.05), rgba(89, 215, 255, 0.55) 25%, rgba(89, 215, 255, 0.45) 70%, rgba(110, 194, 255, 0.06));
  box-shadow: 0 0 12px rgba(89, 215, 255, 0.35);
}

.roadmap-item {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  margin-top: 0;
  /* node anchor */
  --node-x: 12px;
}

.roadmap-node {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin: 0 0 18px calc(var(--node-x) - 6px);
  border-radius: 50%;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* node icons live inside a badge overlayed on the dot */
.roadmap-node i {
  position: absolute;
  inset: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  border-radius: 50%;
}

.roadmap-item.is-done .roadmap-node {
  background: #7dedc9;
  box-shadow: 0 0 16px rgba(125, 237, 201, 0.9);
}

.roadmap-item.is-done .roadmap-node i {
  color: #04180f;
}

.roadmap-item.is-active .roadmap-node {
  background: #ffd487;
  box-shadow: 0 0 18px rgba(255, 212, 135, 0.85);
  animation: bio-pulse 2s ease-in-out infinite;
}

.roadmap-item.is-active .roadmap-node i {
  color: #2a1c03;
  font-size: 0.6rem;
}

.roadmap-item.is-planned .roadmap-node {
  background: rgba(157, 185, 211, 0.25);
  border-color: rgba(157, 185, 211, 0.5);
  box-shadow: 0 0 8px rgba(157, 185, 211, 0.25);
}

/* Cards */
.roadmap .compliance-card {
  width: 100%;
  border-radius: 18px;
  padding: 22px 20px 20px;
  text-align: left;
  box-shadow: 0 18px 45px rgba(2, 8, 16, 0.5);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.roadmap .compliance-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 194, 255, 0.6), transparent);
  opacity: 0.5;
}

.roadmap .compliance-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 194, 255, 0.4);
  box-shadow: 0 24px 55px rgba(2, 8, 16, 0.65), 0 0 34px rgba(47, 143, 232, 0.2);
}

.roadmap .compliance-card .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.roadmap .compliance-card .status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.roadmap .compliance-card .status.compliant {
  color: #7dedc9;
  border: 1px solid rgba(125, 237, 201, 0.4);
  background: rgba(125, 237, 201, 0.06);
  box-shadow: 0 0 18px rgba(125, 237, 201, 0.18);
}

.roadmap .compliance-card .status.compliant::before {
  background: #7dedc9;
  box-shadow: 0 0 10px rgba(125, 237, 201, 0.9);
}

.roadmap .compliance-card .status.in-progress {
  color: #ffd487;
  border: 1px solid rgba(255, 212, 135, 0.4);
  background: rgba(255, 212, 135, 0.06);
  box-shadow: 0 0 18px rgba(255, 212, 135, 0.15);
}

.roadmap .compliance-card .status.in-progress::before {
  background: #ffd487;
  box-shadow: 0 0 10px rgba(255, 212, 135, 0.9);
  animation: bio-pulse 1.8s ease-in-out infinite;
}

.roadmap .compliance-card .status.planned {
  color: #9db9d3;
  border: 1px solid rgba(157, 185, 211, 0.3);
  background: rgba(157, 185, 211, 0.05);
}

.roadmap .compliance-card .status.planned::before {
  background: #9db9d3;
  opacity: 0.6;
}

.roadmap .compliance-card h4 {
  color: #e8f4ff;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 8px;
}

.roadmap .compliance-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--default-color);
}

/* Roadmap collapses into a vertical rail on mid screens */
@media (max-width: 1099px) {
  .roadmap::before {
    top: 14px;
    bottom: 14px;
    left: 6px;
    width: 2px;
    height: auto;
    right: auto;
    background: linear-gradient(180deg, rgba(110, 194, 255, 0.05), rgba(89, 215, 255, 0.55) 25%, rgba(89, 215, 255, 0.45) 70%, rgba(110, 194, 255, 0.06));
  }

  .roadmap {
    flex-direction: column;
    gap: 1.6rem;
  }

  .roadmap-item {
    flex-direction: row;
    gap: 18px;
    align-items: flex-start;
  }

  .roadmap-node {
    flex-shrink: 0;
    margin: 6px 0 0 0;
  }

  .roadmap .compliance-card {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   16. Contact — communication terminal
   -------------------------------------------------------------------------- */
.contact .contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.contact .contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 18px 45px rgba(2, 8, 16, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact .contact-info .info-item[href]:hover {
  border-color: rgba(110, 194, 255, 0.45);
  box-shadow: 0 22px 50px rgba(2, 8, 16, 0.65), 0 0 30px rgba(47, 143, 232, 0.22);
  transform: translateY(-5px);
}

.contact .contact-info .info-ic {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1b5fa8, #2f8fe8 60%, #59d7ff);
  color: #03111a;
  box-shadow: 0 0 24px rgba(47, 143, 232, 0.45);
}

.contact .contact-info .info-text {
  min-width: 0;
}

.contact .contact-info .info-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8fd2ff;
  margin-bottom: 3px;
}

.contact .contact-info .info-text span {
  display: block;
  font-size: 0.95rem;
  color: #d4e9f8;
  overflow-wrap: anywhere;
}

.contact .contact-info .info-arrow {
  margin-left: auto;
  color: #6f9ec4;
  font-size: 1rem;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all 0.3s ease;
}

.contact .contact-info .info-item[href]:hover .info-arrow {
  opacity: 1;
  transform: translate(0, 0);
  color: var(--bio-cyan);
}

@media (max-width: 700px) {
  .contact .contact-info {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   17. Footer — control room
   -------------------------------------------------------------------------- */
.footer {
  color: var(--default-color);
  background-color: #03111a;
  font-size: 14px;
  padding-bottom: 0;
  position: relative;
  border-top: 1px solid rgba(110, 194, 255, 0.22);
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 15%, #2f8fe8 50%, rgba(89, 215, 255, 0.7) 55%, transparent 85%);
  opacity: 0.6;
}

.footer .footer-top {
  padding: 56px 0 36px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 22px;
}

.footer .footer-about .logo img {
  max-height: 64px;
  margin-right: 8px;
}

.footer .footer-about .logo .sitename {
  color: #dff2ff;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  line-height: 1.7;
  font-family: var(--heading-font);
  max-width: 380px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(110, 194, 255, 0.28);
  font-size: 16px;
  color: #9db9d3;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  color: #8fe4ff;
  border-color: rgba(143, 228, 255, 0.7);
  box-shadow: 0 0 20px rgba(89, 215, 255, 0.35);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  color: #e8f4ff;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2f8fe8, transparent);
}

.footer .footer-contact p {
  margin-bottom: 6px;
}

.footer .footer-contact strong {
  color: #d4e9f8;
}

.footer .copyright {
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid var(--bio-line);
}

.footer .copyright p {
  margin: 0;
}

.footer .copyright .sitename {
  color: #8fd2ff;
}

/* --------------------------------------------------------------------------
   18. Scroll-top — glass puck
   -------------------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: -15px;
  z-index: 99999;
  background: rgba(10, 25, 43, 0.75);
  border: 1px solid rgba(110, 194, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(47, 143, 232, 0.35);
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #dff2ff;
  line-height: 0;
}

.scroll-top:hover {
  background: linear-gradient(135deg, #1b5fa8, #59d7ff);
  box-shadow: 0 0 32px rgba(89, 215, 255, 0.55);
}

.scroll-top:hover i {
  color: #03111a;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 18px;
}

/* --------------------------------------------------------------------------
   19. Scroll progress beam (element injected by biotech.js)
   -------------------------------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9998;
  background: linear-gradient(90deg, #134a8c, #2f8fe8 55%, #59d7ff);
  box-shadow: 0 0 12px rgba(89, 215, 255, 0.8);
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   20. Cursor follower ring + ambient glow (injected by biotech.js)
   -------------------------------------------------------------------------- */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(89, 215, 255, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
  opacity: 0;
}

.cursor-ring.visible {
  opacity: 1;
}

.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: rgba(143, 228, 255, 0.9);
  background: radial-gradient(circle, rgba(89, 215, 255, 0.14), transparent 65%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(47, 143, 232, 0.09), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

.cursor-glow.visible {
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor-ring,
  .cursor-glow {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   21. PHP email form status messages
   -------------------------------------------------------------------------- */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: rgba(10, 25, 43, 0.55);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   22. Fallbacks
   -------------------------------------------------------------------------- */
/* Disable AOS stagger delays on small screens */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-decor .scan-line,
  .hero .hero-decor .particle,
  .hero .hero-visual .orbit-halo,
  .hero-pill::before,
  .holo-bar .holo-live span,
  .roadmap-item.is-active .roadmap-node,
  .roadmap .compliance-card .status.in-progress::before {
    animation: none !important;
  }
}
