/* =========================================================
   Stucare - main stylesheet
   Mobile-first. Uses tokens.css vars for themes.
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  transition: background var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
  padding-block: clamp(56px, 6.5vw, 96px);
}

/* First section after hero gets a tiny bit more air */
.hero + section { padding-top: clamp(48px, 5vw, 80px); }

/* ================= Animated grid background ================= */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line, rgba(255, 255, 255, 0.04)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line, rgba(255, 255, 255, 0.04)) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  animation: gridPan 40s linear infinite;
}
[data-theme="light"] .grid-bg {
  --grid-line: rgba(10, 10, 20, 0.05);
}
@keyframes gridPan {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

/* ================= Floating geometric elements ================= */
.floaters {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.floater {
  position: absolute;
  opacity: 0.38;
  filter: blur(0.3px);
  will-change: transform;
}
[data-theme="light"] .floater { opacity: 0.28; }

.floater svg { width: 100%; height: 100%; display: block; }

.floater--1 { top: 18%; left: 6%; width: 42px; height: 42px; animation: floatA 16s var(--ease-inout) infinite; }
.floater--2 { top: 62%; left: 9%; width: 28px; height: 28px; animation: floatB 20s var(--ease-inout) infinite; }
.floater--3 { top: 32%; right: 8%; width: 52px; height: 52px; animation: floatC 22s var(--ease-inout) infinite; }
.floater--4 { top: 78%; right: 12%; width: 34px; height: 34px; animation: floatA 18s var(--ease-inout) infinite reverse; }
.floater--5 { top: 48%; left: 48%; width: 22px; height: 22px; animation: floatB 14s var(--ease-inout) infinite; }
.floater--6 { top: 12%; right: 36%; width: 30px; height: 30px; animation: floatC 24s var(--ease-inout) infinite; }

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, -22px) rotate(45deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-18px, 18px) rotate(-30deg); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, 26px) rotate(60deg); }
}

/* ================= Gradient orbs (background) ================= */
.orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.85;
  mix-blend-mode: screen;
  will-change: transform;
  transition: background var(--dur-slow) var(--ease-out);
}

[data-theme="light"] .orb {
  mix-blend-mode: multiply;
  opacity: 0.55;
  filter: blur(110px);
}

.orb--1 {
  width: 520px;
  height: 520px;
  background: var(--orb-1);
  top: -120px;
  right: -120px;
  animation: drift1 24s var(--ease-inout) infinite alternate;
}

.orb--2 {
  width: 460px;
  height: 460px;
  background: var(--orb-2);
  top: 40%;
  left: -140px;
  animation: drift2 28s var(--ease-inout) infinite alternate;
}

.orb--3 {
  width: 380px;
  height: 380px;
  background: var(--orb-3);
  bottom: -80px;
  right: 10%;
  animation: drift3 32s var(--ease-inout) infinite alternate;
}

@keyframes drift1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 80px, 0) scale(1.15); }
}
@keyframes drift2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(80px, -60px, 0) scale(1.1); }
}
@keyframes drift3 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-50px, -40px, 0) scale(1.2); }
}

/* ================= Glass utilities ================= */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

.glass-strong {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(150%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 8px)) saturate(150%);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* Gradient border wrapper (1px gradient outline around glass) */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(206, 239, 79, 0.6),
    rgba(180, 124, 245, 0.2) 40%,
    rgba(139, 61, 255, 0.6)
  );
}
.gradient-border > * {
  border-radius: calc(var(--radius-lg) - 1px);
}

/* Text gradient */
.text-gradient {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    background var(--dur-med) var(--ease-out);
  min-height: 48px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary {
  color: #0a0a14;
  background: var(--brand-gradient);
  box-shadow: 0 10px 30px -10px rgba(180, 124, 245, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(180, 124, 245, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b47cf5, #ceef4f);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  color: var(--text);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--glass-bg-strong);
  border-color: var(--brand-purple);
}

.btn .arrow {
  transition: transform var(--dur-med) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ================= Navigation ================= */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 1180px);
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--dur-med) var(--ease-out),
    border var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.35);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav__brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.nav__links a:hover {
  color: var(--text);
  background: var(--glass-bg);
}

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

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  transition: background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--glass-bg-strong);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-med) var(--ease-out),
    opacity var(--dur-med) var(--ease-out);
}
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

[data-theme="light"] .mobile-menu {
  background: rgba(246, 246, 250, 0.9);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: color var(--dur-fast);
}
.mobile-menu a:hover { color: var(--brand-purple); }

/* ================= Hero ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 14vh, 150px);
  padding-bottom: clamp(90px, 14vh, 140px);
  text-align: center;
  position: relative;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 12px var(--brand-lime);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__logo {
  width: clamp(110px, 22vw, 180px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(180, 124, 245, 0.35));
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: clamp(1rem, 1vw + 0.85rem, 1.25rem);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bob 2.4s var(--ease-inout) infinite;
  pointer-events: none;
  z-index: 1;
}
.hero__scroll-cue::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    var(--text-faint),
    transparent
  );
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
/* Hide scroll cue on short viewports where it would collide with content */
@media (max-height: 720px) {
  .hero__scroll-cue { display: none; }
}

/* ================= Section header ================= */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ================= About section ================= */
.about__card {
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  gap: 20px;
  text-align: left;
}
.about__lede {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 1.4vw + 1rem, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.02em;
}
.about__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ================= Products grid ================= */
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.product-card {
  position: relative;
  padding: clamp(22px, 2.8vw, 32px);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  row-gap: 10px;
  transition: transform var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  min-height: 200px;
  align-items: start;
}
.product-card__icon { grid-row: 1 / span 2; }
.product-card__name { grid-column: 2; align-self: center; margin-top: 4px; }
.product-card__desc { grid-column: 1 / -1; }
.product-card__link { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .product-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
  }
  .product-card__icon { grid-row: 1 / span 3; align-self: start; }
  .product-card__name { grid-column: 2; grid-row: 1; align-self: center; }
  .product-card__desc { grid-column: 2; grid-row: 2; }
  .product-card__link { grid-column: 2; grid-row: 3; }
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(180, 124, 245, 0.22),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  z-index: -1;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
}
.product-card:hover::before { opacity: 1; }

.product-card__icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  border: 1px solid var(--glass-border-strong);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 20px -8px rgba(139, 61, 255, 0.4);
}

.product-card__icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.product-card__name {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background-image: var(--brand-gradient);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 4px;
  transition: background-size var(--dur-med) var(--ease-out);
  width: fit-content;
}
.product-card__link:hover { background-size: 100% 2px; }
.product-card__link .arrow { transition: transform var(--dur-fast); }
.product-card__link:hover .arrow { transform: translateX(4px); }

/* ================= Stats strip ================= */
.stats {
  padding-block: clamp(50px, 7vw, 90px);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
}

.stat {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius-md);
  position: relative;
}

.stat__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
[data-theme="light"] .stat__label { color: rgba(10, 10, 20, 0.72); }

/* ================= Values ================= */
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.value-card {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--dur-med) var(--ease-out);
}

.value-card:hover { transform: translateY(-4px); }

.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 6px 18px -8px rgba(139, 61, 255, 0.4);
}
.value-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: #0a0a14;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.value-card__desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= Team ================= */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.team-card {
  padding: clamp(24px, 3vw, 32px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform var(--dur-med) var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); }

.team-card__avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-gradient-soft);
  border: 2px solid var(--glass-border-strong);
  display: grid;
  place-items: center;
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__avatar--placeholder {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.team-card__name {
  font-size: 1.15rem;
  font-weight: 600;
}
.team-card__role {
  font-size: 0.88rem;
  color: var(--brand-purple);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.team-card__bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ================= Testimonials ================= */
.testi {
  overflow: hidden;
}

.testi__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.testi-card {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testi-card__quote {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  position: relative;
  padding-left: 22px;
}
.testi-card__quote::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -18px;
  font-size: 3.5rem;
  line-height: 1;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: serif;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient-soft);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.testi-card__name {
  font-weight: 600;
  font-size: 0.98rem;
}
.testi-card__role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================= Contact ================= */
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: clamp(28px, 4vw, 56px);
}

.contact__lede {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.contact__meta a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  transition: color var(--dur-fast);
  width: fit-content;
}
.contact__meta a:hover { color: var(--text); }

.contact__meta svg {
  width: 20px;
  height: 20px;
  color: var(--brand-purple-deep);
  stroke: currentColor;
  flex-shrink: 0;
}
[data-theme="dark"] .contact__meta svg { color: var(--brand-purple); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-strong);
  color: var(--text);
  transition: transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast),
    color var(--dur-fast);
}
.socials a:hover {
  transform: translateY(-3px);
  background: var(--brand-gradient);
  color: #0a0a14;
  border-color: transparent;
}
.socials svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  background: var(--glass-bg-strong);
}

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

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
  margin: 0;
  transition: color var(--dur-fast);
}
.form-status[data-kind="success"] { color: var(--brand-lime-deep); }
.form-status[data-kind="error"] { color: #ff6b6b; }
.form-status[data-kind="info"] { color: var(--text-muted); }

/* ================= Footer ================= */
.footer {
  padding: 40px 0 30px;
  border-top: 1px solid var(--hairline);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}
.footer__brand img {
  width: 28px;
  height: 28px;
}

.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--dur-fast);
}
.footer__links a:hover { color: var(--text); }

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ================= Reveal animation base (GSAP targets) ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* =========================================================
   Breakpoints - mobile first
   ========================================================= */

@media (min-width: 640px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .values__grid { grid-template-columns: repeat(3, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .testi__track { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .nav { padding: 12px 18px; }
  .nav__links { display: flex; }
  .menu-toggle { display: none; }

  .about__card { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact__wrap { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  /* Products stay 2x2 on desktop - more breathing room per card */
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 1000px;
    margin-inline: auto;
  }
  .product-card { min-height: 240px; }
  .team__grid { grid-template-columns: repeat(4, 1fr); }
  .testi__track { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .orb { animation: none !important; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
