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

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
  --shell: 76rem;
}

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

html,
body {
  min-height: 100%;
  background: #030303;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

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

.page {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: visible;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.ready .cursor-glow {
  opacity: 1;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  z-index: 200;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 130% 90% at 50% -30%, #141414 0%, #030303 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 45vw;
  height: 45vw;
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  animation: float1 24s var(--ease-smooth) infinite alternate;
}

.orb-2 {
  width: 35vw;
  height: 35vw;
  right: -5%;
  top: 40%;
  background: radial-gradient(circle, rgba(180, 180, 180, 0.12) 0%, transparent 70%);
  animation: float2 30s var(--ease-smooth) infinite alternate-reverse;
}

.orb-3 {
  width: 30vw;
  height: 30vw;
  left: 30%;
  bottom: -5%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation: float3 20s var(--ease-smooth) infinite alternate;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes float1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 8%) scale(1.08); }
}

@keyframes float2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, -4%) scale(1.05); }
}

@keyframes float3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(4%, -6%); }
}

/* Reveals */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal { transform: translateY(32px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero title words */
.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero-title.visible .word {
  opacity: 1;
  transform: translateY(0);
}

.hero-title.visible .line:nth-child(1) .word:nth-child(1) { transition-delay: 0.1s; }
.hero-title.visible .line:nth-child(1) .word:nth-child(2) { transition-delay: 0.18s; }
.hero-title.visible .line:nth-child(1) .word:nth-child(3) { transition-delay: 0.26s; }
.hero-title.visible .line:nth-child(2) .word:nth-child(1) { transition-delay: 0.34s; }
.hero-title.visible .line:nth-child(2) .word:nth-child(2) { transition-delay: 0.42s; }
.hero-title.visible .line:nth-child(2) .word:nth-child(3) { transition-delay: 0.5s; }

.word.dim { color: #555; }
.word.shimmer {
  background: linear-gradient(90deg, #fff 0%, #888 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(3, 3, 3, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-icon {
  display: block;
  width: 36px;
  height: 36px;
  transition: transform 0.5s var(--ease-spring);
}

.brand:hover .brand-icon {
  transform: scale(1.06);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin: 0 auto;
}

.nav a {
  color: #888;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.header .btn-sm {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid #fff;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
  white-space: nowrap;
}

.btn > span {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2), 0 8px 32px rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}

/* Main */
main {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}

.hero,
.block,
.cta {
  width: 100%;
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 3rem;
  position: relative;
}

.hero-content {
  z-index: 2;
}

.hero-visual {
  display: none;
  pointer-events: none;
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  z-index: 2;
}

.hero-stats li {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}

.hero-stats li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding-left: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #666);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.4; width: 16px; }
  50% { opacity: 1; width: 32px; }
}

.hero h1 {
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.hero-text {
  max-width: 32rem;
  color: #777;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-actions-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.btn-tariffs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.35s ease, box-shadow 0.4s var(--ease-out), transform 0.35s var(--ease-out);
}

.btn-tariffs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn-tariffs:hover::before {
  transform: translateX(120%);
}

.btn-tariffs:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.12), 0 12px 40px rgba(0, 0, 0, 0.45);
}

.btn-tariffs-spark {
  position: relative;
  z-index: 1;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff, 0 0 24px rgba(255, 255, 255, 0.5);
  animation: tariff-spark 2.2s ease-in-out infinite;
}

@keyframes tariff-spark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.85); }
}

.btn-tariffs > span:last-child {
  position: relative;
  z-index: 1;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ring-outer {
  animation: spin 30s linear infinite;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.06);
}

.ring-mid {
  inset: 15%;
  animation: spin 20s linear infinite reverse;
  border-color: rgba(255, 255, 255, 0.1);
}

.ring-inner {
  inset: 30%;
  animation: spin 12s linear infinite;
  border-color: rgba(255, 255, 255, 0.15);
}

.core-shy {
  position: absolute;
  inset: 42%;
  pointer-events: none;
  will-change: transform;
}

.core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #888 50%, transparent 100%);
  animation: pulse-core 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-core {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  color: #555;
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Tilt — desktop only via JS, no will-change on mobile */
.tilt {
  transition: transform 0.2s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Blocks */
.block {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.block-wide {
  width: 100%;
  max-width: none;
}

.block-wide .block-head {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.block-head {
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.block-alt .block-head {
  margin-left: auto;
  text-align: right;
}

.block-label {
  display: inline-block;
  color: #444;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.block-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.block-head p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

.block-action {
  margin-top: 2rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature {
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.feature:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
  transition: transform 0.5s var(--ease-spring);
}

.feature:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
}

.feature p {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.65;
  position: relative;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.steps li {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.steps li:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.step-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.steps li:hover .step-num {
  color: #fff;
}

.steps h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.steps p {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Tariffs */
.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  overflow: hidden;
  transition: border-color 0.45s ease, transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

.tariff-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.tariff-card:hover .tariff-card-shine {
  opacity: 1;
}

.tariff-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.tariff-card--popular {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.tariff-card--free {
  border-color: rgba(160, 220, 255, 0.2);
  background: linear-gradient(165deg, rgba(120, 180, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tariff-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  animation: badge-glow 3s ease-in-out infinite;
}

.tariff-badge--free {
  color: #fff;
  background: linear-gradient(135deg, #5b9fff, #3d7ce8);
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 16px rgba(255, 255, 255, 0.35); }
}

.tariff-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 4.5rem;
}

.tariff-emoji {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.tariff-card-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tariff-card-desc {
  color: #777;
  font-size: 0.82rem;
  line-height: 1.5;
}

.tariff-specs {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tariff-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.tariff-spec-label {
  color: #555;
}

.tariff-specs strong {
  font-weight: 600;
  color: #ddd;
  text-align: right;
}

.tariff-price-hero {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.tariff-price-value {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s ease;
}

.tariff-price-value.tariff-price-bump {
  transform: scale(1.08);
}

.tariff-price-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  padding-bottom: 0.25rem;
  color: #888;
  font-size: 0.82rem;
}

.tariff-price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ccc;
}

.tariff-price-free-label {
  font-weight: 700;
  color: #7eb8ff;
}

.tariff-periods {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tariff-period-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: #aaa;
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.25s var(--ease-out);
}

.tariff-period-btn:hover {
  border-color: rgba(255, 255, 255, 0.14);
  color: #ddd;
  transform: translateX(2px);
}

.tariff-period-btn.is-active {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.tariff-period-days {
  font-weight: 600;
}

.tariff-period-price {
  font-weight: 600;
  color: inherit;
}

.tariff-period-price em {
  font-style: normal;
  font-size: 0.68rem;
  color: #8f8;
  margin-left: 0.25rem;
}

.tariff-card-cta {
  margin-top: auto;
  width: 100%;
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.tariff-card-cta:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.tariff-card--popular .tariff-card-cta {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.tariffs-foot {
  margin-top: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.tariffs-foot p {
  max-width: 28rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee {
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.marquee-track span {
  flex-shrink: 0;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.88rem;
  color: #888;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.marquee-track span:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FAQ */
.faq {
  max-width: 36rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease, padding-left 0.4s var(--ease-out);
}

.faq-item summary:hover {
  color: #ccc;
  padding-left: 0.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: #444;
  font-weight: 300;
  font-size: 1.4rem;
  transition: transform 0.5s var(--ease-spring), color 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #fff;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > p {
  overflow: hidden;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
  padding-bottom: 0;
  transition: padding 0.5s var(--ease-out);
}

.faq-item[open] .faq-body > p {
  padding-bottom: 1.25rem;
}

.faq-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.faq-body a:hover {
  color: #fff;
}

/* Documents */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease-out);
}

.doc-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.doc-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.doc-hint {
  color: #666;
  font-size: 0.84rem;
  line-height: 1.5;
}

/* CTA */
.cta {
  position: relative;
  padding: 6rem 0 3rem;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  animation: cta-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.cta h2 {
  position: relative;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta p {
  position: relative;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.cta .btn {
  position: relative;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-note {
  max-width: 26rem;
  color: #444;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-note a {
  color: #777;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.footer-note a:hover {
  color: #fff;
}

.footer-copy {
  color: #333;
  font-size: 0.78rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-link {
  color: #666;
  font-size: 0.86rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease, transform 0.4s var(--ease-out);
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.4s var(--ease-out);
}

.footer-link:hover {
  color: #fff;
  transform: translateX(-4px);
}

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

/* ── Mobile menu ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.25s var(--ease-spring);
  flex-shrink: 0;
}

.menu-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.menu-toggle:active {
  transform: scale(0.94);
}

body.menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-mobile-panel {
  position: absolute;
  top: calc(var(--header-h) + 0.5rem);
  left: 1rem;
  right: 1rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 12, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateY(-12px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s var(--ease-spring), opacity 0.35s ease;
}

.nav-mobile-panel a {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  color: #aaa;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.nav-mobile-panel a.active,
.nav-mobile-panel a:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-mobile-cta {
  margin-top: 0.75rem;
  width: 100%;
}

body.menu-open .nav-mobile {
  pointer-events: auto;
}

body.menu-open .nav-mobile-backdrop {
  opacity: 1;
}

body.menu-open .nav-mobile-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-cta-bar {
  display: none;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  :root {
    --header-h: 4rem;
  }

  .header {
    display: flex;
    padding: 0 1rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .nav {
    display: none;
  }

  main {
    padding-bottom: 6.5rem;
  }

  .hero {
    gap: 1.5rem;
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }

  .hero-text {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .hero-visual.hero-visual-mobile {
    display: block !important;
    max-width: min(72vw, 280px);
    margin: 0.25rem auto 0;
    opacity: 0.95;
  }

  .core-shy-mobile {
    animation: mobile-core-drift 6s var(--ease-smooth) infinite alternate;
  }

  @keyframes mobile-core-drift {
    0% { transform: translate(-6%, -4%); }
    100% { transform: translate(8%, 6%); }
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }

  .hero-stats li {
    padding: 0.75rem 0.55rem;
    text-align: center;
    border-radius: 0.85rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    animation: mobile-stat-glow 4s ease-in-out infinite;
  }

  .hero-stats li:nth-child(2) {
    animation-delay: 0.6s;
  }

  .hero-stats li:nth-child(3) {
    animation-delay: 1.2s;
  }

  @keyframes mobile-stat-glow {
    0%, 100% { border-color: rgba(255, 255, 255, 0.06); box-shadow: none; }
    50% { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 0 24px rgba(255, 255, 255, 0.05); }
  }

  .hero-stats strong {
    font-size: 1.1rem;
  }

  .hero-stats span {
    font-size: 0.62rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-actions-pair {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions-pair .btn {
    width: 100%;
  }

  .btn:active,
  .btn-tariffs:active,
  .nav-mobile-panel a:active {
    transform: scale(0.97);
  }

  .block {
    padding: 3.25rem 0;
  }

  .block-head h2 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .block-alt .block-head,
  .block-action {
    text-align: left;
    margin-left: 0;
  }

  .features-grid {
    gap: 0.85rem;
  }

  .feature {
    padding: 1.25rem;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .feature:active {
    transform: scale(0.98);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }

  .feature-icon {
    animation: mobile-icon-float 3.5s ease-in-out infinite;
  }

  .feature:nth-child(2) .feature-icon {
    animation-delay: 0.4s;
  }

  .feature:nth-child(3) .feature-icon {
    animation-delay: 0.8s;
  }

  @keyframes mobile-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }

  .steps {
    gap: 0.85rem;
  }

  .steps li {
    position: relative;
    padding-left: 0.25rem;
    transition: transform 0.35s var(--ease-out);
  }

  .steps li:active {
    transform: translateX(4px);
  }

  .step-num {
    font-size: 1.75rem;
    opacity: 0.35;
  }

  .tariffs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding: 0.25rem 0 1rem;
    margin: 0 -0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tariffs-grid::-webkit-scrollbar {
    display: none;
  }

  .tariffs-grid .tariff-card {
    flex: 0 0 min(86vw, 320px);
    scroll-snap-align: center;
  }

  .tariffs-foot::before {
    content: "← свайп для всех тарифов →";
    display: block;
    text-align: center;
    color: #555;
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
  }

  .marquee-wrap {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .marquee-track {
    animation-duration: 28s;
  }

  .faq-item {
    transition: border-color 0.3s ease, background 0.3s ease;
  }

  .faq-item[open] {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
  }

  .faq-body {
    animation: faq-open 0.35s var(--ease-out);
  }

  @keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .cta {
    padding: 2.5rem 1.25rem;
    border-radius: 1.25rem;
    margin-top: 1rem;
  }

  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    gap: 0.65rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 3, 3, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease-out);
  }

  body.ready .mobile-cta-bar {
    transform: translateY(0);
  }

  body.menu-open .mobile-cta-bar {
    transform: translateY(110%);
  }

  .mobile-cta-bar .btn {
    flex: 1;
  }

  .mobile-cta-bar .btn-outline,
  .mobile-cta-bar .btn:first-child {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
  }

  .cursor-glow {
    display: none;
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    filter: blur(60px);
    opacity: 0.9;
  }

  .magnetic {
    transform: none !important;
  }

  .tilt {
    transform: none !important;
  }

  .tariff-card-head {
    padding-right: 0;
    flex-wrap: wrap;
  }

  .tariff-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 0.25rem;
    order: -1;
  }

  .footer {
    padding-bottom: 1rem;
  }
}

/* ── Desktop full-width ── */
@media (min-width: 768px) {
  .menu-toggle,
  .nav-mobile,
  .mobile-cta-bar {
    display: none !important;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav {
    display: flex;
  }

  .hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: 1fr auto;
    gap: 2rem 4rem;
    min-height: calc(100svh - var(--header-h));
    align-items: center;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4rem;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .hero-visual {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    max-width: min(420px, 36vw);
  }

  .hero-stats {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 5.5vw, 5rem);
  }

  .hero-text {
    max-width: 36rem;
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .tariffs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }

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

  .faq {
    max-width: 48rem;
  }

  .block {
    padding: 5.5rem 0;
  }

  .block-head {
    max-width: 32rem;
    margin-bottom: 3rem;
  }

  .block-alt .block-head {
    margin-left: auto;
    text-align: right;
  }

  .block-action {
    text-align: right;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footer-right {
    align-items: flex-end;
  }
}

@media (min-width: 1200px) {
  main {
    padding: 0 clamp(2rem, 6vw, 5rem) 5rem;
  }

  .tariffs-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}

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

  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger > *, .hero-title .word {
    opacity: 1;
    transform: none;
  }

  .header {
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* Cabinet button — top-left on website */
.header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 0;
}

.btn-cabinet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.35s var(--ease-out), transform 0.25s ease;
}

.btn-cabinet:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header .brand {
  flex-shrink: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .btn-cabinet {
    padding: 0.42rem 0.75rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .btn-cabinet span {
    display: none;
  }

  .btn-cabinet::before {
    content: '👤';
    font-size: 0.95rem;
  }
}


.legal-disclaimer {
  position: fixed;
  right: 6px;
  bottom: 4px;
  z-index: 1;
  max-width: 42vw;
  margin: 0;
  font-size: 9px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 640px) {
  .legal-disclaimer { font-size: 8px; max-width: 55vw; opacity: 0.7; }
}
