/* ===== Variables (огненный стиль по референсу) ===== */
:root {
  --bg-dark: #0d0d0d;
  --bg-card: #1a1a1a;
  --text: #e8e8e8;
  --text-muted: #a0a0a0;
  --accent: #ff6b00;
  --accent-light: #ff8c00;
  --accent-glow: #ffa500;
  --white: #ffffff;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --radius: 8px;
  --transition: 0.2s ease;
}

/* ===== Animations ===== */
@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    filter: brightness(1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.15);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  33% {
    transform: translate(8px, -12px) scale(1.05);
    opacity: 0.9;
  }

  66% {
    transform: translate(-6px, 8px) scale(0.95);
    opacity: 0.7;
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(0, -8px);
  }
}

@keyframes particle-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }

  50% {
    transform: translate(var(--dx, 10px), var(--dy, -15px)) scale(1.2);
    opacity: 1;
  }
}

@keyframes particle-fall {
  0% {
    transform: translate(0, -20%) translateX(0);
    opacity: 0;
  }

  8% {
    opacity: 0.85;
  }

  92% {
    opacity: 0.7;
  }

  100% {
    transform: translate(0, 120vh) translateX(20px);
    opacity: 0;
  }
}

@keyframes particle-fall-back {
  0% {
    transform: translate(0, -20%) translateX(0);
    opacity: 0;
  }

  8% {
    opacity: 0.7;
  }

  92% {
    opacity: 0.5;
  }

  100% {
    transform: translate(15px, 120vh);
    opacity: 0;
  }
}

@keyframes particle-fall-mid {
  0% {
    transform: translate(0, -20%) translateX(0);
    opacity: 0;
  }

  8% {
    opacity: 0.85;
  }

  92% {
    opacity: 0.65;
  }

  100% {
    transform: translate(-25px, 120vh);
    opacity: 0;
  }
}

@keyframes particle-fall-front {
  0% {
    transform: translate(0, -20%) translateX(0);
    opacity: 0;
  }

  8% {
    opacity: 0.95;
  }

  92% {
    opacity: 0.75;
  }

  100% {
    transform: translate(30px, 120vh);
    opacity: 0;
  }
}

@keyframes particle-rise {
  0% {
    transform: translate(0, 120%) scale(0.8);
    opacity: 0;
  }

  15% {
    opacity: 0.3;
  }

  85% {
    opacity: 0.2;
  }

  100% {
    transform: translate(0, -20vh) scale(1);
    opacity: 0;
  }
}

@keyframes hero-particle-fall {
  0% {
    transform: translate(0, -10%) translateX(0);
    opacity: 0;
  }

  5% {
    opacity: 0.95;
  }

  95% {
    opacity: 0.7;
  }

  100% {
    transform: translate(0, 110%) translateX(15px);
    opacity: 0;
  }
}

@keyframes gradient-shift {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.75;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drop-in-bounce {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  60% {
    opacity: 1;
    transform: translateY(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes border-glow {

  0%,
  100% {
    opacity: 0.4;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 35px rgba(255, 107, 0, 0.35), inset 0 0 20px rgba(255, 107, 0, 0.05);
  }
}

@keyframes border-glow-strong {

  0%,
  100% {
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.25);
  }

  50% {
    box-shadow: 0 0 50px rgba(255, 107, 0, 0.4), 0 0 80px rgba(255, 140, 0, 0.15);
  }
}

@keyframes scan-line {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes text-glow {

  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
  }

  50% {
    text-shadow: 0 0 35px rgba(255, 107, 0, 0.6), 0 0 50px rgba(255, 140, 0, 0.3);
  }
}

@keyframes price-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.4));
  }

  50% {
    opacity: 0.95;
    transform: scale(1.02);
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.6));
  }
}

@keyframes cta-bg-pulse {

  0%,
  100% {
    opacity: 0.12;
    transform: scale(1);
  }

  50% {
    opacity: 0.22;
    transform: scale(1.05);
  }
}

@keyframes fade-in-up-strong {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Scroll snap для фиксации секций */
  scroll-snap-type: y proximity;
  scroll-padding: 0;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Фоновые падающие частицы по всей странице */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particles::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse 60% 80% at 15% 60%, rgba(255, 140, 0, 0.04) 0%, transparent 45%);
  animation: gradient-shift 6s ease-in-out infinite;
}

.bg-particles__dot {
  position: absolute;
  left: var(--left, 50%);
  top: -10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.95) 0%, rgba(255, 107, 0, 0.4) 40%, transparent 70%);
  animation: particle-fall var(--duration, 15s) var(--delay, 0s) linear infinite;
}

.bg-particles__dot--back {
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.7) 0%, rgba(255, 107, 0, 0.25) 50%, transparent 75%);
  filter: blur(1px);
  animation: particle-fall-back var(--duration, 18s) var(--delay, 0s) linear infinite;
}

.bg-particles__dot--mid {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.9) 0%, rgba(255, 107, 0, 0.4) 50%, transparent 70%);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
  animation: particle-fall-mid var(--duration, 14s) var(--delay, 0s) linear infinite;
}

.bg-particles__dot--front {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.95) 0%, rgba(255, 140, 0, 0.5) 50%, transparent 70%);
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.6), 0 0 30px rgba(255, 107, 0, 0.25);
  animation: particle-fall-front var(--duration, 10s) var(--delay, 0s) linear infinite;
}

.header,
main {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-glow) 100%);
  box-shadow: 0 0 28px rgba(255, 107, 0, 0.5), 0 0 50px rgba(255, 140, 0, 0.2);
  transform: translateY(-1px);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shine 3s ease-in-out infinite;
}

.btn--shine:hover::after {
  animation: shine 1.2s ease-in-out infinite;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--outline:hover {
  background: rgba(255, 107, 0, 0.1);
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.2);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn__icon {
  width: 0;
  height: 0;
  border-left: 6px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 4px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.95);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
  position: relative;
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.header__logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-icon {
  width: 56px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  border-radius: 8px;
  position: relative;
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 5px rgba(255, 107, 0, 0);
  }
}

.header__logo-icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.6));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.header__brand:hover .header__logo-icon svg {
  filter: drop-shadow(0 0 16px rgba(255, 140, 0, 0.8));
  transform: rotate(5deg) scale(1.05);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  position: relative;
  transition: filter 0.3s ease;
}

.header__brand:hover .header__logo {
  filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.5));
}

.header__tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.85;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto 0 40px;
}

.header__nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.header__nav-link:hover {
  color: var(--accent);
}

.header__nav-link:hover::after {
  width: 100%;
}

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

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

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

.header__cta {
  white-space: nowrap;
}

/* Burger menu */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile menu */
.header__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.header__mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.header__mobile-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.header__mobile-link:hover {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.header__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  padding: 0 24px;
}

.header__mobile-actions .btn {
  width: 100%;
}

/* ===== 3D cube scroll: viewport обрезает «вылезающие» грани ===== */
main {
  perspective: 850px;
  perspective-origin: center center;
}

.section-3d-viewport {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
  /* Небольшой градиент для плавного затемнения краёв */
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.3) 0%, transparent 8%, transparent 92%, rgba(13, 13, 13, 0.3) 100%);
  /* Scroll snap для фиксации */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ===== Full-height sections + 3D cube effect ===== */
.hero,
.benefits,
.services,
.pricing,
.cta-block {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.25s ease-out;
}

.section-3d-viewport .hero,
.section-3d-viewport .benefits,
.section-3d-viewport .services,
.section-3d-viewport .pricing,
.section-3d-viewport .cta-block {
  min-height: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  main {
    perspective: none;
  }

  .hero,
  .benefits,
  .services,
  .pricing,
  .cta-block {
    transform: none !important;
    will-change: auto;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(13, 13, 13, 0) 20%, rgba(0, 0, 0, 0.8) 100%),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 107, 0, 0.15), transparent 70%),
    radial-gradient(circle at 80% 30%, rgba(255, 140, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 70%, rgba(255, 69, 0, 0.06) 0%, transparent 40%);
  pointer-events: none;
  animation: gradient-shift 8s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.4) 50%, transparent),
    radial-gradient(1px 1px at 25% 45%, rgba(255, 255, 255, 0.3) 50%, transparent),
    radial-gradient(2px 2px at 50% 20%, rgba(255, 255, 255, 0.4) 50%, transparent),
    radial-gradient(1px 1px at 75% 35%, rgba(255, 255, 255, 0.3) 50%, transparent),
    radial-gradient(2px 2px at 85% 75%, rgba(255, 255, 255, 0.3) 50%, transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(255, 255, 255, 0.4) 50%, transparent);
  background-size: 500px 500px;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.85) 0%, rgba(255, 107, 0, 0.35) 50%, transparent 70%);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.35);
  animation: particle-float 6s ease-in-out infinite;
}

.hero__particle--1 {
  width: 10px;
  height: 10px;
  left: 15%;
  top: 25%;
  --dx: 12px;
  --dy: -18px;
  animation-delay: 0s;
}

.hero__particle--2 {
  width: 8px;
  height: 8px;
  left: 25%;
  top: 60%;
  --dx: -8px;
  --dy: 10px;
  animation-delay: 0.8s;
}

.hero__particle--3 {
  width: 12px;
  height: 12px;
  left: 45%;
  top: 15%;
  --dx: 6px;
  --dy: -12px;
  animation-delay: 1.6s;
}

.hero__particle--4 {
  width: 6px;
  height: 6px;
  left: 70%;
  top: 40%;
  --dx: -10px;
  --dy: -8px;
  animation-delay: 2.4s;
}

.hero__particle--5 {
  width: 9px;
  height: 9px;
  left: 80%;
  top: 70%;
  --dx: 8px;
  --dy: 12px;
  animation-delay: 3.2s;
}

.hero__particle--6 {
  width: 5px;
  height: 5px;
  left: 55%;
  top: 75%;
  --dx: -6px;
  --dy: -10px;
  animation-delay: 1s;
}

.hero__particle--7 {
  width: 8px;
  height: 8px;
  left: 35%;
  top: 45%;
  --dx: 10px;
  --dy: 6px;
  animation-delay: 2.2s;
}

.hero__particle--8 {
  width: 11px;
  height: 11px;
  left: 90%;
  top: 20%;
  --dx: -12px;
  --dy: -14px;
  animation-delay: 0.4s;
}

/* Падающие искры в hero */
.hero__particle--fall {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.95) 0%, rgba(255, 140, 0, 0.5) 50%, transparent 70%);
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.6), 0 0 25px rgba(255, 107, 0, 0.25);
  animation: hero-particle-fall 8s linear infinite;
  top: -5%;
}

.hero__particle--9 {
  left: 12%;
  animation-delay: 0s;
}

.hero__particle--10 {
  left: 38%;
  animation-delay: 1.2s;
}

.hero__particle--11 {
  left: 52%;
  animation-delay: 2.5s;
}

.hero__particle--12 {
  left: 68%;
  animation-delay: 0.8s;
}

.hero__particle--13 {
  left: 82%;
  animation-delay: 3s;
}

.hero__particle--14 {
  left: 22%;
  animation-delay: 2s;
}

.hero__particle--15 {
  left: 58%;
  animation-delay: 1.5s;
}

.hero__particle--16 {
  left: 75%;
  animation-delay: 0.3s;
}

/* Глубинный слой (размытые, медленные) */
.hero__particle--deep {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.5) 0%, rgba(255, 107, 0, 0.15) 50%, transparent 70%);
  filter: blur(2px);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.3);
  animation: particle-float 10s ease-in-out infinite;
}

.hero__particle--17 {
  left: 20%;
  top: 30%;
  --dx: -15px;
  --dy: 8px;
  animation-delay: 0s;
}

.hero__particle--18 {
  left: 60%;
  top: 50%;
  --dx: 12px;
  --dy: -10px;
  animation-delay: 2s;
}

.hero__particle--19 {
  left: 85%;
  top: 35%;
  --dx: -8px;
  --dy: 12px;
  animation-delay: 1s;
}

.hero__particle--20 {
  left: 40%;
  top: 70%;
  --dx: 10px;
  --dy: -8px;
  animation-delay: 3s;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--white);
}

.hero__accent {
  color: var(--accent);
}

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

.hero__content--animate .hero__title {
  animation: fade-in-up 0.7s ease-out both;
}

.hero__content--animate .hero__subtitle {
  animation: fade-in-up 0.7s ease-out 0.1s both;
}

.hero__content--animate .hero__offer {
  animation: fade-in-up 0.7s ease-out 0.2s both;
}

.hero__content--animate .hero__cta {
  animation: fade-in-up 0.7s ease-out 0.35s both;
}

.hero__visual--animate .hero__img-wrap {
  animation: scale-in 0.9s ease-out 0.2s both;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--radius);
  animation: float-slow 5s ease-in-out infinite;
}

.hero__img-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  opacity: 0.3;
  z-index: -1;
  filter: blur(20px);
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.hero__offer {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 28px;
}

.hero__cta {
  align-self: flex-start;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  border-radius: var(--radius);
  box-shadow: 0 0 50px rgba(255, 107, 0, 0.2), 0 0 100px rgba(255, 107, 0, 0.08);
  background: var(--bg-card);
  min-height: 320px;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* ===== Benefits ===== */
.benefits {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.benefits__item {
  position: relative;
  padding: 24px;
  background: rgba(26, 26, 26, 0.6);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 0, 0.12);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.benefits__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.benefits__item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 107, 0, 0.03) 0%, transparent 100%);
  pointer-events: none;
  animation: scan-line 8s linear infinite;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.benefits__item:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.15), inset 0 0 30px rgba(255, 107, 0, 0.03);
  transform: translateY(-2px);
}

.benefits__item:hover::before {
  opacity: 1;
}

.benefits__item:hover::after {
  opacity: 1;
}

.benefits__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
  transition: text-shadow 0.35s ease;
}

.benefits__item:hover .benefits__label {
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.benefits__intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.6;
}

.benefits__text {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}

.benefits__list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.benefits__list li {
  margin-bottom: 8px;
}

.benefits__list li:last-child {
  margin-bottom: 0;
}

/* ===== Section title ===== */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  margin: 0 0 32px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  transition: transform 0.5s ease;
  box-shadow: 0 0 10px var(--accent);
}

.reveal.reveal--visible .section-title::after {
  transform: translateX(-50%) scaleX(1);
}

.benefits .section-title::after,
.services .section-title::after,
.pricing .section-title::after,
.cta-block .section-title::after {
  width: 100px;
}

/* ===== Services ===== */
.services {
  padding: 64px 0;
  position: relative;
}

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

.service-card {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow), var(--accent));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 35px rgba(255, 107, 0, 0.2), 0 0 60px rgba(255, 140, 0, 0.1);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
  animation: border-glow 2s ease-in-out infinite;
}

.service-card__icon {
  transition: filter 0.35s ease, transform 0.35s ease;
}

.service-card:hover .service-card__icon img {
  filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.5));
}

.service-card:hover .service-card__icon {
  transform: scale(1.05);
}

.service-card:hover .service-card__price {
  animation: text-glow 2s ease-in-out infinite;
}

.service-card__icon {
  margin-bottom: 16px;
  transition: transform 0.35s ease;
}

.service-card__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: filter 0.35s ease;
}

/* Scroll reveal */
.reveal .benefits__item,
.reveal .service-card {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal .section-title,
.reveal .benefits__intro,
.reveal .pricing__text,
.reveal .pricing__features,
.reveal .pricing .btn,
.reveal .cta-block__title,
.reveal .cta-block__subtitle,
.reveal .cta-block__contacts,
.reveal .cta-block__note,
.reveal .cta-block__text,
.reveal .cta-block__actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.reveal--visible .benefits__item,
.reveal.reveal--visible .service-card,
.reveal.reveal--visible .section-title,
.reveal.reveal--visible .benefits__intro,
.reveal.reveal--visible .pricing__text,
.reveal.reveal--visible .pricing__features,
.reveal.reveal--visible .pricing .btn,
.reveal.reveal--visible .cta-block__title,
.reveal.reveal--visible .cta-block__subtitle,
.reveal.reveal--visible .cta-block__contacts,
.reveal.reveal--visible .cta-block__note,
.reveal.reveal--visible .cta-block__text,
.reveal.reveal--visible .cta-block__actions {
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal--visible .benefits__item--1 {
  transition-delay: 0.08s;
}

.reveal.reveal--visible .benefits__item--2 {
  transition-delay: 0.18s;
}

.reveal.reveal--visible .section-title {
  transition-delay: 0s;
}

.reveal.reveal--visible .service-card--1 {
  transition-delay: 0.05s;
}

.reveal.reveal--visible .service-card--2 {
  transition-delay: 0.15s;
}

.reveal.reveal--visible .service-card--3 {
  transition-delay: 0.25s;
}

.reveal.reveal--visible .service-card--4 {
  transition-delay: 0.35s;
}

.service-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.service-card__price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0;
}

/* ===== Pricing ===== */
.pricing {
  padding: 64px 0;
  background: rgba(26, 26, 26, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing .container {
  text-align: center;
}

.pricing__text {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.pricing__text strong {
  color: var(--accent);
  display: inline-block;
  animation: price-pulse 3s ease-in-out infinite;
}

.pricing__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.pricing__feature {
  position: relative;
  padding: 32px 24px;
  background: rgba(26, 26, 26, 0.6);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 0, 0.12);
  text-align: center;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.pricing__feature:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.15), inset 0 0 30px rgba(255, 107, 0, 0.03);
  transform: translateY(-4px);
}

.pricing__feature-icon {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing__feature-icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.4));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.pricing__feature:hover .pricing__feature-icon svg {
  filter: drop-shadow(0 0 16px rgba(255, 107, 0, 0.6));
  transform: scale(1.1);
}

.pricing__feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 12px;
}

.pricing__feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.pricing .container {
  position: relative;
}

.pricing .container::before {
  content: '';
  position: absolute;
  inset: -30px -20px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 107, 0, 0.2) 0%, rgba(255, 107, 0, 0.06) 40%, transparent 70%);
  border-radius: 20px;
  pointer-events: none;
  animation: gradient-shift 4s ease-in-out infinite;
}

.pricing .btn {
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.pricing__text {
  position: relative;
  z-index: 1;
}

/* ===== CTA block ===== */
.cta-block {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255, 107, 0, 0.12) 0%, transparent 65%);
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, rgba(255, 107, 0, 0.06) 40%, transparent 60%);
  pointer-events: none;
  animation: cta-bg-pulse 5s ease-in-out infinite;
}

.cta-block .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-block__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--white);
  margin: 0 0 16px;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.2);
  transition: text-shadow 0.4s ease;
}

.cta-block:hover .cta-block__title {
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.35), 0 0 60px rgba(255, 140, 0, 0.15);
}

.cta-block__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 auto 48px;
  max-width: 640px;
  line-height: 1.6;
}

.cta-block__contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.cta-contact {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  background: rgba(26, 26, 26, 0.6);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 0, 0.15);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  text-align: left;
}

.cta-contact:hover {
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 0 35px rgba(255, 107, 0, 0.2), inset 0 0 30px rgba(255, 107, 0, 0.05);
  transform: translateY(-4px);
}

.cta-contact__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  transition: background 0.35s ease, transform 0.35s ease;
}

.cta-contact:hover .cta-contact__icon {
  background: rgba(255, 107, 0, 0.2);
  transform: scale(1.1);
}

.cta-contact__icon svg {
  filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.4));
}

.cta-contact__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-contact__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.cta-contact__value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  line-height: 1.3;
}

.cta-contact__value:hover {
  color: var(--accent-light);
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.cta-contact__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.cta-block__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(255, 107, 0, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 0, 0.15);
}

.cta-block__note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cta-block__note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.cta-block__text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 480px;
  line-height: 1.6;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-block__actions .btn--outline {
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.cta-block__actions .btn--outline:hover {
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.3), inset 0 0 20px rgba(255, 107, 0, 0.05);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-card);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  transition: text-shadow 0.35s ease;
}

.footer__brand:hover {
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.footer__contacts {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.footer__link:hover {
  color: var(--accent);
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.footer__copy {
  width: 100%;
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.mobile-br {
  display: none;
}

/* ===== Responsive: tablet ===== */
@media (max-width: 992px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__cta {
    align-self: center;
  }

  .hero__visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .pricing__features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-block__contacts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== Responsive: mobile ===== */
@media (max-width: 768px) {

  /* Отключаем scroll-snap на мобильных для лучшего UX */
  html {
    scroll-snap-type: none;
  }

  main {
    perspective: none;
  }

  .section-3d-viewport {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    height: auto;
    overflow: visible;
  }

  .section-3d-viewport .hero,
  .section-3d-viewport .benefits,
  .section-3d-viewport .services,
  .section-3d-viewport .pricing,
  .section-3d-viewport .cta-block {
    height: auto;
    min-height: auto;
  }

  .hero,
  .benefits,
  .services,
  .pricing,
  .cta-block {
    transform: none !important;
    opacity: 1 !important;
    min-height: auto;
    height: auto;
  }

  .container {
    padding: 0 16px;
  }

  .header__inner {
    padding: 12px 16px;
  }

  .header__logo-icon {
    width: 50px;
    height: 36px;
  }

  .header__logo-icon svg {
    width: 42px;
    height: 28px;
  }

  .header__logo {
    font-size: 1.5rem;
  }

  .header__tagline {
    font-size: 0.7rem;
  }

  .header__actions {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .section-3d-viewport .hero {
    height: calc(100dvh - 60px);
    height: calc(100vh - 60px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 24px;
    box-sizing: border-box;
  }

  .hero__inner {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 0;
  }

  .hero__title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .mobile-br {
    display: inline;
  }

  .hero__visual {
    display: none;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services {
    padding: 48px 0;
  }

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

  .pricing__feature {
    padding: 24px 20px;
  }

  .cta-block__title {
    font-size: 1.75rem;
  }

  .cta-block__subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .cta-block__contacts {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-contact {
    padding: 24px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-contact__icon {
    width: 48px;
    height: 48px;
  }

  .cta-contact__value {
    font-size: 1.2rem;
  }

  .cta-block__actions {
    flex-direction: column;
  }

  .cta-block__actions .btn {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__contacts {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn--large {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Учёт «Уменьшить движение» в системе */
@media (prefers-reduced-motion: reduce) {

  .hero__bg,
  .hero__particle,
  .bg-particles__dot {
    animation: none;
    opacity: 0;
  }

  .hero__particle--fall,
  .hero__particle--deep {
    animation: none;
    opacity: 0;
  }

  .hero__accent--glow,
  .hero__img-wrap,
  .hero__img-wrap::before,
  .btn--shine::after {
    animation: none;
  }

  .hero__content--animate .hero__title,
  .hero__content--animate .hero__subtitle,
  .hero__content--animate .hero__offer,
  .hero__content--animate .hero__cta,
  .hero__visual--animate .hero__img-wrap {
    animation: none;
  }

  .hero__img-wrap {
    animation: none;
  }

  .benefits__item::after {
    animation: none;
    opacity: 0;
  }

  .service-card:hover::before {
    animation: none;
  }

  .service-card:hover .service-card__price {
    animation: none;
  }

  .pricing__text strong {
    animation: none;
  }

  .pricing .container::before {
    animation: none;
  }

  .cta-block::before {
    animation: none;
  }

  .header__logo-icon {
    animation: none;
  }

  .reveal .benefits__item,
  .reveal .service-card,
  .reveal .section-title,
  .reveal .benefits__intro,
  .reveal .pricing__text,
  .reveal .pricing__features,
  .reveal .pricing .btn,
  .reveal .cta-block__title,
  .reveal .cta-block__subtitle,
  .reveal .cta-block__contacts,
  .reveal .cta-block__note,
  .reveal .cta-block__text,
  .reveal .cta-block__actions {
    opacity: 1;
    transform: none;
  }
}