/* ═══════════════════════════════════════════════════════════════════
   AyveX Development — Redesign v3
   Ryne-level polish, performant, dark/violet theme
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #050308;
  --bg-2: #0a0613;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.52);
  --text-faint: rgba(255, 255, 255, 0.38);

  /* Brand palette — derived from logo gradient (violet → blue → cyan) */
  --violet-50:  #ede9ff;
  --violet-200: #b5c8ff;
  --violet-300: #8aa8ff;
  --violet-400: #5c8bff;
  --violet-500: #3c6aff;
  --violet-600: #2040e0;

  --brand-violet: #5b2bff;
  --brand-blue:   #2d7bff;
  --brand-cyan:   #22d3ee;

  --grad-text:  linear-gradient(135deg, #a88aff 0%, #3c6aff 45%, #22d3ee 100%);
  --grad-brand: linear-gradient(135deg, #5b2bff 0%, #2d7bff 55%, #22d3ee 100%);
  --grad-btn:   linear-gradient(180deg, #ffffff 0%, #e8e6f0 100%);
  --grad-card:  linear-gradient(180deg, rgba(91, 43, 255, 0.09) 0%, rgba(34, 211, 238, 0) 60%);
  --grad-glow:  radial-gradient(ellipse at bottom, rgba(91, 43, 255, 0.4), rgba(34, 211, 238, 0.1) 50%, transparent 70%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --max: 1200px;
  --max-wide: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image:
    radial-gradient(ellipse 80% 50% at 30% -10%, rgba(91, 43, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(34, 211, 238, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(45, 123, 255, 0.15), transparent 70%);
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(150, 180, 255, 0.8), transparent 50%),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.5), transparent 50%),
    radial-gradient(1px 1px at 45% 12%, rgba(130, 200, 255, 0.6), transparent 50%),
    radial-gradient(1.5px 1.5px at 68% 48%, rgba(255, 255, 255, 0.7), transparent 50%),
    radial-gradient(1px 1px at 82% 28%, rgba(180, 150, 255, 0.5), transparent 50%),
    radial-gradient(1px 1px at 92% 78%, rgba(255, 255, 255, 0.6), transparent 50%),
    radial-gradient(1px 1px at 15% 88%, rgba(120, 210, 255, 0.7), transparent 50%),
    radial-gradient(1.2px 1.2px at 55% 92%, rgba(255, 255, 255, 0.5), transparent 50%),
    radial-gradient(1px 1px at 38% 38%, rgba(160, 180, 255, 0.4), transparent 50%),
    radial-gradient(1px 1px at 72% 68%, rgba(255, 255, 255, 0.4), transparent 50%);
  background-size: 1200px 900px;
  opacity: 0.9;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--violet-500);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.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;
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-400), var(--violet-200));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 100;
  will-change: transform;
  pointer-events: none;
}

#aurora-canvas { display: none !important; }

/* ─── HEADER — floating pill nav ─── */

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 6px 5px 14px;
  background: rgba(10, 8, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(91, 43, 255, 0.05) inset;
  transition: top 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  top: 10px;
  background: rgba(6, 4, 14, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
}

.brand-standalone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding-right: 4px;
  flex-shrink: 0;
}

.brand-mark-header {
  height: 26px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(91, 43, 255, 0.34));
}

.header-center {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: calc(100% - 120px);
  z-index: 1;
}

.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(34px, 1fr));
  align-items: center;
  gap: 0;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  overflow: hidden;
  isolation: isolate;
}

.lang-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(91, 43, 255, 0.9), rgba(45, 123, 255, 0.8));
  box-shadow:
    0 8px 22px rgba(91, 43, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateX(0);
  transition: transform 0.34s var(--ease), box-shadow 0.34s ease, filter 0.34s ease;
  z-index: 0;
}

.lang-switch[data-active-lang="en"]::before {
  transform: translateX(100%);
}

.lang-switch::after {
  content: "|";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.lang-switch-button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.24s ease, transform 0.24s ease, text-shadow 0.24s ease;
}

.lang-switch-button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch-button:focus-visible {
  outline: none;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(91, 43, 255, 0.42);
}

.lang-switch-button.is-active {
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav a.is-active {
  color: var(--text);
  background: rgba(91, 43, 255, 0.15);
}

.nav a:hover { color: var(--text); background: var(--surface-2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.header-actions .lang-switch {
  flex-shrink: 0;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 6px 20px rgba(91, 43, 255, 0.35);
}
.button-ghost::after { content: "→"; font-weight: 500; }
.button-ghost:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(91, 43, 255, 0.5);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 14px;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(91, 43, 255, 0.35);
  transform: translateY(-1px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */

main { position: relative; z-index: 1; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.hero-copy {
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(91, 43, 255, 0.12);
  border: 1px solid rgba(91, 43, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: #b5c8ff;
  margin-bottom: 36px;
  letter-spacing: 0.2px;
}

.eyebrow::before {
  content: "✦";
  color: var(--brand-cyan);
  font-size: 11px;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--brand-cyan);
  opacity: 0.4;
  animation: dot-pulse 2s ease-out infinite;
}

@keyframes dot-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-logo {
  display: block;
  width: fit-content;
  margin: 0 auto 44px;
  line-height: 0;
}

.hero-logo img {
  height: 140px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.38))
    drop-shadow(0 12px 32px rgba(91, 43, 255, 0.26))
    drop-shadow(0 0 34px rgba(34, 211, 238, 0.12))
    saturate(1.1)
    contrast(1.05);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text);
}

.hero h1 > span { display: block; white-space: nowrap; }

.gradient-word,
.gradient-heading {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.rotator-line {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: baseline;
  justify-content: center;
  gap: 0.16em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.1em;
  white-space: nowrap;
}
.rotator-line > span:first-child {
  display: inline;
  flex: 0 0 auto;
}

.word-rotator {
  position: relative;
  display: inline-block;
  width: max(8ch, var(--rotator-width, 0px));
  max-width: 100%;
  text-align: left;
  vertical-align: baseline;
  flex: 0 0 auto;
}

.word-rotator .word {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  display: inline;
}

.word-rotator .word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0a0613;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  cursor: pointer;
}
.button::after { content: "→"; font-weight: 500; transition: transform 0.25s var(--ease); }
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.25);
}
.button:hover::after { transform: translateX(3px); }

.button-primary {
  background: var(--grad-brand);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(91, 43, 255, 0.28);
}
.button-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 16px 34px rgba(91, 43, 255, 0.32);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}
.button-secondary::after { content: ""; }
.button-secondary:hover {
  background: var(--surface-2);
  border-color: rgba(91, 43, 255, 0.4);
  box-shadow: 0 20px 50px rgba(91, 43, 255, 0.2);
}

.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 20px 40px;
  background: rgba(15, 10, 26, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  list-style: none;
  margin: 0 auto;
}

.hero-metrics li {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hero-metrics strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.hero-metrics span {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.hero-visual { display: none; }

/* ─── SECTIONS ─── */

.section {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
}

section[id] {
  scroll-margin-top: 118px;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.section-head .eyebrow { margin-bottom: 20px; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-head p {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
}

/* ─── TRUST / STACK MARQUEE ─── */

.trust {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 40px 24px 60px;
  text-align: center;
}

.trust-head { margin-bottom: 32px; }

.trust-head p {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.trust-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--violet-200);
  font-weight: 500;
}

.trust-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--violet-300);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--violet-400);
}
.trust-live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--violet-300);
  opacity: 0.4;
  animation: dot-pulse 2s ease-out infinite;
}

.stack-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  padding: 12px 0;
}

.stack-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  gap: 48px;
  padding-right: 48px;
}

.stack-marquee-alt .stack-track { animation-direction: reverse; animation-duration: 50s; }

.stack-group { display: flex; gap: 48px; }

.stack-group span {
  color: var(--text-dim);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: var(--font-display);
  transition: color 0.3s;
}
.stack-group span:hover { color: var(--violet-200); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── WORK GRID ─── */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.work-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: inherit;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 43, 255, 0.4);
  background: rgba(91, 43, 255, 0.04);
}
.work-card:hover::before { opacity: 1; }

.work-art {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
}

.gradient-a { background: linear-gradient(135deg, #5b2bff 0%, #2d7bff 55%, #22d3ee 100%); }
.gradient-b { background: linear-gradient(135deg, #2d7bff 0%, #22d3ee 100%); }
.gradient-c { background: linear-gradient(135deg, #5b2bff 0%, #22d3ee 100%); }

.work-art::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.work-art-label {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.art-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.work-copy {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.work-type {
  color: var(--violet-200);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.work-copy h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.work-copy p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.work-links { display: flex; flex-wrap: wrap; gap: 10px; }

.work-link {
  color: var(--violet-200);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(91, 43, 255, 0.1);
  border: 1px solid rgba(91, 43, 255, 0.25);
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}
.work-link:hover {
  background: rgba(91, 43, 255, 0.2);
  color: var(--text);
  transform: translateY(-1px);
}

/* ─── SERVICES GRID ─── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 100%, rgba(91, 43, 255, 0.18), transparent 40%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 43, 255, 0.35);
  background: rgba(91, 43, 255, 0.04);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--violet-300);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  display: block;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 43, 255, 0.15), rgba(91, 43, 255, 0.04));
  border: 1px solid rgba(91, 43, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--violet-200);
  position: relative;
  z-index: 1;
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.service-arrow {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--text-faint);
  font-size: 16px;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.service-card:hover .service-arrow {
  color: var(--violet-200);
  transform: translate(3px, -3px);
}

/* ─── WHY / TRUST CARDS ─── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.why-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: var(--grad-glow);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 43, 255, 0.35);
}
.why-card:hover::before { opacity: 1; }

.why-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(91, 43, 255, 0.4);
  position: relative;
  z-index: 1;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.why-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ─── PROCESS / TIMELINE ─── */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  position: relative;
}

.timeline-item {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 43, 255, 0.35);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.step-icon {
  width: 32px;
  height: 32px;
  color: var(--violet-200);
  padding: 6px;
  background: rgba(91, 43, 255, 0.1);
  border-radius: 10px;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ─── FAQ ─── */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item[open] {
  border-color: rgba(91, 43, 255, 0.3);
  background: rgba(91, 43, 255, 0.04);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
  padding-right: 56px;
  font-size: 15px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--violet-200);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: "−"; }

.faq-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--violet-300);
  background: rgba(91, 43, 255, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.faq-question { color: var(--text); flex: 1; }

.faq-item p {
  padding: 0 24px 22px 70px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ─── STATS ─── */

.stats-section { padding: 60px 24px; }

.stats-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(91, 43, 255, 0.08), rgba(91, 43, 255, 0.02));
  border: 1px solid rgba(91, 43, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.stats-panel::before {
  content: "";
  position: absolute;
  inset: auto 0 -50% 0;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(91, 43, 255, 0.3), transparent 60%);
  pointer-events: none;
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-item span {
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: 0.4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── CONTACT ─── */

.contact-section { padding: 80px 24px 120px; }

.contact-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px;
  background: linear-gradient(180deg, rgba(16, 13, 31, 0.96), rgba(10, 8, 20, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 46px;
  align-items: start;
  position: relative;
  overflow: visible;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.contact-panel::before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(91, 43, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.contact-panel > div { position: relative; z-index: 1; }

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 6px;
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-copy-text {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
}

.contact-summary {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.contact-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-summary-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-summary-label {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-summary-item strong,
.contact-summary-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.contact-summary-link {
  transition: color 0.2s ease;
}

.contact-summary-link:hover {
  color: var(--violet-100);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.contact-actions .button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.contact-form-shell {
  width: 100%;
  padding: 30px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025)),
    rgba(9, 7, 18, 0.92);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-form-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-form-kicker {
  color: var(--violet-200);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form-helper {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 132px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: var(--violet-200);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-field select {
  appearance: none;
  cursor: pointer;
}

.contact-field.has-custom-select {
  position: relative;
  z-index: 6;
}

.contact-field.has-custom-select:focus-within,
.contact-field.has-custom-select.is-open {
  z-index: 16;
}

.contact-native-select {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-select {
  position: relative;
}

.contact-select-trigger {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-select-trigger:hover {
  border-color: rgba(91, 43, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.contact-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(91, 43, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(91, 43, 255, 0.16);
}

.contact-select-trigger::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform 0.2s ease;
  opacity: 0.78;
}

.contact-select.is-open .contact-select-trigger::after {
  transform: rotate(-135deg) translate(2px, -2px);
}

.contact-select-value {
  min-width: 0;
  flex: 1;
  line-height: 1.45;
}

.contact-select-trigger.is-placeholder .contact-select-value {
  color: var(--text-faint);
}

.contact-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 10, 24, 0.98);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
  max-height: 320px;
  overflow-y: auto;
}

.contact-select.is-open .contact-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-select-option {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  padding: 12px 14px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-select-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.contact-select-option.is-selected {
  background: rgba(91, 43, 255, 0.16);
  border-color: rgba(91, 43, 255, 0.34);
  color: #fff;
}

.contact-select-option.is-placeholder {
  color: var(--text-dim);
}

.contact-field.is-invalid .contact-select-trigger {
  border-color: rgba(255, 118, 147, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 118, 147, 0.12);
}

.contact-field textarea {
  min-height: 152px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-faint);
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: rgba(91, 43, 255, 0.28);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(91, 43, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(91, 43, 255, 0.16);
}

.contact-form-note {
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.65;
}

.contact-primary-action {
  margin-top: 2px;
}

.contact-primary-action .button {
  width: 100%;
}

.contact-direct-line {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.65;
}

.contact-direct-line a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-direct-line a:hover {
  color: var(--violet-100);
  border-color: rgba(91, 43, 255, 0.5);
}

.contact-status {
  min-height: 1.4em;
  color: var(--violet-200);
  font-size: 13px;
  line-height: 1.5;
}

.contact-status.is-error {
  color: #ffb6cc;
}

body.has-select-open .cookie-banner {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* ─── FOOTER ─── */

.footer {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-wordmark {
  height: 28px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 24px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--violet-200);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--violet-200); }

.footer-loc { color: var(--text-dim) !important; font-size: 13px !important; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand { color: var(--text-dim); font-size: 13px; }
.footer-note { color: var(--text-faint); font-size: 12px; }

/* ─── BACK TO TOP + COOKIE ─── */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(15, 10, 26, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s;
  backdrop-filter: blur(10px);
  z-index: 40;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--violet-500); border-color: var(--violet-400); }

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 22px;
  background: rgba(15, 10, 26, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  z-index: 80;
  backdrop-filter: blur(16px);
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.cookie-banner[hidden] { display: none; }

.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.button-pill {
  background: #fff;
  color: #0a0613;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.cookie-link { color: var(--violet-200); font-size: 13px; text-decoration: none; }
.cookie-link:hover { text-decoration: underline; }

/* ─── REVEAL ANIMATION ─── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BENTO GRID ─── */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(91, 43, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 43, 255, 0.35);
  background: rgba(91, 43, 255, 0.04);
}
.bento-card:hover::before { opacity: 1; }

.bento-large {
  grid-column: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-card .service-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--violet-300);
  letter-spacing: 2px;
  margin-bottom: 18px;
  display: block;
  position: relative;
  z-index: 1;
}

.bento-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 43, 255, 0.18), rgba(91, 43, 255, 0.05));
  border: 1px solid rgba(91, 43, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--violet-200);
  position: relative;
  z-index: 1;
}
.bento-card .service-icon svg { width: 24px; height: 24px; }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.bento-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  position: relative;
  z-index: 1;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.bento-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(91, 43, 255, 0.1);
  border: 1px solid rgba(91, 43, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--violet-200);
  letter-spacing: 0.3px;
}

.bento-card .service-arrow {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--text-faint);
  font-size: 16px;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.bento-card:hover .service-arrow {
  color: var(--violet-200);
  transform: translate(3px, -3px);
}

/* ─── BROWSER WINDOW MOCKUP ─── */

.browser-window {
  position: absolute;
  inset: 20px 20px 0;
  background: rgba(8, 6, 18, 0.85);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.chrome-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.chrome-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #febc2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }

.chrome-url {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chrome-body {
  flex: 1;
  padding: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Browser Shot (user screenshot inside chrome) ── */
.browser-shot {
  flex: 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(91,43,255,0.08), rgba(34,211,238,0.05)),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0 8px,
      transparent 8px 16px
    );
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.browser-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.browser-shot img.shot-missing {
  visibility: hidden;
}
.browser-shot::before {
  content: "Ekran görüntüsü yakında";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 0;
}
.browser-shot img:not(.shot-missing) ~ *,
.browser-shot:has(img:not(.shot-missing))::before {
  display: none;
}

.mock-nav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.mock-logo-pill {
  width: 28px; height: 10px;
  background: rgba(91,43,255,0.4);
  border-radius: 4px;
}
.mock-nav-links {
  display: flex;
  gap: 8px;
}
.mock-nav-links span {
  width: 24px; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.mock-hero-area {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 0;
}

.mock-line {
  height: 7px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}
.mock-line.mw-80 { width: 80%; }
.mock-line.mw-70 { width: 70%; }
.mock-line.mw-60 { width: 60%; }
.mock-line.mw-55 { width: 55%; }
.mock-line.mw-50 { width: 50%; }
.mock-line.mw-40 { width: 40%; }

.mock-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.mock-btn {
  width: 64px; height: 18px;
  background: linear-gradient(135deg, #5b2bff, #22d3ee);
  border-radius: 5px;
  opacity: 0.8;
}
.mock-btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
}

.mock-cards-row {
  display: flex;
  gap: 8px;
}
.mock-stat-card {
  flex: 1;
  background: rgba(91,43,255,0.08);
  border: 1px solid rgba(91,43,255,0.15);
  border-radius: 7px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock-num {
  height: 12px;
  width: 50%;
  background: linear-gradient(135deg, rgba(91,43,255,0.5), rgba(34,211,238,0.4));
  border-radius: 3px;
}
.mock-label {
  height: 5px;
  width: 70%;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.mock-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.mock-tool-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.mock-tool-icon {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, rgba(45,123,255,0.4), rgba(34,211,238,0.3));
  border-radius: 5px;
}
.mock-tool-card .mock-line {
  width: 100%;
}

/* ─── REALISTIC PRODUCT MOCKUPS ─── */

/* ---- Loguna (Education) ---- */
.mock-loguna .chrome-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(99,102,241,0.06), rgba(10,14,22,0.9));
}
.loguna-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.loguna-brand { display: flex; align-items: center; gap: 8px; }
.loguna-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}
.loguna-greet { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.loguna-greet strong { font-size: 10px; color: #e7ecff; font-weight: 600; }
.loguna-greet span { font-size: 8px; color: rgba(255,255,255,0.5); }
.loguna-streak {
  font-size: 9px; font-weight: 600;
  background: rgba(251,146,60,0.15);
  color: #fb923c;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(251,146,60,0.3);
}
.loguna-subjects { display: flex; flex-direction: column; gap: 6px; }
.subject-card {
  background: linear-gradient(135deg, rgba(var(--_r,0,0,0),0) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 7px 9px;
  position: relative;
  overflow: hidden;
}
.subject-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c1), var(--c2));
}
.subject-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px;
}
.subject-name { font-size: 10px; color: #e7ecff; font-weight: 500; }
.subject-net { font-size: 9px; color: rgba(255,255,255,0.5); font-weight: 600; }
.subject-bar {
  height: 4px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.subject-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  border-radius: 3px;
}
.loguna-plan {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}
.plan-item { display: flex; align-items: center; gap: 8px; }
.plan-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.plan-dot.done {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
}
.plan-dot.active {
  background: transparent;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
}
.plan-txt { font-size: 9px; color: rgba(255,255,255,0.65); }
.plan-item:has(.plan-dot.done) .plan-txt {
  text-decoration: line-through;
  color: rgba(255,255,255,0.35);
}

/* ---- ZapFile (File tools) ---- */
.mock-zapfile .chrome-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(180deg, rgba(34,211,238,0.05), rgba(10,14,22,0.9));
}
.zap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zap-brand {
  font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, #facc15, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.zap-badge {
  font-size: 8px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(34,211,238,0.12);
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,0.25);
  font-weight: 600;
}
.zap-search {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}
.zap-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.zap-tool {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 7px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.25s;
}
.zap-tool-ic {
  width: 22px; height: 22px;
  background: color-mix(in srgb, var(--tc) 20%, transparent);
  color: var(--tc);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
}
.zap-tool span {
  font-size: 8px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-align: center;
  line-height: 1.1;
}

/* ---- AyveX (Portfolio self-preview) ---- */
.mock-ayvex .chrome-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: radial-gradient(circle at 50% 0%, rgba(91,43,255,0.12) 0%, rgba(10,14,22,0.95) 60%);
}
.ayvex-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,14,22,0.6);
  backdrop-filter: blur(6px);
}
.ayvex-logo {
  width: 18px; height: 18px;
  background: linear-gradient(135deg, #5b2bff, #22d3ee);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff;
}
.ayvex-links { display: flex; gap: 10px; }
.ayvex-links span {
  font-size: 8px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.ayvex-cta {
  font-size: 8px;
  padding: 4px 9px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5b2bff, #2d7bff);
  color: #fff;
  font-weight: 600;
}
.ayvex-hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  padding: 4px 0;
}
.ayvex-eyebrow {
  font-size: 7px;
  color: #22d3ee;
  padding: 3px 8px;
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 20px;
  background: rgba(34,211,238,0.08);
  margin-bottom: 3px;
  font-weight: 600;
}
.ayvex-title {
  font-size: 13px;
  font-weight: 700;
  color: #e7ecff;
  line-height: 1.15;
}
.ayvex-title.grad {
  background: linear-gradient(135deg, #a88aff 0%, #3c6aff 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ayvex-stats {
  display: flex;
  justify-content: space-around;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
.ayvex-stat { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.ayvex-stat strong {
  font-size: 13px;
  background: linear-gradient(135deg, #a88aff, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.ayvex-stat span {
  font-size: 7px;
  color: rgba(255,255,255,0.5);
}

/* ─── ANIMATED GRADIENT BORDER CTA ─── */

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin { to { --border-angle: 360deg; } }

.button-primary {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(91, 43, 255, 0.4);
}
.button-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle), #5b2bff, #2d7bff, #22d3ee, #5b2bff);
  animation: border-spin 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.button-primary:hover::before { opacity: 1; }
.button-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 20px 50px rgba(91, 43, 255, 0.55);
}
.button-primary::after { content: "→"; font-weight: 500; transition: transform 0.25s var(--ease); }
.button-primary:hover::after { transform: translateX(3px); }

/* ─── CURSOR GLOW ─── */

@media (pointer: fine) {
  .cursor-glow { display: none; }
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ─── TESTIMONIALS ─── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(91,43,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,43,255,0.3);
}
.testimonial-card:hover::before { opacity: 1; }

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-meta span {
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    max-width: 680px;
    padding: 7px 8px 7px 14px;
    gap: 12px;
  }
  .header-center {
    display: flex;
  }
  .header-actions .lang-switch {
    display: none;
  }
  .menu-toggle { display: flex; }
  .nav-panel {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    background: rgba(10, 6, 19, 0.98);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: none !important;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }
  .site-header.is-menu-open .nav-panel { display: flex !important; }
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav a {
    padding: 12px 14px;
    font-size: 15px;
  }
  .header-actions {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
    border-left: none;
  }
  .header-actions .button-ghost { flex: 1; justify-content: center; }

  .hero { padding: 116px 20px 64px; min-height: auto; }
  .hero-copy { max-width: 100%; }
  .hero-orb { width: 120px; height: 120px; margin-bottom: 32px; }
  .hero-metrics {
    gap: 20px;
    padding: 18px 22px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .section { padding: 70px 20px; }
  section[id] { scroll-margin-top: 100px; }
  .section-head { margin-bottom: 44px; }
  .work-grid { grid-template-columns: 1fr; }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 24px;
    overflow: hidden;
  }

  .contact-panel::before {
    right: -90px;
    bottom: -140px;
    width: 300px;
    height: 300px;
  }

  .contact-form-shell {
    padding: 24px;
  }

  .contact-summary-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-full {
    grid-column: auto;
  }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-panel { padding: 32px 24px; gap: 18px; }
  .stat-divider { display: none; }

  .stack-group span { font-size: 16px; }
  .legal-card { padding: 28px; }

  /* Bento grid → single column on tablet */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large,
  .bento-wide  { grid-column: span 1; }

  /* Testimonials → single column on tablet */
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header {
    left: 10px;
    right: 10px;
    transform: none;
    width: auto;
    max-width: none;
    padding: 7px 8px 7px 10px;
    gap: 8px;
  }
  .brand-mark-header { height: 23px; }
  .header-center {
    max-width: calc(100% - 92px);
  }
  .lang-switch {
    padding: 4px;
  }
  .lang-switch-button {
    min-width: 30px;
    padding: 4px 6px;
    font-size: 11px;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  .menu-toggle span {
    width: 18px;
    margin: 0 auto;
  }
  .nav-panel {
    top: 66px;
    left: 10px;
    right: 10px;
    padding: 18px 16px;
    border-radius: 22px;
  }
  .hero {
    padding: 108px 16px 54px;
  }
  .eyebrow {
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.4;
  }
  .hero-logo { margin-bottom: 30px; }
  .hero-logo img { height: clamp(92px, 26vw, 118px); }
  .hero h1 {
    font-size: clamp(1.56rem, 7.9vw, 2.22rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }
  .hero h1 > span {
    white-space: normal;
  }
  .rotator-line {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    gap: 0.08em;
    font-size: 0.86em;
    row-gap: 0.08em;
  }
  .rotator-line > span:first-child {
    flex: 0 1 auto;
  }
  .word-rotator {
    min-width: 0;
    max-width: 100%;
  }
  .word-rotator .word {
    max-width: 100%;
  }
  .hero-text {
    max-width: 31ch;
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 30px;
  }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    padding: 16px 16px;
    border-radius: 22px;
  }
  .hero-metrics li {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
  .hero-metrics strong { font-size: 1.35rem; }
  .hero-metrics li:last-child {
    grid-column: 1 / -1;
  }
  .live-status {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    padding: 10px 14px !important;
    margin-top: 24px !important;
    text-align: center;
  }
  .section-head h2 { font-size: clamp(1.75rem, 9vw, 2.35rem); }
  .section-head p { font-size: 0.98rem; }
  .work-art {
    height: 184px;
    padding: 18px;
  }
  .browser-window { inset: 16px 16px 0; }
  .browser-chrome { padding: 9px 10px; gap: 8px; }
  .chrome-url {
    font-size: 9px;
    padding: 3px 8px;
  }
  .work-copy { padding: 22px 18px 20px; }
  .contact-panel {
    gap: 24px;
    padding: 28px 18px;
  }
  .contact-form-shell {
    padding: 18px;
    border-radius: 22px;
  }
  .contact-summary-label {
    letter-spacing: 0.12em;
  }
  .contact-summary-item strong,
  .contact-summary-link,
  .footer-note,
  .footer-loc {
    overflow-wrap: anywhere;
  }
  .contact-field input,
  .contact-field textarea {
    padding: 13px 14px;
  }
  .contact-select-menu {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    bottom: auto;
    position: absolute;
    border-radius: 18px;
    padding: 8px;
    max-height: 240px;
    z-index: 40;
  }
  .contact-select-option {
    padding: 13px 13px;
    border-radius: 14px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .legal-page-shell { padding: 118px 20px 64px; }
  .legal-card { padding: 24px; }

  /* Testimonial avatar smaller */
  .testimonial-avatar { width: 36px; height: 36px; font-size: 14px; }

  /* Contact button — prevent long email from wrapping ugly */
  .contact-actions .button {
    font-size: 13px;
    padding: 12px 16px;
    gap: 6px;
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: center;
    justify-content: center;
    min-width: 0;
  }

  /* Keep work cards visible on mobile, just shrink the browser mockup */
  .browser-window { display: flex; }
  .browser-shot::before { font-size: 10px; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: 380px;
    padding: 12px 14px;
    gap: 10px;
    border-radius: 20px;
    font-size: 12px;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .cookie-banner p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    max-width: 30ch;
  }
  .cookie-actions {
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .button-pill {
    min-height: 38px;
    padding: 8px 15px;
  }
}

@media (max-width: 390px) {
  .site-header {
    top: 10px;
    left: 8px;
    right: 8px;
    width: auto;
    padding: 6px 8px 6px 10px;
  }
  .lang-switch {
    padding: 4px;
  }
  .lang-switch-button {
    min-width: 28px;
    padding: 4px 5px;
    font-size: 10.5px;
  }
  .hero { padding-inline: 12px; }
  .eyebrow {
    padding: 7px 12px;
    font-size: 12px;
    margin-bottom: 28px;
  }
  .hero h1 { font-size: clamp(1.4rem, 7.4vw, 1.9rem); }
  .rotator-line {
    gap: 0.06em;
    font-size: 0.82em;
  }
  .hero-text { font-size: 0.94rem; }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-metrics li:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-orb { animation: none; }
  .stack-track { animation: none; }
}

/* ─── LIVE STATUS WIDGET (Hero) ──────────────────────────── */
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 9px 16px 9px 14px;
  margin-top: 28px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 13px;
  color: rgba(231, 236, 255, 0.9);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.live-status::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.08), transparent);
  transform: translateX(-100%);
  animation: live-shimmer 3.5s linear infinite;
}
@keyframes live-shimmer {
  to { transform: translateX(100%); }
}
.live-pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}
.live-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.5;
  animation: live-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes live-ping {
  0%   { transform: scale(0.6); opacity: 0.5; }
  80%, 100% { transform: scale(2); opacity: 0; }
}
.live-text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* ─── HERO EYEBROW PULSE ─────────────────────────────────── */
.hero .eyebrow {
  position: relative;
  overflow: hidden;
}
.hero .eyebrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(91,43,255,0.6), rgba(34,211,238,0.6)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  animation: eyebrow-pulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.95; }
}

/* ─── FOOTER SOCIAL ICONS + MAIL COPY ────────────────────── */
.footer-contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(231, 236, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, color 0.25s;
}

.footer-email-link:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 43, 255, 0.35);
  background: rgba(91, 43, 255, 0.1);
  color: #fff;
}

.footer-mail-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(231, 236, 255, 0.78);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.footer-mail-copy svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-mail-copy:hover {
  background: rgba(91, 43, 255, 0.15);
  border-color: rgba(91, 43, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.footer-mail-copy-label {
  white-space: nowrap;
}
.copy-feedback {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #10b981;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.copy-feedback::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 6px; height: 6px;
  background: inherit;
}
.footer-mail-copy.is-copied .copy-feedback {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.legal-page-shell {
  max-width: 940px;
  margin: 0 auto;
  padding: 132px 24px 80px;
  position: relative;
  z-index: 1;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--violet-200);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.legal-back:hover { color: #fff; }

.legal-header {
  margin-bottom: 30px;
}

.legal-header .eyebrow {
  margin-bottom: 18px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal-meta,
.legal-summary {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.legal-summary {
  max-width: 760px;
}

.legal-card {
  background: rgba(15, 10, 26, 0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-section p,
.legal-section li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.legal-section ul {
  margin: 12px 0 0 18px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.legal-footer-links a {
  color: var(--violet-200);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.legal-footer-links a:hover { color: #fff; }

/* ─── PROCESS TIMELINE — EXPANDABLE ──────────────────────── */
.timeline-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: block;
}
.timeline-toggle h3 { margin: 0 0 6px 0; }
.timeline-toggle p  { margin: 0; }
.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.step-chevron {
  width: 18px; height: 18px;
  color: rgba(231, 236, 255, 0.4);
  margin-left: auto;
  transition: transform 0.35s var(--ease), color 0.25s;
}
.timeline-item.is-expanded .step-chevron {
  transform: rotate(180deg);
  color: #22d3ee;
}
.timeline-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease), margin-top 0.4s var(--ease);
  margin-top: 0;
}
.timeline-detail > ul {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-item.is-expanded .timeline-detail {
  grid-template-rows: 1fr;
  margin-top: 14px;
}
.timeline-detail li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: rgba(231, 236, 255, 0.65);
  border-top: 1px dashed rgba(255,255,255,0.06);
}
.timeline-detail li:first-child { border-top: none; }
.timeline-detail li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b2bff, #22d3ee);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.timeline-toggle:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.5);
  outline-offset: 6px;
  border-radius: 8px;
}

/* ─── NOISE TEXTURE OVERLAY ──────────────────────────────── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
