/* ====================================================
   CREDENT — Animated Website
   Palette: Magenta · Cyan · Deep Blue · Black · White
   ==================================================== */

:root {
  --bg: #050507;
  --bg-soft: #0b0b10;
  --bg-light: #f6f6f8;
  --fg: #ffffff;
  --fg-mute: rgba(255, 255, 255, 0.62);
  --fg-dim: rgba(255, 255, 255, 0.35);
  --line: rgba(255, 255, 255, 0.08);
  --magenta: #ff00ff;
  --cyan: #00ffff;
  --blue: #2218ff;
  --grad: linear-gradient(120deg, #ff00ff 0%, #00ffff 50%, #2218ff 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,0,255,0.12), rgba(0,255,255,0.12));
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { width: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overscroll-behavior-y: none;
}

/* Honor user's motion preference (Apple/Meta standard) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
a { color: inherit; text-decoration: none; cursor: none; }
button, input, textarea { font-family: inherit; cursor: none; }
img, video, svg { display: block; max-width: 100%; }
::selection { background: var(--magenta); color: white; }

/* ============== PRELOADER ============== */
.preloader {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.preloader-logo { width: 100px; height: 100px; animation: spin 4s linear infinite; filter: drop-shadow(0 0 30px rgba(255,0,255,0.5)); }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-bar { width: 240px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader-bar span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); animation: load 2.4s var(--ease) forwards; }
@keyframes load { to { transform: scaleX(1); } }
.preloader-text { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.3em; color: var(--fg-dim); }

/* ============== CURSOR ============== */
.cursor {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed; width: 4px; height: 4px;
  background: white; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover { width: 64px; height: 64px; border-color: var(--cyan); }
@media (max-width: 900px) { .cursor, .cursor-dot { display: none; } body { cursor: auto; } a, button, input, textarea { cursor: auto; } }

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px; z-index: 100;
  transition: all 0.4s var(--ease);
}
.nav.scrolled { padding: 14px 40px; backdrop-filter: blur(20px); background: rgba(5,5,7,0.75); border-bottom: 1px solid var(--line); }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.18em; font-size: 14px; }
.nav-logo img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; position: relative; padding: 6px 0; transition: color 0.3s var(--ease); color: var(--fg-mute); }
.nav-links a:hover { color: var(--fg); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border: 1px solid rgba(255,255,255,0.18); border-radius: 100px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  background: rgba(255,255,255,0.04); transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.nav-cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.nav-cta::before { content: ''; position: absolute; inset: 0; background: var(--grad); transform: translateX(-100%); transition: transform 0.5s var(--ease); z-index: -1; }
.nav-cta:hover { border-color: transparent; color: white; }
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta:hover svg { transform: translateX(4px); }
.nav-burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--fg); transition: all 0.3s var(--ease); }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-links {
    position: fixed; inset: 0;
    background-color: #050507;          /* solid opaque — no page content bleeds through */
    background-image: var(--grad-soft); /* subtle brand wash on top */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 36px;
    z-index: 200;                       /* above hero (5) and nav bar (100) */
    /* fully hidden when closed: off-screen + non-interactive + invisible */
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), visibility 0s linear 0.6s;
  }
  .nav-links a { font-size: 28px; font-weight: 600; color: var(--fg); }
  .nav.open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), visibility 0s;
  }
  .nav.open { z-index: 200; }           /* keep burger clickable above the panel */
  .nav-cta { display: none; }
  .nav-burger { display: flex; z-index: 201; position: relative; }
  /* lock body scroll behind the open menu */
  body.nav-locked { overflow: hidden; }

  /* high-tech: faint perspective grid behind the open menu */
  .nav-links::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(120% 90% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(120% 90% at 50% 35%, #000 30%, transparent 75%);
    pointer-events: none;
  }
  /* links sit above the grid, gradient underline accent */
  .nav-links a { position: relative; z-index: 1; }
  .nav-links a::after { height: 2px; }

  /* staggered entrance when the menu opens */
  .nav-links a { opacity: 0; transform: translateY(24px); }
  .nav.open .nav-links a {
    animation: navItemIn 0.5s var(--ease) forwards;
  }
  .nav.open .nav-links a:nth-child(1) { animation-delay: 0.10s; }
  .nav.open .nav-links a:nth-child(2) { animation-delay: 0.16s; }
  .nav.open .nav-links a:nth-child(3) { animation-delay: 0.22s; }
  .nav.open .nav-links a:nth-child(4) { animation-delay: 0.28s; }
  .nav.open .nav-links a:nth-child(5) { animation-delay: 0.34s; }
  .nav.open .nav-links a:nth-child(6) { animation-delay: 0.40s; }
  .nav.open .nav-links a:nth-child(7) { animation-delay: 0.46s; }
}

@keyframes navItemIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;          /* fallback */
  min-height: 100svh;         /* small viewport — iOS w/ url bar */
  min-height: 100dvh;         /* dynamic viewport */
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 40px 140px; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45; z-index: 0;
  filter: saturate(1.2) contrast(1.1);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at top, transparent 0%, var(--bg) 80%),
    radial-gradient(circle at 20% 30%, rgba(255,0,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,255,255,0.18), transparent 50%);
}
.hero-earth {
  position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px; z-index: 2; opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.07; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 5; max-width: 1100px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,0.03); backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.2em; color: var(--fg-mute); margin-bottom: 32px;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 600; line-height: 0.95;
  letter-spacing: -0.04em; margin-bottom: 8px;
}
.hero-line { display: block; overflow: hidden; padding: 4px 0; }
.hero-word { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.hero-word.gradient {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-vapor { height: 60px; margin: 16px 0 24px; }
#vaporCanvas { width: 100%; height: 100%; }
.hero-sub {
  max-width: 600px; font-size: 18px; color: var(--fg-mute);
  line-height: 1.6; margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: all 0.4s var(--ease);
  min-height: 52px;                                   /* WCAG/Apple HIG tap target */
  -webkit-appearance: none; appearance: none;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn-primary { background: var(--grad); color: white; background-size: 200% 200%; animation: gradMove 6s infinite; }
@keyframes gradMove { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-primary:hover svg { transform: translateX(6px); }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: white; transform: translateY(100%); transition: transform 0.4s var(--ease); z-index: -1; }
.btn-primary:hover { color: black; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost { border-color: rgba(255,255,255,0.18); color: var(--fg); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-full { width: 100%; justify-content: center; }

.hero-stats {
  display: flex; gap: 60px; padding-top: 40px;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-suf { display: inline; font-size: 24px; font-weight: 500; color: var(--fg-mute); margin-left: 4px; }
.stat-lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-dim); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 8px; }

.hero-scroll {
  position: absolute; bottom: 100px; right: 40px; z-index: 5;
  display: flex; align-items: center; gap: 16px; transform: rotate(90deg); transform-origin: right;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.3em; color: var(--fg-dim);
}
.hero-scroll-line { width: 80px; height: 1px; background: var(--fg-dim); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; inset: 0; background: var(--cyan); transform-origin: left; animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

.marquee {
  position: absolute; bottom: 30px; left: 0; right: 0; z-index: 5;
  overflow: hidden; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.4); backdrop-filter: blur(10px);
}
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 500; letter-spacing: 0.1em; color: var(--fg-mute); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero { padding: 110px 20px 140px; }
  .hero-earth { display: none; }                /* WebGL off on phones for battery + perf */
  .hero-tag { font-size: 10px; letter-spacing: 0.18em; padding: 7px 14px; margin-bottom: 24px; }
  .hero-vapor { display: none; }                /* monospace string overflows narrow viewports */
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; min-width: 0; justify-content: center; padding: 16px 22px; min-height: 52px; }
  .hero-stats { gap: 28px; padding-top: 32px; }
  .stat { min-width: calc(50% - 14px); }
  .stat-num { font-size: 36px; }
  .stat-suf { font-size: 18px; }
  .hero-scroll { display: none; }
  .marquee { padding: 12px 0; }
  .marquee-track { gap: 36px; }
  .marquee-track span { font-size: 14px; }
}
@media (max-width: 420px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* ============== SECTION TAG ============== */
.section-tag {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.25em; color: var(--fg-dim); margin-bottom: 60px;
}
.section-tag span:first-child { color: var(--cyan); }
.section-tag.light { color: rgba(255,255,255,0.7); }
.section-tag.light span:first-child { color: var(--cyan); }

/* ============== ABOUT ============== */
.about { padding: 140px 40px; max-width: 1400px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 72px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 32px;
}
.about-text h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-text p { font-size: 17px; color: var(--fg-mute); margin-bottom: 20px; max-width: 560px; }
.about-text strong { color: var(--fg); font-weight: 600; }
.about-bullets { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.about-bullet {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px;
  padding: 24px 0; border-top: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.about-bullet:last-child { border-bottom: 1px solid var(--line); }
.about-bullet:hover { padding-left: 12px; background: linear-gradient(to right, rgba(255,0,255,0.04), transparent 60%); }
.bullet-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--cyan); letter-spacing: 0.2em; padding-top: 4px; }
.about-bullet h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.about-bullet p { font-size: 14px; color: var(--fg-mute); margin: 0; }

.about-visual { position: relative; }
.visual-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 24px;
  overflow: hidden; border: 1px solid var(--line);
}
.visual-frame video { width: 100%; height: 100%; object-fit: cover; }
.visual-frame-glow { position: absolute; inset: 0; background: linear-gradient(45deg, rgba(255,0,255,0.15), transparent 50%, rgba(0,255,255,0.15)); pointer-events: none; }
.visual-tag {
  position: absolute; bottom: 24px; left: 24px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; background: rgba(0,0,0,0.7); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 100px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
}
.pulse { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan); animation: pulse 1.5s infinite; }

@media (max-width: 900px) {
  .about { padding: 80px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ============== VISION ============== */
.vision {
  position: relative; padding: 140px 40px; min-height: 90vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.vision-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; z-index: 0; }
.vision-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%),
              radial-gradient(circle at 70% 50%, rgba(34,24,255,0.2), transparent 60%);
}
.vision .section-tag { position: relative; z-index: 2; max-width: 1400px; margin-left: auto; margin-right: auto; width: 100%; }
.vision-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 1400px; margin: 0 auto; width: 100%;
}
.vision-card {
  padding: 48px; border: 1px solid var(--line); border-radius: 24px;
  background: rgba(11,11,16,0.6); backdrop-filter: blur(24px);
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
}
.vision-card::before {
  content: ''; position: absolute; inset: 0; background: var(--grad-soft);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.vision-card:hover { transform: translateY(-8px); border-color: rgba(0,255,255,0.3); }
.vision-card:hover::before { opacity: 1; }
.vision-card-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.3em; color: var(--cyan); margin-bottom: 32px;
  position: relative; z-index: 1;
}
.vision-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.3;
  position: relative; z-index: 1;
}
.vision-card-bar {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); transition: width 0.6s var(--ease);
}
.vision-card:hover .vision-card-bar { width: 100%; }

@media (max-width: 900px) {
  .vision { padding: 80px 20px; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-card { padding: 32px; }
}

/* ============== SERVICES ============== */
.services { padding: 140px 40px; max-width: 1400px; margin: 0 auto; }
.services-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 88px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 80px;
}
.services-title span { display: block; overflow: hidden; }
.services-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  position: relative; border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; background: var(--bg-soft);
  transition: all 0.6s var(--ease); display: flex; flex-direction: column;
}
.service-card-feature { grid-column: span 2; flex-direction: row; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(0,255,255,0.3); }
.service-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.service-card-feature .service-img { aspect-ratio: auto; flex: 1; min-height: 380px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.4s var(--ease-out); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,7,0.6), transparent 60%); }
.service-body { padding: 36px; flex: 1; }
.service-card-feature .service-body { display: flex; flex-direction: column; justify-content: center; padding: 60px; }
.service-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan); letter-spacing: 0.25em; }
.service-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 14px 0 16px; }
.service-card-feature .service-body h3 { font-size: 38px; }
.service-body p { font-size: 15px; color: var(--fg-mute); line-height: 1.6; }
.service-attr { display: block; margin-top: 20px; font-size: 13px; color: var(--fg-dim); font-style: italic; }

.qr-mock {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 28px;
  padding: 16px 24px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.qr-pattern {
  width: 56px; height: 56px;
  background:
    repeating-conic-gradient(white 0% 25%, black 0% 50%) 0 0/12px 12px,
    repeating-linear-gradient(45deg, white 0 2px, black 2px 4px);
  border-radius: 6px;
  position: relative;
}
.qr-pattern::before, .qr-pattern::after { content: ''; position: absolute; width: 14px; height: 14px; background: black; border: 2px solid white; }
.qr-pattern::before { top: 4px; left: 4px; }
.qr-pattern::after { bottom: 4px; right: 4px; }
.qr-mock span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--cyan); }

@media (max-width: 900px) {
  .services { padding: 80px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-feature { grid-column: span 1; flex-direction: column; }
  .service-card-feature .service-body { padding: 36px; }
  .service-card-feature .service-body h3 { font-size: 28px; }
  .service-card-feature .service-img { min-height: 240px; }
}

/* ============== FOUNDERS ============== */
.founders { padding: 140px 40px; max-width: 1400px; margin: 0 auto; }
.founders-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 80px); font-weight: 500;
  letter-spacing: -0.03em; margin-bottom: 80px;
}
.founders-title span { display: block; overflow: hidden; }
.founders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.founder-card {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/5; cursor: pointer;       /* taller frame so faces aren't clipped */
}
.founder-img { position: absolute; inset: 0; }
.founder-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;          /* keep faces in frame */
  transition: transform 1.5s var(--ease-out);
  filter: grayscale(0.4) contrast(1.1);
}
.founder-card:hover .founder-img img { transform: scale(1.06); filter: grayscale(0) contrast(1); }
.founder-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 35%, transparent 55%);
}
.founder-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; z-index: 2;
  transform: translateY(20px); transition: transform 0.5s var(--ease);
}
.founder-card:hover .founder-info { transform: translateY(0); }
.founder-role { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--cyan); }
.founder-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 500; margin: 8px 0 12px; }
.founder-info p { font-size: 14px; color: var(--fg-mute); line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease) 0.1s; }
.founder-card:hover .founder-info p { max-height: 200px; opacity: 1; }

@media (max-width: 900px) {
  .founders { padding: 80px 20px; }
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card { aspect-ratio: 4/5; }
  .founder-info p { max-height: 200px; opacity: 1; }
}

/* ============== TESTIMONIALS ============== */
.testimonials {
  position: relative; padding: 140px 40px; max-width: 1400px; margin: 0 auto;
  background: var(--bg);
}
.testimonials::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(34,24,255,0.1), transparent 70%);
  pointer-events: none;
}
.testimonials-title {
  position: relative; z-index: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 80px;
}
.testimonials-title span { display: block; overflow: hidden; }
.testimonials-title .gradient { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.testimonials-stage {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
}
.testimonials-images {
  position: relative; aspect-ratio: 1; max-width: 460px; width: 100%;
  margin: 0 auto;
}
.testi-img {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.testi-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.testi-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,0,255,0.15), transparent 50%, rgba(0,255,255,0.15)); }

.testi-quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 200px; line-height: 0.8; color: var(--cyan); opacity: 0.3;
  margin-bottom: -40px;
}
.testi-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 400;
  line-height: 1.4; letter-spacing: -0.01em; color: var(--fg);
  margin-bottom: 32px; min-height: 180px;
}
.testi-meta h4 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.testi-meta span { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--cyan); letter-spacing: 0.15em; text-transform: uppercase; }

.testi-controls { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.testi-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.testi-btn:hover { background: var(--grad); border-color: transparent; transform: scale(1.05); }
.testi-btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.testi-progress { flex: 1; height: 1px; background: var(--line); position: relative; max-width: 220px; }
.testi-progress span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 6s linear; }

@media (max-width: 900px) {
  .testimonials { padding: 80px 20px; }
  .testimonials-stage { grid-template-columns: 1fr; gap: 40px; }
  .testi-quote { min-height: auto; }
}

/* ============== GALLERY ============== */
.gallery { padding: 140px 40px; max-width: 1600px; margin: 0 auto; overflow: hidden; }
.gallery-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 80px; }
.gallery-title span { display: block; overflow: hidden; }
.gallery-stage {
  position: relative; height: 540px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1500px;
}
.gallery-card {
  position: absolute; width: 240px; height: 340px;
  border-radius: 20px; overflow: hidden; cursor: pointer;
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border: 1px solid var(--line);
}
.gallery-card video, .gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,0,255,0.1), transparent 60%); }
.gallery-card:hover { z-index: 50; }
.gallery-hint { text-align: center; margin-top: 40px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.3em; color: var(--fg-dim); }

@media (max-width: 900px) {
  .gallery { padding: 80px 20px; }
  /* Switch arc -> horizontal snap-scroll row on phones */
  .gallery-stage {
    height: auto; perspective: none; display: flex;
    overflow-x: auto; overflow-y: hidden;
    gap: 16px; padding: 20px 4px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-stage::-webkit-scrollbar { display: none; }
  .gallery-card {
    position: static; flex: 0 0 240px;
    width: 240px; height: 340px;
    transform: none !important;             /* override JS arc transforms */
    scroll-snap-align: center;
  }
  .gallery-hint::after { content: ' (swipe →)'; }
}

/* ============== CONTACT ============== */
.contact { padding: 140px 40px; max-width: 1400px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card {
  padding: 48px; border: 1px solid var(--line); border-radius: 28px;
  background: var(--bg-soft); position: relative; overflow: hidden;
  transition: border-color 0.4s var(--ease);
}
.contact-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 28px;
  background: var(--grad); z-index: -1; opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.contact-card:hover { border-color: transparent; }
.contact-card:hover::before { opacity: 0.6; }
.contact-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.contact-card > p { font-size: 15px; color: var(--fg-mute); margin-bottom: 36px; }

.field { position: relative; margin-bottom: 24px; }
.field input, .field textarea {
  width: 100%; padding: 18px 0 12px; background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  color: var(--fg); font-size: 16px; outline: none;     /* 16px prevents iOS zoom on focus */
  transition: border-color 0.3s var(--ease);
  resize: none;
  border-radius: 0;                                    /* kill iOS default rounding */
  -webkit-appearance: none; appearance: none;
  min-height: 48px;
}
.field label {
  position: absolute; left: 0; top: 18px;
  font-size: 14px; color: var(--fg-dim);
  pointer-events: none; transition: all 0.3s var(--ease);
}
.field input:focus + label, .field textarea:focus + label,
.field input:valid + label, .field textarea:valid + label,
.field input:not(:placeholder-shown) + label {
  top: -2px; font-size: 11px; color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase;
}
.field-line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.field input:focus ~ .field-line, .field textarea:focus ~ .field-line { transform: scaleX(1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.upload { margin-bottom: 16px; }
.upload-box {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 12px;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.upload-box:hover { border-color: var(--cyan); background: rgba(0,255,255,0.04); }
.upload-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.upload-text { display: flex; flex-direction: column; }
.upload-text strong { font-size: 14px; font-weight: 500; }
.upload-text em { font-size: 11px; color: var(--fg-dim); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.upload-box.has-file { border-style: solid; border-color: var(--cyan); }
.upload-box.has-file .upload-icon { background: var(--cyan); color: black; }

@media (max-width: 900px) {
  .contact { padding: 80px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============== FOOTER ============== */
.footer { padding: 100px 40px 0; background: var(--bg-soft); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer-top { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px; padding-bottom: 80px; }
.footer-brand img { width: 64px; margin-bottom: 24px; }
.footer-brand .footer-mark { display: none; }
.footer-brand p { font-size: 14px; color: var(--fg-mute); max-width: 360px; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.25em; color: var(--cyan); margin-bottom: 24px; }
.footer-col a { display: block; padding: 8px 0; font-size: 14px; color: var(--fg-mute); transition: color 0.3s var(--ease); position: relative; }
.footer-col a::before { content: '→'; opacity: 0; margin-right: 8px; transition: all 0.3s var(--ease); display: inline-block; transform: translateX(-8px); }
.footer-col a:hover { color: var(--fg); }
.footer-col a:hover::before { opacity: 1; transform: translateX(0); }

.footer-mega {
  position: relative; overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 18vw, 280px); font-weight: 700;
  text-align: center; line-height: 0.8; letter-spacing: -0.05em;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0;
  user-select: none;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 0; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--fg-dim); flex-wrap: wrap; gap: 16px;
  max-width: 1400px; margin: 0 auto;
}

@media (max-width: 900px) {
  .footer { padding: 60px 20px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============== TOAST ============== */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translate(-50%, 100px);
  padding: 16px 28px; background: var(--grad); color: white;
  border-radius: 100px; font-size: 14px; font-weight: 500;
  box-shadow: 0 20px 60px rgba(255,0,255,0.3);
  transition: transform 0.5s var(--ease); z-index: 200;
}
.toast.show { transform: translate(-50%, 0); }

/* ============== UTILITIES ============== */
.reveal-text { display: inline-block; overflow: hidden; }

/* ============================================================
   DOWNLOAD THE APP — section
   ============================================================ */
.download {
  position: relative;
  padding: 160px 40px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.download-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.9; pointer-events: none;
}
.download-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; text-align: center;
}
.download::before {           /* radial brand glow behind content */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(108,92,231,0.18), transparent 65%),
    radial-gradient(40% 40% at 80% 90%, rgba(0,255,255,0.10), transparent 60%),
    radial-gradient(40% 40% at 15% 80%, rgba(255,0,255,0.10), transparent 60%);
}
.download .section-tag { justify-content: center; }
.download-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.download-title em { font-style: italic; color: var(--fg-mute); }
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.download-lead {
  max-width: 680px; margin: 0 auto 56px;
  color: var(--fg-mute); font-size: clamp(15px, 2vw, 18px); line-height: 1.7;
}

.download-cards {
  display: grid; grid-template-columns: repeat(2, minmax(280px, 380px));
  gap: 28px; justify-content: center;
  perspective: 1200px;            /* enables child 3D tilt */
}
.dl-card {
  position: relative;
  padding: 44px 36px 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.2s var(--ease);
  will-change: transform;
}
.dl-card:hover { border-color: rgba(0,255,255,0.35); box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(108,92,231,0.18); }
/* animated holographic ring */
.dl-card-glow {
  position: absolute; inset: -1px; border-radius: 24px; z-index: -1;
  background: conic-gradient(from 0deg, var(--cyan), var(--indigo, #6c5ce7), var(--magenta, #ff00ff), #2218ff, var(--cyan));
  opacity: 0; filter: blur(10px); transition: opacity 0.4s var(--ease);
  animation: spin 8s linear infinite;
}
.dl-card:hover .dl-card-glow { opacity: 0.35; }
@keyframes spin { to { transform: rotate(360deg); } }

.dl-card > * { transform: translateZ(40px); }   /* lift content for depth */
.dl-os {
  width: 72px; height: 72px; margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 18px; transform: translateZ(60px);
  background: rgba(0,255,255,0.08); border: 1px solid rgba(0,255,255,0.2);
}
.dl-os svg { width: 36px; height: 36px; color: var(--fg); }
.dl-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.dl-meta { color: var(--fg-mute); font-size: 13px; margin-bottom: 26px; }
.dl-note { display: block; margin-top: 16px; font-size: 12px; color: var(--fg-dim); }
.dl-note a { color: var(--cyan); }
.dl-card .btn { margin-top: 4px; }
.dl-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.dl-card-soon .dl-os { background: rgba(255,0,255,0.07); border-color: rgba(255,0,255,0.22); }
.dl-badge {
  position: absolute; top: 18px; right: 18px; transform: translateZ(70px);
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--magenta, #ff00ff);
  padding: 5px 11px; border-radius: 100px;
  background: rgba(255,0,255,0.1); border: 1px solid rgba(255,0,255,0.3);
}
.dl-card .platform-ico { transition: transform 0.4s var(--ease); }
.download-more { margin-top: 50px; color: var(--fg-mute); font-size: 15px; }
.download-more a { color: var(--cyan); font-weight: 500; }

/* ---- access / passkey request form ---- */
.access-wrap { margin-top: 64px; display: flex; justify-content: center; }
.access-card {
  position: relative; width: 100%; max-width: 620px; text-align: left;
  padding: 48px 44px; border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.access-card::before {                /* animated gradient edge on hover */
  content: ''; position: absolute; inset: -1px; border-radius: 26px; z-index: -1;
  background: var(--grad); background-size: 200% 200%;
  opacity: 0; transition: opacity 0.5s var(--ease); animation: gradMove 6s infinite;
}
.access-card:hover::before { opacity: 0.5; }
.access-head { text-align: center; margin-bottom: 34px; }
.access-key {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px;
  border-radius: 16px; color: var(--cyan);
  background: rgba(0,255,255,0.08); border: 1px solid rgba(0,255,255,0.25);
}
.access-key svg { width: 30px; height: 30px; }
.access-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.access-head p { color: var(--fg-mute); font-size: 14.5px; line-height: 1.6; max-width: 460px; margin: 0 auto; }

.access-channel { margin: 6px 0 28px; }
.access-channel-label {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 12px;
}
.channel-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.channel-opt { position: relative; cursor: pointer; }
.channel-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.channel-chip {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px; border-radius: 14px; font-size: 14px; font-weight: 500;
  color: var(--fg-mute);
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  transition: all 0.3s var(--ease);
}
.channel-chip svg { width: 18px; height: 18px; }
.channel-opt:hover .channel-chip { border-color: rgba(255,255,255,0.25); color: var(--fg); }
.channel-opt input:checked + .channel-chip {
  color: var(--fg); border-color: transparent;
  background: linear-gradient(120deg, rgba(0,255,255,0.16), rgba(255,0,255,0.16));
  box-shadow: 0 0 0 1px rgba(0,255,255,0.4), 0 8px 24px rgba(108,92,231,0.18);
}
.channel-opt input:focus-visible + .channel-chip { outline: 2px solid var(--cyan); outline-offset: 2px; }

.access-or {
  display: flex; align-items: center; gap: 14px; margin: 22px 0 16px;
  color: var(--fg-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.access-or::before, .access-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.access-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px; border-radius: 14px; font-size: 14.5px; font-weight: 500;
  color: #25D366; border: 1px solid rgba(37,211,102,0.35); background: rgba(37,211,102,0.08);
  transition: all 0.3s var(--ease);
}
.access-wa svg { width: 19px; height: 19px; }
.access-wa:hover { background: rgba(37,211,102,0.16); border-color: rgba(37,211,102,0.6); color: #2ee676; }

.access-fine { margin-top: 16px; font-size: 11.5px; color: var(--fg-dim); text-align: center; line-height: 1.6; }

@media (max-width: 760px) {
  .access-card { padding: 34px 22px; }
  .channel-options { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .download { padding: 100px 20px; }
  .download-cards { grid-template-columns: 1fr; perspective: none; }
  .dl-card > *, .dl-os, .dl-badge { transform: none; }   /* no 3D lift on touch */
}

/* ============================================================
   SITE-WIDE 3D MODERNISATION
   ============================================================ */

/* 3D tilt for any card the JS targets (services, founders, vision, download) */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* depth lift + sheen on the main service / founder cards */
.service-card, .founder-card, .vision-card {
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card { position: relative; overflow: hidden; }
.service-card::after, .founder-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.10), transparent 60%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.service-card:hover::after, .founder-card:hover::after { opacity: 1; }

/* vision cards get an animated gradient border on hover */
.vision-card { position: relative; }
.vision-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from 0deg, rgba(0,255,255,0.6), rgba(255,0,255,0.6), rgba(34,24,255,0.6), rgba(0,255,255,0.6));
  opacity: 0; filter: blur(8px); transition: opacity 0.4s var(--ease); animation: spin 9s linear infinite;
}
.vision-card:hover::before { opacity: 0.4; }

/* cursor glow that follows the pointer (added by JS) */
.fx-cursor-glow {
  position: fixed; top: 0; left: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; pointer-events: none; z-index: 9998;
  background: radial-gradient(circle, rgba(0,255,255,0.5), rgba(108,92,231,0.16) 60%, transparent 70%);
  mix-blend-mode: screen; transition: width 0.25s, height 0.25s, margin 0.25s, opacity 0.3s;
}
.fx-cursor-glow.big { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
@media (hover: none) { .fx-cursor-glow { display: none; } }

/* subtle scanline veil for the high-tech feel */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay; opacity: 0.4;
}

/* section headings get a gradient underline accent */
.services-title, .founders-title, .download-title, .testimonials-title, .gallery-title { position: relative; }

@media (max-width: 760px) {
  body::after { display: none; }
  .service-card, .founder-card, .vision-card { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-card-glow, .vision-card::before, body::after, .fx-cursor-glow { animation: none !important; }
  [data-tilt], .service-card, .founder-card, .vision-card { transform: none !important; }
}
