/* ==========================================================================
   Fruity Group — Site stylesheet
   Clean, bright, professional LIGHT theme.
   --------------------------------------------------------------------------
   Table of contents:
     1.  Design tokens (CSS variables)
     2.  Base & reset
     3.  Background, loader & page transitions
     4.  Layout helpers
     5.  Typography helpers
     6.  Buttons
     7.  Header / navigation
     8.  Hero + product window
     9.  Value row
     10. Cards, features, values
     11. Split / process / network graphics
     12. Video showcase + modal player
     13. Contact page & forms
     14. CTA band
     15. 404 / error page
     16. Footer
     17. Responsive breakpoints
     18. Reduced motion
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Design tokens                                                    */
/* ------------------------------------------------------------------ */
:root {
  /* Surfaces */
  --bg: #fbfbf9;            /* off-white page background */
  --bg-2: #f2f5f3;          /* light gray section background */
  --surface: #ffffff;       /* cards */
  --surface-2: #f4f6f8;     /* nested elements */

  /* Borders */
  --border: #e6e9ee;
  --border-strong: #d3d9e2;

  /* Text */
  --text: #0f172a;          /* deep navy */
  --text-soft: #475569;
  --text-dim: #64748b;

  /* Accents — fruit-inspired */
  --green: #22c55e;         /* fills, dots */
  --green-2: #16a34a;
  --green-3: #15803d;       /* text/links (AA contrast on white) */
  --green-soft: #dcfce7;
  --orange: #f97316;
  --orange-soft: #ffedd5;
  --coral: #fb7185;
  --accent-grad: linear-gradient(135deg, #22c55e, #f97316);

  /* Effects */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow: 0 14px 30px -16px rgba(15, 23, 42, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, 0.32);

  /* Layout */
  --container: 1120px;
  --gap: 1.5rem;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --transition: 0.22s ease;
}

/* ------------------------------------------------------------------ */
/* 2. Base & reset                                                     */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 520px at 50% -200px, rgba(34, 197, 94, 0.10), transparent 70%),
    radial-gradient(900px 500px at 88% -140px, rgba(249, 115, 22, 0.08), transparent 70%);
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-3);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--green-2);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3.5rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ */
/* 3. Background, loader & page transitions                            */
/* ------------------------------------------------------------------ */
/* Animated aurora background (soft pastel drift behind all content) */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(105px);
  opacity: 0.6;
  will-change: transform;
}
.aurora.a1 {
  width: 48vw;
  height: 48vw;
  top: -16vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.55), transparent 66%);
  animation: auroraDrift1 20s ease-in-out infinite alternate;
}
.aurora.a2 {
  width: 44vw;
  height: 44vw;
  top: 2vw;
  right: -12vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.5), transparent 66%);
  animation: auroraDrift2 24s ease-in-out infinite alternate;
}
.aurora.a3 {
  width: 40vw;
  height: 40vw;
  bottom: -16vw;
  left: 28vw;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.45), transparent 66%);
  animation: auroraDrift3 28s ease-in-out infinite alternate;
}
.aurora.a4 {
  width: 42vw;
  height: 42vw;
  top: 30vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.42), transparent 66%);
  animation: auroraDrift4 32s ease-in-out infinite alternate;
}
.aurora.a5 {
  width: 38vw;
  height: 38vw;
  top: 12vw;
  right: 18vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.36), transparent 66%);
  animation: auroraDrift5 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(16vw, 12vw) scale(1.2); }
}
@keyframes auroraDrift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-14vw, 14vw) scale(1); }
}
@keyframes auroraDrift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-12vw, -16vw) scale(1.25); }
}
@keyframes auroraDrift4 {
  from { transform: translate(0, 0) scale(1.05); }
  to   { transform: translate(16vw, -12vw) scale(1.2); }
}
@keyframes auroraDrift5 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-14vw, 10vw) scale(1.15); }
}

/* Fade the page in on arrival and out on leaving (JS visitors only). */
.js-enabled body {
  opacity: 0;
}
.js-enabled.page-ready body {
  opacity: 1;
  transition: opacity 0.45s ease;
}
.js-enabled.is-leaving body {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(251, 251, 249, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-loader.active {
  opacity: 1;
  visibility: visible;
}
.loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
}
.loader-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: var(--accent-grad);
  animation: loaderSlide 0.9s linear infinite;
}
@keyframes loaderSlide {
  to { left: 100%; }
}
.loader-ring {
  position: relative;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
}
.loader-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(15, 23, 42, 0.1);
  border-top-color: var(--green-2);
  animation: spin 0.8s linear infinite;
}
.loader-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1rem;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ */
/* 4. Layout helpers                                                   */
/* ------------------------------------------------------------------ */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container.narrow {
  max-width: 760px;
}
.section {
  padding: clamp(2.75rem, 5vw, 4.75rem) 0;
}
.section-muted {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.center {
  text-align: center;
}
.center-actions {
  justify-content: center;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 2.25rem;
}
.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
}
.section-cta {
  margin-top: 2.75rem;
}

/* ------------------------------------------------------------------ */
/* 5. Typography helpers                                               */
/* ------------------------------------------------------------------ */
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green-3);
  margin-bottom: 0.7rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
}

/* ------------------------------------------------------------------ */
/* 6. Buttons                                                          */
/* ------------------------------------------------------------------ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition),
    border-color var(--transition), filter var(--transition);
  text-align: center;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.97);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after {
  left: 150%;
}

.btn-primary {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #ffffff;
  box-shadow: 0 10px 26px -10px rgba(22, 163, 74, 0.65);
  animation: btnPulse 3s ease-in-out infinite;
}
.btn-primary:hover {
  filter: brightness(1.05);
  color: #ffffff;
  animation-play-state: paused;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 26px -12px rgba(22, 163, 74, 0.55); }
  50%      { box-shadow: 0 12px 36px -8px rgba(22, 163, 74, 0.8); }
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green-3);
}

.btn-ghost {
  background: transparent;
  color: var(--green-3);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--green-2);
}

/* Kept for backwards compatibility with existing markup */
.btn-outline-light {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-outline-light:hover {
  border-color: var(--green);
  color: var(--green-3);
}

.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------------ */
/* 7. Header / navigation                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--text);
}
.brand-logo {
  display: block;
  width: 172px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.site-footer .brand-logo {
  width: 180px;
  height: 54px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand-accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--green-3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-link:hover {
  color: var(--text);
  background: var(--bg-2);
}
.nav-link.active {
  color: var(--green-3);
}
/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--border);
  font-size: 0.85rem;
}
.lang-switch a {
  color: var(--text-dim);
  font-weight: 600;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
}
.lang-switch a:hover {
  color: var(--text);
  background: var(--bg-2);
}
.lang-switch a.active {
  color: var(--green-3);
}
.lang-switch span {
  color: var(--border-strong);
}

.nav-cta {
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  padding-inline: 1.15rem;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--green-2);
  color: #fff;
}
.nav-cta.active {
  background: var(--green-2);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/* 8. Hero — bright sky + 3D card showcase (Aeline-inspired)           */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  color: #ffffff;
  background:
    radial-gradient(1100px 640px at 12% 6%, rgba(21, 54, 84, 0.9), transparent 55%),
    radial-gradient(900px 620px at 92% 104%, rgba(14, 40, 66, 0.55), transparent 60%),
    linear-gradient(120deg, #0c1a2b 0%, #070d16 55%, #04070c 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}
.hero-copy {
  max-width: 640px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 1.25rem;
}
.hero-accent {
  color: #4ade80;
  text-shadow: 0 0 40px rgba(74, 222, 128, 0.35);
}
.hero-sub {
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 48ch;
  margin: 0 0 1.5rem;
}
.hero-points {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.6rem;
  color: #e2e8f0;
  line-height: 1.5;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px 1px rgba(74, 222, 128, 0.8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Global network map */
.hero-visual {
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  background: radial-gradient(closest-side, rgba(74, 222, 128, 0.14), transparent 70%);
  opacity: 0.7;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.hero-visual:hover::before {
  opacity: 1;
  transform: scale(1.12);
}
.netmap {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
  cursor: crosshair;
}
.net-line {
  stroke: rgba(74, 222, 128, 0.28);
  stroke-width: 0.35;
  transition: stroke 0.4s ease;
}
.hero-visual:hover .net-line {
  stroke: rgba(74, 222, 128, 0.5);
}
.net-dot {
  fill: #86efac;
  filter: drop-shadow(0 0 1.2px rgba(134, 239, 172, 0.9));
}
.net-glow {
  fill: rgba(74, 222, 128, 0.22);
  animation: netPulse 3.2s ease-in-out infinite;
}
.net-glow:nth-child(3n) { animation-delay: 0.8s; }
.net-glow:nth-child(3n + 1) { animation-delay: 1.6s; }
@keyframes netPulse {
  0%, 100% { r: 1.4; opacity: 0.45; }
  50%      { r: 2.6; opacity: 0.12; }
}
/* Twinkling background stars */
.net-star {
  fill: #bbf7d0;
  opacity: 0.4;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.12; }
  50%      { opacity: 0.9; }
}
/* Lights that travel along the links */
.net-travel {
  fill: #eafff5;
  filter: drop-shadow(0 0 1.4px rgba(134, 239, 172, 1));
}

/* Hero buttons */
.btn-glass {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}
.btn-dark {
  background: #0f2e1c;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn-dark:hover {
  background: #14532d;
  color: #ffffff;
}

/* Flowing card marquee (right → left) */
.showcase {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}
.marquee {
  overflow: hidden;
  /* Frame effect: fade the cards in/out at the left and right edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  padding: 1rem 0.5rem;
}
/* Animate only once JS has duplicated the cards, so the loop is seamless */
.marquee-track.is-cloned {
  animation: marqueeMove 44s linear infinite;
}
.marquee:hover .marquee-track.is-cloned {
  animation-play-state: paused;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sc-card {
  flex: 0 0 auto;
  width: 190px;
  height: 240px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 26px 46px -24px rgba(12, 48, 92, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sc-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 40px 66px -22px rgba(12, 48, 92, 0.6);
}
.sc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-pad {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  text-align: left;
  color: var(--text);
}
.sc-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 1.05rem;
}
.sc-ic.ic-green { background: var(--green-soft); color: var(--green-3); }
.sc-ic.ic-orange { background: var(--orange-soft); color: var(--orange); }
.sc-pad strong { color: var(--text); font-size: 0.98rem; }
.sc-note { color: var(--text-dim); font-size: 0.82rem; }
.sc-title-lg { font-size: 1.15rem; line-height: 1.25; }
.sc-dark { background: #0f172a; }
.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cbd5e1;
  font-size: 0.85rem;
}
.sc-head i { color: var(--green); }
.sc-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 130px;
  margin-top: auto;
}
.sc-bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #38bdf8, #22c55e);
}
.sc-bars span:nth-child(1) { height: 45%; }
.sc-bars span:nth-child(2) { height: 72%; }
.sc-bars span:nth-child(3) { height: 55%; }
.sc-bars span:nth-child(4) { height: 90%; }
.sc-bars span:nth-child(5) { height: 66%; }
.sc-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}
.sc-pill i { color: var(--green-3); }
.sc-pill em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.7rem;
  color: #16a34a;
  background: var(--green-soft);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

/* Product-style window — dark frosted glass, glowing over the hero orbs */
.app-window {
  width: min(760px, 100%);
  margin: 3.5rem auto 0;
  text-align: left;
  background: linear-gradient(
    180deg,
    rgba(30, 35, 45, 0.72),
    rgba(14, 17, 23, 0.68)
  );
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
  position: relative;
  z-index: 2;
  animation: windowRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes windowRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.window-dots {
  display: inline-flex;
  gap: 7px;
}
.wd {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.wd-red { background: #ff5f57; }
.wd-yellow { background: #febc2e; }
.wd-green { background: #28c840; }
.window-title {
  margin-inline: auto;
  font-size: 0.85rem;
  color: #94a3b8;
  transform: translateX(-14px);
}
.window-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 1.02rem;
}
.window-search i {
  color: #64748b;
}
.window-caret {
  width: 2px;
  height: 20px;
  margin-left: 2px;
  background: var(--green-2);
  border-radius: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.window-list {
  padding: 0.5rem;
  display: grid;
  gap: 2px;
}
.window-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
}
.window-row.active {
  background: rgba(255, 255, 255, 0.07);
}
.wr-ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1rem;
}
.ic-green { background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.ic-orange { background: rgba(251, 146, 60, 0.16); color: #fb923c; }
.ic-coral { background: rgba(251, 113, 133, 0.16); color: #fb7185; }
.wr-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.wr-txt strong {
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.98rem;
}
.wr-txt span {
  color: #94a3b8;
  font-size: 0.85rem;
}
.wr-kbd {
  margin-left: auto;
  min-width: 26px;
  padding: 0.15rem 0.45rem;
  text-align: center;
  font-size: 0.8rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

/* ------------------------------------------------------------------ */
/* 9. Value row                                                        */
/* ------------------------------------------------------------------ */
.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.value-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}
.value-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.vi-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: var(--green-3);
  background: var(--green-soft);
}
.value-item h3 {
  margin-bottom: 0.4rem;
}
.value-item p {
  color: var(--text-soft);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* 10. Cards, features, values                                        */
/* ------------------------------------------------------------------ */
.card-grid {
  display: grid;
  gap: var(--gap);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.card h2,
.card h3 {
  font-size: 1.2rem;
}
.card p {
  color: var(--text-soft);
  margin-bottom: 0;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  color: var(--green-3);
  background: var(--green-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.25rem;
  color: #fff;
  background: var(--accent-grad);
  box-shadow: var(--shadow-sm);
}
.feature h3 {
  margin-bottom: 0.35rem;
}
.feature p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--orange);
  background: var(--orange-soft);
}
.value h3 {
  margin-bottom: 0.4rem;
}
.value p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--green-soft);
  border: 1px solid #bbf7d0;
}
.notice i {
  color: var(--green-2);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}
.notice p {
  margin: 0;
  color: #14532d;
}

/* ------------------------------------------------------------------ */
/* 11. Split / process / network graphics                             */
/* ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-content p {
  color: var(--text-soft);
}
.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--text);
}
.check-list i {
  color: var(--green-2);
  font-size: 1.05rem;
}

.split-graphic {
  display: grid;
  place-items: center;
}
.network-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 45%, rgba(34, 197, 94, 0.08), transparent 60%), var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.net-center,
.net-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 14px;
}
.net-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 18px;
  font-size: 1.5rem;
  color: #fff;
  background: var(--accent-grad);
  z-index: 2;
  box-shadow: 0 12px 30px -10px rgba(34, 197, 94, 0.5);
}
.net-node {
  width: 46px;
  height: 46px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--green-3);
  font-size: 1.05rem;
}
.net-node.n1 { top: 14%; left: 14%; }
.net-node.n2 { top: 14%; right: 14%; }
.net-node.n3 { bottom: 14%; left: 14%; }
.net-node.n4 { bottom: 14%; right: 14%; }

/* Full-width band that uses a photo as its BACKGROUND (not a framed image) */
.media-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #ffffff;
  background: #0b1220 var(--band-image) center / cover no-repeat;
}
.media-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 12, 24, 0.88) 0%,
    rgba(6, 12, 24, 0.72) 46%,
    rgba(6, 12, 24, 0.34) 100%
  );
  pointer-events: none;
}
.media-band > .container {
  position: relative;
  z-index: 1;
}
.media-band-inner {
  max-width: 560px;
}
.media-band h2 {
  color: #ffffff;
}
.media-band p {
  color: #cbd5e1;
}
.media-band .eyebrow {
  color: #86efac;
}
.media-band .check-list li {
  color: #e2e8f0;
}
.media-band .check-list i {
  color: #4ade80;
}
@media (max-width: 760px) {
  .media-band::before {
    background: linear-gradient(180deg, rgba(6, 12, 24, 0.82), rgba(6, 12, 24, 0.9));
  }
}

/* Framed photo/media used in split sections */
.media-frame {
  margin: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.process-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent-grad);
}
.process-step h3 {
  margin-bottom: 0.35rem;
}
.process-step p {
  color: var(--text-soft);
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* 12. Video showcase + modal player                                  */
/* ------------------------------------------------------------------ */
/* Shared poster (gradient thumbnail) + play button */
.video-poster {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #22c55e, #0f766e);
}
.video-watermark {
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.16);
  transform: rotate(-8deg);
}
.video-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-3);
  font-size: 1.35rem;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition);
}
.video-play i {
  transform: translateX(2px);
}
.video-play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: pulseRing 2.6s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Poster color themes */
.p-intro .video-poster { background: linear-gradient(135deg, #22c55e, #0f766e); }
.p-who   .video-poster { background: linear-gradient(135deg, #334155, #0f172a); }
.p-what  .video-poster { background: linear-gradient(135deg, #16a34a, #65a30d); }
.p-where .video-poster { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }
.p-how   .video-poster { background: linear-gradient(135deg, #f97316, #fb7185); }

/* Featured (large) video */
.video-feature {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: left;
}
.video-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-feature:hover .video-play {
  transform: scale(1.08);
}
.video-feature .video-play {
  width: 84px;
  height: 84px;
  font-size: 1.6rem;
}
.video-feature-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78), transparent);
  color: #fff;
}
.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.video-feature-title {
  color: #fff;
  font-weight: 600;
}

/* Video card grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 1.75rem;
}
.video-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.video-card:hover .video-play {
  transform: scale(1.08);
}
.video-card .video-poster {
  aspect-ratio: 16 / 10;
}
.video-card .video-play {
  width: 52px;
  height: 52px;
  font-size: 1rem;
}
.video-card .video-watermark {
  font-size: 5.5rem;
}
.video-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem 1.3rem;
}
.video-card-body strong {
  color: var(--text);
  font-size: 1.02rem;
}
.video-card-body span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Inline video (embedded directly on the page, no modal) */
.video-inline {
  margin: 0 auto;
  max-width: 940px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.video-inline video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070d;
  object-fit: contain;
}
.video-inline-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
}
.video-inline-cap .video-badge {
  color: #fff;
  background: linear-gradient(135deg, var(--green-2), var(--orange));
  backdrop-filter: none;
}
.video-inline-note {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Modal player */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  background: #0b0f1a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.video-modal.active .video-modal-dialog {
  transform: scale(1);
}
.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #000;
}
#video-modal-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.video-fallback {
  color: #e2e8f0;
  text-align: center;
  padding: 2rem;
  margin: 0;
  max-width: 34ch;
}
.video-fallback i {
  display: block;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.video-fallback code {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.video-modal-title {
  color: #fff;
  background: #0f172a;
  margin: 0;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
}
.video-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--transition);
}
.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.78);
}

/* ------------------------------------------------------------------ */
/* 13. Contact page & forms                                           */
/* ------------------------------------------------------------------ */
/* Premium image-backed page header (dark overlay + white text) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  text-align: center;
  color: #ffffff;
  background: #0b1220 var(--page-hero-image, none) center / cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(34, 197, 94, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(8, 14, 26, 0.72), rgba(8, 14, 26, 0.66));
  pointer-events: none;
}
/* Bottom fade into the light section below */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  color: #86efac;
}
.page-hero h1 {
  color: #ffffff;
}
.page-hero-sub {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.req {
  color: var(--coral);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fbfcfd;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--coral);
}
.field-error {
  margin: 0.4rem 0 0;
  color: #be123c;
  font-size: 0.88rem;
  font-weight: 500;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.alert i {
  font-size: 1.3rem;
  margin-top: 0.1rem;
}
.alert p {
  margin: 0.25rem 0 0;
}
.alert-success {
  background: var(--green-soft);
  border: 1px solid #86efac;
  color: #14532d;
}
.alert-success i {
  color: var(--green-2);
}
.alert-error {
  background: #ffe4e6;
  border: 1px solid #fda4af;
  color: #9f1239;
}
.alert-error i {
  color: #e11d48;
}

.contact-info {
  background: linear-gradient(160deg, #ffffff, #f1f7f3);
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-info h2 {
  color: var(--text);
}
.contact-info-list {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.contact-info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-info-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-3);
}
.contact-info-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.contact-info a {
  color: var(--text);
}
.contact-info a:hover {
  color: var(--green-3);
}
.contact-note {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* 14. CTA band                                                        */
/* ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, var(--bg-2));
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 90%);
  height: 320px;
  background:
    radial-gradient(closest-side, rgba(34, 197, 94, 0.18), transparent 70%),
    radial-gradient(closest-side, rgba(249, 115, 22, 0.14), transparent 70%);
  background-position: 35% 50%, 70% 50%;
  background-repeat: no-repeat;
  background-size: 60% 100%, 55% 100%;
  filter: blur(45px);
  pointer-events: none;
}
.cta-band > .container {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--text);
}
.cta-band p {
  color: var(--text-soft);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 1.9rem;
}

/* CTA band with a looping background video (Home) */
.cta-media {
  border-top: 0;
  /* Dark fallback (shown before the video loads / when motion is reduced) */
  background: #070b16 url('/images/Main.png') center / cover no-repeat;
}
.cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.84));
}
.cta-media h2 {
  color: #ffffff;
}
.cta-media p {
  color: #e2e8f0;
}

/* ------------------------------------------------------------------ */
/* 15. 404 / error page                                               */
/* ------------------------------------------------------------------ */
.error-page {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.error-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(4rem, 14vw, 7.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-fruit {
  color: var(--orange);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ------------------------------------------------------------------ */
/* 16. Footer                                                          */
/* ------------------------------------------------------------------ */
.site-footer {
  background: var(--bg-2);
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}
.footer-inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer .brand,
.site-footer .brand:hover {
  color: var(--text);
}
.footer-tagline {
  margin-top: 0.9rem;
  max-width: 34ch;
  color: var(--text-dim);
}
.footer-heading {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-nav ul {
  display: grid;
  gap: 0.6rem;
}
.footer-nav a,
.footer-contact a {
  color: var(--text-soft);
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--green-3);
}
.footer-contact-list {
  display: grid;
  gap: 0.8rem;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-contact-list i {
  color: var(--green-2);
  width: 18px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------ */
/* 16b. About/stats, plans, testimonials, insights, newsletter        */
/* ------------------------------------------------------------------ */
/* Stats band (qualitative — no fabricated numbers) */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stat-ic {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--green-3);
  background: var(--green-soft);
}
.stat-tile strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}
.stat-tile > span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Engagement plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.plan-featured {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 {
  margin: 0;
}
.plan-tag {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}
.plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.5rem 0 1.1rem;
}
.plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}
.plan-list {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}
.plan-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.plan-list i {
  color: var(--green-2);
  margin-top: 0.2rem;
}
.plan .btn {
  margin-top: auto;
}

/* Testimonials (placeholder content — replace with real quotes) */
.tcard {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.tstars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.tcard blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}
.tperson {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.tavatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-3);
}
.tmeta strong {
  display: block;
  color: var(--text);
}
.tmeta span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Wide media frame (full-width image inside a section) */
.media-wide {
  margin-top: 2.5rem;
}
.media-wide img {
  aspect-ratio: 16 / 8;
}

/* Video testimonials */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  max-width: 940px;
  margin-inline: auto;
}
.vtestimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vtestimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.vt-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0f1a;
}
.vt-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0b0f1a;
}
/* Branded play overlay — hidden once playback starts */
.vt-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(155deg, rgba(22, 101, 52, 0.82), rgba(15, 46, 28, 0.92));
  transition: opacity var(--transition);
}
.vt-media.playing .vt-play {
  display: none;
}
.vt-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  transition: transform var(--transition);
}
.vtestimonial:hover .vt-avatar {
  transform: scale(1.06);
}
.vt-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.vt-hint i {
  font-size: 0.8rem;
}
.vt-cap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem 1.5rem;
}
.vt-cap .tstars {
  color: #f59e0b;
  display: flex;
  gap: 2px;
}
.vt-cap blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.vt-person strong {
  display: block;
  color: var(--text);
}
.vt-person span {
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* Job listings (careers) */
.job-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.job-card h3 {
  margin: 0;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.job-tag i {
  color: var(--green-3);
  font-size: 0.72rem;
}
.job-card p {
  margin: 0.2rem 0 0;
}
.job-card .btn {
  margin-top: auto;
}

/* ================================================================== */
/*  Admin dashboard                                                    */
/* ================================================================== */
.admin-body {
  background: var(--bg-2);
}
/* Login */
.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.admin-login-card {
  width: min(100%, 400px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.admin-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.admin-login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.admin-login-sub {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}
.admin-login-form .form-field {
  margin-bottom: 1rem;
}
.admin-login-hint {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.admin-login-hint code {
  background: var(--bg-2);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

/* Top bar */
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0f172a;
  color: #fff;
}
.admin-bar-inner {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 62px;
}
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #fff;
}
.admin-brand span {
  color: var(--green);
}
.admin-nav {
  display: flex;
  gap: 0.35rem;
  margin-right: auto;
}
.admin-nav a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}
.admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.admin-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.admin-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-view-site {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
}
.admin-view-site:hover {
  color: #fff;
}
.admin-logout button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.admin-logout button:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Layout */
.admin-main {
  padding: 2rem 0 3rem;
}
.admin-container {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}
.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.admin-head h1 {
  font-size: 1.7rem;
  margin: 0 0 0.2rem;
}
.admin-head p {
  margin: 0;
  color: var(--text-soft);
}
.admin-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.admin-back:hover {
  color: var(--green-3);
}
.admin-mt {
  margin-top: 1.75rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 1.5rem;
}
.admin-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.admin-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}
.admin-stat-label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.admin-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-card-head h2 {
  margin: 0;
}
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}
.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.admin-empty {
  color: var(--text-dim);
  margin: 0;
}
.admin-muted {
  color: var(--text-dim);
  font-size: 0.88rem;
}
.admin-link {
  color: var(--green-3);
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}
.admin-link:hover {
  color: var(--green-2);
}
.admin-danger {
  color: #dc2626 !important;
}

/* Tables */
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table th {
  text-align: left;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-row-actions form {
  display: inline;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.status-new { background: #dbeafe; color: #1d4ed8; }
.status-reviewing { background: #fef3c7; color: #92400e; }
.status-interview { background: #e0e7ff; color: #4338ca; }
.status-hired { background: var(--green-soft); color: #14532d; }
.status-rejected { background: #fee2e2; color: #991b1b; }

/* Admin forms */
.admin-form .form-field {
  margin-bottom: 1rem;
}
.admin-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Job list (manage) */
.admin-joblist {
  display: grid;
  gap: 0.6rem;
}
.admin-jobrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-jobrow-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-3);
  flex: 0 0 auto;
}
.admin-jobrow-main {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}
.admin-jobrow-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.admin-jobrow-actions form {
  display: inline;
}
.admin-icon-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.2rem;
}

/* Detail page */
.admin-dl {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.admin-dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.5rem;
}
.admin-dl dt {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.admin-dl dd {
  margin: 0;
  color: var(--text);
  word-break: break-word;
}
.admin-cover {
  white-space: pre-wrap;
  color: var(--text-soft);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.admin-status-form {
  display: flex;
  gap: 0.6rem;
}
.admin-status-form select {
  flex: 1;
}
.admin-danger-btn {
  color: #dc2626;
  border-color: #fca5a5;
}
.admin-filter select {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  background: var(--surface);
}

@media (max-width: 760px) {
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .admin-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .admin-nav {
    gap: 0;
  }
  .admin-nav a {
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
  }
  .admin-view-site {
    display: none;
  }
}

/* ---- Job application page (Greenhouse/Ashby style) ---- */
.job-hero {
  background: linear-gradient(180deg, #0b1220, #0f1a2b);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--border);
}
.job-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a7b1c2;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.job-back:hover {
  color: #fff;
}
.job-hero h1 {
  color: #fff;
  margin: 0 0 0.9rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.job-hero .job-tags {
  margin-bottom: 1.4rem;
}
.job-hero .job-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
}
.job-hero .job-tag i {
  color: #4ade80;
}
.job-hero-cta {
  margin-top: 0.25rem;
}

.job-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.job-detail h3 {
  margin-top: 1.9rem;
}
.job-detail .check-list li {
  align-items: flex-start;
}
.job-detail .check-list i {
  margin-top: 0.28rem;
}
.job-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.92rem;
}

.job-apply {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.job-apply > h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.apply-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Résumé upload control */
.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.4rem 1rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-soft);
  background: #fbfcfd;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.file-drop:hover {
  border-color: var(--green);
}
.file-drop:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.file-drop.has-file {
  border-style: solid;
  border-color: var(--green);
  color: var(--green-3);
}
.file-drop > i {
  font-size: 1.4rem;
  color: var(--green-3);
}
.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop-text {
  font-weight: 600;
  color: var(--text);
}
.file-hint {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Consent checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  color: var(--text-soft);
  font-size: 0.92rem;
  cursor: pointer;
}
.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--green-2);
}

/* Success panel */
.apply-success {
  text-align: center;
  padding: 1rem 0.5rem;
}
.apply-success-ic {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: var(--green-2);
  background: var(--green-soft);
}
.apply-success h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.apply-success p {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

/* Team profiles (About page) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.team-card {
  margin: 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.15rem;
  border: 4px solid var(--surface);
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.35);
}
.team-card figcaption strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.team-romaji {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}
.team-role {
  display: block;
  color: var(--green-3);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

/* Profile hover: slower & bigger */
.team-card {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease, border-color 0.3s ease;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.05);
  z-index: 2;
}
.team-photo {
  background: var(--surface-2);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-card:hover .team-photo {
  transform: scale(1.12);
}
/* Highlight the hiring manager in the team grid */
.team-card-lead {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.28), var(--shadow-sm);
}

/* Careers "your hiring manager" card */
.hiring-card {
  max-width: 320px;
  margin-inline: auto;
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.hiring-badge {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-3);
  background: var(--green-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.hiring-cta {
  margin-top: 1.25rem;
}

/* ---- Products: bento showcase ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.bento-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.bento-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
}
.bento-wide > div {
  flex: 1;
}
.bento-ic {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.35rem;
  color: var(--green-3);
  background: var(--green-soft);
}
.bento-tile h2 {
  font-size: 1.2rem;
  margin: 0;
}
.bento-tile p {
  color: var(--text-soft);
  margin: 0;
}
.bento-feature .bento-ic {
  background: var(--accent-grad);
  color: #fff;
}
.bento-feature h2 {
  font-size: 1.5rem;
}
.bento-dark {
  background: linear-gradient(135deg, #12233b, #0b1524);
  border-color: transparent;
  color: #fff;
}
.bento-dark h2 { color: #fff; }
.bento-dark p { color: #cbd5e1; }
.bento-dark .bento-ic {
  background: rgba(74, 222, 128, 0.16);
  color: #4ade80;
}

/* ---- Services: numbered list with sticky intro ---- */
.svc-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 3rem;
  align-items: start;
}
.svc-intro {
  position: sticky;
  top: 90px;
}
.svc-intro h2 {
  margin-bottom: 0.75rem;
}
.svc-intro p {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}
.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.4rem 0.75rem;
  border-top: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.svc-item:last-child {
  border-bottom: 1px solid var(--border);
}
.svc-item:hover {
  background: var(--bg-2);
  transform: translateX(4px);
}
.svc-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-3);
  min-width: 2ch;
  padding-top: 0.5rem;
}
.svc-ic {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: var(--green-3);
  background: var(--green-soft);
}
.svc-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
}
.svc-text p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-wide {
    grid-column: 1 / -1;
  }
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .svc-intro {
    position: static;
  }
}
@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    flex-direction: column;
  }
  .svc-item {
    grid-template-columns: auto 1fr;
  }
  .svc-num {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}

/* Insights */
.insight-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-3);
  background: var(--green-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.insight h3 {
  font-size: 1.1rem;
}

/* Newsletter */
.newsletter {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: linear-gradient(135deg, var(--green-2), var(--green-3));
  color: #fff;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter h2 {
  color: #fff;
  margin: 0 0 0.3rem;
}
.newsletter-copy p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 46ch;
}
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.newsletter-form input {
  min-width: 260px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}
.newsletter-form input:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.24);
}
.newsletter-form input[aria-invalid="true"] {
  border-color: #fecaca;
  background: rgba(254, 202, 202, 0.2);
}
.newsletter-form .btn-primary {
  background: #ffffff;
  color: var(--green-3);
  animation: none;
}
.newsletter-form .btn-primary:hover {
  background: #f0fdf4;
  color: var(--green-3);
}
.newsletter-note {
  width: 100%;
  margin: 0.75rem 0 0;
  color: #fff;
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* 17. Responsive breakpoints                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
    order: 2;
  }
  .value-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .plan-featured {
    transform: none;
  }
  .newsletter-form {
    flex: 1 1 100%;
  }
  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split-graphic {
    order: -1;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-link {
    padding: 0.85rem 0.9rem;
    font-size: 1.05rem;
  }
  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
  .lang-switch {
    justify-content: center;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .stat-band {
    grid-template-columns: 1fr;
  }
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vt-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .job-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .job-apply {
    position: static;
  }
  .apply-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Smaller marquee cards on small screens */
  .sc-card {
    width: 164px;
    height: 214px;
  }
}

@media (max-width: 560px) {
  .value-row {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .window-title {
    display: none;
  }
  .wr-txt span {
    display: none;
  }
  .video-feature-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ------------------------------------------------------------------ */
/* 18. Hover motion, floaties & scroll-reveal ("anime" actions)       */
/* ------------------------------------------------------------------ */
/* Playful "move here and there" wobble while an item is hovered */
@keyframes hoverBob {
  0%, 100% { transform: translateY(-6px) rotate(-1.2deg); }
  50%      { transform: translateY(-13px) rotate(1.2deg); }
}
@keyframes iconPop {
  0%   { transform: scale(1) rotate(0); }
  40%  { transform: scale(1.18) rotate(-10deg); }
  70%  { transform: scale(1.06) rotate(7deg); }
  100% { transform: scale(1.12) rotate(0); }
}

/* Cards are 3D-tilt ready (JS sets the transform); smooth reset here */
.card,
.value,
.value-item,
.plan,
.team-card,
.stat-tile {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow var(--transition),
    border-color var(--transition);
  will-change: transform;
}
.process-step,
.feature {
  transition: transform var(--transition);
}
.process-step:hover {
  transform: translateY(-6px) rotate(-1.2deg);
}
.feature:hover {
  transform: translateX(6px);
}
.video-feature:hover {
  transform: translateY(-4px) rotate(-0.6deg);
}

/* Icons pop/spin a little when their card is hovered */
.card-lift:hover .card-icon,
.value:hover .value-icon,
.value-item:hover .vi-icon,
.feature:hover .feature-icon,
.process-step:hover .process-num {
  animation: iconPop 0.5s ease forwards;
}

/* Nav + window rows nudge on hover */
.nav-link {
  transition: color var(--transition), background var(--transition),
    transform var(--transition);
}
.nav-link:hover {
  transform: translateY(-2px);
}
.window-row {
  transition: background var(--transition), transform var(--transition);
}
.window-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(5px);
}

/* Floating decorative icons in the hero */
.hero-floaties {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.floaty {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
  opacity: 0.95;
}
.floaty.f1 { top: 12%; left: 6%;   color: #4ade80;  animation: floaty1 9s ease-in-out infinite; }
.floaty.f2 { top: 18%; right: 7%;  color: #fb923c;  animation: floaty2 11s ease-in-out infinite; }
.floaty.f3 { top: 62%; left: 5%;   color: #a78bfa;  animation: floaty3 10s ease-in-out infinite; }
.floaty.f4 { top: 68%; right: 6%;  color: #38bdf8;  animation: floaty1 12s ease-in-out infinite; }
.floaty.f5 { top: 42%; left: 11%;  color: #fb7185;  animation: floaty2 8s ease-in-out infinite; }
@keyframes floaty1 {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@keyframes floaty2 {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50%      { transform: translateY(16px) rotate(-5deg); }
}
@keyframes floaty3 {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50%      { transform: translate(10px, -14px) rotate(8deg); }
}
@media (max-width: 820px) {
  /* Hide the floating icons on small screens to avoid crowding the text */
  .hero-floaties {
    display: none;
  }
}

/* Scroll-reveal: elements ease in as they enter the viewport.
   Only active when <html> has .reveal-ready (JS + motion allowed). */
.reveal-ready .card,
.reveal-ready .value,
.reveal-ready .value-item,
.reveal-ready .feature,
.reveal-ready .process-step,
.reveal-ready .video-feature,
.reveal-ready .section-head,
.reveal-ready .split-content,
.reveal-ready .split-graphic,
.reveal-ready .notice,
.reveal-ready .contact-form-wrap,
.reveal-ready .contact-info {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready .in-view {
  opacity: 1 !important;
  transform: none !important;
}
/* Stagger children within common grids */
.reveal-ready :is(.card-grid, .value-row, .process, .feature-grid) > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-ready :is(.card-grid, .value-row, .process, .feature-grid) > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-ready :is(.card-grid, .value-row, .process, .feature-grid) > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-ready :is(.card-grid, .value-row, .process, .feature-grid) > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-ready :is(.card-grid, .value-row, .process, .feature-grid) > *:nth-child(6) { transition-delay: 0.40s; }

/* ================================================================== */
/*  Luxury interactions                                                */
/* ================================================================== */
/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #22c55e, #4ade80, #f97316);
  z-index: 2000;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

/* Cursor spotlight (added by JS on fine pointers) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.16),
    rgba(74, 222, 128, 0.06) 40%,
    transparent 68%
  );
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  will-change: transform;
}
body.has-cursor-glow .cursor-glow {
  opacity: 1;
}

/* Back-to-top */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #052e16;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  box-shadow: 0 12px 30px -8px rgba(34, 197, 94, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.to-top:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Card hover glow (premium) */
.card-lift:hover,
.value:hover,
.value-item:hover,
.plan:hover,
.team-card:hover,
.stat-tile:hover {
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(74, 222, 128, 0.25), 0 10px 40px -12px rgba(34, 197, 94, 0.28);
}

/* Animated nav-link underline */
.nav-link:not(.nav-cta) {
  position: relative;
}
.nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-2), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.28s ease;
}
.nav-link:not(.nav-cta):hover::after,
.nav-link.active:not(.nav-cta)::after {
  transform: scaleX(1);
}

/* Magnetic buttons get a smooth spring back */
.btn-primary,
.nav-cta {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--transition), background-color var(--transition),
    color var(--transition), filter var(--transition);
}

/* Sheen sweep across cards on hover */
.card,
.stat-tile,
.team-card {
  position: relative;
  overflow: hidden;
}
.card::after,
.stat-tile::after,
.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 1;
}
.card:hover::after,
.stat-tile:hover::after,
.team-card:hover::after {
  left: 130%;
}

/* ------------------------------------------------------------------ */
/* 19. Reduced motion                                                 */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover,
  .card-lift:hover,
  .value:hover,
  .value-item:hover,
  .video-card:hover,
  .video-feature:hover,
  .process-step:hover,
  .feature:hover {
    transform: none;
    animation: none;
  }
  .app-window {
    opacity: 1;
    transform: none;
  }
  .aurora,
  .floaty,
  .marquee-track.is-cloned {
    animation: none;
  }
  /* Show the still image instead of the looping CTA video */
  .cta-video {
    display: none;
  }
}

/* ================================================================== */
/*  Per-page backgrounds & signature motion                            */
/* ================================================================== */
/* Each page recolours the drifting ambient aurora for its own mood */
.page-products .bg-aurora { filter: hue-rotate(150deg) saturate(1.05); }
.page-services .bg-aurora { filter: hue-rotate(-32deg) saturate(1.12); }
.page-about    .bg-aurora { filter: hue-rotate(210deg) saturate(0.95); }
.page-careers  .bg-aurora { filter: hue-rotate(-52deg) saturate(1.08); }
.page-contact  .bg-aurora { filter: hue-rotate(160deg) saturate(1.05); }

/* Fixed, subtle signature layer per page (behind all content) */
.page-products::before,
.page-services::before,
.page-about::before,
.page-careers::before,
.page-contact::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
}

/* Products — slowly rotating conic "mesh" glow */
.page-products::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(56, 189, 248, 0.10),
    transparent 25%,
    rgba(45, 212, 191, 0.10) 50%,
    transparent 75%,
    rgba(56, 189, 248, 0.10)
  );
  animation: spinGlow 46s linear infinite;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }

/* Services — drifting diagonal light stripes */
.page-services::before {
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(249, 168, 37, 0.045) 0 22px,
    transparent 22px 66px
  );
  background-size: 200% 200%;
  animation: slideStripes 20s linear infinite;
}
@keyframes slideStripes { to { background-position: 200% 200%; } }

/* About — softly drifting particle dots */
.page-about::before {
  inset: 0;
  background-image:
    radial-gradient(rgba(139, 92, 246, 0.22) 1px, transparent 1.6px),
    radial-gradient(rgba(34, 197, 94, 0.16) 1px, transparent 1.6px);
  background-size: 64px 64px, 96px 96px;
  background-position: 0 0, 32px 48px;
  animation: driftDots 34s linear infinite;
}
@keyframes driftDots {
  to { background-position: 64px 64px, 128px 144px; }
}

/* Careers — pulsing warm blobs (inviting) */
.page-careers::before {
  inset: 0;
  background:
    radial-gradient(640px 440px at 14% 18%, rgba(251, 146, 60, 0.12), transparent 60%),
    radial-gradient(640px 440px at 86% 82%, rgba(251, 113, 133, 0.12), transparent 60%);
  animation: pulseBlobs 12s ease-in-out infinite alternate;
}
@keyframes pulseBlobs {
  from { opacity: 0.65; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.08); }
}

/* Contact — animated flowing gradient wash */
.page-contact::before {
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(56, 189, 248, 0.09),
    rgba(45, 212, 191, 0.09),
    rgba(129, 140, 248, 0.09),
    rgba(56, 189, 248, 0.09)
  );
  background-size: 320% 320%;
  animation: waveWash 18s ease-in-out infinite;
}
@keyframes waveWash {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Fashionable content accents */
/* Careers job cards get an animated gradient top edge on hover */
.page-careers .job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-2), var(--orange), var(--green-2));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: slideBar 3s linear infinite;
  z-index: 2;
}
.page-careers .job-card:hover::before {
  opacity: 1;
}
@keyframes slideBar { to { background-position: 200% 0; } }

/* Products featured/dark tiles get a gentle glow pulse */
.bento-feature {
  animation: tileGlow 4.5s ease-in-out infinite;
}
@keyframes tileGlow {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50%      { box-shadow: 0 18px 44px -18px rgba(34, 197, 94, 0.45); }
}
