/* ===========================================================
   ПРЕМИУМ — CSS Reset & Setup
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&display=swap');

@font-face {
  font-family: 'VK Sans Display';
  src: url('./assets/VK Sans Display Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'VK Sans Display';
  src: url('./assets/VK Sans Display Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'VK Sans Display';
  src: url('./assets/VK Sans Display Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'VK Sans Display';
  src: url('./assets/VK Sans Display Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'VK Sans Display';
  src: url('./assets/VK\ Sans\ Display\ DemiBold.ttf.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

:root {
  --cream:        rgb(246, 246, 240);
  --ink:          rgb(27, 29, 31);
  --black:        rgb(0, 0, 0);
  --navy:         rgb(0, 29, 71);
  --grey-stroke:  rgb(212, 212, 212);
  --grey-divider: rgb(209, 209, 209);
  --grey-strike:  rgb(167, 167, 167);
  --font:         'Inter Tight', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --fs-display: 116px; 
  --fs-h1:      100px; 
  --fs-h2:       80px; 
  --fs-h3:       48px; 
  --fs-xl:       32px; 
  --fs-lg:       24px; 
  --fs-md:       20px; 
  --fs-base:     18px; 
  --fs-sm:       16px; 

  --gutter:     96px;   
  --design-w:   1920px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'VK Sans Display', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, .hero-title, .feature-title, .pricing-title, .faq-title, .footer-slogan, .brand-name, .plan-name {
  font-weight: 700;
}

body, p, .btn, .feature-sub, .plan-feats, .faq-q, .faq-a, .header-actions, .hero-sub, .footer-link, .footer-bottom {
  font-weight: 400;
}

body {
  background-color: var(--black);
  background-image: radial-gradient(rgba(246, 246, 240, 0.085) 1.3px, transparent 1.6px);
  background-size: 28px 28px;
  background-position: 0 0;
  background-attachment: fixed;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cream); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.stage {
  width: var(--design-w);
  margin: 0 auto;
  position: relative;
}

.inner-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999999;
  will-change: box-shadow;
  animation: glowMove 6s ease-in-out infinite;
}

/* ===========================================================
   HEADER
   =========================================================== */

.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  height: 64px;
  background: rgba(255, 255, 255, 0.014); 
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2); 
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  overflow: hidden;
}

.header-facets {
  position: absolute;
  inset: 0; 
  pointer-events: none;
  z-index: 0;
}
.header-facets img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; 
  opacity: 0.7; 
}
.header-facets span:nth-child(1) { right: 20px;  width: 70px; }
.header-facets span:nth-child(2) { right: 120px; width: 130px; opacity: 0.85; }
.header-facets span:nth-child(3) { right: 300px; width: 180px; opacity: 0.6; }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative; 
}

.brand-logo {
  transition: opacity 0.5s var(--ease);
  height: 24px; 
  width: auto;
}
.brand-logo--light { display: block; }
.brand-logo--dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.header.is-light .brand-logo--light { opacity: 0; }
.header.is-light .brand-logo--dark { opacity: 1; }

.header.is-light .btn--ghost {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(0, 29, 71, 0.04);
  --glow: rgba(0, 29, 71, 0.2);     
}
.header.is-light .btn--solid-white {
  background: var(--navy);
  color: var(--cream);
  --glow: rgba(0, 29, 71, 0.4);     
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===========================================================
   BUTTONS
   =========================================================== */

.btn {
  position: relative;
  width: auto;         
  min-width: 220px;    
  height: 40px;        
  border-radius: 20px; 
  padding: 0 24px;     
  font-size: 14px; 
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
  will-change: transform;
}
.btn-label {
  position: relative;
  z-index: 2;
  top: 1px; 
  font-weight: 500;          /* <-- Жестко задали Regular для текста всех кнопок */
  transition: transform 0.6s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--glow, rgba(0, 29, 71, 0.35));
  transition: box-shadow 0.6s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::before {
  box-shadow: 0 0 28px 6px var(--glow, rgba(0, 29, 71, 0.35));
}

.btn--white {
  background: #fff;
  color: var(--ink);
  height: 48px;              
  border-radius: 24px;       
  padding: 0 24px;           
  font-weight: 500;          /* <-- Перевели на Medium */
  font-size: var(--fs-sm);   
  --glow: rgba(255, 255, 255, 0.55);
  --glow-ring: rgba(255, 255, 255, 0.22);
}
.btn--card {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--grey-stroke);
  height: 52px;
  border-radius: 60px;
  padding: 16px 24px;
  font-weight: 500;
  font-size: var(--fs-base);
  width: 100%;
  --glow: rgba(0, 29, 71, 0.5);
  --glow-ring: rgba(0, 29, 71, 0.18);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.16); 
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.35); 
  --glow: rgba(255, 255, 255, 0.3);
  --glow-ring: rgba(255, 255, 255, 0.12);
}
.btn--solid-white {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  --glow: rgba(255, 255, 255, 0.5);
  --glow-ring: rgba(255, 255, 255, 0.2);
}

.header .btn {
  min-width: auto;     
  height: 36px;        
  border-radius: 18px; 
  padding: 0 20px;     
  font-size: 13px;     
  font-weight: 500;          /* <-- Перевели на Medium */
}

/* ===========================================================
   HERO
   =========================================================== */

.section {
  position: relative;
  width: 1920px;
  height: 1080px;
}

.hero {
  background: transparent; 
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: -80px;                /* <-- Поднимаем вверх (можно сделать -100px или -120px) */
  left: 0;
  width: 100%;
  height: calc(100% + 80px); /* <-- Компенсируем сдвиг (значение должно совпадать с top) */
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.hero-glow {
  position: absolute;
  left: -121.5px;
  top: -1389px;
  width: 2162px;
  height: 2162px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  opacity: 0.1;
  pointer-events: none;
  display: none;
}
.hero-content {
  position: absolute;
  left: 460px;
  top: 680px;
  width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  z-index: 3;
}
.hero-title {
  width: 1000px;
  font-weight: 700;
  font-size: var(--fs-display);
  text-align: center;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: rgb(255, 255, 255);
}
.hero-line { display: block; white-space: nowrap; }

.hero-cta-block {
  width: 397px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.hero-cta-block .btn { width: 230px; }

.hero-sub {
  width: 397px;
  opacity: 0.4;
  font-weight: 400;
  font-size: 12px;           /* <-- Сделали еще аккуратнее (было 14px) */
  text-align: center;
  line-height: 1;
  color: var(--cream);
  white-space: pre-line;
}

/* ===========================================================
   FEATURES
   =========================================================== */

.feature {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: transparent;
}
.feature--left { margin-bottom: -120px; }

.feature-card {
  position: absolute;
  top: 249px;
  width: 720px;
  height: 538px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 90px 60px;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 3;

  opacity: 0;
  transform: translateY(60px) scale(0.97);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  will-change: opacity, transform, filter;
}
.feature.is-in .feature-card { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.feature--left .feature-card { left: 240px; }
.feature--right .feature-card { right: 240px; }

.feature-card-icons { display: flex; flex-direction: row; gap: 20px; height: 64px; }
.feature-icon img { width: 64px; height: auto; }

.feature-title {
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: pre-line;
}
.feature-sub {
  max-width: 520px;
  font-weight: 500;
  font-size: var(--fs-lg);
  line-height: 1.08;
  color: var(--cream);
}

.feature-phone {
  position: absolute;
  top: -150px;
  width: 1240px;
  height: 1380px;
  z-index: 2;
  opacity: 0;
  transform: translateY(80px) scale(0.92);
  filter: blur(10px);
  transition: opacity 1.2s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease);
  transition-delay: 0.15s;
  will-change: opacity, transform, filter;
}
.feature.is-in .feature-phone { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.feature-phone img { width: 100%; height: 100%; object-fit: contain; max-width: none; }
.feature--left .feature-phone  { right: -180px; }
.feature--right .feature-phone { left: -180px; }

.feature-metal {
  position: absolute;
  width: 290px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
  opacity: 0;
  transform: translateY(70px) rotate(-12deg) scale(0.8);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: 0.4s;
  will-change: opacity, transform;
}
.feature.is-in .feature-metal { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
.feature-metal--1 { right: 150px; top: 600px; width: 370px; animation: floatMetal 6s ease-in-out infinite; }
.feature-metal--2 { left: 600px;  top: 390px; width: 320px; animation: floatMetal 7s ease-in-out infinite -2s; }

/* ===========================================================
   HORIZONTAL SCROLL
   =========================================================== */

.hscroll {
  position: relative;
  background: transparent;
  margin-top: -240px;   
}
.hscroll-track {
  position: relative;
  height: calc(var(--vh, 100vh) * 7.5); 
}
.hscroll-pin {
  position: sticky;
  top: 0;
  height: var(--vh, 100vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hscroll-stage {
  position: relative;
  width: 1920px;
  height: 1080px;
}
.hscroll-stage > * { will-change: transform, opacity; }

.hs-f3 { position: absolute; inset: 0; z-index: 7; }
.hs-f3-card {
  position: absolute;
  left: 240px;
  top: 249px;
  width: 720px;
  height: 538px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 90px 60px;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 3;
}
.hs-f3-phone {
  position: absolute;
  width: 1560px;
  height: 1720px;
  top: 180px;
  right: -260px;
  z-index: 2;
}
.hs-f3-phone img { width: 100%; height: 100%; object-fit: contain; max-width: none; }
.hs-f3-metal {
  position: absolute;
  right: 70px;
  top: 470px;
  width: 330px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
  max-width: none;
  animation: floatMetal 6.5s ease-in-out infinite -4s;
}

.hs-headphones {
  position: absolute;
  left: -880px;
  top: -228px;
  width: 2000px;
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 60px 90px rgba(0,0,0,0.6));
  opacity: 0;
  max-width: none;
}
.hs-popcorn {
  position: absolute;
  left: 980px;
  top: -20px;
  width: 1500px;
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 50px 70px rgba(0,0,0,0.55));
  opacity: 0;
  max-width: none;
}

.hs-logo {
  position: absolute;
  width: 200px;
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
  opacity: 0;
}
.hs-logo[data-logo="0"] { left: 835px;  top: 70px;  width: 250px; }  
.hs-logo[data-logo="1"] { left: 1520px; top: 720px; width: 225px; }  
.hs-logo[data-logo="2"] { left: 175px;  top: 720px; width: 225px; }  
.hs-logo[data-logo="3"] { left: 185px;  top: 230px; width: 215px; }  
.hs-logo[data-logo="4"] { left: 1520px; top: 230px; width: 215px; }  
.hs-logo[data-logo="5"] { left: 857px;  top: 760px; width: 205px; }  

.hs-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 44px;
  z-index: 8;
  opacity: 0;
}
.hs-text h2 {
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  white-space: pre-line;
  text-align: center;
}
.hs-try {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--cream);
  height: 60px;
  border-radius: 32px;
  padding: 18px 36px;
  font-size: var(--fs-md);
  font-weight: 500;
  opacity: 0;
  --glow: rgba(255,255,255,0.4);
  --glow-ring: rgba(255,255,255,0.14);
}

/* ===========================================================
   CREAM BLOCK & PRICING
   =========================================================== */

.cream-block { position: relative; background: transparent; }
.cream-block .pricing { border-radius: 72px; margin-bottom: -160px; z-index: 2; }
.cream-block .faq { border-radius: 72px; margin-top: -160px; z-index: 2; }
.cream-block .media { z-index: 1; }

.pricing {
  position: relative;
  width: 1920px;
  height: 1080px;
  background: var(--cream);
  overflow: hidden;
}
.pricing-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pricing-bg-arc { position: absolute; border-radius: 50%; filter: blur(80px); }
.pricing-bg-arc--1 { left: -240px; top: -160px; width: 900px; height: 1500px; background: rgba(60,60,60,0.13); transform: rotate(-30deg); }
.pricing-bg-arc--2 { right: -240px; top:  140px; width: 900px; height: 1300px; background: rgba(60,60,60,0.10); transform: rotate(40deg); }
.pricing-bg-arc--3 { left: 38%;     top: -420px; width: 700px; height: 1200px; background: rgba(60,60,60,0.10); transform: rotate(15deg); }

.pricing-head {
  position: absolute;
  left: 0;
  top: 128px;
  width: 1920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 2;
}
.pricing-title {
  width: 1920px;
  font-weight: 700;
  font-size: var(--fs-h1);
  text-align: center;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pricing-grid-wrap {
  position: absolute;
  left: 230px;
  top: 320px;
  width: 1460px;
  height: 570px;
}
.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 1460px;
  height: 570px;
}

.plan {
  position: relative;
  height: 570px;
  border-radius: 60px;
  background: var(--cream);
  border: 1px solid var(--grey-stroke);
  padding: 39px 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  will-change: transform, opacity;
}
.plan[data-plan="0"] { z-index: 3; }
.plan[data-plan="1"] {
  z-index: 2;
  opacity: 0;
  transform: translateX(-496.667px) scale(0.92);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0);
}
.plan[data-plan="1"].is-in { opacity: 1; transform: translateX(0) scale(1); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25); }
.plan[data-plan="2"] {
  z-index: 1;
  opacity: 0;
  transform: translateX(-993.333px) scale(0.88);
  transition: opacity 1s var(--ease), transform 1.3s var(--ease);
  transition-delay: 0.18s;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0);
}
.plan[data-plan="2"].is-in { opacity: 1; transform: translateX(0) scale(1); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25); }

.plan-head { display: flex; flex-direction: column; gap: 16px; }
.plan-name { font-weight: 700; font-size: var(--fs-h3); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.plan-price-row { display: flex; flex-direction: row; gap: 12px; align-items: baseline; flex-wrap: wrap; min-height: 30px; }
.plan-price-old { font-weight: 700; font-size: var(--fs-lg); letter-spacing: 0.256px; color: var(--grey-strike); text-decoration: line-through; line-height: 1.1; }
.plan-price { font-weight: 700; font-size: var(--fs-xl); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.plan-divider { height: 1px; background: var(--grey-divider); width: 100%; }

.plan-feats { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.feat { display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 28px; }
.feat-check {
  width: 28px;
  height: 28px;
  border-radius: 120px;
  background: rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feat-check svg { width: 14px; height: 14px; }
.feat-text { font-size: var(--fs-md); line-height: 1.15; letter-spacing: 0.26px; color: var(--ink); font-weight: 400; }
.plan .btn--card { margin-top: auto; }

/* ===========================================================
   MEDIA
   =========================================================== */

.media {
  position: relative;
  width: 1920px;
  height: 1470px;
  overflow: hidden;
  background: var(--ink);
}

.media-video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2680px;
  height: 1880px;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 0;
  will-change: transform;
}

/* ===========================================================
   FAQ
   =========================================================== */

.faq {
  position: relative;
  width: 1920px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 0 160px;
  gap: 100px;
}
.faq-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.faq-bg-arc { position: absolute; border-radius: 50%; filter: blur(110px); }
.faq-bg-arc--1 { left: -120px; top: 200px;  width: 700px; height: 1400px; background: rgba(60,60,60,0.13); transform: rotate(-25deg); }
.faq-bg-arc--2 { right: -120px; top: 700px; width: 750px; height: 1300px; background: rgba(60,60,60,0.10); transform: rotate(35deg); }

.faq-head { width: 998px; display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; }
.faq-eyebrow { font-weight: 700; font-size: var(--fs-lg); color: var(--navy); line-height: 1; }
.faq-title { width: 998px; font-weight: 700; font-size: var(--fs-h1); text-align: center; line-height: 0.95; letter-spacing: -0.02em; color: var(--navy); }

.faq-list { width: 854px; display: flex; flex-direction: column; gap: 80px; z-index: 2; }
.faq-pair { position: relative; width: 854px; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }

.faq-q {
  align-self: flex-start;
  max-width: 640px;
  border-radius: 45px;
  background: var(--navy);
  padding: 28px 46px;
  color: var(--cream);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1;
  box-shadow: inset 0 0 16px rgba(246, 246, 240, 0.18);
  opacity: 0;
  transform: translateY(40px) translateX(-30px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease);
  will-change: opacity, transform, filter;
}

.faq-a {
  max-width: 720px;
  border-radius: 45px;
  background: rgb(255, 255, 255);
  padding: 28px 32px;
  color: var(--ink);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(40px) translateX(30px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease);
  transition-delay: 0.2s;
  will-change: opacity, transform, filter;
}
.faq-a p { line-height: 1.15; }
.faq-a-sub { display: flex; flex-direction: row; align-items: center; gap: 12px; color: var(--navy); margin-top: 4px; }
.faq-a-sub .ic { width: 16px; height: 16px; }

.faq-pair.is-in .faq-q, .faq-pair.is-in .faq-a { opacity: 1; transform: translateY(0) translateX(0); filter: blur(0); }

/* ===========================================================
   FOOTER
   =========================================================== */

.footer {
  position: relative;
  width: 1920px;
  background: transparent;
  padding: 150px var(--gutter) 44px;
  overflow: hidden;
}
.footer-inner { width: 1728px; margin: 0 auto; display: flex; flex-direction: column; }

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 36px; height: 36px; background: var(--cream); border-radius: 8px; box-shadow: none; }
.footer-brand .brand-name { font-size: var(--fs-xl); color: var(--cream); font-weight: 600; letter-spacing: -0.03em; }

.footer-slogan { margin: 40px 0 52px; max-width: 1100px; font-weight: 800; font-size: var(--fs-h1); line-height: 0.95; letter-spacing: -0.03em; color: var(--cream); white-space: pre-line; text-wrap: balance; }
.footer-cta { align-self: flex-start; height: 64px; border-radius: 40px; padding: 18px 38px; font-size: var(--fs-md); }
.footer-wordmark { display: block; width: 1920px; max-width: none; height: auto; margin: 64px -96px -44px; }

.footer-links {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 60px;
  row-gap: 24px;
  max-width: 1100px;
}
.footer-link { font-weight: 500; font-size: var(--fs-base); line-height: 1.4; color: var(--cream); opacity: 0.7; transition: opacity 0.4s var(--ease); width: fit-content; }
.footer-link:hover { opacity: 1; }

.footer-divider { height: 1px; background: rgba(246, 246, 240, 0.14); margin: 90px 0 32px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; opacity: 0.42; }

/* ===========================================================
   UTILITIES & ANIMATIONS
   =========================================================== */

#flyingPhone {
  position: fixed;
  top: 50% !important;
  left: 0 !important;
  transform: translate3d(0, -50%, 0);
  transform-origin: left center;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: lighten; 
  will-change: transform, opacity;
  opacity: 0;
}
#flyingPhoneVideo { width: 100%; height: 100%; object-fit: contain; }

.section-bg-png {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  pointer-events: none; 
  z-index: 1; 
}

.split-word {
  display: inline-block;
  overflow: visible !important; 
  vertical-align: bottom;
  padding-top: 0.1em;           
  padding-bottom: 0.1em;        
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  will-change: transform;
}
.is-in .split-word > span { transform: translateY(0); }

.premium-inline {
  display: inline-block;
  vertical-align: middle;
  width: 1200px; 
  height: 0.9em;    
  margin-bottom: -60px;
  position: relative;
  top: -0.05em;     
}

@keyframes floatMetal {
  0%, 100% { rotate: -3deg; translate: 0 0px; }
  50% { rotate: 3deg; translate: 0 -12px; }
}

@keyframes glowMove {
  0% { box-shadow: inset 0 3px 50px rgba(255, 250, 235, 0.08), inset 0 -3px 50px rgba(255, 250, 235, 0.08), inset 3px 0 50px rgba(255, 250, 235, 0.04), inset -3px 0 50px rgba(255, 250, 235, 0.04); }
  50% { box-shadow: inset 0 12px 80px rgba(255, 250, 235, 0.14), inset 0 -12px 80px rgba(255, 250, 235, 0.14), inset 8px 0 80px rgba(255, 250, 235, 0.08), inset -8px 0 80px rgba(255, 250, 235, 0.08); }
  100% { box-shadow: inset 0 3px 50px rgba(255, 250, 235, 0.08), inset 0 -3px 50px rgba(255, 250, 235, 0.08), inset 3px 0 50px rgba(255, 250, 235, 0.04), inset -3px 0 50px rgba(255, 250, 235, 0.08); }
}

@keyframes drawStroke {
  0% { stroke-dashoffset: 2000; fill: transparent; }
  65% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: var(--cream); }
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black); 
  z-index: 9999999;        
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.loader-logo { width: 500px; height: auto; }
.loader-logo path {
  fill: transparent;     
  stroke: var(--cream);  
  stroke-width: 1.5;     
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawStroke 2.5s var(--ease) forwards;
}
/* ===========================================================
   МОБИЛЬНАЯ АДАПТАЦИЯ  (≤ 768px)
   Десктоп не затрагивается: все правила живут только здесь.
   =========================================================== */
@media (max-width: 768px) {

  /* ---- Типографика и сетка: один пересчёт переменных ---- */
  :root {
    --fs-display: 40px;
    --fs-h1:      34px;
    --fs-h2:      30px;
    --fs-h3:      26px;
    --fs-xl:      20px;
    --fs-lg:      17px;
    --fs-md:      15px;
    --fs-base:    14px;
    --fs-sm:      13px;
    --gutter:     18px;
  }

  html, body { overflow-x: hidden; }
  body { background-size: 22px 22px; }

  /* Канвас становится резиновым */
  .stage { width: 100%; }

  /* Декор от десктопного «летящего телефона» — прочь */
  #flyingPhone { display: none !important; }

  /* ===================== HEADER ===================== */
  .header {
    width: 100%;
    left: 0;
    transform: none;
    height: 56px;
    padding: 0 16px;
  }
  .brand-logo { height: 20px; }
  .header-actions { gap: 8px; }
  .header .btn {
    min-width: 0;
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
    border-radius: 17px;
  }

  /* ===================== HERO ===================== */
  .section { width: 100%; height: auto; }

  .hero {
    height: 100svh;
    min-height: 560px;
  }
  #hero-video {
    top: 0;
    height: 100%;
  }
  .hero-content {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 9%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 460px;
    gap: 28px;
  }
  .hero-title { width: 100%; }
  .premium-inline {
    width: 80%;
    height: auto;
    margin: 0 auto;
    top: 0;
  }
  .hero-cta-block { width: 100%; gap: 16px; }
  .hero-cta-block .btn { width: 100%; max-width: 320px; }
  .hero-sub { width: 100%; max-width: 320px; font-size: 12px; }

  /* ===================== ОБЩИЕ КНОПКИ ===================== */
  .btn { min-width: 0; }
  .btn--white { height: 50px; }

  /* ===================== FEATURES ===================== */
  .feature {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 76px 16px;
    overflow: visible;
  }
  .feature--left { margin-bottom: 0; }

  /* пустые контейнеры телефона (рендерились видео-секвенцией) */
  .feature-phone, .hs-f3-phone { display: none !important; }

  .feature-card {
    position: static;
    left: auto; right: auto; top: auto;
    width: 100%;
    max-width: 440px;
    height: auto;
    padding: 44px 26px;
    border-radius: 34px;
    gap: 22px;
    /* контент сразу виден, без анимации появления */
    opacity: 1;
    transform: none;
    filter: none;
  }
  .feature-card-icons { height: auto; gap: 16px; }
  .feature-icon img { width: 52px; }
  .feature-sub { max-width: 100%; }

  .feature-metal {
    position: static;
    left: auto; right: auto; top: auto;
    width: 116px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none;
  }

  /* ===================== HORIZONTAL SCROLL → стек ===================== */
  .hscroll { margin-top: 0; }
  .hscroll-track { height: auto; }
  .hscroll-pin {
    position: static;
    top: auto;
    height: auto;
    overflow: visible;
    display: block;
  }
  .hscroll-stage {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    padding: 70px 16px;
  }
  .hs-f3 { position: static; inset: auto; width: 100%; display: flex; justify-content: center; }
  .hs-f3-card {
    position: static;
    left: auto; top: auto;
    width: 100%;
    max-width: 440px;
    height: auto;
    padding: 44px 26px;
    border-radius: 34px;
    gap: 22px;
  }
  .hs-f3-metal,
  .hs-headphones, .hs-popcorn, .hs-logo { display: none !important; }

  .hs-text {
    position: static;
    left: auto; top: auto;
    width: 100%;
    height: auto;
    opacity: 1;
    gap: 28px;
    padding: 4px 8px 0;
  }
  .hs-try { opacity: 1; width: auto; }

  /* ===================== PRICING → вертикальный стек ===================== */
  .cream-block .pricing,
  .cream-block .faq { border-radius: 28px; }
  .cream-block .faq { margin-top: -28px; }

  .pricing {
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
    padding: 80px 16px 96px !important;
    margin: 0 0 -28px !important;
  }
  .pricing-head {
    position: static;
    left: auto; top: auto;
    width: 100%;
    margin-bottom: 28px;
  }
  .pricing-title { width: 100%; }

  .pricing-grid-wrap {
    position: static;
    left: auto; top: auto;
    width: 100%;
    height: auto;
  }
  .pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: auto;
  }
  .plan,
  .plan[data-plan="1"],
  .plan[data-plan="2"] {
    height: auto;
    width: 100%;
    padding: 30px 26px;
    border-radius: 34px;
    /* показываем все тарифы без слайд-анимации */
    opacity: 1;
    transform: none;
    box-shadow: 0 20px 40px -28px rgba(0,0,0,0.25);
  }

  /* ===================== MEDIA ===================== */
  .media {
    width: 100%;
    height: auto;
  }
  .media-video {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  /* ===================== FAQ ===================== */
  .faq {
    width: 100%;
    padding: 80px 16px 90px;
    gap: 44px;
  }
  .faq-head { width: 100%; }
  .faq-title { width: 100%; }
  .faq-list { width: 100%; gap: 28px; }
  .faq-pair { width: 100%; gap: 12px; }
  .faq-q {
    max-width: 90%;
    padding: 18px 24px;
    border-radius: 26px;
    /* без reveal-анимации, чтобы контент был стабилен */
    opacity: 1;
    transform: none;
    filter: none;
  }
  .faq-a {
    max-width: 96%;
    padding: 18px 22px;
    border-radius: 26px;
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* ===================== FOOTER ===================== */
  .footer {
    width: 100%;
    padding: 80px 20px 36px;
  }
  .footer-inner { width: 100%; }
  .footer-slogan { margin: 24px 0 32px; max-width: 100%; }
  .footer-cta { align-self: stretch; width: 100%; height: 56px; }
  .footer-links {
    margin-top: 56px;
    grid-template-columns: 1fr;
    row-gap: 18px;
    max-width: 100%;
  }
  .footer-divider { margin: 56px 0 24px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }
  .footer-wordmark {
    width: 100%;
    margin: 48px 0 0;
  }
}

/* Узкие телефоны (≤ 380px): мелкая донастройка */
@media (max-width: 380px) {
  :root { --fs-display: 36px; --fs-h1: 30px; --fs-h2: 27px; }
  .header .btn { padding: 0 12px; }
  .header-actions { gap: 6px; }
}
