/* =========================================================
   VIONEX TECHNOLOGIES — vionexit.in
   Global stylesheet
   ========================================================= */

:root {
  --bg: #060a18;
  --bg-2: #0b1129;
  --bg-3: #111a3a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e8ecff;
  --muted: #9aa5cc;
  --primary: #00d4ff;
  --accent: #7c3aed;
  --accent-2: #ff3d81;
  --success: #22c55e;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #5b6cff 50%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 212, 255, .15), rgba(124, 58, 237, .15));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --glow: 0 0 40px rgba(0, 212, 255, .25);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--muted); }

::selection { background: var(--primary); color: #001018; }

.container { width: 100%; padding-inline: clamp(16px, 4vw, 72px); margin-inline: auto; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--accent)); border-radius: 10px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader {
  position: relative; width: 90px; height: 90px;
  display: grid; place-items: center;
}
.loader img { width: 46px; animation: pulse 1.4s ease-in-out infinite; }
.loader::before, .loader::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid transparent; border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}
.loader::after { inset: 10px; border-top-color: var(--accent); animation-duration: 1.6s; animation-direction: reverse; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.85); opacity: .7; } }

/* ---------- Scroll progress & cursor glow ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--gradient); z-index: 1001;
  box-shadow: 0 0 10px var(--primary);
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(0, 212, 255, .10), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .4s;
}
.site-header.scrolled {
  background: rgba(6, 10, 24, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  --header-h: 68px;
}
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.logo img { width: 38px; height: 38px; transition: transform .6s var(--ease); }
.logo:hover img { transform: rotate(360deg); }
.logo em { font-style: normal; color: var(--primary); }

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--muted);
  transition: color .3s, background .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--primary); transform: translateX(-50%);
  box-shadow: 0 0 8px var(--primary);
}

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn i { transition: transform .3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 212, 255, .6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(0, 212, 255, .75); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--surface-2); border-color: var(--primary); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255, 255, 255, .45); animation: ripple .7s linear; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; margin-bottom: 18px; border-radius: 999px;
  background: var(--gradient-soft); border: 1px solid rgba(0, 212, 255, .25);
  color: var(--primary); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }

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

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 200px;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 560px; margin-bottom: 34px; }
.typed { color: var(--primary); border-right: 3px solid var(--primary); padding-right: 4px; animation: caret .8s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; }
.hero-badges span { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.hero-badges i { color: var(--success); }

.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; z-index: 0;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: #00d4ff; top: -120px; right: -100px; }
.blob-2 { width: 360px; height: 360px; background: #7c3aed; bottom: -100px; left: -120px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(.95); }
}

/* Hero orbit visual */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.orbit { position: absolute; inset: 0; border: 1px dashed var(--border-strong); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit-2 { inset: 16%; animation-duration: 28s; animation-direction: reverse; }
.orbit-3 { inset: 32%; border-style: solid; border-color: rgba(0, 212, 255, .25); animation: none; }
.orbit-core {
  position: absolute; inset: 38%; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--border-strong); box-shadow: 0 0 80px rgba(0, 212, 255, .45);
  animation: pulse 3s ease-in-out infinite;
}
.orbit-core img { width: 62%; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.orbit-item {
  position: absolute; width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(17, 26, 58, .9); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); color: var(--primary);
}
.orbit .orbit-item { animation: spin 40s linear infinite reverse; }
.orbit-2 .orbit-item { animation: spin 28s linear infinite; }
.orbit-item:nth-child(1) { top: -29px; left: calc(50% - 29px); }
.orbit-item:nth-child(2) { bottom: -29px; left: calc(50% - 29px); color: #a78bfa; }
.orbit-item:nth-child(3) { left: -29px; top: calc(50% - 29px); color: var(--accent-2); }
.orbit-item:nth-child(4) { right: -29px; top: calc(50% - 29px); color: var(--success); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 90px;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 212, 255, .18), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(124, 58, 237, .22), transparent 55%),
    var(--bg);
}
.page-hero .grid-lines {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 48px 48px; } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 640px; margin: 18px auto 0; font-size: 1.08rem; }
.breadcrumb { display: inline-flex; gap: 10px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--primary); }

/* ---------- Marquee ---------- */
.marquee {
  padding: 34px 0; border-block: 1px solid var(--border); background: var(--bg-2);
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: rgba(232, 236, 255, .35); transition: color .3s; white-space: nowrap;
}
.marquee-track span:hover { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .4s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 255, .14), transparent 45%);
  transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(0, 212, 255, .35); box-shadow: var(--shadow), var(--glow); }
.card h3 { margin: 18px 0 10px; }
.card p { font-size: .95rem; }

.icon-box {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.5rem; color: #fff;
  background: var(--gradient); box-shadow: 0 10px 25px -8px rgba(0, 212, 255, .6);
  transition: transform .5s var(--ease);
}
.card:hover .icon-box { transform: rotate(-8deg) scale(1.08); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
}
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--primary); font-weight: 600; font-size: .92rem; }
.card-link i { transition: transform .3s var(--ease); }
.card-link:hover i { transform: translateX(5px); }

[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 34px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; }
.stat p { margin-top: 4px; font-size: .95rem; }

/* ---------- Split / feature list ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split h2 { margin-bottom: 18px; }
.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.check-list i {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-size: .75rem;
  background: rgba(34, 197, 94, .15); color: var(--success);
}

.visual-panel {
  position: relative; padding: 30px; border-radius: 24px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.visual-panel::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 212, 255, .6), transparent 40%, transparent 60%, rgba(124, 58, 237, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.panel-row {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
}
.panel-row + .panel-row { margin-top: 12px; }
.panel-row .icon-box { width: 46px; height: 46px; font-size: 1.1rem; border-radius: 12px; flex-shrink: 0; }
.panel-row strong { display: block; font-size: .98rem; }
.panel-row small { color: var(--muted); }
.panel-row .bar { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; min-width: 60px; }
.panel-row .bar span { display: block; height: 100%; width: 0; background: var(--gradient); border-radius: inherit; transition: width 1.6s var(--ease); }
.in-view .bar span { width: var(--w); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .35;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  background: var(--bg); border: 2px solid var(--primary); color: var(--primary);
  box-shadow: 0 0 0 8px var(--bg), var(--glow);
  transition: background .4s, color .4s;
}
.step:hover .step-num { background: var(--primary); color: #001018; }
.step p { font-size: .93rem; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(50px, 8vw, 80px) clamp(24px, 5vw, 60px);
  border-radius: 28px; background: var(--gradient);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12);
  animation: float 12s ease-in-out infinite;
}
.cta-band::before { width: 300px; height: 300px; top: -150px; left: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -100px; right: -40px; animation-delay: -5s; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 600px; margin: 14px auto 30px; font-size: 1.08rem; }
.cta-band .btn-light { background: #fff; color: #1b1464; }
.cta-band .btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); }
.cta-band .btn-ghost { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Tabs (services) ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tab-btn, .filter-btn {
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  font-weight: 500; font-size: .93rem; transition: all .3s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.tab-btn:hover, .filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.tab-btn.active, .filter-btn.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 8px 24px -8px rgba(0, 212, 255, .6); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.service-detail { grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.service-detail h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.brand-chip {
  padding: 10px 18px; border-radius: 12px; font-weight: 600; font-family: var(--font-head);
  background: var(--surface-2); border: 1px solid var(--border); transition: all .3s var(--ease);
}
.brand-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.service-art {
  aspect-ratio: 4 / 3; border-radius: 24px; display: grid; place-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, .25), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(124, 58, 237, .3), transparent 60%), var(--bg-3);
  border: 1px solid var(--border);
}
.service-art > i { font-size: clamp(5rem, 12vw, 8rem); color: #fff; filter: drop-shadow(0 0 30px rgba(0, 212, 255, .6)); animation: bob 4s ease-in-out infinite; }
.service-art .mini {
  position: absolute; padding: 10px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600;
  background: rgba(6, 10, 24, .75); border: 1px solid var(--border-strong); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 8px; animation: bob 5s ease-in-out infinite;
}
.service-art .mini i { color: var(--primary); }
.service-art .m1 { top: 12%; left: 8%; }
.service-art .m2 { bottom: 14%; right: 8%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------- Products ---------- */
.product-toolbar { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 44px; }
.search-box { position: relative; width: min(480px, 100%); }
.search-box input {
  width: 100%; padding: 15px 20px 15px 50px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); outline: none; transition: border-color .3s, box-shadow .3s;
}
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 212, 255, .15); }
.search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; padding: 0; transition: transform .5s var(--ease), opacity .4s, border-color .4s, box-shadow .4s; }
.product-card.hide { display: none; }
.product-card.pop { animation: popIn .5s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(16px); } }
.product-top {
  position: relative; height: 150px; display: grid; place-items: center;
  background: var(--gradient-soft); border-bottom: 1px solid var(--border);
}
.product-top i { font-size: 3.4rem; color: var(--text); transition: transform .6s var(--ease); }
.product-card:hover .product-top i { transform: scale(1.15) rotate(-4deg); }
.product-top .badge {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(6, 10, 24, .7); border: 1px solid var(--border-strong); color: var(--primary);
}
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin: 0 0 8px; font-size: 1.15rem; }
.product-body .tags { margin: 14px 0 22px; }
.product-body .btn { margin-top: auto; }
.no-results { text-align: center; padding: 60px 20px; display: none; }
.no-results.show { display: block; }
.no-results i { font-size: 2.5rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Planner (solutions) ---------- */
.planner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.planner-form { display: grid; gap: 26px; }
.planner label.title { display: block; font-weight: 600; margin-bottom: 12px; }
.range-wrap { display: flex; align-items: center; gap: 16px; }
.range-wrap output { min-width: 60px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--primary); }
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 6px; background: var(--surface-2); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gradient); cursor: pointer; box-shadow: 0 0 0 4px rgba(0, 212, 255, .2); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--primary); cursor: pointer; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 13px 14px;
  border-radius: 12px; cursor: pointer; font-size: .92rem;
  background: var(--surface); border: 1px solid var(--border); transition: all .3s;
}
.option input { position: absolute; opacity: 0; }
.option i { color: var(--muted); width: 18px; text-align: center; transition: color .3s; }
.option:has(input:checked) { border-color: var(--primary); background: rgba(0, 212, 255, .08); }
.option:has(input:checked) i { color: var(--primary); }
.option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(0, 212, 255, .35); }
.planner-result h3 { margin-bottom: 6px; }
.result-list { display: grid; gap: 10px; margin: 20px 0 26px; }
.result-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
  animation: fadeUp .45s var(--ease) both;
}
.result-item span { display: flex; align-items: center; gap: 10px; font-size: .93rem; }
.result-item span i { color: var(--primary); width: 18px; text-align: center; }
.result-item strong { font-family: var(--font-head); color: var(--primary); white-space: nowrap; }
.result-empty { color: var(--muted); font-size: .95rem; padding: 20px 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--primary), var(--accent)); transform: translateX(-50%); opacity: .5; }
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; }
.tl-item::before {
  content: ""; position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--primary); box-shadow: var(--glow);
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-item .when { color: var(--primary); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.tl-item h3 { margin: 6px 0 8px; }

/* ---------- Accordion ---------- */
.accordion { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.acc-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color .3s; }
.acc-item.open { border-color: rgba(0, 212, 255, .4); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
}
.acc-head i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .4s var(--ease), background .3s; }
.acc-item.open .acc-head i { transform: rotate(45deg); background: var(--primary); color: #001018; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p { padding: 0 24px 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; }
.info-card + .info-card { margin-top: 16px; }
.info-card .icon-box { width: 50px; height: 50px; font-size: 1.15rem; flex-shrink: 0; }
.info-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.info-card p, .info-card a { font-size: .95rem; color: var(--muted); }
.info-card a:hover { color: var(--primary); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 18px 10px; border-radius: 12px; outline: none;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { padding: 22px 18px 10px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--bg-2); }
.field.select::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--muted); pointer-events: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field label {
  position: absolute; left: 18px; top: 17px; color: var(--muted); font-size: .95rem; pointer-events: none;
  transition: all .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 212, 255, .12); background: var(--surface-2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: .72rem; color: var(--primary); letter-spacing: .04em; }
.field.error input, .field.error textarea, .field.error select { border-color: var(--accent-2); }
.field .err { display: none; color: var(--accent-2); font-size: .8rem; margin-top: 6px; }
.field.error .err { display: block; }
.form-note { font-size: .85rem; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.8); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 2000;
  display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 14px;
  background: var(--bg-3); border: 1px solid rgba(34, 197, 94, .5); box-shadow: var(--shadow);
  transform: translate(-50%, 140%); transition: transform .5s var(--ease); max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast i { color: var(--success); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #04071180; border-top: 1px solid var(--border); padding-top: 80px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { font-size: 1.05rem; margin-bottom: 20px; }
.site-footer p { font-size: .93rem; margin-top: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact li { color: var(--muted); font-size: .93rem; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--primary); margin-top: 5px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); transition: all .3s var(--ease);
}
.socials a:hover { background: var(--gradient); transform: translateY(-4px); border-color: transparent; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }

/* ---------- Floating buttons ---------- */
.back-top, .whatsapp-float {
  position: fixed; right: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; border: 0; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .4s var(--ease), opacity .4s;
}
.back-top { bottom: 86px; background: var(--gradient); color: #fff; opacity: 0; transform: translateY(20px); pointer-events: none; }
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); }
.whatsapp-float { bottom: 24px; background: #25d366; color: #fff; font-size: 1.6rem; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* Split headline letters */
.split-text .char { display: inline-block; opacity: 0; transform: translateY(60%) rotate(8deg); animation: charIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 28ms + .3s); }
@keyframes charIn { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    flex-direction: column; gap: 6px; padding: 100px 24px 30px;
    background: rgba(8, 12, 30, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav-open .nav-links { transform: none; }
  .nav-links a { font-size: 1.1rem; padding: 14px 18px; border-radius: 12px; }
  .nav-links a.active::after { left: auto; right: 18px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .nav-links li { opacity: 0; transform: translateX(30px); transition: all .4s var(--ease); }
  .nav-open .nav-links li { opacity: 1; transform: none; }
  .nav-open .nav-links li:nth-child(2) { transition-delay: .05s; }
  .nav-open .nav-links li:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav-links li:nth-child(4) { transition-delay: .15s; }
  .nav-open .nav-links li:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav-links li:nth-child(6) { transition-delay: .25s; }
  .nav-toggle { z-index: 2; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: -1; }
  .nav-open .nav-overlay { opacity: 1; pointer-events: auto; }

  .hero-inner, .split, .service-detail, .planner, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .split .visual-panel { order: 2; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 24px 12px; }
  .form-row, .option-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .process { grid-template-columns: 1fr; }
  .hero-visual { max-width: 260px; }
  .orbit-item { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 12px; }
  .orbit-item:nth-child(1) { top: -23px; left: calc(50% - 23px); }
  .orbit-item:nth-child(2) { bottom: -23px; left: calc(50% - 23px); }
  .orbit-item:nth-child(3) { left: -23px; top: calc(50% - 23px); }
  .orbit-item:nth-child(4) { right: -23px; top: calc(50% - 23px); }
  .hero-actions .btn { flex: 1; }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 40px; text-align: left; }
  .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .blob-1 { width: 260px; height: 260px; }
  .blob-2 { width: 220px; height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-text .char { opacity: 1; transform: none; }
}

/* gradient words inside animated split headlines */
.split-text .gradient-text .char {
  background: var(--gradient); background-size: 400% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split-text .gradient-text .char:nth-child(3n+2) { background-position: 50% 0; }
.split-text .gradient-text .char:nth-child(3n) { background-position: 100% 0; }

.toast.error { border-color: rgba(255, 61, 129, .6); }
.toast.error i { color: var(--accent-2); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
