/* ═══════════════════════════════════════════════════
   APEXFORM BIO-NUTRITION — STYLESHEET
   Color System: Carbon Black | Neon Red | Pure White
═══════════════════════════════════════════════════ */

:root {
  --black: #0a0a0b;
  --carbon: #111114;
  --surface: #16161a;
  --surface2: #1e1e24;
  --border: rgba(232, 21, 42, 0.25);
  --border-dim: rgba(255, 255, 255, 0.07);
  --red: #e8152a;
  --red-dim: rgba(232, 21, 42, 0.12);
  --red-glow: rgba(232, 21, 42, 0.4);
  --red-bright: #ff1f35;
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-07: rgba(255, 255, 255, 0.07);
  --font-orb: 'Orbitron', monospace;
  --font-body: 'Inter', sans-serif;
  --font-raj: 'Rajdhani', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

input,
select,
textarea,
button {
  font-family: inherit;
  outline: none;
  border: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

/* ══════════════════════════════════
   REUSABLE COMPONENTS
══════════════════════════════════ */

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-orb);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 0 30px var(--red-glow), 0 0 60px rgba(232, 21, 42, 0.2);
  transform: translateY(-2px);
}

.btn-primary .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover .btn-glow {
  transform: translateX(100%);
}

.btn-primary .btn-icon {
  font-size: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: transparent;
  color: var(--white-80);
  font-family: var(--font-orb);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-raj);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-orb);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-title .accent {
  color: var(--red);
}

.section-sub {
  font-family: var(--font-raj);
  font-size: 18px;
  color: var(--white-50);
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-apex {
  font-family: var(--font-orb);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 4px;
}

.logo-form {
  font-family: var(--font-orb);
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 4px;
  margin-left: 4px;
}

.logo-apex+.logo-form {
  display: inline;
}

.nav-logo {
  flex-direction: row;
  align-items: center;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 4px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 4px;
}

.logo-tagline {
  display: block;
  font-family: var(--font-raj);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--white-50);
  margin-top: 4px;
}

.nav-logo {
  flex-wrap: wrap;
  gap: 0 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-raj);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white-80);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  font-family: var(--font-orb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  padding: 10px 20px;
  background: var(--red);
  border-radius: var(--r-sm);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--red-bright);
  box-shadow: 0 0 20px var(--red-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 60px 60px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
  overflow: hidden;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 21, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 21, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(-400px) scale(0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(232, 21, 42, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-raj);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--red-glow);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px transparent;
  }
}

.hero-headline {
  font-family: var(--font-orb);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.headline-accent {
  color: var(--red);
  position: relative;
  display: inline-block;
}

.headline-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.hero-subheadline {
  font-family: var(--font-raj);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-50);
  margin-bottom: 44px;
  max-width: 520px;
}

.sub-accent {
  color: var(--white-80);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-num {
  font-family: var(--font-orb);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-orb);
  font-size: 24px;
  color: var(--red);
}

.stat-label {
  font-family: var(--font-raj);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--white-50);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-dim);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-img-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--r-md);
  filter: brightness(0.9) contrast(1.1);
  border: 1px solid var(--border);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: scanDown 4s ease-in-out infinite;
  box-shadow: 0 0 20px var(--red);
  z-index: 2;
}

@keyframes scanDown {
  0% {
    top: 0;
    opacity: 1;
  }

  80% {
    top: 100%;
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Corner brackets */
.corner-tl,
.corner-tr,
.corner-bl,
.corner-br {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--red);
  border-style: solid;
  z-index: 3;
}

.corner-tl {
  top: -4px;
  left: -4px;
  border-width: 2px 0 0 2px;
}

.corner-tr {
  top: -4px;
  right: -4px;
  border-width: 2px 2px 0 0;
}

.corner-bl {
  bottom: -4px;
  left: -4px;
  border-width: 0 0 2px 2px;
}

.corner-br {
  bottom: -4px;
  right: -4px;
  border-width: 0 2px 2px 0;
}

.hero-hud {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 20px;
  z-index: 3;
}

.hud-item {
  font-family: var(--font-raj);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--white-50);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hud-item span {
  font-family: var(--font-orb);
  font-size: 15px;
  color: var(--red);
  font-weight: 700;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll-hint span {
  font-family: var(--font-raj);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--white-50);
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--white-50);
  border-bottom: 2px solid var(--white-50);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(-4px);
    opacity: 0.5;
  }

  50% {
    transform: rotate(45deg) translateY(4px);
    opacity: 1;
  }
}

/* ══════════════════════════════════
   SERVICES - THE TRIAD
══════════════════════════════════ */
.services {
  padding: 120px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(232, 21, 42, 0.08);
}

.service-card--featured {
  border-color: var(--border);
  background: linear-gradient(145deg, var(--surface) 0%, rgba(232, 21, 42, 0.05) 100%);
}

.service-card--featured:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(232, 21, 42, 0.15);
}

.card-number {
  font-family: var(--font-orb);
  font-size: 64px;
  font-weight: 900;
  color: rgba(232, 21, 42, 0.08);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
}

.service-card:hover .card-number {
  color: rgba(232, 21, 42, 0.15);
}

.featured-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-raj);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-family: var(--font-orb);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--white);
}

.card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-50);
  margin-bottom: 24px;
}

.card-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-features li {
  font-family: var(--font-raj);
  font-size: 14px;
  color: var(--white-80);
  padding-left: 20px;
  position: relative;
}

.card-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
}

.card-cta {
  font-family: var(--font-raj);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.card-cta:hover {
  gap: 12px;
}

.card-bg-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(232, 21, 42, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: transform var(--transition);
}

.service-card:hover .card-bg-accent {
  transform: scale(2);
}

/* ══════════════════════════════════
   APEX LAB
══════════════════════════════════ */
.apex-lab {
  padding: 120px 60px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.apex-lab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.apex-lab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.lab-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.lab-tab {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-sm);
  color: var(--white-50);
  font-family: var(--font-orb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
}

.lab-tab.active,
.lab-tab:hover {
  background: var(--red-dim);
  border-color: var(--border);
  color: var(--white);
}

.lab-tab.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
}

.lab-panel {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
}

.lab-panel.active {
  display: block;
}

.lab-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.lab-form {
  padding: 40px;
  border-right: 1px solid var(--border-dim);
}

.lab-form-title {
  font-family: var(--font-orb);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}

.lab-form-desc {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.6;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: var(--font-raj);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white-50);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-raj);
  font-size: 15px;
  font-weight: 500;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23e8152a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select option {
  background: var(--surface2);
}

.lab-btn {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-orb);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.lab-btn:hover {
  background: var(--red-bright);
  box-shadow: 0 0 20px var(--red-glow);
}

.lab-result {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.result-placeholder {
  text-align: center;
  color: var(--white-50);
}

.result-icon {
  font-size: 48px;
  color: rgba(232, 21, 42, 0.2);
  margin-bottom: 16px;
}

.result-placeholder p {
  font-family: var(--font-raj);
  font-size: 14px;
  letter-spacing: 1px;
}

.result-data {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-title {
  font-family: var(--font-orb);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 4px;
}

.result-metric {
  background: rgba(232, 21, 42, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 20px;
}

.result-metric-label {
  font-family: var(--font-raj);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--white-50);
  margin-bottom: 4px;
}

.result-metric-value {
  font-family: var(--font-orb);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.result-metric-unit {
  font-size: 14px;
  color: var(--red);
  margin-left: 4px;
}

.result-note {
  font-family: var(--font-raj);
  font-size: 12px;
  color: var(--white-50);
  line-height: 1.6;
  margin-top: 4px;
}

/* ══════════════════════════════════
   SHOP
══════════════════════════════════ */
.shop {
  padding: 120px 60px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.product-card--featured {
  grid-row: span 1;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.product-card--featured:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(232, 21, 42, 0.1);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-raj);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--r-sm);
  z-index: 2;
}

.product-badge--blue {
  background: #1a1a8c;
}

.product-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-placeholder--1 {
  background: linear-gradient(135deg, #1a0508 0%, #2d0a10 50%, #1a0508 100%);
}

.product-placeholder--2 {
  background: linear-gradient(135deg, #080d1a 0%, #0f1a2d 50%, #080d1a 100%);
}

.product-placeholder--3 {
  background: linear-gradient(135deg, #1a1a08 0%, #2d2d0a 50%, #1a1a08 100%);
}

.product-placeholder--4 {
  background: linear-gradient(135deg, #081a1a 0%, #0a2d2d 50%, #081a1a 100%);
}

.product-placeholder--5 {
  background: linear-gradient(135deg, #0a1a08 0%, #152d0a 50%, #0a1a08 100%);
}

.product-placeholder--6 {
  background: linear-gradient(135deg, #1a080d 0%, #2d0a15 50%, #1a080d 100%);
}

.product-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, var(--red-dim) 0%, transparent 60%);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.product-icon {
  font-family: var(--font-orb);
  font-size: 14px;
  color: rgba(232, 21, 42, 0.6);
  letter-spacing: 3px;
  z-index: 1;
  text-shadow: 0 0 20px var(--red);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-family: var(--font-raj);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

.product-name {
  font-family: var(--font-orb);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--white-50);
  margin-bottom: 16px;
  flex: 1;
}

.product-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-specs span {
  padding: 4px 10px;
  background: var(--red-dim);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-raj);
  font-size: 11px;
  color: var(--white-80);
  letter-spacing: 1px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.price-currency {
  font-family: var(--font-raj);
  font-size: 14px;
  color: var(--white-50);
}

.price-amount {
  font-family: var(--font-orb);
  font-size: 26px;
  font-weight: 900;
}

.price-cents {
  font-family: var(--font-orb);
  font-size: 14px;
  color: var(--white-50);
}

.add-to-cart {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--white-80);
  font-family: var(--font-raj);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.add-to-cart:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 16px var(--red-glow);
}

.cart-toast {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--white);
}

.toast-msg {
  font-family: var(--font-raj);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* ══════════════════════════════════
   INTELLIGENCE HUB
══════════════════════════════════ */
.intelligence {
  padding: 120px 60px;
  background: var(--surface);
  position: relative;
}

.intelligence::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.intelligence::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.intel-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.intel-card--main {
  grid-row: span 2;
}

.intel-card {
  background: var(--surface2);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.intel-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.intel-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.intel-card--main .intel-img {
  aspect-ratio: 4/3;
}

.intel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
}

.ip--1 {
  background: linear-gradient(160deg, #1a0003 0%, #3d000a 40%, #0d0000 100%);
}

.ip--2 {
  background: linear-gradient(160deg, #00051a 0%, #001040 40%, #000510 100%);
}

.ip--3 {
  background: linear-gradient(160deg, #1a1000 0%, #3d2700 40%, #100800 100%);
}

.ip-label {
  font-family: var(--font-orb);
  font-size: 12px;
  letter-spacing: 4px;
  color: rgba(232, 21, 42, 0.8);
  text-shadow: 0 0 20px var(--red);
}

.intel-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.intel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.intel-tag {
  font-family: var(--font-raj);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--r-sm);
}

.intel-read {
  font-family: var(--font-raj);
  font-size: 11px;
  color: var(--white-50);
  letter-spacing: 1px;
}

.intel-title {
  font-family: var(--font-orb);
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.intel-excerpt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white-50);
  margin-bottom: 20px;
  flex: 1;
}

.intel-link {
  font-family: var(--font-raj);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  transition: letter-spacing var(--transition);
}

.intel-link:hover {
  letter-spacing: 4px;
}

/* ══════════════════════════════════
   BOOKING
══════════════════════════════════ */
.booking {
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.booking-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 0% 50%, rgba(232, 21, 42, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 100% 50%, rgba(232, 21, 42, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.booking-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking-title {
  font-family: var(--font-orb);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 16px 0 24px;
}

.booking-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--white-50);
  margin-bottom: 40px;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.bf-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bf-icon {
  font-size: 20px;
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}

.bf-title {
  display: block;
  font-family: var(--font-raj);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.bf-sub {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.5;
}

.booking-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 24px;
  background: var(--red-dim);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  flex-wrap: wrap;
}

.bp-label {
  font-family: var(--font-raj);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
}

.bp-price {
  font-family: var(--font-orb);
  font-size: 36px;
  font-weight: 900;
}

.bp-note {
  font-size: 13px;
  color: var(--white-50);
}

.booking-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: 0 0 60px rgba(232, 21, 42, 0.06);
}

.form-card-title {
  font-family: var(--font-orb);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 32px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--white-50);
  margin-top: 16px;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border-dim);
  padding: 80px 60px 40px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--white-50);
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-sm);
  font-family: var(--font-raj);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white-50);
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-dim);
}

.footer-col h4 {
  font-family: var(--font-orb);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--white-50);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dim);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-family: var(--font-raj);
  font-size: 14px;
  color: var(--white-50);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--red);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-raj);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--white-50);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-raj);
  font-size: 12px;
  color: var(--white-50);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--red);
}

/* ══════════════════════════════════
   MODAL
══════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 60px 48px;
  max-width: 440px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 60px rgba(232, 21, 42, 0.15);
}

.modal-overlay.open .modal {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 24px;
  box-shadow: 0 0 30px var(--red-glow);
}

.modal h3 {
  font-family: var(--font-orb);
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.modal p {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1200px) {
  .hero {
    padding: 100px 40px 60px;
  }

  .services,
  .shop,
  .booking {
    padding: 80px 40px;
  }

  .apex-lab,
  .intelligence,
  .footer {
    padding: 80px 40px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subheadline {
    max-width: 100%;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-img {
    height: 360px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .intel-grid {
    grid-template-columns: 1fr;
  }

  .intel-card--main {
    grid-row: span 1;
  }

  .booking-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .services,
  .shop,
  .booking {
    padding: 60px 20px;
  }

  .apex-lab,
  .intelligence {
    padding: 60px 20px;
  }

  .footer {
    padding: 60px 20px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lab-panel-inner {
    grid-template-columns: 1fr;
  }

  .lab-form {
    border-right: none;
    border-bottom: 1px solid var(--border-dim);
  }

  .booking-form-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .lab-tabs {
    gap: 8px;
  }

  .lab-tab {
    padding: 10px 14px;
    font-size: 10px;
  }
}

/* ── Utility ── */
.accent {
  color: var(--red);
}
 / *   P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%
       C Y B E R N E T I C   M I C R O - I N T E R A C T I O N S 
 P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%  * / 
 . b t n - p r i m a r y   {   t r a n s i t i o n :   a l l   0 . 3 s   c u b i c - b e z i e r ( 0 . 2 5 ,   1 ,   0 . 5 ,   1 ) ;   } 
 . b t n - p r i m a r y : h o v e r   { 
     b o x - s h a d o w :   0   0   2 5 p x   r g b a ( 2 3 2 ,   2 1 ,   4 2 ,   0 . 6 ) ,   i n s e t   0   0   1 0 p x   r g b a ( 2 3 2 ,   2 1 ,   4 2 ,   0 . 4 ) ; 
     t e x t - s h a d o w :   0   0   8 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 5 ) ; 
     t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
     b o r d e r - c o l o r :   v a r ( - - r e d ) ; 
 } 
 
 . p r o d u c t - c a r d ,   . i n t e l - c a r d   { 
     t r a n s i t i o n :   a l l   0 . 4 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,   0 . 8 8 5 ,   0 . 3 2 ,   1 . 2 7 5 ) ; 
 } 
 . p r o d u c t - c a r d : h o v e r ,   . i n t e l - c a r d : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 8 p x )   s c a l e ( 1 . 0 1 ) ; 
     b o x - s h a d o w :   0   1 5 p x   3 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 8 ) ,   0   0   2 0 p x   r g b a ( 2 3 2 ,   2 1 ,   4 2 ,   0 . 2 ) ; 
     b o r d e r - c o l o r :   r g b a ( 2 3 2 ,   2 1 ,   4 2 ,   0 . 5 ) ; 
 } 
 . p r o d u c t - c a r d : h o v e r   . p r o d u c t - n a m e ,   . i n t e l - c a r d : h o v e r   . i n t e l - t i t l e   { 
     c o l o r :   v a r ( - - r e d ) ; 
 } 
  
 
 / *   C o o k i e   C o n s e n t   * / 
 . c o o k i e - b a n n e r   {   p o s i t i o n :   f i x e d ;   b o t t o m :   0 ;   l e f t :   0 ;   w i d t h :   1 0 0 % ;   b a c k g r o u n d :   v a r ( - - s u r f a c e 2 ) ;   b o r d e r - t o p :   1 p x   s o l i d   v a r ( - - b o r d e r ) ;   p a d d i n g :   1 6 p x   2 4 p x ;   d i s p l a y :   f l e x ;   j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ;   a l i g n - i t e m s :   c e n t e r ;   z - i n d e x :   9 9 9 9 ;   t r a n s f o r m :   t r a n s l a t e Y ( 1 0 0 % ) ;   t r a n s i t i o n :   t r a n s f o r m   0 . 5 s   e a s e - i n - o u t ;   } 
 . c o o k i e - b a n n e r . s h o w   {   t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ;   } 
 . c o o k i e - t e x t   {   f o n t - f a m i l y :   v a r ( - - f o n t - b o d y ) ;   f o n t - s i z e :   1 4 p x ;   c o l o r :   v a r ( - - w h i t e - 8 0 ) ;   m a x - w i d t h :   8 0 0 p x ;   } 
 . c o o k i e - t e x t   a   {   c o l o r :   v a r ( - - r e d ) ;   t e x t - d e c o r a t i o n :   u n d e r l i n e ;   } 
 . c o o k i e - b t n   {   p a d d i n g :   8 p x   1 6 p x ;   f o n t - f a m i l y :   v a r ( - - f o n t - r a j ) ;   f o n t - s i z e :   1 4 p x ;   b a c k g r o u n d :   v a r ( - - r e d ) ;   c o l o r :   v a r ( - - w h i t e ) ;   b o r d e r :   n o n e ;   b o r d e r - r a d i u s :   4 p x ;   c u r s o r :   p o i n t e r ;   t e x t - t r a n s f o r m :   u p p e r c a s e ;   f o n t - w e i g h t :   7 0 0 ;   l e t t e r - s p a c i n g :   2 p x ;   } 
 . c o o k i e - b t n : h o v e r   {   b a c k g r o u n d :   # b 8 0 c 1 d ;   } 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   {   . c o o k i e - b a n n e r   {   f l e x - d i r e c t i o n :   c o l u m n ;   g a p :   1 6 p x ;   t e x t - a l i g n :   c e n t e r ;   }   } 
  
 