/* ============================================================
   Bi · Premium — Estudio de Desarrollo de Software
   ============================================================ */

:root {
  --bg: #050a14;
  --bg-2: #070e1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef3fb;
  --muted: #93a4bd;
  --brand: #4aa3ff;
  --brand-2: #7cc7ff;
  --brand-3: #a06bff;
  --gold: #e7c67c;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(74, 163, 255, 0.16), transparent 60%),
    radial-gradient(50rem 40rem at 8% 10%, rgba(160, 107, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #050a14, #060c18 45%, #050a14);
}
/* subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
img { max-width: 100%; display: block; }

.shell { width: min(var(--shell), 92vw); margin-inline: auto; }

/* ---------- ICONS (inline mask) ---------- */
.ic { width: 1em; height: 1em; display: inline-block; background: currentColor;
  -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.ic-check { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ic-bolt { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E"); }
.ic-clock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-plus { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.ic-cube { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E"); }
.ic-web { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 3 2.5 15 0 18M12 3c-2.5 3-2.5 15 0 18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 3 2.5 15 0 18M12 3c-2.5 3-2.5 15 0 18'/%3E%3C/svg%3E"); }
.ic-bot { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='11' rx='3'/%3E%3Cpath d='M12 4v4M9 13h.01M15 13h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='4' y='8' width='16' height='11' rx='3'/%3E%3Cpath d='M12 4v4M9 13h.01M15 13h.01'/%3E%3C/svg%3E"); }
.ic-chart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.ic-arrow { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ic-wa { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15l-1.3 4.7 4.8-1.3A10 10 0 1 0 12 2zm0 2a8 8 0 0 1 5.7 13.6A8 8 0 0 1 7 18.9l-.4-.2-2.4.6.6-2.3-.2-.4A8 8 0 0 1 12 4zm4.3 10.6c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.5.1s-.6.8-.7.9-.3.2-.5.1a6.5 6.5 0 0 1-1.9-1.2 7.2 7.2 0 0 1-1.3-1.7c-.1-.2 0-.4.1-.5l.4-.4.2-.4v-.4l-.7-1.7c-.2-.4-.4-.4-.5-.4h-.5a1 1 0 0 0-.7.3A2.9 2.9 0 0 0 6.5 11a5 5 0 0 0 1 2.6 11.4 11.4 0 0 0 4.4 3.9c.6.3 1.1.4 1.5.5a3.6 3.6 0 0 0 1.6.1c.5-.1 1.4-.6 1.6-1.1a2 2 0 0 0 .1-1.1c0-.1-.2-.2-.4-.3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15l-1.3 4.7 4.8-1.3A10 10 0 1 0 12 2z'/%3E%3C/svg%3E"); }

/* ---------- BUTTONS ---------- */
.btn {
  --pad: 0.7rem 1.15rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn-lg { --pad: 0.95rem 1.6rem; font-size: 1rem; }
.w-full { width: 100%; }

.btn-primary {
  position: relative;
  color: #04101f;
  background: linear-gradient(135deg, var(--brand-2), #dff0ff);
  box-shadow: 0 14px 34px rgba(74, 163, 255, 0.32);
  overflow: hidden;
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #9ad7ff, #ffffff);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(74, 163, 255, 0.45); }
.btn-primary:hover::before { opacity: 1; }

.btn-line { color: var(--text); border-color: var(--line-2); background: var(--surface); }
.btn-line:hover { border-color: var(--brand-2); transform: translateY(-2px); background: var(--surface-2); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: #fff; }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { display: grid; justify-items: center; gap: 1.1rem; }
.preloader-mark img { height: 46px; animation: pulse 1.4s ease-in-out infinite; }
.preloader-bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; position: relative; }
.preloader-bar::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); animation: load 1.1s var(--ease) infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(320%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---------- CURSOR GLOW ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; z-index: 1; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(74,163,255,0.10), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, var(--brand-3), var(--brand), var(--brand-2));
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  padding: 0.55rem 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 12, 22, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: 0.4rem; margin-inline: auto; }
.nav-links a {
  position: relative; color: var(--muted); font-weight: 500; font-size: 0.94rem;
  padding: 0.5rem 0.8rem; border-radius: 10px; transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.35rem; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.55rem; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-burger span { display: block; width: 22px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 8.5rem 0 4rem; overflow: hidden; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center;
  min-height: 74vh;
}
.hero-aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: 0; filter: blur(60px); }
.blob { position: absolute; border-radius: 50%; opacity: 0.5; will-change: transform; }
.blob-1 { width: 34rem; height: 34rem; top: -6rem; right: -4rem; background: radial-gradient(circle, rgba(74,163,255,0.5), transparent 62%); animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 26rem; height: 26rem; top: 6rem; left: -6rem; background: radial-gradient(circle, rgba(160,107,255,0.4), transparent 62%); animation: drift 22s ease-in-out infinite reverse; }
.blob-3 { width: 20rem; height: 20rem; bottom: -6rem; left: 40%; background: radial-gradient(circle, rgba(231,198,124,0.22), transparent 62%); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(3rem,2rem) scale(1.08); } }

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 100%);
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.18); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; margin: 1.4rem 0 0; max-width: 15ch; }
.grad { background: linear-gradient(120deg, var(--brand-2), var(--brand-3) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--muted); font-size: 1.1rem; max-width: 54ch; margin: 1.5rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.8rem; }
.hero-proof { display: flex; align-items: center; gap: 0.9rem; }
.hero-proof p { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 34ch; }
.avatars { display: flex; }
.avatars img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 2px solid var(--bg-2); margin-left: -10px; padding: 4px;
}
.avatars img:first-child { margin-left: 0; }

/* hero visual */
.hero-visual { position: relative; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform 0.2s var(--ease); }
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.hero-card { overflow: hidden; }
.hero-card-top { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.hc-dot:nth-child(1){ background:#ff5f57; } .hc-dot:nth-child(2){ background:#febc2e; } .hc-dot:nth-child(3){ background:#28c840; }
.hero-card-top em { margin-left: auto; font-style: normal; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.hero-card-badge { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 0.9rem 1.05rem; border-radius: 16px; background: rgba(5,10,20,0.72); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.hero-card-badge span { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.hero-card-badge strong { font-family: "Sora"; font-size: 0.98rem; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 0.95rem; border-radius: 16px;
  background: rgba(8,14,26,0.82); border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4); backdrop-filter: blur(10px);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip i { color: var(--brand-2); font-size: 1.1rem; }
.float-chip strong { font-family: "Sora"; display: block; font-size: 1.1rem; line-height: 1; }
.float-chip span { font-size: 0.72rem; color: var(--muted); }
.chip-1 { top: 1.4rem; left: -1.6rem; }
.chip-2 { bottom: 3rem; right: -1.4rem; animation-delay: 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px; display: grid; z-index: 3; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 4px; background: var(--brand-2); margin: 7px auto 0; animation: scrolly 1.6s ease-in-out infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- LOGOS MARQUEE ---------- */
.logos { padding: 2.5rem 0 1rem; }
.logos-label { text-align: center; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1.4rem; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 40px; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.7); opacity: 0.6; transition: opacity 0.3s, filter 0.3s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: 6rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.03)); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.kicker { display: inline-block; color: var(--brand-2); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin: 0 0 0.7rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--muted); margin: 0.8rem 0 0; font-size: 1.05rem; }

/* ---------- CARDS GRID / FEATURES ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature { position: relative; padding: 1.6rem; border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s; }
.feature:hover { transform: translateY(-6px); border-color: var(--line-2); }
.feature-ic { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; font-size: 1.4rem; color: var(--brand-2);
  background: linear-gradient(135deg, rgba(124,199,255,0.2), rgba(160,107,255,0.1)); margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; }
.feature-link { color: var(--brand-2); font-size: 0.9rem; font-weight: 600; opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s; }
.feature:hover .feature-link { opacity: 1; transform: translateX(0); }
/* spotlight follows cursor via JS vars */
.spotlight::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; pointer-events: none;
  background: radial-gradient(24rem 24rem at var(--mx, 50%) var(--my, 0%), rgba(74,163,255,0.14), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }

/* ---------- STATS ---------- */
.stats { padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat strong { font-family: "Sora"; display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; background: linear-gradient(120deg, #fff, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- WORK ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.work-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover img { transform: scale(1.06); }
.work-body { position: absolute; inset: auto 0 0 0; padding: 1.2rem; background: linear-gradient(0deg, rgba(5,10,20,0.92), transparent); }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.work-body h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.work-body p { color: var(--muted); font-size: 0.88rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.4s; }
.work-card:hover .work-body p { max-height: 5rem; opacity: 1; }

/* ---------- TIMELINE ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 1.9rem; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.timeline li { position: relative; text-align: center; padding: 0 0.5rem; }
.tl-num { display: inline-grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; font-family: "Sora"; font-weight: 700; color: var(--brand-2);
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(74,163,255,0.06); margin-bottom: 1rem; position: relative; z-index: 1; }
.timeline h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- STACK ---------- */
.stack-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.stack-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.stack-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.stack-points li { display: flex; align-items: center; gap: 0.7rem; color: #dbe5f2; }
.stack-points i { color: var(--brand-2); font-size: 1.1rem; }
.stack-cloud { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.stack-cloud span { padding: 0.6rem 1.05rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: #cdd9e8; font-size: 0.92rem; font-weight: 500; transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s; cursor: default; }
.stack-cloud span:hover { transform: translateY(-3px); border-color: var(--brand-2); color: #fff; }

/* ---------- QUOTE ---------- */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: "Sora"; font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1.6rem; }
.quote figcaption strong { display: block; color: #fff; }
.quote figcaption span { color: var(--muted); font-size: 0.9rem; }

/* ---------- PLANS ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { padding: 2rem 1.7rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: transform 0.35s var(--ease), border-color 0.35s; }
.plan:hover { transform: translateY(-6px); }
.plan h3 { font-size: 1.4rem; }
.plan-desc { color: var(--muted); margin: 0.5rem 0 1.3rem; font-size: 0.95rem; }
.plan ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.7rem; flex: 1; }
.plan ul li { display: flex; align-items: center; gap: 0.6rem; color: #dbe5f2; font-size: 0.94rem; }
.plan ul i { color: var(--brand-2); }
.plan-featured { position: relative; border-color: rgba(124,199,255,0.4); background: linear-gradient(160deg, rgba(74,163,255,0.14), rgba(160,107,255,0.06)); box-shadow: 0 30px 80px rgba(74,163,255,0.18); }
.plan-badge { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: #04101f; background: linear-gradient(135deg, var(--brand-2), #dff0ff); letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 2.5rem; align-items: start; }
.faq { display: grid; gap: 0.7rem; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: "Sora"; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brand-2); font-size: 1rem; transition: transform 0.3s; flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0; padding: 0 1.3rem 1.2rem; font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta-aurora { position: absolute; inset: 0; z-index: 0; background: radial-gradient(40rem 30rem at 20% 20%, rgba(74,163,255,0.18), transparent 60%), radial-gradient(36rem 30rem at 90% 90%, rgba(160,107,255,0.16), transparent 60%); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.cta-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; margin: 0.6rem 0 1.4rem; }
.cta-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.cta-notes li { display: flex; align-items: center; gap: 0.7rem; color: #dbe5f2; }
.cta-notes i { color: var(--brand-2); font-size: 1.15rem; }

/* form */
.form-card { padding: 1.8rem; border-radius: var(--radius-lg); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.lead-form { display: grid; gap: 0.85rem; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 90px 1fr; gap: 0.7rem; }
.field input, .field select {
  width: 100%; min-height: 56px; padding: 1.25rem 1rem 0.5rem; color: #fff;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); border-radius: 14px;
  font-family: inherit; font-size: 0.98rem; color-scheme: dark; transition: border-color 0.25s, box-shadow 0.25s;
}
.field-prefix select { padding-top: 0.5rem; }
.field select { padding-top: 1rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(124,199,255,0.16); }
.field label {
  position: absolute; top: 1rem; left: 1rem; color: var(--muted); pointer-events: none; font-size: 0.98rem;
  transition: transform 0.18s var(--ease), font-size 0.18s, top 0.18s, color 0.18s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 0.4rem; font-size: 0.72rem; color: var(--brand-2); }
.field input.invalid, .field select.invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,0.16); }
.form-hint { color: var(--muted); font-size: 0.82rem; margin: 0.4rem 0 0; text-align: center; }
.form-ok { text-align: center; padding: 1rem; }
.form-ok .ok-ic { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: rgba(74,222,128,0.15); color: #4ade80; font-size: 1.6rem; margin-bottom: 0.8rem; }

/* ---------- FOOTER ---------- */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: rgba(4,9,17,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.footer-grid p { color: var(--muted); max-width: 42ch; margin: 1rem 0 0; font-size: 0.94rem; }
.footer h4 { font-size: 0.9rem; color: #fff; margin-bottom: 0.9rem; letter-spacing: 0.04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { color: var(--muted); font-size: 0.94rem; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 45;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c4b); color: #fff; font-size: 1.5rem;
  box-shadow: 0 14px 34px rgba(37,211,102,0.4); transition: transform 0.25s var(--ease);
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: ripple 2.2s ease-out infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .cards-grid, .work-grid, .stats-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .hero-inner, .stack-layout, .cta-inner, .faq-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,12,22,0.96); backdrop-filter: blur(18px); padding: 1rem; gap: 0.2rem; border-bottom: 1px solid var(--line);
  }
  .hero { padding-top: 7rem; }
  .cards-grid, .work-grid, .stats-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
