.hero { position: relative; padding: 100px 0 48px; overflow: hidden; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; color: var(--fg-strong); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title em { font-style: normal; font-family: var(--mono); font-weight: 500; letter-spacing: -0.06em; color: var(--sand); }
@keyframes rise { to { transform: none; } }
.hero-sub { max-width: 540px; margin: 24px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.hero-cta { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.btn svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover [data-icon='arrowRight'] svg { transform: translateX(2px); }

.reveal { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

.section { padding: 110px 0 0; position: relative; }
.section-tight { padding-top: 48px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 600; color: var(--fg-strong); }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--sand); letter-spacing: 0.02em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-1); display: flex; flex-direction: column; transition: border-color 0.25s; }
.step:hover { border-color: var(--line-2); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.step h3 { margin: 14px 0 6px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0 0 20px; color: var(--text-2); font-size: 13.5px; }
.step p a { color: var(--sand); }
.step p b { font-weight: 500; color: var(--text); }
.step-art { margin-top: auto; height: 72px; border-radius: var(--radius); border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--text-3); font-size: 12px; background: var(--bg); }
.fake-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 5px; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); font-size: 12.5px; line-height: 1.3; }
.fake-btn .brand-mark { width: 22px; height: 22px; border-radius: 6.5px; }
.fake-code { font-size: 20px; letter-spacing: 0.14em; color: var(--fg-strong); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.final { padding-bottom: 110px; }
.final-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 72px 24px;
  border-radius: var(--radius-xl); border: 1px solid var(--line);
  background: radial-gradient(500px 220px at 50% 0%, rgba(216, 188, 146, 0.07), transparent), var(--bg-1);
}
.final-inner h2 { margin: 0; font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -0.03em; font-weight: 600; max-width: 560px; line-height: 1.15; color: var(--fg-strong); }
.final-s .s-mark { width: 40px; height: 40px; }

.page-head { position: relative; padding: 96px 0 0; overflow: hidden; }
.page-head-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-head h1 { margin: 12px 0 0; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; color: var(--fg-strong); }
.page-head p { max-width: 520px; margin: 18px 0 0; font-size: 16px; line-height: 1.6; }
.plans-note { margin: 20px 0 0; text-align: center; font-size: 12.5px; }

.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 110px; }
.faq-item { padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.faq-item p { margin: 0; color: var(--text-2); font-size: 13.5px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 560px) {
  .hero { padding-top: 70px; padding-bottom: 40px; }
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.feature { position: relative; padding: 28px 26px 30px; background: var(--bg); transition: background 0.35s var(--ease); }
.feature::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  background: radial-gradient(300px 160px at 20% 0%, rgba(216, 188, 146, 0.08), transparent 70%);
}
.feature:hover { background: var(--bg-1); }
.feature:hover::before { opacity: 1; }
.feature-ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--sand);
  background: var(--bg-2); border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), border-color 0.3s;
}
.feature:hover .feature-ic { transform: translateY(-2px); border-color: rgba(216, 188, 146, 0.3); }
.feature-ic svg { width: 17px; height: 17px; }
.feature-ic .s-mark { width: 20px; height: 20px; }
.feature h3 { margin: 18px 0 6px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-strong); }
.feature p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.pipeline { display: flex; align-items: stretch; margin-bottom: 56px; }
.pipe-node {
  flex: 1; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; padding: 28px 22px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-1); transition: border-color 0.3s, transform 0.4s var(--ease);
}
.pipe-node:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pipe-node b { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--fg-strong); }
.pipe-node > span:last-child { font-size: 13px; line-height: 1.55; color: var(--text-2); max-width: 260px; }
.pipe-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--sand); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 5px rgba(216, 188, 146, 0.03); }
.pipe-ic svg { width: 21px; height: 21px; }
.pipe-ic-brand { background: none; border: 0; box-shadow: none; }
.pipe-ic-brand .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
.pipe-link { position: relative; flex: 0 0 64px; align-self: center; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line-3), var(--line-2)); }
.pipe-link i {
  position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--sand);
  box-shadow: 0 0 10px 2px rgba(216, 188, 146, 0.55); animation: pipe-fwd 2.2s var(--ease) infinite;
}
.pipe-link i + i { background: var(--green); box-shadow: 0 0 10px 2px rgba(111, 207, 151, 0.5); animation: pipe-back 2.2s 1.1s var(--ease) infinite; }
@keyframes pipe-fwd { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 0; } }
@keyframes pipe-back { 0% { left: calc(100% - 5px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.steps-title { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; }
@media (max-width: 860px) {
  .pipeline { flex-direction: column; }
  .pipe-link { flex: 0 0 36px; width: 1px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--line-3), var(--line-2)); }
  .pipe-link i { left: -2px !important; animation-name: pipe-down; }
  .pipe-link i + i { animation-name: pipe-up; }
  @keyframes pipe-down { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: calc(100% - 5px); opacity: 0; } }
  @keyframes pipe-up { 0% { top: calc(100% - 5px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
}

.final-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Панель тарифов появляется сама, без .reveal на обёртке: фильтр и прозрачность родителя
   отключают backdrop-filter, и стекло на секунду становилось прозрачным. */
#plans .plans { animation: plans-in 0.9s var(--ease) 0.12s backwards; }
@keyframes plans-in { from { opacity: 0; transform: translateY(14px); } }
