/* ═══════════════════════════════════════════════════════════════════
   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%);
}

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

#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(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  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;
}

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

/* Mobile-only compact CTA in the header pill */
.header-mini-cta {
  display: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--grad-brand);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  margin-left: auto;
  margin-right: 8px;
  box-shadow: 0 6px 16px rgba(91, 43, 255, 0.35);
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.2s, box-shadow 0.2s;
}
.header-mini-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(91, 43, 255, 0.5);
}

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

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

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.lang-toggle:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }

.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: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.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[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 { max-width: 900px; position: relative; z-index: 2; }

.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;
  animation: logo-float 6s ease-in-out infinite;
}

.hero-logo img {
  height: 140px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 2px 1px rgba(255, 255, 255, 0.15))
    drop-shadow(0 6px 6px rgba(0, 0, 0, 0.4))
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5))
    drop-shadow(0 20px 40px rgba(91, 43, 255, 0.5))
    drop-shadow(0 0 60px rgba(34, 211, 238, 0.2))
    saturate(1.1)
    contrast(1.05);
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.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: block;
  margin-top: 0.1em;
  white-space: nowrap;
}
.rotator-line > span:first-child { display: inline; }

.word-rotator {
  position: relative;
  display: inline-block;
  min-width: 8ch;
  text-align: left;
  vertical-align: baseline;
}

.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 30px rgba(91, 43, 255, 0.35);
}
.button-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 20px 50px rgba(91, 43, 255, 0.5);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.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(10px);
  list-style: none;
  margin: 0 auto;
}

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

.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-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(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: 1000px;
  margin: 0 auto;
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(91, 43, 255, 0.1), rgba(91, 43, 255, 0.02));
  border: 1px solid rgba(91, 43, 255, 0.25);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 43, 255, 0.2), transparent 60%);
  pointer-events: none;
}

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

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

.contact-panel > div:first-child > p:last-child {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

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

.contact-actions .button { width: 100%; justify-content: center; }

/* ─── 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;
}
.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;
  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;
}

.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 {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 43, 255, 0.12) 0%, rgba(34, 211, 238, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear;
    will-change: transform;
    top: 0; left: 0;
  }
}

@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;
    justify-content: space-between;
    padding: 7px 8px 7px 14px;
    gap: 12px;
  }
  .menu-toggle { display: flex; }
  .header-mini-cta { display: inline-flex; align-items: center; }
  .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; }
  .site-header.is-menu-open .nav-panel { display: flex; }
  .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: 120px 20px 60px; min-height: auto; }
  .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-head { margin-bottom: 44px; }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .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) {
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .hero-metrics { width: 100%; gap: 12px; }
  .hero-metrics li { flex: 1 1 100px; }
  .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 18px;
    gap: 6px;
    word-break: break-all;
    text-align: left;
    justify-content: space-between;
  }

  /* Keep work cards visible on mobile, just shrink the browser mockup */
  .browser-window { display: flex; }
  .browser-shot::before { font-size: 10px; }
}

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

/* ─── 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>");
}
