/* ===== LAB R GROUP — Pastel Tech Light Mode ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Light background - subtly warm */
  --bg:        oklch(98.5% 0.008 95);
  --bg2:       #ffffff;
  --bg3:       oklch(96% 0.012 95);
  --border:    oklch(90% 0.015 230);
  --text:      oklch(22% 0.03 240);
  --muted:     oklch(52% 0.02 240);

  /* Pastels — same chroma ~0.09, varied hue */
  --blue:      oklch(84% 0.09 230);
  --blue-deep: oklch(68% 0.14 230);
  --green:     oklch(86% 0.09 155);
  --green-deep:oklch(68% 0.14 155);
  --yellow:    oklch(92% 0.10 95);
  --yellow-deep:oklch(80% 0.14 95);

  --font:      'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --mono:      'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Floating pastel blobs backdrop */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: floaty 18s ease-in-out infinite;
}
body::before {
  width: 520px; height: 520px;
  background: var(--blue);
  top: -160px; right: -120px;
}
body::after {
  width: 440px; height: 440px;
  background: var(--yellow);
  bottom: 10%; left: -120px;
  animation-delay: -9s;
}
@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

/* Subtle grid overlay */
.page::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(oklch(60% 0.02 240 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, oklch(60% 0.02 240 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none; z-index: 0;
}

/* ── Navbar ── */
.labr-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 120px;
  background: oklch(98.5% 0.008 95 / 0.82);
  transform: translateY(0);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .3s, height .3s;
  will-change: transform;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.labr-nav .nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.labr-nav .nav-logo img { height: 92px; width: auto; transition: transform .4s; }
.labr-nav:hover .nav-logo img { transform: rotate(-6deg) scale(1.04); }
.labr-nav .nav-logo .brand-wrap { display: flex; flex-direction: column; line-height: 1; }
.labr-nav .nav-logo .brand {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(110deg, var(--blue-deep), var(--green-deep) 55%, var(--yellow-deep));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
.labr-nav .nav-logo .brand-sub { display: none; }

.labr-nav .nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.labr-nav .nav-links a {
  text-decoration: none; color: var(--text);
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.labr-nav .nav-links a:hover { background: var(--bg3); }
.labr-nav .nav-links a.active {
  background: var(--blue);
  color: oklch(22% 0.03 240);
}

.nav-links .has-drop { position: relative; }
.nav-links .has-drop > a::after { content: ' ▾'; font-size: 10px; }
/* Invisible bridge that keeps hover alive while cursor travels from link to menu */
.nav-links .has-drop::after {
  content: '';
  position: absolute;
  top: 100%; left: -12px; right: -12px;
  height: 18px;
  pointer-events: none;
}
.nav-links .has-drop:hover::after { pointer-events: auto; }
.nav-links .drop {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; min-width: 200px;
  box-shadow: 0 20px 40px oklch(20% 0.05 240 / 0.12);
}
.nav-links .drop a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--text); font-size: 13px; font-weight: 500;
}
.nav-links .drop a:hover { background: var(--bg3); }
.nav-links .has-drop:hover .drop,
.nav-links .has-drop:focus-within .drop,
.nav-links .has-drop.open .drop {
  display: block;
  animation: dropIn .18s ease-out;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.nav-mobile {
  display: none;
  position: fixed; top: 104px; left: 0; right: 0; bottom: 0;
  background: oklch(98.5% 0.008 95 / 0.97);
  backdrop-filter: blur(16px);
  z-index: 999; padding: 32px;
  flex-direction: column; gap: 4px; overflow-y: auto;
}
.nav-mobile a {
  text-decoration: none; color: var(--text);
  font-size: 18px; font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.nav-mobile.open { display: flex; }

/* ── Page wrapper ── */
.page { position: relative; z-index: 1; padding-top: 120px; }

/* Scrolled state: shrink + shadow */
.labr-nav.scrolled { height: 82px; box-shadow: 0 8px 28px oklch(22% 0.03 240 / 0.08); }
.labr-nav.scrolled .nav-logo img { height: 62px; }
.labr-nav.scrolled .nav-logo .brand { font-size: 18px; }
.labr-nav.scrolled .nav-logo .brand-sub { font-size: 9.5px; margin-top: 2px; }

/* Hidden when scrolling down */
.labr-nav.hidden { transform: translateY(-100%); }

/* ── Hero ── */
.hero {
  min-height: 86vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px 8px 14px;
  font-family: var(--mono); font-size: 12px;
  color: var(--text); letter-spacing: 0.03em;
  margin-bottom: 28px;
  box-shadow: 0 2px 16px oklch(22% 0.03 240 / 0.04);
  animation: fadeUp .7s ease-out;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-deep);
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 var(--green-deep);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(68% 0.14 155 / 0.5); }
  70%  { box-shadow: 0 0 0 10px oklch(68% 0.14 155 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(68% 0.14 155 / 0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 920px;
  margin-bottom: 24px;
  animation: fadeUp .8s .1s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--blue-deep), var(--green-deep) 60%, var(--yellow-deep));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero p {
  font-size: 1.15rem; color: var(--muted);
  max-width: 620px; margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeUp .8s .2s both;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 72px;
  animation: fadeUp .8s .3s both;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep), var(--green-deep));
  color: #fff;
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .18s, box-shadow .2s;
  box-shadow: 0 6px 24px oklch(68% 0.14 230 / 0.3);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px oklch(68% 0.14 230 / 0.4);
}
.btn-ghost {
  background: var(--bg2); color: var(--text);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--border);
  transition: transform .18s, border-color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue-deep);
  background: var(--blue);
}

/* ── Stats bar ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; max-width: 820px; width: 100%; margin: 0 auto;
  animation: fadeUp .9s .4s both;
}
.stat-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px; text-align: center;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.stat-item:nth-child(1)::before { background: var(--blue); }
.stat-item:nth-child(2)::before { background: var(--green); }
.stat-item:nth-child(3)::before { background: var(--yellow); }
.stat-item:nth-child(4)::before { background: var(--blue); }
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px oklch(22% 0.03 240 / 0.08);
}
.stat-num {
  font-family: var(--mono); font-size: 2.1rem; font-weight: 500;
  color: var(--text); display: block;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11.5px; color: var(--muted); margin-top: 6px;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 500;
}

/* ── Section ── */
.section { padding: 96px 24px; max-width: 1140px; margin: 0 auto; position: relative; }
.section-label {
  font-family: var(--mono); font-size: 12px;
  color: var(--blue-deep); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 14px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 600; letter-spacing: -0.022em;
  margin-bottom: 18px; line-height: 1.15;
  color: var(--text);
}
.section-body { color: var(--muted); font-size: 1.05rem; line-height: 1.85; max-width: 680px; }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin-top: 48px;
}
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), oklch(84% 0.09 230 / 0.25), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px oklch(22% 0.03 240 / 0.08);
  border-color: var(--blue-deep);
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform .28s;
  border: 1px solid var(--border);
}
.card-icon svg { width: 40px; height: 40px; }
.card:hover .card-icon { transform: translateY(-3px); background: var(--bg2); }
.card-icon.green  { background: oklch(94% 0.04 155); }
.card-icon.yellow { background: oklch(96% 0.05 95); }
.card-icon.blue   { background: oklch(94% 0.04 230); }
.card h3 {
  font-family: var(--font);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 10px; color: var(--text);
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* CTA card */
.card-cta {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  cursor: pointer; text-decoration: none; color: var(--text);
  display: block;
}
.card-cta:hover {
  transform: translateY(-4px);
  border-color: var(--green-deep);
  box-shadow: 0 20px 40px oklch(22% 0.03 240 / 0.1);
}
.card-cta img { width: 100%; display: block; transition: transform .4s; }
.card-cta:hover img { transform: scale(1.04); }
.card-banner { width: 100%; aspect-ratio: 16/9; display: block; overflow: hidden; transition: transform .4s; }
.card-banner svg { width: 100%; height: 100%; display: block; }
.card-cta:hover .card-banner { transform: scale(1.03); }
.card-cta-body { padding: 22px 24px; }
.card-cta-body h3 {
  font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; margin-bottom: 4px;
}
.card-cta-body p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.card-cta-body .arrow {
  display: inline-block; color: var(--blue-deep);
  font-size: 18px; margin-top: 12px;
  transition: transform .25s;
}
.card-cta:hover .arrow { transform: translateX(6px); }

/* ── Video ── */
.video-wrap {
  margin-top: 48px;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px oklch(22% 0.03 240 / 0.12);
  aspect-ratio: 16/9; max-width: 760px; margin-inline: auto;
}
.video-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px; margin-top: 48px;
}
.team-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.team-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 60px;
  background: var(--blue);
  opacity: 0.6;
}
.team-card:nth-child(3n+2)::before { background: var(--green); }
.team-card:nth-child(3n+3)::before { background: var(--yellow); }
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px oklch(22% 0.03 240 / 0.1);
}
.team-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg2);
  margin-bottom: 16px;
  position: relative; z-index: 1;
  box-shadow: 0 8px 24px oklch(22% 0.03 240 / 0.12);
}
.team-name {
  font-family: var(--font);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 6px; position: relative; z-index: 1;
}
.team-cred {
  list-style: none; margin-top: 14px;
}
.team-cred li {
  font-size: 12.5px; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.team-cred li:last-child { border-bottom: none; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--blue-deep);
  font-size: 13px; text-decoration: none; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  background: var(--blue);
  transition: transform .18s;
}
.team-linkedin:hover { transform: translateY(-2px); }

/* ── About ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.about-img {
  width: 100%; border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 40px oklch(22% 0.03 240 / 0.08);
}
.about-img img { width: 100%; display: block; }
.about-block { margin-top: 40px; }
.about-block h3 {
  font-family: var(--mono); font-size: 12px;
  color: var(--green-deep); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 10px;
  font-weight: 500;
}
.about-block p { color: var(--muted); font-size: 1rem; line-height: 1.85; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 14px;
  font-family: var(--mono); font-size: 12px; color: var(--text);
  transition: background .2s, border-color .2s;
}
.tag:nth-child(3n+1):hover { background: var(--blue); border-color: var(--blue-deep); }
.tag:nth-child(3n+2):hover { background: var(--green); border-color: var(--green-deep); }
.tag:nth-child(3n+3):hover { background: var(--yellow); border-color: var(--yellow-deep); }

/* Chip */
.chip {
  font-family: var(--mono); font-size: 11.5px;
  background: var(--yellow);
  color: oklch(40% 0.08 95);
  border: 1px solid var(--yellow-deep);
  border-radius: 6px; padding: 2px 8px;
  font-weight: 500;
}
.chip.green { background: var(--green); color: oklch(35% 0.08 155); border-color: var(--green-deep); }
.chip.blue  { background: var(--blue);  color: oklch(35% 0.08 230); border-color: var(--blue-deep); }

/* Reveal animation utility */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Marquee tags */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  padding: 24px 0;
}
.marquee-track {
  display: flex; gap: 16px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee .tag { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Big CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 50%, var(--yellow) 100%);
  border-radius: 24px; padding: 64px 40px; text-align: center;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute;
  inset: 1px; border-radius: 23px;
  background: var(--bg2);
  z-index: 0;
}
.cta-block > * { position: relative; z-index: 1; }

/* ── Footer ── */
.labr-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 24px 40px;
  text-align: center;
  position: relative; z-index: 1;
  margin-top: 60px;
}
.footer-logo img { height: 80px; margin-bottom: 20px; }
.footer-links {
  display: flex; gap: 24px; justify-content: center;
  margin-bottom: 22px; flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none; color: var(--muted); font-size: 14px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--blue-deep); }
.footer-social {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 24px;
}
.footer-social a {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg3);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none;
  transition: transform .2s, background .2s;
}
.footer-social a:hover { transform: translateY(-3px); background: var(--blue); }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-mono {
  font-family: var(--mono); font-size: 11px;
  color: oklch(60% 0.02 240);
  margin-top: 8px;
}
.footer-meta {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px dashed var(--border);
  max-width: 720px; margin-left: auto; margin-right: auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px;
  font-size: 12px; color: var(--muted);
}
.footer-meta .meta-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-meta .meta-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}
.footer-meta .meta-item:nth-child(1) .dot { background: var(--blue-deep); }
.footer-meta .meta-item:nth-child(2) .dot { background: var(--green-deep); }
.footer-meta .meta-item:nth-child(3) .dot { background: var(--yellow-deep); }
.footer-meta .meta-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(58% 0.02 240);
}
.footer-meta .meta-value { color: var(--text); font-weight: 500; }
.footer-meta a.meta-value { text-decoration: none; transition: color .2s; }
.footer-meta a.meta-value:hover { color: var(--blue-deep); }

/* ── Decorative tech element ── */
.tech-viz {
  display: flex; gap: 3px; align-items: flex-end;
  height: 36px; width: 100%;
  margin-top: 20px;
}
.tech-viz .bar {
  flex: 1; background: var(--blue);
  border-radius: 3px 3px 0 0;
  animation: bar-dance 1.8s ease-in-out infinite;
}
.tech-viz .bar:nth-child(2n) { background: var(--green); animation-delay: -0.3s; }
.tech-viz .bar:nth-child(3n) { background: var(--yellow); animation-delay: -0.6s; }
.tech-viz .bar:nth-child(5n) { animation-delay: -0.9s; }
@keyframes bar-dance {
  0%, 100% { height: 30%; } 50% { height: 100%; }
}

/* ── Extra animations ── */

/* Animated gradient orbit for hero */
.hero-orbit {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.hero-orbit .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed oklch(68% 0.14 230 / 0.25);
  top: 50%; left: 50%;
  animation: spin 40s linear infinite;
}
.hero-orbit .ring.r1 { width: 620px; height: 620px; margin: -310px 0 0 -310px; }
.hero-orbit .ring.r2 { width: 860px; height: 860px; margin: -430px 0 0 -430px;
  border-color: oklch(68% 0.14 155 / 0.22); animation-duration: 60s; animation-direction: reverse; }
.hero-orbit .ring.r3 { width: 1100px; height: 1100px; margin: -550px 0 0 -550px;
  border-color: oklch(80% 0.14 95 / 0.2); animation-duration: 80s; }

/* Elegant hero backdrop: soft gradient mesh + drifting particles */
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.hero-mesh .blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55;
  animation: meshDrift 22s ease-in-out infinite;
}
.hero-mesh .b1 { width: 380px; height: 380px; background: var(--blue);   top: 12%; left: 8%;  animation-delay: 0s; }
.hero-mesh .b2 { width: 320px; height: 320px; background: var(--green);  top: 48%; left: 42%; animation-delay: -7s; }
.hero-mesh .b3 { width: 360px; height: 360px; background: var(--yellow); top: 18%; right: 10%; animation-delay: -14s; }
@keyframes meshDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-20px) scale(1.1); }
  66%      { transform: translate(-30px,30px) scale(0.95); }
}

.hero-particles { position: absolute; inset: 0; }
.hero-particles .p {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  opacity: 0; animation: floatUp 14s linear infinite;
}
.hero-particles .p:nth-child(1)  { left: 8%;  background: var(--blue-deep);  animation-delay: 0s; }
.hero-particles .p:nth-child(2)  { left: 18%; background: var(--green-deep); animation-delay: -2s; width:4px;height:4px; }
.hero-particles .p:nth-child(3)  { left: 28%; background: var(--yellow-deep); animation-delay: -4s; }
.hero-particles .p:nth-child(4)  { left: 72%; background: var(--blue-deep);  animation-delay: -1s; width:5px;height:5px; }
.hero-particles .p:nth-child(5)  { left: 82%; background: var(--green-deep); animation-delay: -6s; }
.hero-particles .p:nth-child(6)  { left: 92%; background: var(--yellow-deep); animation-delay: -9s; width:4px;height:4px; }
.hero-particles .p:nth-child(7)  { left: 38%; background: var(--blue-deep);  animation-delay: -3s; width:3px;height:3px; }
.hero-particles .p:nth-child(8)  { left: 62%; background: var(--green-deep); animation-delay: -8s; }
@keyframes floatUp {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .8; }
  100% { transform: translateY(-10vh) translateX(20px); opacity: 0; }
}

/* Subtle gridline pulse */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(oklch(68% 0.14 230 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, oklch(68% 0.14 230 / 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: .5; } 50% { opacity: .9; }
}
.hero-orbit .orb { display: none; }
.hero-orbit .orb::after {
  content: ''; display: block;
  width: 14px; height: 14px; border-radius: 50%;
  box-shadow: 0 0 24px currentColor;
}
.hero-orbit .orb.o1 { color: var(--blue-deep);  transform: translate(-260px, 0); }
.hero-orbit .orb.o2 { color: var(--green-deep); transform: translate(0, -360px); animation-duration: 55s; animation-direction: reverse; }
.hero-orbit .orb.o3 { color: var(--yellow-deep); transform: translate(460px, 0); animation-duration: 70s; }
.hero-orbit .orb.o1::after { background: var(--blue-deep); }
.hero-orbit .orb.o2::after { background: var(--green-deep); }
.hero-orbit .orb.o3::after { background: var(--yellow-deep); }
@keyframes spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Hero badge dot ping */
.hero-badge { animation: fadeUp .7s ease-out, pop 3s ease-in-out 1s infinite; }
@keyframes pop {
  0%, 90%, 100% { transform: translateY(0); }
  95% { transform: translateY(-4px); }
}

/* Gradient border card variant */
.card.featured {
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
              linear-gradient(135deg, var(--blue-deep), var(--green-deep), var(--yellow-deep)) border-box;
  border: 2px solid transparent;
}

/* Animated underline for section titles */
.section-title.with-line::after {
  content: '';
  display: block;
  width: 64px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--green-deep), var(--yellow-deep));
  background-size: 200% auto;
  margin-top: 14px;
  animation: shimmer 4s linear infinite;
}

/* Floating card tilt */
.card { transform-style: preserve-3d; }
.card-icon svg { transition: transform .4s cubic-bezier(.4,0,.2,1); }
.card:hover .card-icon svg { transform: rotate(8deg) scale(1.08); }

/* Button shine */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ''; position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, oklch(100% 0 0 / 0.35), transparent);
  transition: left .7s ease;
}
.btn-primary:hover::before { left: 130%; }

/* Reveal stagger */
.cards-grid .card:nth-child(2),
.cards-grid .card-cta:nth-child(2),
.team-grid .team-card:nth-child(2) { transition-delay: .08s; }
.cards-grid .card:nth-child(3),
.cards-grid .card-cta:nth-child(3),
.team-grid .team-card:nth-child(3) { transition-delay: .16s; }
.cards-grid .card:nth-child(4),
.team-grid .team-card:nth-child(4) { transition-delay: .24s; }
.cards-grid .card:nth-child(5),
.team-grid .team-card:nth-child(5) { transition-delay: .32s; }
.cards-grid .card:nth-child(6),
.team-grid .team-card:nth-child(6) { transition-delay: .40s; }
.team-grid .team-card:nth-child(7) { transition-delay: .48s; }

/* Number-glow pulse on stat cards */
.stat-item:hover .stat-num {
  background: linear-gradient(110deg, var(--blue-deep), var(--green-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smoother blob motion */
body::before { animation-duration: 24s; }
body::after  { animation-duration: 26s; }

/* Marquee of tags for hero */
.chip-marquee {
  display: flex; gap: 12px;
  animation: marquee 32s linear infinite;
  width: max-content;
  padding: 12px 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .labr-nav .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 768px) {
  .labr-nav { padding: 0 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .hero { padding: 60px 20px 40px; }
}
