/* ===== VellumCadence — Premium AI Style ===== */

:root {
  --bg: #08080f;
  --bg-subtle: #0c0c18;
  --bg-card: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-hover: rgba(255,255,255,0.25);
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.75);
  --text-mid: rgba(255,255,255,0.88);
  --accent: #8b5cf6;
  --accent2: #06b6d4;
  --accent3: #ec4899;
  --gradient: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --gradient-hot: linear-gradient(135deg, #8b5cf6, #ec4899, #06b6d4);
  --radius: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font); color: var(--text); line-height: 1.65; overflow-x: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(139,92,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6,182,212,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 45% at 40% 80%, rgba(236,72,153,0.07) 0%, transparent 60%);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.mono { font-family: var(--mono); }

/* ===== 4D BACKGROUND SYSTEM ===== */
.bg-system {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  min-height: 100vh; z-index: 0; pointer-events: none; overflow: hidden;
}

#bgCanvas {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
  pointer-events: none; z-index: 0;
}

/* Aurora beams */
.aurora {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; opacity: 0.8;
}
.aurora-beam {
  position: absolute; width: 200%; height: 60vh;
  filter: blur(100px);
  mix-blend-mode: screen;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.aurora-beam-1 {
  background: linear-gradient(90deg, transparent 0%, rgba(139,92,246,0.15) 20%, rgba(6,182,212,0.1) 50%, rgba(236,72,153,0.08) 80%, transparent 100%);
  top: 5%; left: -50%;
  animation: auroraMove1 18s infinite;
}
.aurora-beam-2 {
  background: linear-gradient(90deg, transparent 0%, rgba(6,182,212,0.12) 30%, rgba(139,92,246,0.1) 60%, transparent 100%);
  top: 35%; left: -30%;
  animation: auroraMove2 22s infinite;
}
.aurora-beam-3 {
  background: linear-gradient(90deg, transparent 0%, rgba(236,72,153,0.1) 25%, rgba(139,92,246,0.12) 55%, rgba(6,182,212,0.08) 85%, transparent 100%);
  top: 65%; left: -60%;
  animation: auroraMove3 26s infinite;
}

@keyframes auroraMove1 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(-3deg) scaleY(1); }
  25% { transform: translateX(15%) translateY(8vh) rotate(1deg) scaleY(1.2); }
  50% { transform: translateX(30%) translateY(-5vh) rotate(-2deg) scaleY(0.8); }
  75% { transform: translateX(10%) translateY(12vh) rotate(2deg) scaleY(1.1); }
}
@keyframes auroraMove2 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(2deg); }
  33% { transform: translateX(20%) translateY(-10vh) rotate(-3deg); }
  66% { transform: translateX(-10%) translateY(15vh) rotate(1deg); }
}
@keyframes auroraMove3 {
  0%, 100% { transform: translateX(0) rotate(-1deg) scaleY(1); }
  50% { transform: translateX(40%) rotate(3deg) scaleY(1.3); }
}

/* Morphing blobs */
.morph-blobs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.morph-blob {
  position: absolute; border-radius: 50%; opacity: 0.07;
  will-change: transform, border-radius;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  top: 2%; left: -5%;
  animation: morphBlob1 20s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle at 70% 40%, var(--accent2), transparent 70%);
  top: 25%; right: -8%;
  animation: morphBlob2 25s ease-in-out infinite;
}
.blob-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle at 50% 60%, var(--accent3), transparent 70%);
  top: 50%; left: 25%;
  animation: morphBlob3 22s ease-in-out infinite;
}
.blob-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle at 40% 50%, #818cf8, transparent 70%);
  top: 75%; left: 5%;
  animation: morphBlob4 28s ease-in-out infinite;
}

@keyframes morphBlob1 {
  0%, 100% { border-radius: 50%; transform: translate(0,0) scale(1) rotate(0deg); }
  25% { border-radius: 40% 60% 55% 45%; transform: translate(40px,-30px) scale(1.1) rotate(5deg); }
  50% { border-radius: 55% 45% 40% 60%; transform: translate(-20px,50px) scale(0.95) rotate(-3deg); }
  75% { border-radius: 45% 55% 60% 40%; transform: translate(30px,20px) scale(1.05) rotate(8deg); }
}
@keyframes morphBlob2 {
  0%, 100% { border-radius: 50%; transform: translate(0,0) scale(1) rotate(0deg); }
  33% { border-radius: 60% 40% 45% 55%; transform: translate(-50px,40px) scale(1.15) rotate(-6deg); }
  66% { border-radius: 45% 55% 60% 40%; transform: translate(30px,-40px) scale(0.9) rotate(4deg); }
}
@keyframes morphBlob3 {
  0%, 100% { border-radius: 50%; transform: scale(1) rotate(0deg); }
  50% { border-radius: 40% 60% 50% 50%; transform: scale(1.2) rotate(10deg); }
}
@keyframes morphBlob4 {
  0%, 100% { border-radius: 50%; transform: translate(0,0) scale(1); }
  25% { border-radius: 55% 45% 50% 50%; transform: translate(20px,-30px) scale(1.1); }
  50% { border-radius: 45% 55% 55% 45%; transform: translate(-15px,25px) scale(0.85); }
  75% { border-radius: 50% 50% 45% 55%; transform: translate(10px,10px) scale(1.15); }
}

/* Perspective depth grid */
.depth-grid {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, transparent 100%);
}

/* Noise */
.bg-system .noise-overlay {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed; width: 700px; height: 700px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, rgba(6,182,212,0.04) 40%, transparent 70%);
  transform: translate(-50%, -50%); opacity: 0;
  transition: opacity 0.5s;
}
.cursor-glow.active { opacity: 1; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== GLASS ===== */
.glass {
  background: rgba(12,12,28,0.75);
  backdrop-filter: blur(30px) saturate(1.3); -webkit-backdrop-filter: blur(30px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  transition: border-color .4s, box-shadow .4s, transform .4s;
}
.glass:hover {
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 4px 40px rgba(139,92,246,0.15), 0 0 80px rgba(139,92,246,0.06);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; border-radius: 60px; font-weight: 600; font-size: 0.95rem;
  letter-spacing: -0.01em; cursor: pointer; border: none;
  transition: all .35s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden;
}
.btn-glow {
  background: var(--gradient-hot); color: #fff;
  box-shadow: 0 0 40px rgba(139,92,246,0.4), 0 0 100px rgba(139,92,246,0.15), 0 0 10px rgba(236,72,153,0.3);
  font-size: 1.05rem; padding: 18px 48px;
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(139,92,246,0.6), 0 0 140px rgba(139,92,246,0.2), 0 0 20px rgba(236,72,153,0.4);
}
.btn-ghost {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  height: var(--nav-h);
  background: rgba(5,5,8,0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(5,5,8,0.9);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 100%; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-hot); font-size: 0.75rem; font-weight: 800; color: #fff;
}
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 0.9rem; color: var(--text-mid); transition: color .3s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--gradient-hot); color: #fff !important; padding: 8px 22px;
  border-radius: 40px; font-weight: 600; font-size: 0.85rem !important;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}
.nav-cta:hover { box-shadow: 0 0 30px rgba(139,92,246,0.5); }

/* Language Switcher */
.lang-switcher { position: relative; margin-left: 12px; }
.lang-current {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-mid); padding: 6px 14px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: all .3s;
}
.lang-current:hover { background: rgba(255,255,255,0.12); color: #fff; }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: rgba(15,15,20,0.95); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 6px; min-width: 70px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all .3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown button {
  display: block; width: 100%; padding: 7px 14px; background: none; border: none;
  color: var(--text-dim); font-size: 0.82rem; font-weight: 500; cursor: pointer;
  border-radius: 6px; text-align: left; transition: all .2s;
}
.lang-dropdown button:hover { background: rgba(139,92,246,0.15); color: #fff; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 101;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: all .3s; border-radius: 2px;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== SECTIONS ===== */
.section { position: relative; z-index: 2; padding: 120px 0; }
.section-alt { background: rgba(12,12,28,0.4); }
.section-header { text-align: center; margin-bottom: 64px; }
.tag {
  display: inline-block; padding: 6px 18px; border-radius: 40px; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(139,92,246,0.2); color: #a78bfa; margin-bottom: 20px;
  border: 1px solid rgba(139,92,246,0.35);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 16px; color: #fff;
}
.section-sub { font-size: 1.1rem; color: var(--text-dim); max-width: 600px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.hero-inner { max-width: 860px; }
.hero-tag {
  display: inline-block; padding: 6px 18px; border-radius: 40px; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(139,92,246,0.15); color: var(--accent); margin-bottom: 28px;
  border: 1px solid rgba(139,92,246,0.25);
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 24px; color: #fff;
}
.hero-highlight {
  background: var(--gradient-hot); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.15rem; color: var(--text-mid); max-width: 620px; margin: 0 auto 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-metrics {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 24px 40px; border-radius: var(--radius);
  background: rgba(12,12,28,0.7); border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.metric { text-align: center; }
.metric-val {
  display: block; font-size: 2rem; font-weight: 800; color: #fff;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label { font-size: 0.82rem; color: var(--text-dim); }
.metric-divider { width: 1px; background: rgba(255,255,255,0.12); align-self: stretch; }

/* Hero lines */
.hero-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.h-line {
  position: absolute; width: 1px; height: 200px; opacity: 0.15;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}
.h-line-1 { left: 15%; top: 10%; animation: lineFall 8s ease-in-out infinite; }
.h-line-2 { left: 75%; top: 20%; animation: lineFall 10s ease-in-out 2s infinite; }
.h-line-3 { left: 50%; top: 5%; animation: lineFall 12s ease-in-out 4s infinite; }
@keyframes lineFall {
  0%,100% { transform: translateY(-100px); opacity: 0; }
  30%,70% { opacity: 0.15; }
  50% { transform: translateY(60vh); opacity: 0.15; }
}

/* ===== PAIN ===== */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pain-card { padding: 36px 28px; position: relative; overflow: hidden; }
.pain-num {
  font-family: var(--mono); font-size: 4rem; font-weight: 800;
  position: absolute; top: -8px; right: 16px; opacity: 0.3;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.pain-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.pain-card p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.6; }

/* ===== SOLUTION ===== */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.sol-card { padding: 40px 32px; text-align: center; }
.sol-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.sol-shape {
  width: 100%; height: 100%; border-radius: 20px;
  animation: solSpin 12s linear infinite;
}
.shape-1 { background: var(--gradient); opacity: 0.25; }
.shape-2 { background: linear-gradient(135deg, var(--accent2), var(--accent3)); opacity: 0.25; border-radius: 50%; }
.shape-3 { background: linear-gradient(135deg, var(--accent3), var(--accent)); opacity: 0.25; border-radius: 30% 70% 70% 30%; }
@keyframes solSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.sol-label { font-size: 0.78rem; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.05em; }
.sol-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.sol-card p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.65; }

/* ===== WHO WE WORK WITH ===== */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.who-card {
  padding: 32px 20px; text-align: center; cursor: default;
}
.who-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.who-icon svg { width: 32px; height: 32px; stroke: var(--accent2); }
.who-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-mid); }
.who-card:hover h3 { color: #fff; }
.who-card:hover .who-icon svg { stroke: var(--accent); }

/* ===== HERO VIDEO ===== */
.hero-video-section {
  max-width: 820px; margin: 32px 0 8px; border-radius: 16px; overflow: hidden;
}
.hero-video { width: 100%; display: block; border-radius: 16px; }
.hero-video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.hero-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; }
.hero-video-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.1), rgba(236,72,153,0.08));
  border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border-radius: 16px; position: relative; overflow: hidden;
}
.vp-play-btn {
  width: 72px; height: 72px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; backdrop-filter: blur(8px); z-index: 1;
}
.vp-pulse-ring {
  position: absolute; width: 100px; height: 100px;
  border: 2px solid rgba(139,92,246,0.4); border-radius: 50%;
  animation: vpPulse 2s ease-out infinite;
}
@keyframes vpPulse { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.vp-label { color: var(--text-dim); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; z-index: 1; }

/* ===== PORTFOLIO ===== */
.portfolio-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 40px; border: 1px solid var(--glass-border);
  background: transparent; color: var(--text-dim); font-size: 0.85rem; font-weight: 500;
  font-family: var(--font); cursor: pointer; transition: all .3s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: rgba(139,92,246,0.15); border-color: var(--accent); color: #fff; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.portfolio-item {
  border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer;
}
.portfolio-placeholder {
  width: 100%; aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius);
}
.placeholder-icon { font-size: 2.2rem; color: rgba(255,255,255,0.5); }
.placeholder-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); font-weight: 500; }
.portfolio-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.port-grad-1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.port-grad-2 { background: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.port-grad-3 { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.port-grad-4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.port-grad-5 { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.port-grad-6 { background: linear-gradient(135deg, #6366f1, #06b6d4, #10b981); }

.portfolio-overlay {
  position: absolute; inset: 0; background: rgba(5,5,8,0.7); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity .3s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag {
  padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
  background: rgba(139,92,246,0.25); border: 1px solid rgba(139,92,246,0.4); color: #fff;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.portfolio-title { font-size: 0.9rem; font-weight: 600; color: #fff; }
.portfolio-open {
  padding: 8px 24px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 0.85rem; font-weight: 600;
  font-family: var(--font); cursor: pointer; transition: all .3s; margin-top: 4px;
}
.portfolio-open:hover { background: rgba(139,92,246,0.3); border-color: var(--accent); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 10000; display: none; }
.lightbox.open { display: flex; align-items: center; justify-content: center; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.lb-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lb-img { max-width: 100%; max-height: 85vh; border-radius: 12px; display: block; }
.lb-close {
  position: absolute; top: -16px; right: -16px; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(255,255,255,0.1); color: #fff;
  font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* Form field validation */
.field-error { border-color: #e74c3c !important; }
.field-ok { border-color: #27ae60 !important; }

/* ===== SOCIAL PROOF ===== */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 48px; }
.proof-card { padding: 36px 28px; position: relative; }
.proof-quote {
  font-size: 4rem; font-weight: 800; line-height: 1; color: var(--accent); opacity: 0.4;
  position: absolute; top: 16px; left: 24px;
}
.proof-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; margin-top: 24px; }
.proof-author { display: flex; align-items: center; gap: 14px; }
.proof-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
}
.proof-av-1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.proof-av-2 { background: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.proof-av-3 { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.proof-author strong { display: block; font-size: 0.9rem; color: #fff; }
.proof-author span { font-size: 0.82rem; color: var(--text-dim); }

/* ===== EARLY ACCESS ===== */
.early-access-box { padding: 60px 48px; text-align: center; position: relative; overflow: hidden; }
.early-access-box::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139,92,246,0.06), rgba(6,182,212,0.04), rgba(236,72,153,0.04));
}
.early-access-box .section-title { margin-bottom: 12px; }
.early-access-box .section-sub { max-width: 600px; margin: 0 auto 40px; }
.early-access-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; text-align: left; }
.ea-perk { padding: 28px 24px; position: relative; }
.ea-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.ea-perk h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.ea-perk p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 768px) {
  .early-access-box { padding: 40px 20px; }
}

/* ===== PACKAGES ===== */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.pkg-card { padding: 40px 32px; text-align: center; position: relative; }
.pkg-popular {
  border-color: rgba(139,92,246,0.3) !important;
  box-shadow: 0 0 60px rgba(139,92,246,0.12), 0 0 120px rgba(139,92,246,0.05);
}
.pkg-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-hot); color: #fff; padding: 6px 24px; border-radius: 40px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap;
}
.pkg-tier { font-size: 0.85rem; color: var(--accent2); margin-bottom: 8px; letter-spacing: 0.08em; }
.pkg-price { margin-bottom: 28px; }
.pkg-amount { font-size: 3rem; font-weight: 800; color: #fff; }
.pkg-currency { font-size: 1rem; color: var(--text-dim); margin-left: 4px; }
.pkg-list { text-align: left; margin-bottom: 32px; }
.pkg-list li {
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.92rem; color: var(--text-mid);
}
.pkg-list li:last-child { border-bottom: none; }
.pkg-val { font-weight: 700; color: #fff; font-family: var(--mono); }
.pkg-btn { width: 100%; }

/* ===== PROCESS ===== */
.proc-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.proc-line {
  position: absolute; top: 0; bottom: 0; left: 24px; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), var(--accent3));
  opacity: 0.2;
}
.proc-step { display: flex; gap: 28px; margin-bottom: 32px; position: relative; align-items: flex-start; }
.proc-dot {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gradient); z-index: 1;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}
.proc-dot span { font-weight: 800; color: #fff; font-size: 1rem; }
.proc-card { padding: 24px 28px; flex: 1; }
.proc-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.proc-card p { font-size: 0.92rem; color: var(--text-dim); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; color: #fff; font-size: 1.05rem; font-weight: 600;
  padding: 20px 24px; cursor: pointer; text-align: left; font-family: var(--font);
  transition: color .3s;
}
.faq-q::after {
  content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform .3s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-q::after { content: '-'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.7; }

/* ===== CTA + FORM ===== */
.cta-section { padding-bottom: 80px; }
.cta-box { padding: 60px 48px; text-align: center; max-width: 800px; margin: 0 auto; }
.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px;
  color: #fff; letter-spacing: -0.02em;
}
.cta-sub { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 40px; }

/* Form */
.cta-form { text-align: left; margin-bottom: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group-full { margin-bottom: 24px; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(12,12,28,0.8); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px; padding: 14px 16px; color: #fff; font-size: 0.95rem;
  font-family: var(--font); outline: none; transition: border-color .3s, box-shadow .3s;
  width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
}
.form-group select option { background: #0a0a10; color: #fff; }
.form-submit { margin: 0 auto; display: flex; }

/* Form success */
.form-success { text-align: center; padding: 40px 20px; }
.form-success-icon { margin-bottom: 16px; }
.form-success-icon svg { width: 56px; height: 56px; color: #10b981; }
.form-success h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.form-success p { color: var(--text-dim); }

.cta-contacts { display: flex; justify-content: center; gap: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.cta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--text-mid); transition: color .3s;
}
.cta-item:hover { color: #fff; }
.cta-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.cta-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim); transition: all .3s;
}
.cta-socials a:hover {
  background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.3); color: #fff;
}
.cta-socials svg { width: 20px; height: 20px; }
.cta-location { font-size: 0.85rem; color: var(--text-dim); }

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 2; padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 8px; color: var(--text-mid); }
.footer-copy { font-size: 0.82rem; color: var(--text-dim); }

/* ===== ANIMATIONS ===== */
/* Animations — visible by default, JS adds .js-ready to body to enable entrance animations */
.anim { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
body.js-ready .anim { opacity: 0; transform: translateY(30px); }
body.js-ready .anim.visible { opacity: 1; transform: translateY(0); }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ===== TILT CARDS ===== */
.tilt-card { transition: transform .5s ease, border-color .4s, box-shadow .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column; position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh; background: rgba(5,5,8,0.97);
    justify-content: center; align-items: center; gap: 24px; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero-metrics { flex-direction: column; gap: 20px; padding: 20px; }
  .metric-divider { width: 60px; height: 1px; }
  .sol-grid, .pain-grid, .proof-grid, .pkg-grid, .port-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .cta-contacts { flex-direction: column; align-items: center; gap: 16px; }
}

@media (max-width: 480px) {
  .section { padding: 80px 0; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-glow { font-size: 0.95rem; padding: 16px 36px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .who-card { padding: 20px 12px; }
  .port-visual { height: 180px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .footer-inner { flex-direction: column; text-align: center; }
}
