/* ==========================================================
   KrovTop Website — Cinematic Premium v7
   Glassmorphism · Three.js · GSAP · Lenis · Magnetic UI
   ========================================================== */

/* ── Design Tokens ── */
:root {
  --bg:          #060c18;
  --bg-2:        #0a1628;
  --bg-3:        #0d1e38;
  --surface:     rgba(255,255,255,0.05);
  --surface-2:   rgba(255,255,255,0.08);
  --surface-3:   rgba(255,255,255,0.12);
  --border:      rgba(255,255,255,0.1);
  --border-2:    rgba(255,255,255,0.15);

  --accent:      #ff4d1c;
  --accent-2:    #ff7a4d;
  --accent-glow: rgba(255,77,28,0.35);
  --accent-glow-2: rgba(255,77,28,0.15);

  --cyan:        #38bdf8;
  --cyan-glow:   rgba(56,189,248,0.2);

  --purple:      #8b5cf6;
  --purple-2:    #a78bfa;
  --purple-glow: rgba(139,92,246,0.28);
  --purple-glow-2: rgba(139,92,246,0.12);

  --green-glow:  #4ade80;

  --text:        #ffffff;
  --text-80:     rgba(255,255,255,0.8);
  --text-60:     rgba(255,255,255,0.6);
  --text-40:     rgba(255,255,255,0.4);
  --text-20:     rgba(255,255,255,0.2);

  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4), 0 1px 0 var(--border) inset;

  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --header-h:    64px;
  --pad:         16px;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 4vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--purple-2) 35%, var(--accent-2) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 900px) {
  .gradient-text { filter: drop-shadow(0 2px 24px var(--purple-glow)); }
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Text helpers ── */
.text-white    { color: var(--text) !important; }
.text-white-60 { color: var(--text-60); }
.text-accent   { color: var(--accent); }

/* ── Section ── */
.section { padding: 72px 0; }
.section--dark  { background: var(--bg-2); }
.section--light { background: var(--bg-3); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-shadow: 0 0 16px var(--accent-glow-2);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: .6;
}

.section-eyebrow--light { color: var(--accent-2); }
.section-eyebrow--light::before,
.section-eyebrow--light::after { background: var(--accent-2); }

.section-title {
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-60);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  min-height: 52px;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s;
}

.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e03000 100%);
  color: var(--text);
  box-shadow: 0 4px 20px var(--accent-glow), 0 1px 0 rgba(255,255,255,.15) inset;
  will-change: transform;
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(255,77,28,.6), 0 0 64px rgba(255,77,28,.2), 0 1px 0 rgba(255,255,255,.15) inset;
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--surface);
  border-color: var(--border-2);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
}

.btn--outline-white {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.5);
}

.btn--full { width: 100%; }
.btn--lg   { padding: 16px 32px; font-size: 1rem; min-height: 56px; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px var(--accent-glow), 0 1px 0 rgba(255,255,255,.15) inset; }
  50%       { box-shadow: 0 4px 40px rgba(255,77,28,.7), 0 0 80px rgba(255,77,28,.25), 0 0 120px rgba(139,92,246,.15), 0 1px 0 rgba(255,255,255,.15) inset; }
}

.pulse { animation: pulse-glow 2.2s ease-in-out infinite; }

/* Magnetic reset transition — applied by JS on mouseleave */
.btn--magnetic-reset {
  transition: transform .5s cubic-bezier(.25,.46,.45,.94) !important;
}

/* Purple gradient border utility */
.border-glow {
  position: relative;
}
.border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--purple), var(--cyan), var(--accent));
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.border-glow:hover::before { opacity: 0.6; }

/* ==========================================================
   MOBILE NAV OVERLAY
   ========================================================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6,12,24,.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 24px var(--pad) 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-right: 1px solid var(--border);
}

.nav-overlay.open {
  display: flex;
  animation: navIn .3s cubic-bezier(.4,0,.2,1) both;
}

@keyframes navIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.nav-overlay__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-bottom: 40px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
}

.nav-overlay__close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

.nav-overlay__close span:first-child { transform: rotate(45deg); }
.nav-overlay__close span:last-child  { transform: rotate(-45deg); }

.nav-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.nav-overlay__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-60);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
  letter-spacing: -.02em;
}

.nav-overlay__link:hover { color: var(--text); padding-left: 8px; }

.nav-overlay__bottom {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-overlay__phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  display: block;
  padding: 8px 0;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6,12,24,.8);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(6,12,24,.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; filter: brightness(1.15); }

.nav { display: none; }

.header__actions { display: none; }

.header__phone { font-weight: 600; color: var(--text-80); }

.header__cta { padding: 10px 20px; min-height: 40px; font-size: .85rem; }

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 8px;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
}

.burger span:nth-child(3) { width: 60%; }

.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255,77,28,.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(56,189,248,.08) 0%, transparent 50%),
    radial-gradient(ellipse 55% 55% at 85% 85%, rgba(139,92,246,.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 5% 5%,  rgba(139,92,246,.06) 0%, transparent 50%),
    linear-gradient(170deg, #060c18 0%, #0a1628 50%, #060c18 100%);
}

/* Animated mesh gradient overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,77,28,.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 80% 20%, rgba(139,92,246,.08) 0%, transparent 55%);
  animation: mesh-shift 10s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(3%,-3%); }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Cursor glow — desktop only, injected by JS */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.1) 0%, rgba(56,189,248,.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity .4s;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  --hero-glow: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(139,92,246,.07) 0%, transparent 65%);
}

.hero__brand { margin-bottom: 24px; }
.hero__brand img { height: 48px; width: auto; filter: brightness(1.2); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.25);
  font-size: .78rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 24px;
}

.hero__title {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__title .text-accent {
  position: relative;
  display: inline;
}

.hero__title .text-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-60);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

.hero__subtitle strong { color: var(--accent-2); font-weight: 700; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  width: fit-content;
  gap: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.hero__stat:first-child { padding-left: 0; }

.hero__stat strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.03em;
}

.hero__stat span {
  font-size: .72rem;
  color: var(--text-40);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__note {
  font-size: .83rem;
  color: var(--text-40);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Scroll animation ── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  perspective: 1200px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .3s ease;
  will-change: transform;
}

.card--bordered {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}

.card--bordered:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.5), 0 1px 0 var(--border-2) inset;
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.card p { color: var(--text-60); font-size: .9rem; line-height: 1.65; }

.pain__transition {
  margin-top: 40px;
  padding: 20px 28px;
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  color: var(--text);
  border-radius: var(--radius);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 32px var(--accent-glow);
  letter-spacing: -.01em;
}

/* ── Steps (Solution) ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.step {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: all .3s ease;
}

.step:hover {
  background: var(--surface-2);
  border-color: rgba(255,77,28,.3);
}

.step__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 { color: var(--text); margin-bottom: 10px; font-size: 1.05rem; }
.step p  { color: var(--text-60); font-size: .9rem; line-height: 1.65; }

.step__connector {
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent);
  padding: 8px 0;
  transform: rotate(90deg);
  display: block;
  opacity: .5;
}

.rufimast-facts {
  background: linear-gradient(135deg, rgba(255,77,28,.08) 0%, rgba(255,77,28,.03) 100%);
  border: 1px solid rgba(255,77,28,.2);
  border-radius: var(--radius);
  padding: 28px;
}

.rufimast-facts__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 18px;
  font-weight: 700;
}

.rufimast-facts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.rufimast-facts__item {
  color: var(--text-80);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ── UTP Grid — Bento style ── */
.utp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  perspective: 1200px;
}

.utp__card {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.utp__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

.utp__card:hover {
  background: var(--surface-2);
  border-color: rgba(255,77,28,.25);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,77,28,.15) inset;
}

.utp__card--featured {
  background: linear-gradient(135deg, rgba(255,77,28,.12) 0%, rgba(255,77,28,.04) 100%);
  border-color: rgba(255,77,28,.35);
}

.utp__card--featured::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,77,28,.2) 0%, transparent 70%);
  pointer-events: none;
}

.utp__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.utp__card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text); }
.utp__card p  { font-size: .88rem; color: var(--text-60); line-height: 1.65; }

.utp__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--accent-glow-2);
}

/* ── Calculator ── */
.calc__wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc__form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.calc__label {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: .88rem;
  color: var(--text-80);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc__option {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: .85rem;
  font-family: inherit;
  color: var(--text-60);
  background: var(--surface);
  transition: all var(--transition);
  cursor: pointer;
}

.calc__option:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,77,28,.06);
}

.calc__option.active {
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  border-color: transparent;
  color: var(--text);
  box-shadow: 0 4px 16px var(--accent-glow-2);
}

.calc__slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-3);
  outline: none;
  margin: 12px 0 6px;
}

.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(255,77,28,.2), 0 4px 12px var(--accent-glow);
}

.calc__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px rgba(255,77,28,.2);
}

.calc__slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--text-40);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.calc__input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}

.calc__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,77,28,.12);
}

.calc__input::placeholder { color: var(--text-40); }

.calc__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.calc__note {
  margin-top: 12px;
  font-size: .76rem;
  color: var(--text-40);
  text-align: center;
}

.calc__result {
  background: linear-gradient(135deg, rgba(255,77,28,.15) 0%, rgba(255,77,28,.05) 100%);
  border: 1px solid rgba(255,77,28,.25);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.calc__result::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,77,28,.15) 0%, transparent 70%);
  pointer-events: none;
}

.calc__result-label {
  font-size: .78rem;
  color: var(--text-40);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.calc__result-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.calc__result-price span { color: var(--accent-2); }

.calc__result-price-max {
  font-size: 1.1rem;
  color: var(--text-40);
  margin-bottom: 24px;
}

.calc__result-saving {
  padding: 16px;
  background: rgba(74,222,128,.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74,222,128,.15);
  font-size: .9rem;
  margin-bottom: 16px;
  color: var(--text-80);
}

.calc__result-saving strong {
  display: block;
  font-size: 1.4rem;
  color: var(--green-glow);
  margin: 6px 0 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

.calc__result-saving small { font-size: .75rem; color: var(--text-40); }

.calc__result-note {
  font-size: .72rem;
  color: var(--text-40);
  margin-bottom: 8px;
}

/* ── Stats ── */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.stat {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  background: var(--surface);
  transition: background .3s ease;
}

.stat:hover { background: var(--surface-2); }

.stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity .3s ease, width .3s ease;
}

.stat:hover::after { opacity: 1; width: 80px; }

.stat__num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
  letter-spacing: -.04em;
}

.stat__plus {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-2);
  display: inline;
}

.stat__label {
  font-size: .78rem;
  color: var(--text-40);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── Portfolio ── */
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-60);
  background: var(--surface);
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(8px);
}

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

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  border-color: transparent;
  color: var(--text);
  box-shadow: 0 4px 16px var(--accent-glow-2);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.portfolio__card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .3s ease;
  box-shadow: var(--shadow-card);
}

.portfolio__card.hidden { display: none; }

.portfolio__card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* Before-after slider */
.before-after { position: relative; user-select: none; }

.before-after__track {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: ew-resize;
}

.before-after__before,
.before-after__after {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.before-after__before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.before-after__after { z-index: 0; }

.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  z-index: 3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ba-label--before { left: 12px; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(4px); }
.ba-label--after  { right: 12px; background: rgba(255,77,28,.8); color: #fff; backdrop-filter: blur(4px); }

.ba-placeholder {
  font-size: .8rem;
  color: var(--text-60);
  text-align: center;
  padding: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,.9);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 12px rgba(255,255,255,.4);
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.portfolio__info { padding: 18px; }

.portfolio__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.portfolio__meta span {
  font-size: .72rem;
  color: var(--text-60);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.portfolio__quote {
  font-style: italic;
  font-size: .88rem;
  color: var(--text-60);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

/* ── Process ── */
.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  perspective: 1200px;
}

.process__step {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all .3s ease;
  backdrop-filter: blur(12px);
}

.process__step:hover {
  background: var(--surface-2);
  border-color: rgba(255,77,28,.25);
  transform: translateY(-4px);
}

.process__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 12px;
  box-shadow: 0 4px 20px var(--accent-glow-2);
  transition: transform .3s ease;
}

.process__step:hover .process__num {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.process__step h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.process__step p { font-size: .82rem; color: var(--text-60); }

.process__arrow {
  text-align: center;
  font-size: 1.2rem;
  color: var(--accent);
  padding: 6px;
  transform: rotate(90deg);
  display: block;
  opacity: .5;
}

/* ── Testimonials ── */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all .3s ease;
}

.testimonial:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
}

.testimonial__stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial__text {
  font-size: .88rem;
  color: var(--text-60);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testimonial__author div { display: flex; flex-direction: column; gap: 2px; }
.testimonial__author strong { font-size: .9rem; color: var(--text); }
.testimonial__author span  { font-size: .76rem; color: var(--text-40); }

.testimonial__object {
  font-size: .72rem !important;
  color: var(--accent) !important;
  font-weight: 600;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--accent) !important;
  display: none;
}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 1rem !important; }

.testimonials-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px 0 4px;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background: var(--surface-3) !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  cursor: pointer;
  transition: all .2s !important;
  flex-shrink: 0;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--accent) !important;
  transform: scale(1.4);
  box-shadow: 0 0 8px var(--accent-glow) !important;
}

@media (min-width: 900px) {
  .swiper-button-prev, .swiper-button-next { display: flex; }
}

/* ── Pricing ── */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
  perspective: 1200px;
}

.pricing__card {
  padding: 32px 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  backdrop-filter: blur(16px);
  transition: all .3s ease;
  will-change: transform;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

.pricing__card:hover {
  transform: translateY(-8px);
  border-color: var(--border-2);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.pricing__card--featured {
  background: linear-gradient(135deg, rgba(255,77,28,.14) 0%, rgba(255,77,28,.05) 100%);
  border-color: rgba(255,77,28,.4);
  box-shadow: 0 0 0 1px rgba(255,77,28,.2), 0 16px 64px rgba(255,77,28,.15);
}

.pricing__card--featured:hover {
  box-shadow: 0 0 0 1px rgba(255,77,28,.35), 0 32px 80px rgba(255,77,28,.25);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pricing__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -.01em;
}

.pricing__price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-60);
  margin-bottom: 24px;
}

.pricing__price span {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.04em;
}

.pricing__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing__list li {
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-60);
}

.pricing__list li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing__list li.yes { color: var(--text-80); }

.pricing__list li.yes::before {
  background-color: rgba(74,222,128,.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%234ade80' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border: 1px solid rgba(74,222,128,.2);
}

.pricing__list li.no { color: var(--text-40); }

.pricing__list li.no::before {
  background-color: rgba(239,68,68,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23ef4444' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  border: 1px solid rgba(239,68,68,.15);
}

.pricing__note {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 24px;
  font-size: .85rem;
  color: var(--text-60);
  line-height: 1.65;
  backdrop-filter: blur(8px);
}

/* ── Comparison table ── */
.comparison__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: .88rem;
}

.comparison__table th,
.comparison__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison__table td { color: var(--text-60); }

.comparison__table thead th {
  background: var(--surface-2);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.comparison__table th.highlight {
  color: var(--accent-2);
  background: rgba(255,77,28,.1);
}

.comparison__table td.highlight {
  color: var(--text);
  font-weight: 600;
  background: rgba(255,77,28,.05);
}

.comparison__table tbody tr:hover td { background: var(--surface-2); }
.comparison__table tbody tr:last-child td { border-bottom: none; }

/* ── FAQ ── */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color .3s ease;
}

.faq__item.open {
  border-color: rgba(255,77,28,.3);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  font-size: .95rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-80);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  letter-spacing: -.01em;
}

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

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq__item.open .faq__question { color: var(--text); }
.faq__item.open .faq__question::after { transform: rotate(45deg); }

.faq__answer {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-60);
  line-height: 1.75;
}

/* ── Final CTA ── */
.final-cta__wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.final-cta__left h2 { margin-bottom: 16px; }
.final-cta__left > p { margin-bottom: 28px; }

.final-cta__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.final-cta__contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.final-cta__contact:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateX(4px);
}

.final-cta__contact-icon { font-size: 1.3rem; flex-shrink: 0; }

.final-cta__contact div { display: flex; flex-direction: column; gap: 2px; }
.final-cta__contact strong { color: var(--text); font-size: .95rem; }
.final-cta__contact span   { color: var(--text-40); font-size: .76rem; }

.final-cta__messengers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  min-height: 52px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.messenger-btn:hover { transform: translateY(-2px); opacity: .9; }

.messenger-btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}

.messenger-btn--tg {
  background: #2AABEE;
  color: #fff;
  box-shadow: 0 4px 20px rgba(42,171,238,.3);
}

/* Contact form */
.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.contact-form__logo { margin-bottom: 20px; }
.contact-form__logo img { height: 36px; width: auto; filter: brightness(1.2); }

.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -.02em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 12px;
  display: block;
}

.form-input::placeholder { color: var(--text-40); }

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,77,28,.12);
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  font-size: .76rem;
  color: var(--text-40);
  text-align: center;
}

/* ── Footer ── */
.footer {
  background: #020508;
  color: var(--text-60);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer__logo-link { display: block; margin-bottom: 14px; }
.footer__logo-link img { height: 38px; width: auto; filter: brightness(1.1); }

.footer__tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 8px;
}

.footer__brand p { font-size: .83rem; margin-bottom: 4px; }
.footer__legal { font-size: .76rem; color: var(--text-20); }

.footer__nav strong,
.footer__services strong,
.footer__contacts strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__nav a,
.footer__services a,
.footer__contacts a {
  display: block;
  font-size: .85rem;
  color: var(--text-40);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer__nav a:hover,
.footer__services a:hover,
.footer__contacts a:hover { color: var(--text); }

.footer__contacts span {
  display: block;
  font-size: .82rem;
  color: var(--text-20);
  margin-bottom: 8px;
}

.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-60) !important;
  margin: 0;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text) !important;
  box-shadow: 0 4px 16px var(--accent-glow-2);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .76rem;
  color: var(--text-20);
}

/* ── Mobile Sticky Bar ── */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(6,12,24,.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,.5);
  padding: 8px var(--pad) max(8px, env(safe-area-inset-bottom));
  gap: 8px;
  transform: translateY(0);
  transition: transform .3s ease;
}

.mobile-bar.hidden { transform: translateY(120%); }

.mobile-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-size: .68rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  min-height: 52px;
  transition: opacity var(--transition);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mobile-bar__btn:active { opacity: .8; }

.mobile-bar__btn--call {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.mobile-bar__btn--wa {
  background: #25D366;
  color: #fff;
}

.mobile-bar__btn--cta {
  background: linear-gradient(135deg, var(--accent) 0%, #c53000 100%);
  color: var(--text);
  box-shadow: 0 4px 16px var(--accent-glow-2);
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transform: scale(.92) translateY(20px);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(20px);
}

.modal.open .modal__content {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-60);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal__close:hover { background: var(--surface-2); color: var(--text); }

.modal__logo { margin-bottom: 20px; }
.modal__logo img { margin: 0 auto; height: 36px; width: auto; filter: brightness(1.2); }

.modal__icon { font-size: 2.8rem; margin-bottom: 14px; }

.modal__content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -.02em;
}

.modal__content p { color: var(--text-60); margin-bottom: 10px; font-size: .95rem; }
.modal__sub { font-size: .85rem !important; margin-bottom: 24px !important; }
.modal__content .btn { width: 100%; }

/* ==========================================================
   TABLET >= 600px
   ========================================================== */
@media (min-width: 600px) {
  :root { --pad: 24px; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .utp__grid  { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .before-after__track { height: 260px; }

  .steps { flex-direction: row; align-items: stretch; }
  .step  { flex: 1; }
  .step__connector {
    transform: none;
    padding: 0 4px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .rufimast-facts__grid { grid-template-columns: repeat(2, 1fr); }

  .process__steps { flex-direction: row; flex-wrap: wrap; gap: 0; }
  .process__step  { flex: 1; min-width: 120px; }
  .process__arrow {
    transform: none;
    padding: 0 2px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 1rem;
  }

  .calc__wrap { flex-direction: row; align-items: flex-start; }
  .calc__form { flex: 1; }
  .calc__result { flex: 0 0 290px; position: sticky; top: calc(var(--header-h) + 16px); }

  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }

  .final-cta__wrap { flex-direction: row; gap: 56px; align-items: flex-start; }
  .final-cta__left { flex: 1; }
  .final-cta__right { flex: 0 0 380px; }

  .footer__inner { grid-template-columns: repeat(2, 1fr); }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
}

/* ==========================================================
   DESKTOP >= 900px
   ========================================================== */
@media (min-width: 900px) {
  :root { --pad: 32px; --header-h: 68px; }

  .section { padding: 96px 0; }
  .section-header { margin-bottom: 64px; }

  .nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
  }

  .nav__link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-60);
    transition: all var(--transition);
    letter-spacing: .01em;
  }

  .nav__link:hover {
    color: var(--text);
    background: var(--surface);
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .header__phone {
    font-size: .86rem;
    color: var(--text-60);
    white-space: nowrap;
    transition: color var(--transition);
    font-weight: 600;
  }

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

  .burger { display: none; }
  .nav-overlay { display: none !important; }
  .mobile-bar { display: none; }

  .hero { padding-bottom: 80px; }
  .hero__content { max-width: none; }
  .hero__brand img { height: 60px; }
  .hero__stat strong { font-size: 1.8rem; }

  .cards-grid { grid-template-columns: repeat(4, 1fr); }
  .utp__grid  { grid-template-columns: repeat(3, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }

  .before-after__track { height: 240px; }

  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px; }
  .footer__bottom .container { flex-direction: row; justify-content: space-between; }

  .stats__grid {
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .stat + .stat {
    border-left: 1px solid var(--border);
  }
}

/* ==========================================================
   WIDE >= 1200px
   ========================================================== */
@media (min-width: 1200px) {
  :root { --pad: 40px; }
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
  .hero__title { max-width: 800px; }
  .utp__grid { grid-template-columns: repeat(5, 1fr); }
}

/* ==========================================================
   MOBILE PERFORMANCE — снимаем GPU-слои на мобильном
   ========================================================== */
@media (max-width: 599px) {
  /* Hero stats — компактнее */
  .hero__stats {
    width: 100%;
    padding: 14px 16px;
    gap: 0;
  }
  .hero__stat { padding: 0 12px; }
  .hero__stat strong { font-size: 1.25rem; }
  .hero__stat span { font-size: .65rem; }
  .hero__stat-divider { height: 30px; }

  /* Убираем тяжёлые backdrop-filter на мобильных */
  .hero__stats { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Before-after: на мобиле в 1 колонку — оставляем как есть (grid mobile 1fr) */
  .portfolio__grid { grid-template-columns: 1fr; }
  .before-after__track { height: 220px; }

  /* Убираем тяжёлые 3D трансформации на карточках */
  .cards-grid,
  .utp__grid,
  .pricing__grid,
  .process__steps { perspective: none; }

  .card--bordered,
  .utp__card,
  .pricing__card {
    will-change: auto;
    transform-style: flat;
  }

  /* Убираем section eyebrow text-shadow */
  .section-eyebrow { text-shadow: none; }

  /* Кнопки: убираем will-change */
  .btn--primary { will-change: auto; }
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .hero__bg::after { animation: none !important; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================
   3D / CANVAS ENHANCEMENTS
   ========================================================== */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__content { z-index: 2; }

.cards-grid,
.utp__grid,
.pricing__grid,
.process__steps {
  perspective: 1200px;
}

.card--bordered,
.utp__card,
.pricing__card {
  will-change: transform;
  transform-style: preserve-3d;
}

.js-tilt-glare { border-radius: inherit; }

@keyframes float-y {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-10px); }
}

.hero__badge { animation: float-y 4s ease-in-out infinite; }

@keyframes float-stat {
  0%, 100% { transform: translateY(0);   }
  40%       { transform: translateY(-6px); }
  70%       { transform: translateY(3px);  }
}

.hero__stat:nth-child(odd)  { animation: float-stat 4.5s ease-in-out infinite; }
.hero__stat:nth-child(even) { animation: float-stat 5.5s ease-in-out infinite reverse; }

/* Glowing line under featured pricing card */
.pricing__card--featured::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

/* Dark section subtle noise texture */
.section--dark {
  position: relative;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(255,77,28,.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(56,189,248,.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Mobile: disable heavy transforms */
@media (max-width: 767px) {
  .cards-grid,
  .utp__grid,
  .pricing__grid,
  .process__steps {
    perspective: none;
  }

  .card--bordered,
  .utp__card,
  .pricing__card {
    will-change: auto;
    transform-style: flat;
  }

  .hero__badge,
  .hero__stat:nth-child(odd),
  .hero__stat:nth-child(even) {
    animation: none;
  }
}

/* ── Dev Bar ── */
/* ── Dev Credit (below header, right) ── */
.dev-credit {
  position: fixed;
  top: calc(var(--header-h) + 6px);
  right: 16px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  background: rgba(6,12,24,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 4px 10px 4px 4px;
}
.dev-credit a {
  pointer-events: all;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.dev-credit a:hover { color: rgba(255,255,255,0.85); }
.dev-credit__label { color: rgba(255,255,255,0.28); }
/* ── Dev Bar (footer bottom) ── */
.dev-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  border-top: 1px solid rgba(139,92,246,0.15);
}
.dev-bar__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.dev-bar__text { color: rgba(255,255,255,0.28); }
.dev-bar__sep  { color: rgba(255,255,255,0.18); }
.dev-bar__email {
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.dev-bar__email:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 600px) {
  .dev-credit { display: none; }
}
/* calc__result-rate */
.calc__result-rate {
  font-size: .78rem;
  color: var(--text-60);
  margin-top: 6px;
  margin-bottom: 4px;
}
.calc__result-rate span {
  color: var(--accent);
  font-weight: 600;
}
/* Technology section */
.tech { background: var(--surface); }
.tech__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tech__step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: border-color .25s, box-shadow .25s;
}
.tech__step:hover {
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.tech__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #E8401C);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 18px rgba(139,92,246,.4);
}
.tech__step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.tech__step p  { font-size: .82rem; color: var(--text-60); line-height: 1.55; }
@media (max-width: 767px) {
  .tech__steps { grid-template-columns: 1fr; gap: 16px; }
  .dev-bar__text, .dev-bar__sep { display: none; }
}

/* ==========================================================
   DESIGN v9 — Dragon + Premium Enhancements
   ========================================================== */

/* ── Dragon Dev Icon ── */
.dev-dragon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--purple);
  filter: drop-shadow(0 0 5px rgba(139,92,246,0.75));
  transition: filter 0.3s, transform 0.3s;
}
.dev-credit:hover .dev-dragon,
.dev-bar:hover .dev-dragon {
  filter: drop-shadow(0 0 8px rgba(139,92,246,1));
  transform: scale(1.15);
}
.dev-bar .dev-dragon {
  width: 14px;
  height: 14px;
}

/* ── Dev Credit — upgraded ── */
.dev-credit {
  gap: 6px;
}
.dev-credit a {
  color: rgba(139,92,246,0.7);
}
.dev-credit a:hover {
  color: rgba(139,92,246,1);
}

/* ── Dev Bar — upgraded ── */
.dev-bar {
  border-top: 1px solid rgba(139,92,246,0.2);
  background: linear-gradient(90deg, transparent 0%, rgba(139,92,246,0.04) 50%, transparent 100%);
}
.dev-bar__inner { gap: 8px; }
.dev-bar__email {
  color: rgba(139,92,246,0.55);
}
.dev-bar__email:hover {
  color: rgba(139,92,246,0.9);
}

/* ── Cards — Premium glassmorphism ── */
.card--bordered {
  position: relative;
  overflow: hidden;
}
.card--bordered::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  opacity: 0;
  transition: opacity 0.35s;
}
.card--bordered:hover::before {
  opacity: 1;
}
.card--bordered::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(139,92,246,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card--bordered:hover::after {
  opacity: 1;
}

/* ── Section eyebrow — more visible gradient ── */
.section-eyebrow {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.section-eyebrow::before,
.section-eyebrow::after {
  background: linear-gradient(90deg, var(--accent), var(--purple));
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
}

/* ── Hero — enhanced background texture ── */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(139,92,246,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

/* ── Stats bar — premium ── */
.hero__stats {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(139,92,246,0.2);
  background: rgba(255,255,255,0.04);
}
.hero__stat strong {
  background: linear-gradient(135deg, #fff 0%, var(--purple-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section gradient divider ── */
.section + .section,
.section--dark + .section,
.section + .section--dark {
  position: relative;
}
.section + .section::before,
.section--dark + .section::before,
.section + .section--dark::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139,92,246,0.3) 30%, rgba(255,77,28,0.3) 70%, transparent 100%);
}

/* ── Pricing cards — featured shimmer ── */
.pricing-card.featured {
  position: relative;
  overflow: hidden;
}
.pricing-card.featured::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: card-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes card-shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  60%, 100% { transform: translateX(350%) skewX(-15deg); }
}

/* ── Tech steps — gradient number glow ── */
.tech__step:hover .tech__num {
  box-shadow: 0 0 28px rgba(139,92,246,0.65), 0 0 60px rgba(232,64,28,0.25);
  transform: scale(1.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.tech__num { transition: box-shadow 0.3s, transform 0.3s; }

/* ── Testimonial / review cards ── */
.testimonial-card,
.review-card {
  border-top: 1px solid rgba(139,92,246,0.2);
}

/* ── Footer — subtle glow line ── */
.footer__bottom {
  position: relative;
}
.footer__bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.25), rgba(255,77,28,0.2), transparent);
}

/* ── Form inputs — purple focus ── */
.form-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}

/* ── Scroll indicator on hero ── */
.hero__content::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.6), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(0.6); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(1);   }
}

@media (max-width: 767px) {
  .hero__content::after { display: none; }
}

/* ==========================================================
   DESIGN v10 — Full 3D & Depth Overhaul
   ========================================================== */

/* ── Dragon: JPG image ── */
img.dev-dragon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,77,28,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dev-bar img.dev-dragon {
  width: 20px;
  height: 20px;
}
.dev-credit:hover img.dev-dragon,
.dev-bar:hover img.dev-dragon {
  transform: scale(1.2) rotate(-8deg);
  box-shadow: 0 0 12px rgba(255,77,28,0.8);
}

/* ── Hero: glowing ambient orbs ── */
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 65%);
  top: -150px;
  right: -150px;
  pointer-events: none;
  animation: orb-float-1 10s ease-in-out infinite;
}
@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-40px, 30px) scale(1.06); }
  70%       { transform: translate(25px, -20px) scale(0.94); }
}

/* ── Hero: 3D perspective grid at bottom ── */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5%;
  width: 110%;
  height: 48%;
  background-image:
    linear-gradient(rgba(139,92,246,0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.28) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(380px) rotateX(68deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.25) 40%,
    transparent 68%);
  -webkit-mask-image: linear-gradient(to top,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.25) 40%,
    transparent 68%);
  pointer-events: none;
  z-index: 1;
}

/* ── Hero: 3D depth text ── */
@media (min-width: 768px) {
  .hero__title {
    text-shadow:
      0 1px 0 rgba(139,92,246,0.65),
      0 2px 0 rgba(115,65,210,0.55),
      0 3px 0 rgba(90,45,180,0.45),
      0 4px 0 rgba(65,28,150,0.35),
      0 5px 0 rgba(45,15,120,0.25),
      0 6px 0 rgba(30,8,90,0.15),
      0 25px 50px rgba(0,0,0,0.75),
      0 0 100px rgba(139,92,246,0.10);
  }
}

/* ── 3D Button: extruded press effect ── */
.btn--primary {
  box-shadow:
    0 4px 0 rgba(175,32,0,0.95),
    0 7px 28px rgba(255,77,28,0.40);
  transform: translateY(0) scale(1);
  transition:
    transform 0.13s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.13s cubic-bezier(0.4,0,0.2,1),
    background 0.25s ease;
  will-change: transform;
}
.btn--primary:hover:not(:active):not(:disabled) {
  box-shadow:
    0 7px 0 rgba(175,32,0,0.95),
    0 15px 40px rgba(255,77,28,0.60),
    0 0 0 2px rgba(255,77,28,0.15);
  transform: translateY(-4px) scale(1.01);
}
.btn--primary:active {
  box-shadow:
    0 1px 0 rgba(175,32,0,0.95),
    0 3px 12px rgba(255,77,28,0.25);
  transform: translateY(3px) scale(0.99);
}

/* ── 3D Cards: mouse tilt via JS-driven CSS variables ── */
.card--bordered,
.utp__card,
.tech__step {
  transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.45s ease;
  will-change: transform;
}
.card--bordered:hover {
  box-shadow:
    0 22px 65px rgba(0,0,0,0.65),
    0 0 0 1px rgba(139,92,246,0.28),
    0 0 50px rgba(139,92,246,0.07);
}
.utp__card:hover {
  box-shadow:
    0 20px 55px rgba(0,0,0,0.6),
    0 0 0 1px rgba(139,92,246,0.25);
}
.tech__step:hover {
  box-shadow:
    0 22px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(139,92,246,0.3),
    0 0 45px rgba(139,92,246,0.09);
}

/* ── 3D Process number badges ── */
.process__num {
  box-shadow:
    0 5px 0 rgba(175,35,0,0.75),
    0 10px 28px rgba(255,77,28,0.28),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.3s ease;
}
.process__step:hover .process__num {
  transform: scale(1.14) translateY(-6px) rotate(-6deg) !important;
  box-shadow:
    0 11px 0 rgba(175,35,0,0.75),
    0 22px 45px rgba(255,77,28,0.50),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ── 3D Tech step numbers ── */
.tech__num {
  box-shadow:
    0 5px 0 rgba(95,25,200,0.65),
    0 10px 28px rgba(139,92,246,0.32),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.3s ease;
}
.tech__step:hover .tech__num {
  transform: scale(1.14) translateY(-6px) !important;
  box-shadow:
    0 11px 0 rgba(95,25,200,0.65),
    0 22px 45px rgba(139,92,246,0.55),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ── 3D Stats ── */
.stat {
  transition: transform 0.3s ease;
}
.stat:hover {
  transform: translateY(-4px);
}
.stat__num {
  filter: drop-shadow(0 3px 16px rgba(139,92,246,0.45));
}

/* ── 3D Pricing cards ── */
.pricing__card {
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.4s ease;
}
.pricing__card:not(.pricing__card--featured):hover {
  transform: perspective(900px) rotateX(-5deg) translateY(-12px) !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.09);
}
.pricing__card--featured {
  transform: translateY(-16px) scale(1.04) !important;
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 0 6px rgba(255,77,28,0.12),
    0 32px 90px rgba(255,77,28,0.30),
    0 0 130px rgba(255,77,28,0.07);
}
.pricing__card--featured:hover {
  transform: perspective(900px) rotateX(-5deg) translateY(-24px) scale(1.05) !important;
  box-shadow:
    0 0 0 2px var(--accent),
    0 0 0 6px rgba(255,77,28,0.22),
    0 44px 110px rgba(255,77,28,0.45),
    0 0 180px rgba(255,77,28,0.10);
}

/* ── 3D Testimonials ── */
.testimonial {
  transform: perspective(900px) translateZ(0);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.testimonial:hover {
  transform: perspective(900px) rotateX(-4deg) translateY(-8px) translateZ(0) !important;
  box-shadow:
    0 32px 75px rgba(0,0,0,0.60),
    0 0 0 1px rgba(139,92,246,0.22),
    0 0 55px rgba(139,92,246,0.06);
  border-color: rgba(139,92,246,0.32) !important;
}

/* ── 3D UTP featured card ── */
.utp__card--featured {
  box-shadow:
    0 0 0 1px rgba(255,77,28,0.32),
    0 16px 55px rgba(255,77,28,0.14);
  background: linear-gradient(140deg, rgba(255,77,28,0.07) 0%, rgba(139,92,246,0.05) 100%);
}
.utp__card--featured:hover {
  box-shadow:
    0 0 0 1px rgba(255,77,28,0.55),
    0 28px 75px rgba(255,77,28,0.28),
    0 0 0 4px rgba(255,77,28,0.07);
}

/* ── Hero stats 3D bar ── */
.hero__stats {
  box-shadow:
    0 8px 36px rgba(0,0,0,0.45),
    0 0 0 1px rgba(139,92,246,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero__stats:hover {
  box-shadow:
    0 16px 55px rgba(0,0,0,0.55),
    0 0 0 1px rgba(139,92,246,0.28),
    inset 0 1px 0 rgba(255,255,255,0.09);
  transform: translateY(-3px);
}

/* ── Contact form 3D ── */
.contact-form {
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.1),
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(139,92,246,0.05);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.contact-form:hover {
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.18),
    0 50px 120px rgba(0,0,0,0.7),
    0 0 100px rgba(139,92,246,0.08);
  transform: translateY(-4px);
}

/* ── Step numbers (solution section) ── */
.step__num {
  text-shadow:
    1px 1px 0 rgba(175,35,0,0.7),
    2px 2px 0 rgba(140,25,0,0.5),
    3px 3px 0 rgba(105,18,0,0.35),
    4px 4px 0 rgba(75,12,0,0.2),
    0 10px 25px rgba(255,77,28,0.25);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.step:hover .step__num {
  transform: scale(1.08) translateY(-4px);
  text-shadow:
    1px 1px 0 rgba(175,35,0,0.7),
    2px 2px 0 rgba(140,25,0,0.5),
    3px 3px 0 rgba(105,18,0,0.35),
    4px 4px 0 rgba(75,12,0,0.2),
    5px 5px 0 rgba(50,8,0,0.12),
    0 15px 35px rgba(255,77,28,0.45);
}

/* ── Rufimast facts: 3D checkboxes ── */
.rufimast-facts__item {
  transition: transform 0.25s ease, color 0.25s ease;
}
.rufimast-facts__item:hover {
  transform: translateX(6px);
  color: rgba(255,255,255,0.95);
}

/* ── FAQ 3D ── */
.faq__item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.faq__item:hover {
  transform: translateX(4px);
  box-shadow: -3px 0 0 var(--accent), 0 4px 20px rgba(0,0,0,0.2);
}

/* ── Mobile: strip heavy 3D ── */
@media (max-width: 767px) {
  .hero::after { display: none; }
  .hero__bg::after { width: 300px; height: 300px; top: -50px; right: -50px; }
  .process__step:hover .process__num { transform: scale(1.08) !important; }
  .pricing__card--featured { transform: translateY(-8px) scale(1.02) !important; }
  .btn--primary:hover:not(:active):not(:disabled) { transform: translateY(-2px) scale(1); }
}

/* ── Reduced motion override ── */
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero__bg::after { display: none; }
  @keyframes orb-float-1 { from, to { transform: none; } }
  .btn--primary,
  .card--bordered, .utp__card, .tech__step,
  .pricing__card, .testimonial, .contact-form,
  .hero__stats, .stat, .faq__item {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}
