/* =========================================================
   VORSoftware CO — Futuristic Portfolio Theme
   ========================================================= */

:root {
  --bg: #04050a;
  --bg-soft: #080a14;
  --bg-card: rgba(14, 16, 28, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #edeffc;
  --text-dim: #9aa0b4;
  --text-muted: #6b7089;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #ff4ecb;
  --lime: #30d774;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(255, 78, 203, 0.18), transparent 55%);
  z-index: -3;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: -2;
  pointer-events: none;
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  to { background-position: 56px 56px, 56px 56px; }
}

/* Noise grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: overlay;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Particle canvas */
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }

.container-wide {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.gradient-text {
  background: linear-gradient(110deg, #c4b5fd 0%, #7c5cff 30%, #22d3ee 60%, #ff4ecb 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientSlide 6s linear infinite;
}

@keyframes gradientSlide {
  to { background-position: 220% center; }
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ------------- PRELOADER (fast V→R) ------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #04050a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease) 0.1s, visibility 0.5s step-end 0.6s;
}

.preloader::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 60%);
  filter: blur(40px);
  animation: preloadGlow 1.4s ease-out forwards;
}

@keyframes preloadGlow {
  0% { transform: scale(0.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.vor-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.vor-logo .v, .vor-logo .r {
  display: inline-block;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: letterIn 0.55s var(--ease-soft) forwards;
  text-shadow: 0 0 40px rgba(124, 92, 255, 0.6);
}

.vor-logo .v { animation-delay: 0.05s; }
.vor-logo .r { animation-delay: 0.7s; }

.vor-logo .o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 80px;
  margin: 0 2px;
}

.vor-logo .chev {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 62px;
  opacity: 0;
  filter: drop-shadow(0 0 10px currentColor);
}

.vor-logo .chev-left {
  left: 0;
  color: #22d3ee;
  animation: chevLeftIn 0.55s var(--ease-soft) 0.25s forwards;
}

.vor-logo .chev-right {
  right: 0;
  color: #7c5cff;
  animation: chevRightIn 0.55s var(--ease-soft) 0.25s forwards;
}

@keyframes chevLeftIn {
  0% { opacity: 0; transform: translate(-70px, -50%) scale(0.5) rotate(-35deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate(0, -50%) scale(1) rotate(0); }
}

@keyframes chevRightIn {
  0% { opacity: 0; transform: translate(70px, -50%) scale(0.5) rotate(35deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate(0, -50%) scale(1) rotate(0); }
}

.vor-logo .o-spark {
  position: absolute;
  top: 50%; left: 50%;
  width: 100px; height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.7), rgba(124, 92, 255, 0.35), transparent 72%);
  opacity: 0;
  animation: oSpark 0.55s ease-out 0.7s forwards;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes oSpark {
  0% { opacity: 0; transform: scale(0.3); }
  45% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2); }
}

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

.preloader-bar {
  position: absolute;
  bottom: 80px;
  width: 180px; height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.preloader-bar::before {
  content: "";
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #7c5cff, #22d3ee);
  animation: loadBar 1.3s var(--ease-soft) forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

/* ------------- Custom cursor ------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 400;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(124, 92, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 399;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover { transform: translate(-50%, -50%) scale(0.5); }
.cursor-ring.hover {
  width: 64px; height: 64px;
  border-color: rgba(34, 211, 238, 0.8);
  background: rgba(124, 92, 255, 0.08);
}

@media (hover: none), (pointer: coarse) {
  html, body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ------------- Navbar ------------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 1160px;
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 10, 20, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  z-index: 100;
  opacity: 0;
  animation: navDrop 0.7s var(--ease-soft) 1s forwards;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@keyframes navDrop {
  from { opacity: 0; transform: translateX(-50%) translateY(-14px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav.scrolled {
  background: rgba(4, 5, 10, 0.88);
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav-brand img { height: 26px; }

.nav-brand .brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-dim);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #22d3ee, #ff4ecb);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.nav-cta > * { position: relative; z-index: 1; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(34, 211, 238, 0.75); }
.nav-cta:hover::before { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: none;
  align-items: center;
  justify-content: center;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-opt {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: none;
  transition: all 0.25s var(--ease);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang-opt:hover { color: var(--text); }

.lang-opt.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.32), rgba(34, 211, 238, 0.22));
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(124, 92, 255, 0.45);
}

@media (max-width: 620px) {
  .lang-opt { padding: 5px 8px; font-size: 10px; }
}

/* ------------- Hero ------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.hero-orb.one {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 70%);
  top: -80px; left: -120px;
  animation: float 14s ease-in-out infinite;
}
.hero-orb.two {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: float 18s ease-in-out infinite reverse;
}
.hero-orb.three {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #ff4ecb 0%, transparent 70%);
  top: 30%; left: 40%;
  animation: float 22s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Three.js icon galaxy (behind hero content) */
.icon-galaxy {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  mix-blend-mode: normal;
}

/* Animated rings behind hero */
.hero-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px; height: 1200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.hero-rings svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-rings circle {
  fill: none;
  stroke: rgba(124, 92, 255, 0.25);
  stroke-width: 1;
  transform-origin: center;
  animation: ringSpin 30s linear infinite;
}
.hero-rings circle:nth-child(2) { stroke: rgba(34, 211, 238, 0.2); animation-duration: 45s; animation-direction: reverse; }
.hero-rings circle:nth-child(3) { stroke: rgba(255, 78, 203, 0.18); animation-duration: 60s; }

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 26px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 26px;
  font-weight: 600;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordIn 0.9s var(--ease-soft) forwards;
}

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

.hero-sub {
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 38px;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #fff;
  box-shadow: 0 14px 40px -12px rgba(124, 92, 255, 0.55);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff4ecb, #22d3ee, #7c5cff);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -14px rgba(34, 211, 238, 0.75); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero visual — 3D phone stack with real icons */
.hero-visual {
  position: relative;
  height: 580px;
  perspective: 1400px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.7s forwards;
}

.phone {
  position: absolute;
  width: 260px;
  height: 520px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a1d2e 0%, #0a0c16 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform-style: preserve-3d;
}

.phone .screen {
  position: absolute;
  inset: 10px;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}

.phone .screen::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone .screen-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 50px 22px 30px;
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.35), rgba(34, 211, 238, 0.2), #000 80%);
}

.phone .screen-inner .icon-img {
  width: 96px; height: 96px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  box-shadow: 0 18px 50px -8px rgba(0, 0, 0, 0.8);
  animation: iconBob 3s ease-in-out infinite;
  background: rgba(0, 0, 0, 0.4);
}

@keyframes iconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.phone .screen-inner h4 {
  font-size: 18px;
  margin: 0;
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.phone .screen-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin: 0;
  font-family: var(--font-mono);
}

.phone .screen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  animation: shine 4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.screen-ss {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  background: #000;
}

/* Featured phone: show full screenshot with bezel-style padding */
.featured-phone .screen-ss {
  object-fit: contain;
  padding: 12px 10px;
  background: #05070f;
  border-radius: 28px;
}

.screen-inner.hidden { display: none; }

@keyframes shine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.phone.p1 {
  top: 10px; left: 4%;
  transform: rotate(-9deg);
  animation: phoneFloat1 8s ease-in-out infinite;
}
.phone.p2 {
  top: 0; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  animation: phoneFloat2 9s ease-in-out infinite;
  z-index: 2;
}
.phone.p3 {
  top: 10px; right: 4%;
  transform: rotate(9deg);
  animation: phoneFloat3 10s ease-in-out infinite;
}

@keyframes phoneFloat1 {
  0%, 100% { transform: rotate(-9deg) translate(0, 0); }
  50% { transform: rotate(-7deg) translate(-4px, -14px); }
}
@keyframes phoneFloat2 {
  0%, 100% { transform: translateX(-50%) rotate(2deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(3deg) translateY(-20px); }
}
@keyframes phoneFloat3 {
  0%, 100% { transform: rotate(9deg) translate(0, 0); }
  50% { transform: rotate(7deg) translate(4px, -14px); }
}

/* ------------- Marquee ------------- */
.marquee {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 10, 20, 0.35);
}

.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: 28px;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.marquee-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.marquee-item .m-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: #0a0c16;
}

.marquee-item .m-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  color: var(--text);
}

.marquee-item .m-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ------------- Stats strip ------------- */
.stats {
  padding: 80px 0;
  background: rgba(8, 10, 20, 0.3);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #8a90a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ------------- Section basics ------------- */
section { position: relative; }

.section-pad { padding: 130px 0; }

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124, 92, 255, 0.1);
  color: #c4b5fd;
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.section-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--text-dim);
}

/* ------------- Portfolio ------------- */
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 13px;
  cursor: none;
  transition: all 0.25s var(--ease);
  font-family: inherit;
}

.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }

.filter-btn.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(34, 211, 238, 0.22));
  border-color: rgba(124, 92, 255, 0.55);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.4);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.app-card {
  --tint: var(--card-accent, #7c5cff);
  position: relative;
  padding: 26px 24px 24px;
  background:
    radial-gradient(260px circle at 100% 0%, color-mix(in srgb, var(--tint) 18%, transparent), transparent 55%),
    radial-gradient(200px circle at 0% 100%, color-mix(in srgb, var(--tint) 10%, transparent), transparent 60%),
    var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--tint) 18%, var(--border));
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s var(--ease), box-shadow 0.45s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  transform: translateY(40px);
}

.app-card.in {
  opacity: 1;
  transform: translateY(0);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin, 0deg) at 50% 50%, transparent, var(--card-accent, #7c5cff), transparent 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.app-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--glow, rgba(124, 92, 255, 0.18)), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tint) 45%, var(--border-strong));
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    0 0 60px -20px color-mix(in srgb, var(--tint) 80%, transparent);
}

.app-card:hover::before { opacity: 1; animation: spin 3s linear infinite; }
.app-card:hover::after { opacity: 1; }

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

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

.app-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.app-icon {
  width: 66px; height: 66px;
  border-radius: 16px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  box-shadow:
    0 14px 32px -10px color-mix(in srgb, var(--tint) 70%, #000),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: color-mix(in srgb, var(--tint) 30%, #0a0c16);
}

.app-card:hover .app-icon { transform: scale(1.06) rotate(-2deg); }

.app-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 4px;
}

.app-card-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 18px;
  min-height: 44px;
  position: relative;
  z-index: 1;
}

.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.app-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.app-rating svg { width: 14px; height: 14px; fill: #fbbf24; }

.app-platforms {
  display: flex;
  gap: 6px;
}

.app-platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.25s var(--ease);
}

.app-platform-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.app-platform-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ------------- Manifesto ------------- */
.manifesto {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.manifesto-wrap {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.manifesto h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 0;
  font-weight: 600;
}

.manifesto h2 .line {
  display: block;
  overflow: hidden;
}

.manifesto h2 .line span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-soft);
}

.manifesto.in h2 .line:nth-child(1) span { transition-delay: 0.05s; transform: translateY(0); }
.manifesto.in h2 .line:nth-child(2) span { transition-delay: 0.2s; transform: translateY(0); }
.manifesto.in h2 .line:nth-child(3) span { transition-delay: 0.35s; transform: translateY(0); }
.manifesto.in h2 .line:nth-child(4) span { transition-delay: 0.5s; transform: translateY(0); }

.manifesto-sub {
  margin-top: 40px;
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------- Featured carousel ------------- */
.featured {
  padding: 120px 0;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at 80% 70%, rgba(34, 211, 238, 0.15), transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-phone {
  width: 280px;
  height: 560px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1a1d2e 0%, #0a0c16 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 60px 100px -30px rgba(0, 0, 0, 0.9),
    0 0 80px -10px var(--featured-glow, rgba(124, 92, 255, 0.5));
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.6s var(--ease);
}

.featured-phone .screen {
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.featured-phone .screen::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.featured-phone .screen-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 60px 24px 40px;
  background: var(--featured-bg, linear-gradient(160deg, #1a0b2e, #7c5cff));
  transition: background 0.6s var(--ease);
}

.featured-phone .screen-inner .icon-img {
  width: 110px; height: 110px;
  border-radius: 26px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
}

.featured-phone .screen-inner h4 {
  color: #fff;
  font-size: 22px;
  margin: 0;
  text-align: center;
}

.featured-phone .screen-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.featured-info h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 14px;
  line-height: 1.1;
}

.featured-info .featured-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  display: inline-block;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.featured-info-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 14px 32px -8px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.featured-info p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.featured-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.featured-nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.25s var(--ease);
}
.featured-nav-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-strong); }
.featured-nav-btn svg { width: 18px; height: 18px; }

.featured-progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.featured-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: width 0.2s linear;
}

.featured-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ------------- Download / CTA ------------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-wrap {
  position: relative;
  padding: 70px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(34, 211, 238, 0.3), transparent 60%),
    linear-gradient(135deg, #0f1121 0%, #161a30 100%);
  border: 1px solid var(--border-strong);
  text-align: center;
  overflow: hidden;
}

.cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.cta-wrap h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
  position: relative;
}

.cta-wrap p {
  max-width: 580px;
  margin: 0 auto 34px;
  position: relative;
}

.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: #fff;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.store-badge:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.78);
  border-color: rgba(124, 92, 255, 0.5);
}

.store-badge svg { width: 28px; height: 28px; }

.store-badge .store-meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .store-meta small { font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.14em; }
.store-badge .store-meta strong { font-size: 16px; font-weight: 600; font-family: var(--font-display); }

/* ------------- Contact ------------- */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

.contact-card h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 10px;
}

.contact-card p { margin-bottom: 28px; }

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
  background: rgba(255, 255, 255, 0.02);
}

.social-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.social-chip svg { width: 16px; height: 16px; }

/* ------------- Footer ------------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(4, 5, 10, 0.6);
  position: relative;
  overflow: hidden;
}

.footer-mega {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.22) 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 50px;
  user-select: none;
  pointer-events: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner p { margin: 0; font-size: 14px; color: var(--text-muted); font-family: var(--font-mono); }

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
}

.footer-links a:hover { color: var(--text); }

/* ------------- Reveal on scroll ------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ------------- Scroll indicator ------------- */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
  z-index: 3;
}

.scroll-hint .line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scrollLine 2.5s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0.2); opacity: 0.2; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.2); opacity: 0.2; }
}

/* ------------- Progress bar ------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c5cff, #22d3ee, #ff4ecb);
  width: 0;
  z-index: 110;
  transition: width 0.1s linear;
}

/* ------------- Reviews ------------- */
.reviews {
  padding: 110px 0 120px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 10, 20, 0.35);
  position: relative;
  overflow: hidden;
}

.reviews-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.reviews-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: reviewsScroll 80s linear infinite;
}

.reviews-track:has(.review-card:hover) { animation-play-state: paused; }

@keyframes reviewsScroll {
  to { transform: translateX(-50%); }
}

.review-card {
  width: 340px;
  flex-shrink: 0;
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: #fbbf24;
}
.review-stars svg { width: 14px; height: 14px; fill: currentColor; }

.review-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  font-style: italic;
  quotes: "\201C""\201D";
}
.review-text::before { content: open-quote; color: var(--violet); margin-right: 2px; }
.review-text::after { content: close-quote; color: var(--violet); margin-left: 2px; }

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.review-user {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.review-app {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 2px;
}

/* ------------- Timeline / Journey ------------- */
.timeline-section {
  padding: 120px 0;
  position: relative;
}

.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding: 40px 0 0;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
}

.timeline-step {
  position: relative;
  padding-top: 40px;
  text-align: center;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.15), 0 0 14px rgba(124, 92, 255, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.timeline-step:hover::before {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.18), 0 0 22px rgba(34, 211, 238, 0.7);
  background: var(--cyan);
  border-color: var(--cyan);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  font-weight: 500;
}

.timeline-event {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 200px;
  margin: 0 auto;
}

/* ------------- Founder ------------- */
.founder {
  padding: 40px 0 120px;
  position: relative;
}

.founder-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.founder-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cff, #22d3ee, #ff4ecb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow:
    0 20px 50px -12px rgba(124, 92, 255, 0.55),
    inset 0 0 0 3px rgba(255, 255, 255, 0.12);
  position: relative;
}

.founder-avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

.founder-info h3 {
  font-size: 1.8rem;
  margin: 0 0 4px;
  color: var(--text);
}

.founder-info .founder-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 16px;
}

.founder-info p.founder-bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ------------- Theme & sound toggles ------------- */
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.25s var(--ease);
  padding: 0;
  font-family: inherit;
}

.icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.icon-btn svg { width: 16px; height: 16px; }

.icon-btn .ico-on, .icon-btn .ico-off { display: none; }
.icon-btn[data-state="on"] .ico-on { display: block; }
.icon-btn[data-state="off"] .ico-off { display: block; }

/* ------------- Light theme ------------- */
[data-theme="light"] {
  --bg: #f4f5fa;
  --bg-soft: #eaecf2;
  --bg-card: rgba(255, 255, 255, 0.75);
  --border: rgba(15, 20, 40, 0.09);
  --border-strong: rgba(15, 20, 40, 0.18);
  --text: #0f1428;
  --text-dim: #515569;
  --text-muted: #8288a0;
  color-scheme: light;
}

[data-theme="light"] body::before {
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(255, 78, 203, 0.14), transparent 55%);
}

[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(15, 20, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 20, 40, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .grain { opacity: 0.18; mix-blend-mode: multiply; }

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px -20px rgba(15, 20, 40, 0.18);
}

[data-theme="light"] .stat-value {
  background: linear-gradient(180deg, #0f1428 0%, #515569 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .preloader { background: #f4f5fa; }
[data-theme="light"] .vor-logo { color: #0f1428; }
[data-theme="light"] .vor-logo .v, [data-theme="light"] .vor-logo .r {
  text-shadow: 0 0 40px rgba(124, 92, 255, 0.35);
}

[data-theme="light"] .cursor { background: #0f1428; }
[data-theme="light"] .cursor-ring { border-color: rgba(124, 92, 255, 0.55); }

[data-theme="light"] .phone {
  background: linear-gradient(160deg, #e6e8f0 0%, #c9cddc 100%);
}
[data-theme="light"] .phone .screen, [data-theme="light"] .featured-phone .screen { background: #0c0e1a; }

[data-theme="light"] #particles { opacity: 0.5; }

[data-theme="light"] .marquee, [data-theme="light"] .stats, [data-theme="light"] .reviews {
  background: rgba(255, 255, 255, 0.45);
}
[data-theme="light"] .marquee::before, [data-theme="light"] .marquee::after {
  background: linear-gradient(90deg, var(--bg), transparent);
}
[data-theme="light"] .marquee::after { background: linear-gradient(270deg, var(--bg), transparent); }

[data-theme="light"] .featured {
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(700px 400px at 80% 70%, rgba(34, 211, 238, 0.1), transparent 60%);
}

[data-theme="light"] .cta-wrap {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(34, 211, 238, 0.2), transparent 60%),
    linear-gradient(135deg, #0f1428 0%, #1a1f3a 100%);
  color: #fff;
}
[data-theme="light"] .cta-wrap h2, [data-theme="light"] .cta-wrap p { color: #fff; }
[data-theme="light"] .cta-wrap p { color: rgba(255, 255, 255, 0.75); }
[data-theme="light"] .cta-wrap .section-eyebrow { background: rgba(124, 92, 255, 0.25); color: #e0d8ff; }

[data-theme="light"] .footer {
  background: rgba(255, 255, 255, 0.65);
}
[data-theme="light"] .footer-mega {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.35) 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .app-icon {
  box-shadow:
    0 14px 32px -10px color-mix(in srgb, var(--tint) 55%, #0f1428),
    0 0 0 1px rgba(15, 20, 40, 0.08) inset;
}

[data-theme="light"] .form-field input,
[data-theme="light"] .form-field textarea {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .preloader-bar { background: rgba(15, 20, 40, 0.08); }
[data-theme="light"] .back-to-top { background: rgba(255, 255, 255, 0.85); }

[data-theme="light"] .timeline-step::before { background: var(--bg); }

[data-theme="light"] .review-text { color: var(--text); }
[data-theme="light"] .review-card { background: rgba(255, 255, 255, 0.7); }

@media (max-width: 720px) {
  .founder-card { grid-template-columns: 1fr; padding: 32px 26px; text-align: center; }
  .founder-avatar { margin: 0 auto; }
  .founder-info .founder-role { display: block; }
  .timeline-rail { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }
  .timeline-rail::before {
    top: 0; bottom: 0; left: 20px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
  }
  .timeline-step { padding: 8px 0 8px 44px; text-align: left; }
  .timeline-step::before { top: 14px; left: 14px; transform: none; }
  .timeline-step:hover::before { transform: scale(1.3); }
  .timeline-event { max-width: none; margin: 0; }
  .review-card { width: 280px; }
}

/* ------------- Legal pages (privacy / terms) ------------- */
.legal-hero {
  position: relative;
  padding: 180px 0 70px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.legal-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-breadcrumb a { color: var(--text-dim); transition: color 0.25s var(--ease); }
.legal-breadcrumb a:hover { color: var(--text); }
.legal-breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }

.legal-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 14px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

.legal-body { padding: 70px 0 120px; }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 110px;
  border-left: 1px solid var(--border);
  padding: 4px 0 4px 22px;
}

.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 70vh;
  overflow-y: auto;
}
.legal-toc ul::-webkit-scrollbar { width: 4px; }
.legal-toc ul::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease), padding 0.25s var(--ease);
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -12px;
}

.legal-toc a:hover { color: var(--text); }

.legal-toc a.active {
  color: var(--text);
  border-left-color: var(--violet);
}

.legal-content {
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.legal-content > p:first-child { font-size: 17px; color: var(--text); margin-bottom: 1.5em; }
.legal-content p { margin: 0 0 1.2em; color: var(--text-dim); }

.legal-content h2 {
  font-size: 1.45rem;
  margin: 2.6em 0 0.9em;
  color: var(--text);
  font-weight: 600;
  scroll-margin-top: 110px;
  letter-spacing: -0.01em;
}
.legal-content h2:first-of-type { margin-top: 0.5em; }

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.8em 0 0.7em;
  color: var(--text);
  font-weight: 500;
}

.legal-content ul {
  margin: 1em 0 1.6em;
  padding-left: 20px;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  margin-bottom: 0.8em;
  color: var(--text-dim);
  padding-left: 4px;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--violet);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(124, 92, 255, 0.6);
}

.legal-content strong { color: var(--text); font-weight: 500; }

.legal-content a {
  color: #c4b5fd;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.3);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.legal-content a:hover { color: #e0d8ff; border-bottom-color: #e0d8ff; }

/* Back to top floating button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(14, 16, 28, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s var(--ease);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: rgba(124, 92, 255, 0.22); border-color: rgba(124, 92, 255, 0.55); }
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { display: none; }
  .legal-hero { padding: 140px 0 50px; }
  .legal-body { padding: 50px 0 90px; }
  .back-to-top { bottom: 20px; right: 20px; }
}

/* ------------- Responsive ------------- */
@media (max-width: 960px) {
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 500px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .featured-stage { grid-template-columns: 1fr; gap: 40px; }
  .featured-visual { height: 460px; }
  .featured-phone { width: 240px; height: 480px; }
  .cta-wrap { padding: 48px 28px; }
  .section-pad { padding: 90px 0; }
  .manifesto { padding: 90px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(8, 10, 20, 0.96);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 22px;
    backdrop-filter: blur(18px);
  }
  .nav.mobile-open .nav-links a { padding: 14px; border-radius: 12px; }
}

@media (max-width: 620px) {
  .container-wide { padding: 0 18px; }
  .nav { width: calc(100% - 20px); padding: 8px 10px 8px 14px; }
  .footer-inner { justify-content: center; text-align: center; }
  .phone { width: 200px; height: 400px; border-radius: 32px; }
  .phone .screen { inset: 8px; border-radius: 26px; }
  .phone .screen-inner .icon-img { width: 76px; height: 76px; border-radius: 18px; }
  .hero-visual { height: 440px; }
  .featured-phone { width: 200px; height: 400px; border-radius: 32px; }
  .featured-phone .screen { inset: 8px; border-radius: 26px; }
  .featured-phone .screen-inner .icon-img { width: 86px; height: 86px; border-radius: 20px; }
  .contact-card { padding: 28px 22px; }
  .cta-wrap { padding: 42px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html, body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}
