/* Aqbar Tech Group — light / dark mavzu */
:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --secondary: #7c3aed;
  --accent: #ff6b35;
  --brand-green: #4d8a6a;
  --teal: #00d4aa;
  --gradient-hero: linear-gradient(135deg, #0066ff 0%, #7c3aed 50%, #ff6b35 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

/* Default: dark */
html,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b14;
  --surface: #111827;
  --surface-alt: #0d1320;
  --heading: #f1f5f9;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.15);
  --header-bg: rgba(7, 11, 20, 0.88);
  --header-border: rgba(148, 163, 184, 0.12);
  --input-bg: #0f172a;
  --input-border: #334155;
  --dark: #f1f5f9;
  --white: #111827;
  --gradient-card: linear-gradient(145deg, rgba(0, 102, 255, 0.12), rgba(124, 58, 237, 0.08));
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --hero-grid-line: rgba(0, 102, 255, 0.06);
  --hero-glow-1: rgba(0, 102, 255, 0.18);
  --hero-glow-2: rgba(124, 58, 237, 0.14);
  --hero-glow-3: rgba(255, 107, 53, 0.1);
  --footer-bg: #050810;
  --lang-hover-bg: rgba(0, 102, 255, 0.2);
  --outline-hover-bg: rgba(0, 102, 255, 0.12);
  --form-success-bg: rgba(0, 212, 170, 0.15);
  --form-success-text: #6ee7b7;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8faff;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --heading: #0a1628;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: rgba(0, 102, 255, 0.08);
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-border: rgba(0, 102, 255, 0.08);
  --input-bg: #ffffff;
  --input-border: #e2e8f0;
  --dark: #0a1628;
  --white: #ffffff;
  --gradient-card: linear-gradient(145deg, rgba(0, 102, 255, 0.08), rgba(124, 58, 237, 0.06));
  --shadow: 0 4px 24px rgba(0, 102, 255, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --hero-grid-line: rgba(0, 102, 255, 0.03);
  --hero-glow-1: rgba(0, 102, 255, 0.15);
  --hero-glow-2: rgba(124, 58, 237, 0.12);
  --hero-glow-3: rgba(255, 107, 53, 0.08);
  --footer-bg: #0a1628;
  --lang-hover-bg: rgba(0, 102, 255, 0.1);
  --outline-hover-bg: rgba(0, 102, 255, 0.08);
  --form-success-bg: rgba(0, 212, 170, 0.15);
  --form-success-text: #047857;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

.container { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, rgba(0,102,255,.12), rgba(124,58,237,.12));
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.2;
}
.section--alt { background: var(--surface-alt); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading);
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.logo-link { text-decoration: none; color: inherit; flex-shrink: 0; }
.logo-link:hover { opacity: 0.92; color: inherit; }
.brand-logo {
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand-logo--header {
  width: 168px;
  height: 44px;
}
.brand-logo--footer {
  width: 240px;
  height: 64px;
  margin-bottom: 0.75rem;
}
.brand-logo .logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
}
.brand-logo .logo-img--theme-light { opacity: 0; pointer-events: none; }
html[data-theme="light"] .brand-logo .logo-img--theme-dark { opacity: 0; pointer-events: none; }
html[data-theme="light"] .brand-logo .logo-img--theme-light { opacity: 1; pointer-events: auto; }
html[data-theme="dark"] .brand-logo .logo-img--theme-dark { opacity: 1; pointer-events: auto; }
html[data-theme="dark"] .brand-logo .logo-img--theme-light { opacity: 0; pointer-events: none; }
/* Footer always on dark surface — keep white mark */
.brand-logo--footer .logo-img--theme-dark { opacity: 1 !important; pointer-events: auto !important; }
.brand-logo--footer .logo-img--theme-light { opacity: 0 !important; pointer-events: none !important; }
.logo span { color: var(--brand-green); }
.logo-accent {
  color: var(--brand-green);
  background: none;
  -webkit-text-fill-color: var(--brand-green);
}
.nav-main { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-hero);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: 0.25rem; }
.lang-switch a {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  color: var(--text-muted);
}
.lang-switch a.active, .lang-switch a:hover {
  background: var(--lang-hover-bg);
  color: var(--primary);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.theme-toggle .theme-icon { width: 18px; height: 18px; }
html[data-theme="dark"] .theme-icon--light { display: block; }
html[data-theme="dark"] .theme-icon--dark { display: none; }
html[data-theme="light"] .theme-icon--light { display: none; }
html[data-theme="light"] .theme-icon--dark { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: 0 4px 20px rgba(0,102,255,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,102,255,.45);
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--outline-hover-bg); color: var(--primary); }
.btn-white {
  background: var(--surface);
  color: var(--primary);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  color: var(--heading);
  flex-shrink: 0;
}
.menu-toggle svg { width: 22px; height: 22px; display: block; }
.menu-icon-close { display: none; }
body.menu-open .menu-icon-open { display: none; }
body.menu-open .menu-icon-close { display: block; }

/* Mobile menu — header tashqarisida, to'liq ekran */
.mobile-menu {
  display: none;
}
.mobile-backdrop {
  display: none;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, var(--hero-glow-1), transparent 60%),
    radial-gradient(ellipse 55% 50% at 12% 78%, var(--hero-glow-2), transparent 58%),
    radial-gradient(ellipse 45% 40% at 55% 55%, var(--hero-glow-3), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 75%, rgba(0, 212, 170, 0.1), transparent 60%);
  animation: heroGlowDrift 16s ease-in-out infinite alternate;
}
.hero-mesh {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 120deg at 70% 30%, rgba(0,102,255,.12), transparent 28%, rgba(124,58,237,.1), transparent 55%, rgba(255,107,53,.08), transparent 75%),
    radial-gradient(circle at 30% 20%, rgba(0,102,255,.08), transparent 40%);
  filter: blur(40px);
  opacity: 0.85;
  animation: heroMeshSpin 40s linear infinite;
}
.hero-grid {
  position: absolute;
  inset: -15%;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 60% 40%, black 15%, transparent 75%);
  animation: heroGridPan 35s linear infinite;
  opacity: 0.9;
}
.hero-beam {
  position: absolute;
  width: 42%;
  height: 140%;
  top: -20%;
  background: linear-gradient(90deg, transparent, rgba(0,102,255,.08), transparent);
  transform: rotate(18deg);
  filter: blur(8px);
  opacity: 0;
  animation: heroBeam 9s ease-in-out infinite;
}
.hero-beam--1 { left: -10%; animation-delay: 0s; }
.hero-beam--2 { left: 35%; animation-delay: 3s; width: 28%; transform: rotate(-12deg); }
.hero-beam--3 { right: -8%; left: auto; animation-delay: 5.5s; transform: rotate(8deg); background: linear-gradient(90deg, transparent, rgba(124,58,237,.1), transparent); }
.hero-ring {
  position: absolute;
  border: 1px solid rgba(0,102,255,.16);
  border-radius: 50%;
  animation: heroRingPulse 10s ease-in-out infinite;
}
.hero-ring--1 {
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  right: -12%;
  top: 8%;
}
.hero-ring--2 {
  width: min(480px, 48vw);
  height: min(480px, 48vw);
  right: 2%;
  top: 22%;
  border-color: rgba(124,58,237,.14);
  animation-delay: 1.5s;
}
.hero-ring--3 {
  width: min(280px, 30vw);
  height: min(280px, 30vw);
  left: 8%;
  bottom: 10%;
  border-color: rgba(0,212,170,.14);
  animation-delay: 3s;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}
.hero-orb--1 {
  width: 340px; height: 340px;
  top: 4%; right: 4%;
  background: var(--hero-glow-1);
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb--2 {
  width: 260px; height: 260px;
  bottom: 8%; left: 2%;
  background: var(--hero-glow-2);
  animation: orbFloat 17s ease-in-out infinite reverse;
}
.hero-orb--3 {
  width: 180px; height: 180px;
  top: 42%; left: 38%;
  background: var(--hero-glow-3);
  animation: orbFloat 11s ease-in-out infinite 1s;
}
.hero-orb--4 {
  width: 220px; height: 220px;
  bottom: 18%; right: 28%;
  background: rgba(0, 212, 170, 0.16);
  animation: orbFloat 13s ease-in-out infinite 2s;
}
.hero-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.hero-circuit__lines {
  stroke: rgba(0, 102, 255, 0.45);
  stroke-dasharray: 6 10;
  animation: networkDash 28s linear infinite;
}
.hero-circuit__lines path:nth-child(2n) { stroke: rgba(124, 58, 237, 0.4); }
.hero-circuit__lines path:nth-child(3n) { stroke: rgba(0, 212, 170, 0.35); }
.hero-circuit__nodes circle {
  fill: rgba(0, 102, 255, 0.55);
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.8s ease-in-out infinite;
}
.hero-circuit__nodes circle:nth-child(odd) { animation-delay: 0.5s; fill: rgba(124,58,237,.5); }
.hero-code-rain {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 6vh 4vw;
  opacity: 0.14;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.65rem, 1.1vw, 0.8rem);
  color: var(--primary);
  mask-image: linear-gradient(180deg, transparent, black 18%, black 75%, transparent);
}
.hero-code-rain span {
  display: block;
  white-space: nowrap;
  animation: codeRain 14s linear infinite;
  opacity: 0.7;
}
.hero-code-rain span:nth-child(1) { animation-delay: 0s; }
.hero-code-rain span:nth-child(2) { animation-delay: 2s; grid-column: 2; margin-top: 8vh; }
.hero-code-rain span:nth-child(3) { animation-delay: 4s; grid-column: 3; margin-top: 3vh; }
.hero-code-rain span:nth-child(4) { animation-delay: 1s; grid-column: 4; margin-top: 12vh; }
.hero-code-rain span:nth-child(5) { animation-delay: 3s; grid-column: 5; margin-top: 5vh; }
.hero-code-rain span:nth-child(6) { animation-delay: 5s; grid-column: 1; margin-top: 28vh; }
.hero-code-rain span:nth-child(7) { animation-delay: 2.5s; grid-column: 3; margin-top: 34vh; }
.hero-code-rain span:nth-child(8) { animation-delay: 6s; grid-column: 5; margin-top: 40vh; }
.hero-code-rain span:nth-child(9) { animation-delay: 1.5s; grid-column: 2; margin-top: 48vh; }
.hero-code-rain span:nth-child(10) { animation-delay: 4.5s; grid-column: 4; margin-top: 56vh; }
.hero-particles {
  position: absolute;
  inset: 0;
}
.hero-particles i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.55);
  left: calc(4% + (var(--i) * 4%));
  top: calc(8% + ((var(--i) * 17) % 80) * 1%);
  animation: particleDrift 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s);
  opacity: 0.35;
}
.hero-particles i:nth-child(3n) { background: rgba(124,58,237,.55); width: 3px; height: 3px; }
.hero-particles i:nth-child(4n) { background: rgba(0,212,170,.5); }

@keyframes heroGlowDrift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-2%, 3%); }
}
@keyframes heroMeshSpin {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1.05); }
}
@keyframes heroGridPan {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}
@keyframes heroBeam {
  0%, 100% { opacity: 0; transform: translateX(-8%) rotate(18deg); }
  40%, 60% { opacity: 1; }
  100% { transform: translateX(18%) rotate(18deg); }
}
@keyframes heroRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.04); opacity: 0.85; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -34px) scale(1.1); }
}
@keyframes codeRain {
  0% { transform: translateY(-12px); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { transform: translateY(28vh); opacity: 0; }
}
@keyframes particleDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.25; }
  50% { transform: translateY(-18px) scale(1.4); opacity: 0.7; }
}
@keyframes networkDash { to { stroke-dashoffset: -220; } }
@keyframes nodePulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 2rem 2.5rem;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; padding: 0; }
.hero-content > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.45s; }
.hero-content > *:nth-child(6) { animation-delay: 0.55s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--heading);
  max-width: 640px;
  margin-bottom: 1.25rem;
}
.hero h1 .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span { font-size: 0.9rem; color: var(--text-muted); }
.hero-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.hero-stack-tags span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Hero visual stage — ordered product showcase */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(24px);
  animation: heroVisualIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
@keyframes heroVisualIn {
  to { opacity: 1; transform: translateX(0); }
}
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 0.92;
}
.hero-stage__glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,102,255,.22), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-panel__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}
.hero-dots { display: flex; gap: 5px; }
.hero-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #94a3b8; display: block;
}
.hero-dots i:nth-child(1) { background: #ff5f57; }
.hero-dots i:nth-child(2) { background: #febc2e; }
.hero-dots i:nth-child(3) { background: #28c840; }
.hero-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a;
  font-style: normal;
  font-weight: 700;
}
.hero-live b {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a;
  display: block;
  animation: pulse 1.6s infinite;
}

.hero-panel--main {
  position: absolute;
  inset: 6% 6% 18% 8%;
  z-index: 2;
  animation: floatCard 8s ease-in-out infinite;
}
.hero-panel__body {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 220px;
}
.hero-side {
  border-right: 1px solid var(--border);
  padding: 0.75rem 0.45rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  background: var(--surface-alt);
}
.hero-side__item {
  height: 10px;
  border-radius: 6px;
  background: rgba(148,163,184,.25);
}
.hero-side__item.is-on {
  background: linear-gradient(90deg, #0066ff, #7c3aed);
  box-shadow: 0 0 0 3px rgba(0,102,255,.12);
}
.hero-mainpane { padding: 0.85rem; }
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.hero-kpis div {
  padding: 0.55rem 0.45rem;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  text-align: center;
}
.hero-kpis strong {
  display: block;
  font-size: 0.95rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-kpis small {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-chart {
  height: 72px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0,102,255,.06), transparent);
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.hero-chart svg { width: 100%; height: 100%; display: block; }
.hero-chart__line {
  stroke: #0066ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: chartDraw 2.4s ease forwards 0.6s;
}
.hero-chart__area { opacity: 0; animation: fadeIn 1s ease forwards 1.4s; }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-table { display: grid; gap: 0.4rem; }
.hero-table div {
  height: 9px;
  border-radius: 999px;
  background: rgba(148,163,184,.22);
}
.hero-table div:nth-child(1) { width: 92%; }
.hero-table div:nth-child(2) { width: 76%; }
.hero-table div:nth-child(3) { width: 64%; }

.hero-panel--code {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 46%;
  z-index: 4;
  animation: floatCard 7s ease-in-out infinite reverse;
}
.hero-code {
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text);
}
.hero-code .c-k { color: #7c3aed; }
.hero-code .c-f { color: #0066ff; }
.hero-code .c-p { color: #0ea5e9; }
.hero-code .c-s { color: #16a34a; }

.hero-phone {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: 112px;
  height: 210px;
  border-radius: 22px;
  border: 2px solid rgba(0,102,255,.28);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  z-index: 5;
  padding: 12px 9px;
  animation: floatCard 6.5s ease-in-out infinite 0.4s;
}
.hero-phone__notch {
  width: 38px; height: 5px; border-radius: 999px;
  background: rgba(148,163,184,.45);
  margin: 0 auto 12px;
}
.hero-phone__screen { display: grid; gap: 8px; }
.hero-phone__header {
  height: 28px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,102,255,.25), rgba(124,58,237,.18));
}
.hero-phone__card {
  height: 64px; border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(0,102,255,.2), rgba(0,212,170,.12)),
    var(--surface-alt);
  border: 1px solid var(--border);
}
.hero-phone__row {
  height: 8px; border-radius: 999px;
  background: rgba(148,163,184,.28);
}
.hero-phone__row--short { width: 62%; }
.hero-phone__btn {
  height: 26px; border-radius: 9px; margin-top: 4px;
  background: linear-gradient(135deg, #0066ff, #7c3aed);
}

.hero-badge-float {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
  animation: floatCard 5.5s ease-in-out infinite;
}
.hero-badge-float i { width: 15px; height: 15px; color: var(--primary); }
.hero-badge-float--1 { top: 2%; right: 8%; }
.hero-badge-float--2 { top: 38%; left: -4%; animation-delay: 0.5s; }
.hero-badge-float--3 { bottom: 22%; right: -2%; animation-delay: 1s; color: #2563eb; }
.hero-badge-float--3 i { color: #2563eb; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 2.25rem;
  }
  .hero-visual {
    min-height: 0;
    aspect-ratio: auto;
  }
  .hero-stage {
    max-width: 460px;
    margin: 0 auto;
    aspect-ratio: 1 / 0.95;
  }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
}
@media (max-width: 560px) {
  .hero-stage { aspect-ratio: 1 / 1.05; }
  .hero-panel--code { width: 52%; }
  .hero-phone { width: 92px; height: 172px; }
  .hero-badge-float--2 { display: none; }
  .hero-kpis strong { font-size: 0.82rem; }
  .hero-actions { margin-bottom: 2rem; }
  .hero-stats { gap: 1.5rem; }
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transition: transform var(--transition);
  z-index: 3;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.28);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover .service-card__bg { opacity: 1; }
.service-card__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.service-card__watermark {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 160px !important;
  height: 160px !important;
  stroke-width: 1.25;
  color: rgba(0, 102, 255, 0.18);
  transform: translateY(24px) scale(0.85) rotate(-8deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease;
}
.service-card:hover .service-card__watermark {
  transform: translateY(0) scale(1) rotate(0deg);
  color: rgba(0, 102, 255, 0.28);
}
.service-card__body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  transition: color var(--transition);
}
.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.2);
}
html[data-theme="dark"] .service-card:hover .service-icon {
  background: rgba(17, 24, 39, 0.88);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--heading);
  transition: color var(--transition);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

/* Per-service hover scenes */
.service-card[data-service="web"] .service-card__pattern {
  background:
    radial-gradient(circle at 80% 20%, rgba(0,102,255,.22), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(0,212,170,.14), transparent 42%),
    linear-gradient(135deg, rgba(0,102,255,.08), rgba(124,58,237,.06));
}
.service-card[data-service="web"] .service-card__pattern::before {
  content: '';
  position: absolute;
  inset: 18% 12% 28% 12%;
  border: 2px solid rgba(0,102,255,.28);
  border-radius: 12px 12px 8px 8px;
  box-shadow: inset 0 18px 0 rgba(0,102,255,.12);
  animation: svcFloat 4s ease-in-out infinite;
}
.service-card[data-service="web"] .service-card__pattern::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 8px;
  left: 15%;
  bottom: 18%;
  border-radius: 999px;
  background: rgba(0,102,255,.18);
  animation: svcPulseBar 2.4s ease-in-out infinite;
}

.service-card[data-service="webapp"] .service-card__pattern {
  background:
    radial-gradient(circle at 75% 30%, rgba(124,58,237,.22), transparent 42%),
    linear-gradient(160deg, rgba(0,102,255,.1), rgba(124,58,237,.08));
}
.service-card[data-service="webapp"] .service-card__pattern::before,
.service-card[data-service="webapp"] .service-card__pattern::after {
  content: '';
  position: absolute;
  border-radius: 10px;
  border: 1px solid rgba(124,58,237,.3);
  background: rgba(255,255,255,.35);
  animation: svcPanel 3.2s ease-in-out infinite;
}
html[data-theme="dark"] .service-card[data-service="webapp"] .service-card__pattern::before,
html[data-theme="dark"] .service-card[data-service="webapp"] .service-card__pattern::after {
  background: rgba(15,23,42,.35);
}
.service-card[data-service="webapp"] .service-card__pattern::before {
  width: 42%; height: 38%;
  right: 12%; top: 22%;
}
.service-card[data-service="webapp"] .service-card__pattern::after {
  width: 28%; height: 48%;
  right: 58%; top: 28%;
  animation-delay: 0.4s;
}

.service-card[data-service="mobile"] .service-card__pattern {
  background:
    radial-gradient(circle at 70% 40%, rgba(0,212,170,.2), transparent 45%),
    linear-gradient(145deg, rgba(0,102,255,.08), rgba(0,212,170,.1));
}
.service-card[data-service="mobile"] .service-card__pattern::before {
  content: '';
  position: absolute;
  width: 78px;
  height: 140px;
  right: 18%;
  top: 18%;
  border: 2px solid rgba(0,212,170,.45);
  border-radius: 16px;
  box-shadow: inset 0 10px 0 rgba(0,212,170,.12);
  animation: svcPhone 3s ease-in-out infinite;
}
.service-card[data-service="mobile"] .service-card__pattern::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 4px;
  right: calc(18% + 25px);
  top: calc(18% + 8px);
  border-radius: 999px;
  background: rgba(0,212,170,.4);
}

.service-card[data-service="design"] .service-card__pattern {
  background:
    radial-gradient(circle at 78% 28%, rgba(255,107,53,.28), transparent 36%),
    radial-gradient(circle at 62% 62%, rgba(124,58,237,.22), transparent 34%),
    radial-gradient(circle at 40% 40%, rgba(0,102,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(255,107,53,.08), rgba(124,58,237,.08));
}
.service-card[data-service="design"] .service-card__pattern::before {
  content: '';
  position: absolute;
  width: 90px; height: 90px;
  right: 14%; top: 22%;
  border-radius: 50%;
  border: 3px dashed rgba(255,107,53,.4);
  animation: svcSpin 12s linear infinite;
}
.service-card[data-service="design"] .service-card__pattern::after {
  content: '';
  position: absolute;
  width: 42px; height: 42px;
  right: 28%; bottom: 24%;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35, #7c3aed);
  opacity: 0.45;
  animation: svcFloat 3.5s ease-in-out infinite reverse;
}

.service-card[data-service="bot"] .service-card__pattern {
  background:
    radial-gradient(circle at 75% 35%, rgba(37,99,235,.22), transparent 42%),
    linear-gradient(150deg, rgba(0,102,255,.1), rgba(14,165,233,.1));
}
.service-card[data-service="bot"] .service-card__pattern::before,
.service-card[data-service="bot"] .service-card__pattern::after {
  content: '';
  position: absolute;
  border-radius: 16px;
  background: rgba(37,99,235,.18);
  border: 1px solid rgba(37,99,235,.28);
  animation: svcChat 2.8s ease-in-out infinite;
}
.service-card[data-service="bot"] .service-card__pattern::before {
  width: 110px; height: 42px;
  right: 14%; top: 28%;
}
.service-card[data-service="bot"] .service-card__pattern::after {
  width: 86px; height: 36px;
  right: 28%; top: 52%;
  animation-delay: 0.45s;
}

.service-card[data-service="software"] .service-card__pattern {
  background:
    radial-gradient(circle at 80% 25%, rgba(124,58,237,.2), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(0,102,255,.06) 18px,
      rgba(0,102,255,.06) 19px
    ),
    linear-gradient(140deg, rgba(0,102,255,.08), rgba(124,58,237,.1));
}
.service-card[data-service="software"] .service-card__pattern::before {
  content: '</>';
  position: absolute;
  right: 16%;
  top: 30%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(124,58,237,.35);
  letter-spacing: -0.06em;
  animation: svcCode 3s ease-in-out infinite;
}
.service-card[data-service="software"] .service-card__pattern::after {
  content: '';
  position: absolute;
  left: 12%;
  bottom: 22%;
  width: 55%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,102,255,.35), rgba(124,58,237,.15), transparent);
  animation: svcPulseBar 2.2s ease-in-out infinite;
}

@keyframes svcFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes svcPanel {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-6px); opacity: 1; }
}
@keyframes svcPhone {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes svcSpin { to { transform: rotate(360deg); } }
@keyframes svcChat {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(-8px); opacity: 1; }
}
@keyframes svcCode {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-8px) scale(1.05); opacity: 1; }
}
@keyframes svcPulseBar {
  0%, 100% { transform: scaleX(0.85); opacity: 0.55; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card__pattern::before,
  .service-card__pattern::after,
  .service-card__watermark {
    animation: none !important;
  }
}

/* Process */
.process-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0.5rem;
}
.process-rail {
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 3px;
  z-index: 0;
  pointer-events: none;
}
.process-rail__base {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}
.process-rail__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: var(--gradient-hero);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
  align-items: stretch;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 0 0.35rem 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  appearance: none;
  min-height: 100%;
}
.process-num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--gradient-hero);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--surface-alt);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  flex-shrink: 0;
}
.process-num__n,
.process-num__icon {
  grid-area: 1 / 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.process-num__icon {
  width: 22px;
  height: 22px;
  opacity: 0;
  transform: scale(0.7);
}
.process-step h4 {
  font-weight: 700;
  color: var(--heading);
  font-size: 1rem;
  margin: 0;
  line-height: 1.25;
}
.process-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  max-width: 180px;
}
.process-step.is-current .process-num,
.process-step:hover .process-num {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px var(--surface-alt), 0 0 0 14px rgba(0, 102, 255, 0.12), 0 8px 22px rgba(0, 102, 255, 0.25);
}
.process-step.is-current .process-num__n,
.process-step:hover .process-num__n {
  opacity: 0;
  transform: scale(0.7);
}
.process-step.is-current .process-num__icon,
.process-step:hover .process-num__icon {
  opacity: 1;
  transform: scale(1);
}
.process-step.is-current h4,
.process-step:hover h4 {
  color: var(--primary);
}
.process-step.is-current p,
.process-step:hover p {
  color: var(--text);
}

@media (max-width: 900px) {
  .process-rail {
    top: 0;
    bottom: 0;
    left: 25px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .process-rail__fill {
    inset: 0 0 auto 0;
    width: 100%;
    height: 0;
    transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 480px;
    margin: 0 auto;
  }
  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .process-num {
    box-shadow: 0 0 0 4px var(--surface);
  }
  .process-step p { max-width: none; }
  .process-step.is-current {
    border-color: rgba(0, 102, 255, 0.35);
    box-shadow: var(--shadow-lg);
  }
}

/* Tech tabs */
.tech-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.tech-tab {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.tech-tab.active {
  background: var(--gradient-hero);
  color: white;
}
.tech-panel { display: none; }
.tech-panel.active { display: block; animation: panelFade 0.35s ease; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.tech-tag {
  padding: 0.6rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--heading);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tech-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Nav dropdown */
.nav-item--dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}
.nav-dropdown-toggle svg { transition: transform var(--transition); }
.nav-item--dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 1200;
}
.nav-item--dropdown.is-open .nav-dropdown,
.nav-item--dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.nav-dropdown a:hover { background: var(--surface-alt); color: var(--primary); }
.mobile-nav-group { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.mobile-nav-group__title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.mobile-nav-group ul { list-style: none; padding-left: 0.5rem; }

/* Portfolio */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: white;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.25);
}
.portfolio-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.portfolio-card__visual {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--pcolor, #0066FF), color-mix(in srgb, var(--pcolor, #7C3AED) 70%, #000));
  overflow: hidden;
}
.portfolio-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #0f172a;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card__visual img { transform: scale(1.05); }
.portfolio-card__letter {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__view {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.portfolio-card__body { padding: 1.25rem 1.35rem 1.35rem; }
.portfolio-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
  color: var(--heading);
  line-height: 1.3;
}
.portfolio-card__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(0,102,255,.1);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.portfolio-card__host {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.portfolio-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portfolio-card.hidden { display: none; }
/* legacy */
.portfolio-thumb, .portfolio-body, .portfolio-cat, .portfolio-thumb-placeholder { display: none; }

/* Clients marquee */
.clients-section { background: var(--surface-alt); }
.clients-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.clients-wrap:hover .clients-track { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.client-logo {
  flex-shrink: 0;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition), color var(--transition);
  filter: grayscale(0.4);
}
.client-logo:hover {
  opacity: 1;
  transform: scale(1.06);
  color: var(--heading);
  filter: grayscale(0);
}
.client-logo img { max-height: 40px; width: auto; transition: transform var(--transition); }
.client-logo:hover img { transform: scale(1.05); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.35);
}
.testimonial-stars { color: #fbbf24; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author strong { display: block; color: var(--heading); }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

/* CTA */
.cta-section {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  color: white;
  text-align: center;
  border-radius: var(--radius);
  padding: 4rem 2rem;
  margin: 0 auto;
  max-width: min(1200px, 92vw);
  position: relative;
  overflow: hidden;
  animation: ctaGradient 8s ease infinite;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.18), transparent 45%);
  animation: ctaShine 6s ease-in-out infinite;
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-section p { opacity: 0.9; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes ctaShine {
  0%, 100% { transform: translate(-8%, 0) rotate(0deg); opacity: 0.7; }
  50% { transform: translate(12%, -6%) rotate(8deg); opacity: 1; }
}

/* Forms */
.form-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--heading);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--input-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color var(--transition), background-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success {
  padding: 1rem;
  background: var(--form-success-bg);
  color: var(--form-success-text);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: none;
}
.form-success.show { display: block; }

/* About */
.about-hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-card);
  margin-top: 72px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.value-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.3);
}
.value-card h4 { color: var(--heading); }
.value-card h4 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.page-content { padding: 2rem 0 4rem; }
.page-content .prose { max-width: 800px; margin: 0 auto; line-height: 1.8; }
.page-content .prose h2 { margin: 2rem 0 1rem; color: var(--heading); font-size: 1.25rem; }
.page-content .prose p { margin-bottom: 1rem; color: var(--text); }
.page-content .prose ul { margin: 0 0 1.25rem 1.25rem; color: var(--text); }
.page-content .prose li { margin-bottom: 0.45rem; }
.page-content .prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.page-content .prose a:hover { color: var(--teal); }
.page-content .prose { color: var(--text); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { color: white; }
.footer-brand p { font-size: 0.95rem; opacity: 0.8; }
.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: white;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); color: white; }
.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.footer-social .social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.footer-legal-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}
.footer-legal-links a:hover { color: var(--teal); }
.footer-legal-sep { opacity: 0.4; }
.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}
.form-consent-label input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.form-consent-label a { color: var(--primary); }

/* Inner pages */
.page-hero {
  padding: 8rem 0 3rem;
  margin-top: 72px;
  text-align: center;
  background: var(--gradient-card);
}
.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--heading); }

/* Responsive */
@media (max-width: 900px) {
  .nav-main--desktop { display: none !important; }
  .lang-switch--desktop,
  .header-cta-desktop { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 0.5rem; }
  .header-actions .theme-toggle { display: inline-flex; }
  .brand-logo--header {
    width: 130px;
    height: 36px;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(100vw, 340px);
    height: calc(100dvh - var(--header-h));
    height: calc(100vh - var(--header-h));
    z-index: 1200;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  body.menu-open .mobile-menu {
    transform: translateX(0);
    pointer-events: auto;
  }
  .mobile-menu__scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-menu__links {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu__links li {
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu__links a {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
  }
  .mobile-menu__links a.active,
  .mobile-menu__links a:hover {
    color: var(--primary);
  }
  .mobile-menu__extras {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }
  .mobile-menu__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
  }
  .lang-switch--mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .lang-switch--mobile a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
  }
  .lang-switch--mobile a.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
  }
  .mobile-nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    z-index: 1150;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.menu-open .mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ========== Motion & engagement ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}
.stagger > .reveal:nth-child(1),
.stagger > .reveal-left:nth-child(1) { transition-delay: 0.05s; }
.stagger > .reveal:nth-child(2),
.stagger > .reveal-left:nth-child(2) { transition-delay: 0.12s; }
.stagger > .reveal:nth-child(3),
.stagger > .reveal-left:nth-child(3) { transition-delay: 0.19s; }
.stagger > .reveal:nth-child(4),
.stagger > .reveal-left:nth-child(4) { transition-delay: 0.26s; }
.stagger > .reveal:nth-child(5),
.stagger > .reveal-left:nth-child(5) { transition-delay: 0.33s; }
.stagger > .reveal:nth-child(6),
.stagger > .reveal-left:nth-child(6) { transition-delay: 0.4s; }
.stagger > .reveal:nth-child(7) { transition-delay: 0.47s; }
.stagger > .reveal:nth-child(8) { transition-delay: 0.54s; }
.stagger > .reveal:nth-child(n+9) { transition-delay: 0.6s; }

.btn-primary,
.btn-white {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-white::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::after,
.btn-white:hover::after { transform: translateX(120%); }

.portfolio-card.filtering-out {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.portfolio-card.filtering-in {
  animation: cardPop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cardPop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.pointer-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(0,102,255,.12), transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}
html[data-theme="light"] .pointer-glow {
  background: radial-gradient(circle, rgba(0,102,255,.08), transparent 68%);
  mix-blend-mode: multiply;
}
.pointer-glow.is-on { opacity: 1; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 2000;
  background: var(--gradient-hero);
  pointer-events: none;
  transform-origin: left;
}

.floating-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--gradient-hero);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.35);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow var(--transition);
}
.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.floating-cta:hover {
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.45);
  transform: translateY(-3px);
}
.floating-cta i { width: 18px; height: 18px; }

/* Pricing */
.pricing-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.quote-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr);
  gap: 1.5rem 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.quote-card h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1.65rem;
  color: var(--heading);
}
.quote-card__main p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36ch;
}
.quote-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.quote-specs span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.quote-card__calc table {
  width: 100%;
  border-collapse: collapse;
}
.quote-card__calc td {
  padding: 0.7rem 0.4rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.quote-card__calc strong {
  display: block;
  color: var(--heading);
  font-size: 0.95rem;
}
.quote-card__calc small {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.quote-calc {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.quote-amount {
  text-align: right;
  font-weight: 800;
  color: var(--heading);
  white-space: nowrap;
}
.quote-example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.9rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px dashed var(--border);
}
.quote-example span {
  display: block;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}
.quote-example small {
  display: block;
  margin-top: 0.2rem;
  color: var(--heading);
  font-size: 0.92rem;
}
.quote-example strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--heading);
  white-space: nowrap;
}
.quote-example em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--primary);
}
.quote-card .pricing-card__cta { margin: 0; }

.price-calc {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.35fr);
  gap: 1.5rem 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.price-calc h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.65rem;
  color: var(--heading);
}
.price-calc__intro p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}
.price-calc__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.price-calc__controls label span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-alt);
}
.price-stepper button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 1.25rem;
  cursor: pointer;
}
.price-stepper button:hover { background: rgba(0, 102, 255, 0.12); color: var(--primary); }
.price-stepper input {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--heading);
  outline: none;
}
.price-stepper input::-webkit-outer-spin-button,
.price-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-calc__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-calc__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.price-calc__lines b { color: var(--heading); font-variant-numeric: tabular-nums; }
.price-calc__lines li.is-free b { color: #16a34a; }
.price-calc__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0.9rem 0 1rem;
}
.price-calc__total span { font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; }
.price-calc__total strong { font-size: clamp(1.35rem, 2vw, 1.85rem); color: var(--heading); }
.price-calc__total em { font-style: normal; font-size: 0.85rem; color: var(--primary); }
.price-calc .pricing-card__cta { margin: 0; }
@media (max-width: 860px) {
  .price-calc { grid-template-columns: 1fr; }
  .price-calc__controls { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .quote-card { grid-template-columns: 1fr; }
  .quote-calc { display: none; }
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card__head {
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 0.95rem 0.75rem;
  font-size: 1.02rem;
}
.pricing-card__price {
  text-align: center;
  padding: 1.35rem 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.pricing-card__price strong {
  display: block;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.pricing-card__price span {
  display: block;
  margin-top: 0.15rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
}
.pricing-card__features {
  list-style: none;
  text-align: center;
  padding: 1.15rem 1rem 0.85rem;
  margin: 0;
  background: var(--surface-alt);
}
.pricing-card__services-label {
  margin: 0;
  padding: 0.15rem 1.05rem 0.35rem;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pricing-card__services {
  list-style: none;
  margin: 0;
  padding: 0 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  flex: 1;
  background: var(--surface-alt);
}
.pricing-card__services li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.pricing-card__services li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.28rem;
  width: 0.62rem;
  height: 0.34rem;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.pricing-card__features li {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.35;
}
.pricing-card__features li + li {
  margin-top: 0.35rem;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.pricing-card__features li.is-accent {
  color: var(--accent);
  font-weight: 700;
}
.pricing-card__cta {
  display: block;
  margin: 0 1rem 1.15rem;
  text-align: center;
  background: var(--gradient-hero);
  color: #fff !important;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
}
.pricing-card__cta:hover { filter: brightness(1.06); color: #fff !important; }
.pricing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.pricing-foot p {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.25;
}
.pricing-foot strong { color: var(--accent); }
.pricing-card__cta--sm {
  display: inline-block;
  margin: 0;
  white-space: nowrap;
  padding: 0.7rem 1.1rem;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .pointer-glow { display: none; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 0.95rem; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-scale,
  .hero-content > *,
  .hero-visual,
  .hero-bg, .hero-mesh, .hero-grid, .hero-orb, .hero-beam, .hero-ring,
  .hero-circuit__lines, .hero-circuit__nodes circle,
  .hero-code-rain span, .hero-particles i,
  .hero-panel--main, .hero-panel--code, .hero-phone,
  .hero-badge-float,
  .hero-chart__line, .hero-chart__area, .hero-live b,
  .cta-section, .cta-section::before,
  .clients-track, .hero-badge::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-code-rain, .hero-particles { opacity: 0.08 !important; }
  .hero-chart__line { stroke-dashoffset: 0 !important; }
  .pointer-glow, .scroll-progress { display: none; }
  .floating-cta { transform: none; opacity: 1; }
}
