/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }
body { font-family: var(--font-sans); background: var(--bg-1); color: var(--text-primary); line-height: var(--leading-normal); overflow-x: hidden; width: 100%; max-width: 100vw; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Canvas ────────────────────────────────────── */
#particle-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5; }

/* ── Container ─────────────────────────────────── */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }

/* ── Buttons ───────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.75rem 1.5rem; border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: var(--weight-semibold); transition: all var(--dur-base) var(--ease-out); white-space: nowrap; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #a2f500; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--text-primary); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ── Section label ─────────────────────────────── */
.section-label { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-6); border-left: 2px solid var(--accent); padding-left: var(--space-3); }

/* ── Text helpers ──────────────────────────────── */
.text-green { color: var(--accent); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  padding: 0.75rem var(--container-pad);
  transition: background var(--dur-slow), border-color var(--dur-slow);
  box-sizing: border-box;
}
.navbar.scrolled { background: rgba(8,8,8,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-container {
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  overflow: hidden;
}
.nav-logo { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-lg); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); flex-shrink: 0; }
.nav-logo-container { height: 56px; overflow: hidden; display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-container img { height: 150px; width: auto; max-width: none; object-fit: contain; }
.logo-icon { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); }
.nav-link { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-secondary); transition: color var(--dur-fast); position: relative; padding-bottom: 4px; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform var(--dur-base) var(--ease-out); }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: var(--space-2); padding: 0.5rem 1.125rem; border-radius: var(--radius-full); border: 1px solid var(--border-accent); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--accent); transition: all var(--dur-base); }
.nav-cta:hover { background: var(--accent-dim); }
.nav-cta svg { width: 16px; height: 16px; }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(137,233,0,0.1);
  border: 1.5px solid rgba(137,233,0,0.5);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-base);
  flex-shrink: 0;
}
.nav-mobile-toggle:hover {
  border-color: var(--accent);
  background: rgba(137,233,0,0.2);
  box-shadow: 0 0 16px rgba(137,233,0,0.15);
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--dur-base);
}
/* Hamburger to X animation */
.nav-mobile-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../assets/hero_bg.webp'); background-size: cover; background-position: center; z-index: 0; animation: slowZoom 24s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 65% 50% at 50% 38%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 50%, rgba(8,8,8,0.55) 100%); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 var(--container-pad); max-width: 860px; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.45rem 1rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.07); border: 1px solid var(--border); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-secondary); margin-bottom: var(--space-8); backdrop-filter: blur(8px); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s ease-in-out infinite; }
.hero-title { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: var(--weight-extrabold); letter-spacing: var(--tracking-tight); line-height: var(--leading-tight); margin-bottom: var(--space-6); }
.hero-title .title-white { display: block; }
.hero-title .title-green { display: block; color: var(--accent); }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.375rem); font-weight: var(--weight-medium); color: var(--text-primary); margin-bottom: var(--space-4); }
.hero-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); margin-bottom: var(--space-8); }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }
.scroll-indicator { position: absolute; bottom: var(--space-10); left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); animation: floatDown 2.5s ease-in-out infinite; }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-dot { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrollDown 2s ease-in-out infinite; }
.scroll-chevron { color: rgba(255,255,255,0.4); }



/* ── Ambient green glow on sections ────────────────────────── */

/* Metallic gradient band — sits between hero bottom and next section */
.metallic-band {
  width: 100%;
  height: 2px;
  position: relative;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(42, 110, 0, 0.5) 10%,
    rgba(89, 180, 0, 0.85) 28%,
    rgba(137, 233, 0, 1) 40%,
    rgba(200, 255, 80, 1) 50%,
    rgba(137, 233, 0, 1) 60%,
    rgba(89, 180, 0, 0.85) 72%,
    rgba(42, 110, 0, 0.5) 90%,
    transparent 100%
  );
  overflow: hidden;
}
.metallic-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 70%,
    transparent 100%
  );
  animation: metallicShimmer 3s ease-in-out infinite;
}

/* Metallic glow bloom below the band */
.metallic-bloom {
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom,
    rgba(137,233,0,0.12) 0%,
    rgba(89,180,0,0.06) 40%,
    transparent 100%
  );
  pointer-events: none;
}

/* Section side glows — alternate left/right for rhythm */
.section-problem::before,
.section-solution::before,
.section-technology::before,
.section-incubations::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.055) 0%, transparent 68%);
}
.section-problem::before { top: 0; left: 50%; transform: translateX(-50%); }
.section-solution::before { top: 0; right: -100px; }
.section-technology::before { top: 0; left: -100px; }
.section-incubations::before { top: 0; left: 50%; transform: translateX(-50%); width: 700px; }

/* All sections must be position:relative and clip overflow from pseudo-elements */
.section-problem,
.section-solution,
.section-technology,
.section-incubations,
.section-cta,
.section-features {
  position: relative;
  overflow: hidden;
}

@keyframes metallicShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}




/* ══════════════════════════════════════
   FEATURE CARDS SECTION (metallic green bg)
══════════════════════════════════════ */
.section-features {
  padding: var(--section-v-pad) 0;
  background: linear-gradient(180deg,
    #0B0B0B 0%,
    #0D1C09 15%,
    #111F0C 45%,
    #0E1B0A 75%,
    #0B0B0B 100%
  );
  border-top: 1px solid rgba(137,233,0,0.14);
  border-bottom: 1px solid rgba(137,233,0,0.10);
  position: relative;
  overflow: hidden;
}
.section-features::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.feature-card {
  background: rgba(15, 28, 10, 0.7);
  border: 1px solid rgba(137,233,0,0.13);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}
.feature-card:hover {
  border-color: rgba(137,233,0,0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(137,233,0,0.08);
}
.feature-icon { width: 44px; height: 44px; margin-bottom: var(--space-2); }
.feature-card-title { font-size: var(--text-lg); font-weight: var(--weight-bold); }
.feature-card-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); flex: 1; }

/* ══════════════════════════════════════
   PROBLEM SECTION
══════════════════════════════════════ */
.section-problem { padding: var(--section-v-pad) 0; background: var(--bg-1); border-top: 1px solid var(--border); }

.problem-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-16); align-items: start; }
.problem-heading { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); line-height: var(--leading-snug); margin-bottom: var(--space-4); }
.problem-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.problem-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-7) var(--space-6); transition: border-color var(--dur-base), transform var(--dur-base); }
.problem-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.problem-card-icon { width: 36px; height: 36px; margin-bottom: var(--space-4); }
.problem-card-title { font-size: var(--text-base); font-weight: var(--weight-semibold); margin-bottom: var(--space-3); }
.problem-card-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }

/* ══════════════════════════════════════
   SOLUTION SECTION
══════════════════════════════════════ */
.section-solution { padding: var(--section-v-pad) 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.solution-heading { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); margin-bottom: var(--space-12); }
.solution-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-10); gap: var(--space-4); }
.flow-step { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.flow-icon { width: 40px; height: 40px; }
.flow-title { font-size: var(--text-base); font-weight: var(--weight-semibold); }
.flow-desc { font-size: var(--text-xs); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.flow-arrow { color: var(--accent); opacity: 0.7; padding: 0 var(--space-2); }
.flow-arrow svg { width: 28px; height: 28px; }

/* ══════════════════════════════════════
   TECHNOLOGY SECTION
══════════════════════════════════════ */
.section-technology { padding: var(--section-v-pad) 0; background: var(--bg-1); border-top: 1px solid var(--border); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.tech-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); transition: border-color var(--dur-base), transform var(--dur-base); }
.tech-card:hover { border-color: var(--border-accent); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(137,233,0,0.06); }
.tech-icon { width: 44px; height: 44px; }
.tech-title { font-size: var(--text-base); font-weight: var(--weight-semibold); }
.tech-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); flex: 1; }
.tech-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--accent); transition: gap var(--dur-fast); }
.tech-link:hover { gap: var(--space-3); }

/* ══════════════════════════════════════
   INCUBATIONS SECTION
══════════════════════════════════════ */
.section-incubations { padding: clamp(3rem, 6vw, 5.5rem) 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.incubation-label { color: var(--accent); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest); text-transform: uppercase; margin-bottom: var(--space-8); }
.incubation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.incubation-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6); display: flex; align-items: flex-start; gap: var(--space-5); transition: border-color var(--dur-base); }
.incubation-card:hover { border-color: var(--border-accent); }
.incubation-logo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #fff; display: flex; align-items: center; justify-content: center; }
.incubation-logo img { width: 100%; height: 100%; object-fit: cover; }
.incubation-name { font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: var(--leading-snug); margin-bottom: var(--space-2); }
.incubation-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.incubation-desc a { color: var(--accent); }

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.section-cta { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; border-top: 1px solid var(--border); }
.cta-bg { position: absolute; inset: 0; background-image: url('../assets/hero_bg.webp'); background-size: cover; background-position: center bottom; opacity: 0.15; z-index: 0; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--bg-1) 30%, transparent 70%); }
.cta-inner { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.cta-heading { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); line-height: var(--leading-snug); }
.cta-btn { flex-shrink: 0; padding: 0.875rem 2rem; font-size: var(--text-base); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--bg-0); border-top: 1px solid var(--border); padding-top: var(--space-20); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: var(--space-10); padding-bottom: var(--space-16); align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-logo { display: flex; align-items: center; }
.footer-logo-container { display: flex; align-items: center; }
.footer-logo-container img { height: 150px; width: auto; object-fit: contain; }

.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.social-link { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all var(--dur-base) var(--ease-out); }
.social-link:hover { border-color: var(--border-accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(137,233,0,0.1); }
.social-link svg { width: 18px; height: 18px; }
.footer-col-title { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--accent); letter-spacing: var(--tracking-widest); text-transform: uppercase; margin-bottom: var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-link { font-size: var(--text-sm); color: var(--text-secondary); transition: color var(--dur-fast), transform var(--dur-fast); display: inline-block; }
.footer-link:hover { color: var(--text-primary); transform: translateX(4px); }
.footer-contact-item { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); margin-bottom: var(--space-4); }
.footer-contact-item a { color: var(--text-secondary); transition: color var(--dur-fast); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: var(--space-8) 0; text-align: center; }
.footer-copyright { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: var(--tracking-wide); }

/* ══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ══════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════ */
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 8px var(--accent); } 50% { opacity: 0.6; box-shadow: 0 0 16px var(--accent); } }
@keyframes floatDown { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes scrollDown { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex !important; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  .footer-brand { grid-column: 1 / -1; }

  /* ── Mobile navbar: fixed height, transparent (no background) ── */
  .navbar {
    height: 72px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: none;
  }
  .navbar.scrolled {
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  /* Center the logo vertically inside the 72px bar */
  .nav-container {
    height: 100%;
    align-items: center;
  }

  .nav-logo {
    height: 100%;
    display: flex;
    align-items: center;
  }

  /* Bigger logo — readable icon + VYASN text */
  .nav-logo-container {
    height: 56px;
    max-width: 160px;
  }

  .nav-logo-container img {
    height: 140px;
  }

  /* Hamburger vertically centered */
  .nav-actions {
    height: 100%;
    display: flex;
    align-items: center;
  }

  /* Mobile menu dropdown sits exactly below the 64px bar */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.97);
    padding: var(--space-6) var(--space-6) var(--space-8);
    gap: var(--space-5);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 199;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }

  .nav-links.open .nav-link {
    font-size: var(--text-base);
    padding: var(--space-2) 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
  }

  .nav-links.open .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .problem-cards { grid-template-columns: 1fr; }
  .solution-flow { grid-template-columns: 1fr; gap: var(--space-6); }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .tech-grid { grid-template-columns: 1fr; }
  .incubation-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  /* Tighter padding on very small screens */
  .navbar { padding-left: 1rem; padding-right: 1rem; }
}

/* ══════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════ */
.contact-section {
  position: relative;
  padding: calc(var(--space-6) + 68px) 0 var(--space-10) 0;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero_bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: blur(1.5px);
  opacity: 0.75;
}
.contact-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 8%, rgba(137,233,0,0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.contact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(5,5,5,0.62) 0%,
    rgba(5,5,5,0.55) 35%,
    rgba(5,5,5,0.72) 100%
  );
}

/* Corner glows */
.contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.055) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.contact-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-10);
  align-items: start;
}

/* Left Section */
.contact-left {
  padding-top: var(--space-2);
}

.contact-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.contact-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 360px;
}

/* Contact Cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(14,14,14,0.6);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}

.contact-card:hover {
  border-color: rgba(137,233,0,0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 12px rgba(137,233,0,0.04);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(137,233,0,0.06);
  border-radius: var(--radius-md);
}

.contact-card-icon svg {
  width: 18px;
  height: 18px;
}

.contact-card-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-card-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

a.contact-card-value {
  transition: color var(--dur-fast);
}

a.contact-card-value:hover {
  color: var(--accent);
}

/* Right Section — Form */
.contact-right {
  padding-top: var(--space-2);
}

.contact-form {
  background: rgba(12,12,12,0.65);
  border: 1px solid rgba(137,233,0,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-6);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(137,233,0,0.04),
    0 8px 40px rgba(0,0,0,0.35),
    0 0 60px rgba(137,233,0,0.03);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(16,16,16,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.6875rem 0.875rem;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: #F5F5F5;
  outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.42);
}

.form-input:focus {
  border-color: rgba(137,233,0,0.45);
  box-shadow: 0 0 0 3px rgba(137,233,0,0.08), 0 0 24px rgba(137,233,0,0.06);
  background: rgba(20,20,20,0.75);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: #0A0A0A;
  color: #F5F5F5;
}

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

/* Submit Button */
.btn-contact-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #89E900 0%, #7AD400 50%, #89E900 100%);
  color: #000;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--dur-base) var(--ease-out);
  margin-top: var(--space-1);
  box-shadow: 0 2px 12px rgba(137,233,0,0.2), 0 0 30px rgba(137,233,0,0.06);
}

.btn-contact-submit:hover {
  background: linear-gradient(135deg, #a2f500 0%, #89E900 50%, #a2f500 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(137,233,0,0.3), 0 0 40px rgba(137,233,0,0.08);
}

.btn-contact-submit:active {
  transform: translateY(0);
}

.btn-contact-submit svg {
  width: 17px;
  height: 17px;
}

/* Form Status */
.form-status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--text-sm);
  min-height: 1.25rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--dur-base);
}

.form-status.visible {
  opacity: 1;
}

.form-status.error {
  color: #ff6b6b;
}

/* ══════════════════════════════════════
   CONTACT RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .contact-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
  }
  .contact-grid {
    gap: var(--space-8);
  }
  .contact-container {
    max-width: var(--container-max);
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: calc(var(--space-10) + 60px) 0 var(--space-10) 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .contact-left {
    padding-top: 0;
  }
  .contact-right {
    padding-top: 0;
  }
  .contact-form {
    grid-template-columns: 1fr;
    padding: var(--space-5) var(--space-4);
  }
  .form-group-full {
    grid-column: 1;
  }
  .btn-contact-submit {
    grid-column: 1;
  }
  .form-status {
    grid-column: 1;
  }
  .contact-subtitle {
    max-width: 100%;
  }
  .contact-container {
    max-width: var(--container-max);
  }
}

/* ABOUT PAGE */
.about-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/2_about_bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: slowZoom 24s ease-in-out infinite alternate;
}
.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8,8,8,0.78) 0%,
    rgba(8,8,8,0.58) 40%,
    rgba(8,8,8,0.32) 70%,
    rgba(8,8,8,0.15) 100%
  );
  z-index: 1;
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin-inline: 0;
  padding-left: clamp(80px, 10vw, 120px);
  padding-right: clamp(80px, 10vw, 120px);
}
.about-hero-content {
  max-width: 600px;
  text-align: left;
}
.about-hero-heading {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}
.about-hero-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
}
/* What We Do */
.section-whatwedo {
  padding: var(--section-v-pad) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.section-whatwedo::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.whatwedo-container {
  position: relative;
  z-index: 1;
}
.whatwedo-grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: var(--space-16);
  align-items: center;
}
.whatwedo-left {
  padding-top: var(--space-2);
}
.whatwedo-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}
.whatwedo-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 320px;
}
.whatwedo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.whatwedo-card {
  background: rgba(14,14,14,0.55);
  border: 1px solid rgba(137,233,0,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  backdrop-filter: blur(16px);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}
.whatwedo-card:hover {
  border-color: rgba(137,233,0,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(137,233,0,0.06);
}
.whatwedo-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(137,233,0,0.06);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.whatwedo-card-icon svg {
  width: 26px;
  height: 26px;
}
.whatwedo-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
}
.whatwedo-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}
/* About Responsive */
@media (max-width: 1024px) {
  .about-hero {
    padding-top: 72px; /* clear the fixed 72px navbar */
    min-height: 80vh;
  }
  /* On mobile: shift image right so the buoy is visible */
  .about-hero-bg {
    background-position: 76% top;
  }
  .about-hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(8,8,8,0.55) 0%,
      rgba(8,8,8,0.25) 35%,
      rgba(8,8,8,0.45) 80%,
      rgba(8,8,8,0.80) 100%
    );
  }
  /* Fix inner padding for smaller screens */
  .about-hero-inner {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }
  .whatwedo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .whatwedo-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-hero-heading {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}
@media (max-width: 768px) {
  .about-hero {
    min-height: 70vh;
  }
  .about-hero-content {
    max-width: 100%;
  }
  .whatwedo-cards {
    grid-template-columns: 1fr;
  }
  .whatwedo-card {
    padding: var(--space-5);
  }
}

/* ══════════════════════════════════════
   TECHNOLOGY PAGE — AI COMMAND CENTER
══════════════════════════════════════ */

/* ── Hero ────────────────────────────── */
.tech2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #030703;
}

.tech2-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #030703 0%, #040d04 15%, #061a08 35%, #0a2a10 55%, #071a08 75%, #030703 100%);
  z-index: 0;
}

.tech2-hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 45%, rgba(137,233,0,0.04) 0%, transparent 60%);
}

.tech2-hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.tech2-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(137,233,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,233,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  opacity: 0.6;
}

.tech2-hero-diag {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(137,233,0,0.02) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(137,233,0,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  opacity: 0.5;
}

.tech2-hero-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.08) 0%, rgba(137,233,0,0.03) 35%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: tech2GlowPulse 6s ease-in-out infinite;
}

.tech2-hero-glow-move {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137,233,0,0.055) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  animation: tech2GlowDrift 18s ease-in-out infinite;
}

#tech2-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tech2-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 0 var(--container-pad);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech2-hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(137,233,0,0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(137,233,0,0.06);
}

.tech2-hero-heading {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  color: #fff;
  text-align: center;
  width: 100%;
}

.tech2-green {
  color: #A3FF12;
}

.tech2-hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Radar rings ─────────────────────── */
.tech2-radar {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: 1;
}

.tech2-radar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(137,233,0,0.07);
  border-radius: 50%;
  animation: radarPulse 4s ease-in-out infinite;
}

.tech2-radar-ring-2 {
  inset: -40px;
  border-color: rgba(137,233,0,0.045);
  animation-delay: 1.2s;
}

.tech2-radar-ring-3 {
  inset: -80px;
  border-color: rgba(137,233,0,0.025);
  animation-delay: 2.4s;
}

@keyframes tech2GlowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes tech2GlowDrift {
  0% { top: 30%; left: 35%; }
  25% { top: 45%; left: 55%; }
  50% { top: 55%; left: 45%; }
  75% { top: 35%; left: 60%; }
  100% { top: 30%; left: 35%; }
}

.tech2-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,7,3,0.5) 40%, #0B0B0B 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Tech Panel ──────────────────────── */
.tech2-panel-section {
  position: relative;
  padding: 0 0 clamp(5rem, 10vw, 8rem);
  margin-top: -4rem;
  z-index: 3;
}

.tech2-panel {
  position: relative;
  background: rgba(8,8,8,0.65);
  border: 1px solid rgba(137,233,0,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(137,233,0,0.04),
    0 24px 80px rgba(0,0,0,0.5),
    0 0 100px rgba(137,233,0,0.04);
  overflow: hidden;
}

.tech2-panel-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.tech2-panel-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

/* ── Tech Cards ──────────────────────── */
.tech2-card {
  position: relative;
  padding: var(--space-10) var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  transition: background var(--dur-slow), box-shadow var(--dur-slow);
}

.tech2-card:hover {
  background: rgba(137,233,0,0.02);
  box-shadow: inset 0 0 60px rgba(137,233,0,0.03);
}

.tech2-card + .tech2-card {
  border-left: 1px solid rgba(137,233,0,0.06);
}

.tech2-panel-inner .tech2-card:nth-child(n+4) {
  border-top: 1px solid rgba(137,233,0,0.06);
}

/* Only add left borders to columns 2 and 3 in each row */
.tech2-panel-inner .tech2-card:nth-child(3n+2),
.tech2-panel-inner .tech2-card:nth-child(3n+3) {
  /* already handled by .tech2-card + .tech2-card */
}

.tech2-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(137,233,0,0.05);
  border: 1px solid rgba(137,233,0,0.12);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.tech2-card:hover .tech2-card-icon {
  border-color: rgba(137,233,0,0.3);
  box-shadow: 0 0 20px rgba(137,233,0,0.08);
}

.tech2-card-icon svg {
  width: 28px;
  height: 28px;
}

.tech2-card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.tech2-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 240px;
}

.tech2-card-line {
  display: none;
}

/* ── Tech2 Desktop heading fix (≥1025px only) ───── */
@media (min-width: 1025px) {
  .tech2-hero-content {
    max-width: 90vw; /* wide enough for nowrap heading */
  }
  .tech2-hero-heading {
    white-space: nowrap; /* <br> splits lines; words never wrap */
    text-align: center;
  }
}

/* ── Tech2 Responsive ────────────────── */
@media (max-width: 1024px) {
  .tech2-hero-heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    white-space: nowrap;
    text-align: center;
    width: 100%;
  }
  .tech2-radar {
    display: none;
  }
  .tech2-panel-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech2-panel-inner .tech2-card:nth-child(3n+2),
  .tech2-panel-inner .tech2-card:nth-child(3n+3) {
    border-left: none;
  }
  .tech2-panel-inner .tech2-card:nth-child(even) {
    border-left: 1px solid rgba(137,233,0,0.06);
  }
  .tech2-panel-inner .tech2-card:nth-child(n+3) {
    border-top: 1px solid rgba(137,233,0,0.06);
  }
  .tech2-panel-inner .tech2-card {
    border-left: 1px solid rgba(137,233,0,0.06);
  }
  .tech2-panel-inner .tech2-card:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 768px) {
  .tech2-hero {
    min-height: 85vh;
  }
  .tech2-hero-content {
    max-width: 100%;
  }
  .tech2-panel-section {
    margin-top: -2rem;
  }
  .tech2-panel-inner {
    grid-template-columns: 1fr;
  }
  .tech2-panel-inner .tech2-card {
    border-left: none;
    border-top: 1px solid rgba(137,233,0,0.06);
    padding: var(--space-7) var(--space-6);
  }
  .tech2-panel-inner .tech2-card:first-child {
    border-top: none;
  }
  .tech2-card {
    align-items: flex-start;
    text-align: left;
  }
  .tech2-card-desc {
    max-width: 100%;
  }
}

/* ── Hero Action Buttons ─────────────── */
.tech2-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

/* ── Hero Orbs ───────────────────────── */
.tech2-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.tech2-hero-orb-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(137,233,0,0.07) 0%, transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite;
}
.tech2-hero-orb-2 {
  width: 350px;
  height: 350px;
  bottom: 15%;
  right: 8%;
  background: radial-gradient(circle, rgba(100,200,0,0.06) 0%, transparent 70%);
  animation: orbFloat2 24s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.08); }
  66% { transform: translate(20px, -15px) scale(0.97); }
}

/* ── Stats Strip ─────────────────────── */
.tech2-stats-strip {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #0B0B0B 0%, #0D1A09 50%, #0B0B0B 100%);
  border-top: 1px solid rgba(137,233,0,0.1);
  border-bottom: 1px solid rgba(137,233,0,0.1);
  overflow: hidden;
  z-index: 2;
}
.tech2-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(137,233,0,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.tech2-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.tech2-stat {
  flex: 1;
  text-align: center;
  padding: var(--space-4) var(--space-6);
}
.tech2-stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-extrabold);
  color: #A3FF12;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  margin-bottom: var(--space-2);
  text-shadow: 0 0 30px rgba(163,255,18,0.3);
}
.tech2-stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.tech2-stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(137,233,0,0.2), transparent);
  flex-shrink: 0;
}

/* ── Section Intro (above panel) ─────── */
.tech2-section-intro {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  padding-top: clamp(2rem, 4vw, 4rem);
}
.tech2-section-intro .section-label {
  border-left: none;
  border-bottom: 2px solid var(--accent);
  padding-left: 0;
  padding-bottom: var(--space-1);
  display: inline-flex;
  justify-content: center;
}
.tech2-section-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  color: #fff;
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}
.tech2-section-sub {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Card Link ───────────────────────── */
.tech2-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--accent);
  margin-top: var(--space-1);
  transition: gap var(--dur-fast), opacity var(--dur-fast);
  opacity: 0.8;
}
.tech2-card-link:hover {
  gap: var(--space-2);
  opacity: 1;
}

/* ── CTA Section ─────────────────────── */
.tech2-cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-1);
  border-top: 1px solid rgba(137,233,0,0.08);
  overflow: hidden;
}
.tech2-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.tech2-cta-glow-2 {
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.tech2-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}
.tech2-cta-text {
  flex: 1;
  max-width: 520px;
}
.tech2-cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
  color: #fff;
}
.tech2-cta-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
}
.tech2-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}
.tech2-cta-btn {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
}

/* ── Updated Responsive ──────────────── */
@media (max-width: 1024px) {
  .tech2-stats-grid {
    gap: var(--space-4);
  }
  .tech2-stat-divider {
    display: none;
  }
  .tech2-stat {
    padding: var(--space-4);
  }
  .tech2-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .tech2-cta-text {
    max-width: 100%;
  }
  .tech2-cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  /* Clear fixed navbar on mobile */
  .tech2-hero {
    padding-top: 72px;
  }
  /* Stats: 4 individual cards, no border tricks */
  .tech2-stats-strip {
    padding: var(--space-6) 0;
  }
  .tech2-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: transparent;
    width: 100%;
  }
  .tech2-stat {
    background: rgba(10,10,10,0.9);
    border: 1px solid rgba(137,233,0,0.18);
    border-radius: 10px;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
  }
  .tech2-stat-value {
    font-size: 1.75rem;
  }
  .tech2-stat-label {
    font-size: 0.65rem;
  }
  .tech2-stat-divider {
    display: none;
  }
  .tech2-hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  .tech2-section-intro {
    text-align: left;
    padding-top: var(--space-6);
  }
  .tech2-section-sub {
    margin-inline: 0;
  }
  .tech2-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .tech2-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .tech2-hero-orb {
    display: none;
  }
}

/* RESEARCH PAGE */

/* Research Hero */
.research-hero {
  position: relative;
  min-height: 85vh;
  padding-top: 80px; /* clear fixed navbar on desktop */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #030703;
}

.research-dotted-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.research-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.research-hero-content {
  max-width: 560px;
}

.research-hero-heading {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  color: #fff;
}

.research-hero-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 480px;
}

.research-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-10);
}

.research-stat {
  border-left: 2px solid rgba(163,255,18,0.4);
  padding-left: var(--space-3);
}

.research-stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: #A3FF12;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.research-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Research Mission */
.section-mission {
  padding: var(--section-v-pad) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.section-mission::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.mission-container {
  position: relative;
  z-index: 1;
}

.mission-grid {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: var(--space-16);
  align-items: center;
}

.mission-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.mission-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mission-pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.mission-pillar-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(137,233,0,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-2);
}

.mission-pillar-icon svg {
  width: 26px;
  height: 26px;
}

.mission-pillar-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: 2px;
}

.mission-pillar-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mission Visual — Buoy Illustration */
.mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Buoy wrap ───────────────────────── */
.mission-buoy-wrap {
  position: relative;
  width: 340px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated pulse rings */
.mbw-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(137,233,0,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: mbwRingPulse 4s ease-out infinite;
}
.mbw-ring-1 { width: 160px; height: 160px; animation-delay: 0s; }
.mbw-ring-2 { width: 240px; height: 240px; animation-delay: 1.3s; }
.mbw-ring-3 { width: 320px; height: 320px; animation-delay: 2.6s; border-color: rgba(137,233,0,0.05); }

@keyframes mbwRingPulse {
  0%   { opacity: 0.8; transform: translate(-50%,-50%) scale(0.85); }
  70%  { opacity: 0;   transform: translate(-50%,-50%) scale(1.15); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.15); }
}

/* The buoy SVG */
.mbw-buoy-svg {
  width: 200px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(137,233,0,0.15));
}

/* Antenna LED pulse */
.mbw-tip-pulse {
  animation: mbwLedBlink 1.8s ease-in-out infinite;
}
@keyframes mbwLedBlink {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 0.2; }
}

/* Status LED pulse */
.mbw-led {
  animation: mbwLedBlink 2.2s ease-in-out infinite;
}

/* Signal arc animation */
.mbw-arc { animation: mbwArcFade 3s ease-in-out infinite; }
.mbw-arc-1 { animation-delay: 0s; }
.mbw-arc-2 { animation-delay: 0.8s; }
.mbw-arc-3 { animation-delay: 1.6s; }
@keyframes mbwArcFade {
  0%, 100% { opacity: 0.2; stroke-dashoffset: 0; }
  50%       { opacity: 1;   stroke-dashoffset: -12; }
}

/* Floating data chips */
.mbw-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(10,14,10,0.88);
  border: 1px solid rgba(137,233,0,0.2);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 4;
}
.mbw-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #89E900;
  box-shadow: 0 0 6px rgba(137,233,0,0.8);
}
.mbw-chip-dot--blue  { background: #4A9EFF; box-shadow: 0 0 6px rgba(74,158,255,0.8); }
.mbw-chip-dot--teal  { background: #00b4d8; box-shadow: 0 0 6px rgba(0,180,216,0.8); }

.mbw-chip-1 { top: 18%;  right: 0;   animation: mbwChipFloat 5s ease-in-out infinite; }
.mbw-chip-2 { top: 42%;  left: -10px; animation: mbwChipFloat 6s ease-in-out infinite 1s; }
.mbw-chip-3 { bottom: 22%; right: 5px; animation: mbwChipFloat 5.5s ease-in-out infinite 0.5s; }

@keyframes mbwChipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Active Research Areas */
.section-areas {
  padding: var(--section-v-pad) 0;
  background: linear-gradient(180deg, var(--bg-1) 0%, #0C180A 50%, var(--bg-1) 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.section-areas::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: 0;
}

.area-card {
  background: rgba(14,14,14,0.55);
  border: 1px solid rgba(137,233,0,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  backdrop-filter: blur(12px);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}

.area-card:hover {
  border-color: rgba(137,233,0,0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(137,233,0,0.06);
}

.area-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(137,233,0,0.06);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.area-icon svg {
  width: 30px;
  height: 30px;
}

.area-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
}

.area-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Current Research Projects */
.section-projects {
  padding: var(--section-v-pad) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.project-card {
  display: flex;
  align-items: stretch;
  gap: var(--space-6);
  background: rgba(14,14,14,0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: blur(12px);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}

.project-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 12px rgba(137,233,0,0.04);
}

.project-thumb {
  width: 120px;
  min-height: 100px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.project-thumb--1 {
  background: linear-gradient(135deg, rgba(4,14,4,0.99) 0%, rgba(2,10,8,0.99) 100%);
  border: 1px solid rgba(137,233,0,0.15);
  overflow: hidden;
  position: relative;
}

.project-thumb--2 {
  background: linear-gradient(135deg, rgba(8,18,28,0.98) 0%, rgba(4,12,8,0.99) 100%);
  border: 1px solid rgba(74,158,255,0.15);
  overflow: hidden;
}

.project-thumb--3 {
  background: linear-gradient(135deg, rgba(22,16,6,0.98) 0%, rgba(10,8,4,0.99) 100%);
  border: 1px solid rgba(245,166,35,0.15);
  overflow: hidden;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-1) 0;
}

.project-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
}

.project-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.project-pill {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.project-pill--green {
  background: rgba(137,233,0,0.12);
  color: #89E900;
  border: 1px solid rgba(137,233,0,0.2);
}

.project-pill--blue {
  background: rgba(74,158,255,0.12);
  color: #4A9EFF;
  border: 1px solid rgba(74,158,255,0.2);
}

.project-pill--amber {
  background: rgba(245,166,35,0.12);
  color: #F5A623;
  border: 1px solid rgba(245,166,35,0.2);
}

/* Future Research Roadmap */
.section-roadmap {
  padding: var(--section-v-pad) 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.roadmap-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-12);
}

.roadmap-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137,233,0,0.3), rgba(137,233,0,0.3), transparent);
  z-index: 0;
}

.roadmap-point {
  position: relative;
  z-index: 1;
  padding-top: var(--space-8);
}

.roadmap-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-1);
  box-shadow: 0 0 12px rgba(137,233,0,0.3);
  position: absolute;
  top: 0;
  left: 0;
}

.roadmap-year {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.roadmap-label {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.roadmap-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap-items li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: var(--space-4);
  position: relative;
  margin-bottom: var(--space-1);
}

.roadmap-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(137,233,0,0.4);
}

/* Research Responsive */
@media (max-width: 1024px) {
  .research-hero {
    padding-top: 72px; /* clear the fixed 72px navbar */
  }
  .research-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .research-hero-visual {
    display: none;
  }
  .mission-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .mission-visual {
    display: none;
  }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  .research-hero {
    min-height: 65vh;
  }
  .research-hero-content {
    max-width: 100%;
  }
  .research-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  .project-card {
    flex-direction: column;
  }
  .project-thumb {
    width: 100%;
    min-height: 80px;
  }
  .roadmap-timeline {
    grid-template-columns: 1fr;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-timeline::before {
    top: 0;
    bottom: 0;
    left: 8px;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(137,233,0,0.3), rgba(137,233,0,0.3), transparent);
  }
  .roadmap-dot {
    top: 8px;
  }
  .roadmap-point {
    padding-top: 0;
    padding-left: var(--space-10);
    padding-bottom: var(--space-8);
  }
}

/* ══════════════════════════════════════
   RESEARCH PAGE — EXTENDED STYLES
══════════════════════════════════════ */

/* ── Hero orbs ───────────────────────── */
.research-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
}
.research-hero-orb-1 {
  width: 450px;
  height: 450px;
  top: 5%;
  right: 5%;
  background: radial-gradient(circle, rgba(137,233,0,0.07) 0%, transparent 70%);
  animation: orbFloat1 22s ease-in-out infinite;
}
.research-hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(100,200,0,0.055) 0%, transparent 70%);
  animation: orbFloat2 18s ease-in-out infinite;
}

/* ── Hero Visual (right column) ─────── */
.research-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-6) 0;
}

/* ── Telemetry Card ──────────────────── */
.rhv-card {
  background: rgba(10,14,10,0.75);
  border: 1px solid rgba(137,233,0,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(137,233,0,0.04),
    0 24px 60px rgba(0,0,0,0.55),
    0 0 80px rgba(137,233,0,0.04);
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 2;
}

.rhv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.rhv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: #89E900;
  background: rgba(137,233,0,0.08);
  border: 1px solid rgba(137,233,0,0.2);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap; /* prevent wrapping to 2 lines */
}

.rhv-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89E900;
  box-shadow: 0 0 8px rgba(137,233,0,0.8);
  animation: pulse 1.5s ease-in-out infinite;
}

.rhv-location {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ── Mini Chart ──────────────────────── */
.rhv-chart-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-3) var(--space-2);
  margin-bottom: var(--space-5);
  overflow: hidden;
}

.rhv-chart {
  width: 100%;
  height: 80px;
  display: block;
}

.rhv-chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: chartDraw 2s ease-out 0.5s forwards;
}

.rhv-chart-dot {
  filter: drop-shadow(0 0 4px rgba(137,233,0,0.8));
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes dotPulse {
  0%, 100% { r: 3.5; opacity: 1; }
  50% { r: 5; opacity: 0.7; }
}

.rhv-chart-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: var(--space-1);
  text-align: right;
}

/* ── Sensor Readings ─────────────────── */
.rhv-sensors {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.rhv-sensor-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}

.rhv-sensor-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.rhv-sensor-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.rhv-sensor-value span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-left: 2px;
}

.rhv-sensor-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.rhv-sensor-fill {
  height: 100%;
  background: linear-gradient(90deg, #89E900, #A3FF12);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(137,233,0,0.4);
  animation: barGrow 1.4s var(--ease-out) 0.8s both;
  transform-origin: left;
}
.rhv-fill-blue {
  background: linear-gradient(90deg, #4A9EFF, #7DB8FF);
  box-shadow: 0 0 6px rgba(74,158,255,0.4);
}
.rhv-fill-teal {
  background: linear-gradient(90deg, #00b4d8, #48cae4);
  box-shadow: 0 0 6px rgba(0,180,216,0.4);
}
.rhv-fill-amber {
  background: linear-gradient(90deg, #F5A623, #FFD166);
  box-shadow: 0 0 6px rgba(245,166,35,0.4);
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── Card Footer ─────────────────────── */
.rhv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.rhv-footer-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.rhv-status {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: #89E900;
  font-weight: var(--weight-medium);
}

.rhv-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #89E900;
  box-shadow: 0 0 6px rgba(137,233,0,0.7);
  animation: pulse 2s ease-in-out infinite;
}

/* ── Floating Badges ─────────────────── */
.rhv-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  background: rgba(10,14,10,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.875rem;
  backdrop-filter: blur(16px);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  z-index: 3;
}

.rhv-float-1 {
  top: -16px;      /* float above the card header */
  right: -8px;     /* sit just outside the card's right edge */
  animation: floatBadge1 6s ease-in-out infinite;
}
.rhv-float-2 {
  bottom: 10px;
  left: -20px;
  animation: floatBadge2 7s ease-in-out infinite;
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Hero actions ────────────────────── */
.research-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

/* ── Hero fade ───────────────────────── */
.research-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,7,3,0.4) 50%, #0B0B0B 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Areas Section Heading ───────────── */
.areas-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}
.areas-sub {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: var(--space-10);
}

/* ── Area card top row (icon + badge) ── */
.area-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.area-badge {
  font-size: 0.65rem;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.area-badge--teal {
  background: rgba(0,206,201,0.1);
  color: #00cec9;
  border: 1px solid rgba(0,206,201,0.2);
}
.area-badge--green {
  background: rgba(137,233,0,0.1);
  color: #89E900;
  border: 1px solid rgba(137,233,0,0.2);
}
.area-badge--blue {
  background: rgba(74,158,255,0.1);
  color: #4A9EFF;
  border: 1px solid rgba(74,158,255,0.2);
}
.area-badge--amber {
  background: rgba(245,166,35,0.1);
  color: #F5A623;
  border: 1px solid rgba(245,166,35,0.2);
}

/* ── Progress bar ────────────────────── */
.area-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-top: var(--space-6);
  overflow: hidden;
}
.area-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #89E900, #A3FF12);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(137,233,0,0.4);
  transition: width 1.2s var(--ease-out);
}
.area-progress-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}

/* ── Projects section heading ────────── */
.projects-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

/* ── Project card upgrades ───────────── */
.project-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.project-location {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.project-pill-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89E900;
  box-shadow: 0 0 6px rgba(137,233,0,0.6);
  margin-right: var(--space-1);
  animation: pulse 2s ease-in-out infinite;
}
.project-pill-dot--blue {
  background: #4A9EFF;
  box-shadow: 0 0 6px rgba(74,158,255,0.6);
}
.project-pill-dot--amber {
  background: #F5A623;
  box-shadow: 0 0 6px rgba(245,166,35,0.6);
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.project-tag {
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.02em;
}

/* ── Project thumb icon overlay ──────── */
.project-thumb {
  position: relative;
}
.project-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ── Roadmap cards (glassmorphism) ───── */
.roadmap-card {
  background: rgba(14,14,14,0.6);
  border: 1px solid rgba(137,233,0,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  backdrop-filter: blur(12px);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
  height: 100%;
}
.roadmap-card:hover {
  border-color: rgba(137,233,0,0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 16px rgba(137,233,0,0.04);
}
.roadmap-card--done {
  border-color: rgba(137,233,0,0.12);
  opacity: 0.75;
}
.roadmap-card--active {
  border-color: rgba(137,233,0,0.25);
  box-shadow: 0 0 0 1px rgba(137,233,0,0.05), 0 0 30px rgba(137,233,0,0.04);
}
.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.roadmap-status {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.roadmap-status--done {
  color: rgba(137,233,0,0.5);
}
.roadmap-status--active {
  color: #89E900;
}
.roadmap-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89E900;
  box-shadow: 0 0 8px rgba(137,233,0,0.7);
  animation: pulse 2s ease-in-out infinite;
}

/* Override old dot + timeline line since we use cards now */
.roadmap-timeline::before { display: none; }
.roadmap-dot { display: none; }
.roadmap-point { padding-top: 0; }

/* ── Research CTA ────────────────────── */
.research-cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-2);
  border-top: 1px solid rgba(137,233,0,0.08);
  overflow: hidden;
}
.research-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.research-cta-glow-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(137,233,0,0.03) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.research-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}
.research-cta-text {
  flex: 1;
  max-width: 540px;
}
.research-cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
  color: #fff;
}
.research-cta-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
}
.research-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}
.research-cta-btn {
  padding: 0.875rem 2rem;
  font-size: var(--text-base);
}

/* ── Research extended responsive ─────── */
@media (max-width: 1024px) {
  .research-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .research-cta-text { max-width: 100%; }
  .research-cta-actions {
    flex-direction: row;
    justify-content: center;
  }
  .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}
@media (max-width: 768px) {
  .research-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .research-hero-orb { display: none; }
  .areas-heading { margin-top: var(--space-2); }
  .areas-sub { margin-bottom: var(--space-8); }
  .area-card-top { flex-direction: row; }
  .roadmap-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .research-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .research-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .project-tags { display: none; }
}

/* LOGIN PAGE */
.login-page {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100vh;
  overflow: hidden;
}

.login-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 120px);
  overflow: hidden;
}

.login-left-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/2_about_bg.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: blur(1px);
}

.login-left-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 40% 20%, rgba(137,233,0,0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.login-left-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,11,20,0.88) 0%,
    rgba(5,5,5,0.85) 40%,
    rgba(4,11,20,0.92) 100%
  );
  z-index: 2;
}

.login-left-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.login-brand {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9EFF00;
  margin-bottom: var(--space-10);
  padding-left: var(--space-4);
  border-left: 2px solid #9EFF00;
}

.login-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.login-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-10);
  max-width: 440px;
}

.login-indicators {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-16);
}

.login-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.login-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9EFF00;
  box-shadow: 0 0 8px rgba(158,255,0,0.5);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.login-version {
  position: absolute;
  bottom: var(--space-10);
  left: clamp(60px, 8vw, 120px);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
}

/* Right side */
.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #040B14 0%, #050505 50%, #040B14 100%);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.login-right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 300px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(158,255,0,0.03) 0%, transparent 65%);
  transform: translateY(-50%);
  pointer-events: none;
}

/* Login Card */
.login-card {
  background: rgba(8,12,20,0.55);
  border: 1px solid rgba(158,255,0,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(158,255,0,0.03),
    0 8px 40px rgba(0,0,0,0.4),
    0 0 60px rgba(158,255,0,0.03);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.login-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(158,255,0,0.06);
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-6);
  box-shadow: 0 0 20px rgba(158,255,0,0.08);
}

.login-icon svg {
  width: 28px;
  height: 28px;
}

.login-card-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  text-align: center;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.login-card-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-8);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.login-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.login-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.8125rem 1rem;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: #F5F5F5;
  outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.login-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.login-input:focus {
  border-color: #9EFF00;
  box-shadow: 0 0 0 3px rgba(158,255,0,0.08), 0 0 20px rgba(158,255,0,0.06);
  background: rgba(255,255,255,0.05);
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #9EFF00 0%, #7DFF3C 100%);
  color: #000;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--dur-base) var(--ease-out);
  margin-top: var(--space-2);
  box-shadow: 0 2px 12px rgba(158,255,0,0.2);
}

.login-btn:hover {
  background: linear-gradient(90deg, #b5ff3a 0%, #9EFF00 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(158,255,0,0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.login-btn-loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.login-message {
  text-align: center;
  font-size: var(--text-sm);
  min-height: 1.25rem;
  margin-top: var(--space-2);
  transition: opacity var(--dur-base);
  opacity: 0;
}

.login-message.visible {
  opacity: 1;
}

.login-message.error {
  color: #ff6b6b;
}

.login-restricted {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-6);
  line-height: 1.6;
}

/* Login Responsive */
@media (max-width: 1024px) {
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-left {
    display: none;
  }
  .login-right {
    min-height: 100vh;
  }
  .login-version {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: var(--space-8) var(--space-5);
  }
  .login-right {
    padding: var(--space-5);
  }
}
