/* Лендинг sterlingpeak.de */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: hidden; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }

.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(174, 185, 204, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 185, 204, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: absolute; z-index: -1; pointer-events: none;
  top: 0; left: 0; width: 100%; height: 900px; overflow: hidden;
  background:
    radial-gradient(520px 420px at 66% 30%, rgba(43, 224, 122, 0.15), transparent 70%),
    radial-gradient(600px 460px at 28% 22%, rgba(120, 140, 175, 0.15), transparent 70%);
}
html, body { overflow-x: clip; }

/* Шапка */
.topbar {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(7, 9, 14, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .wordmark { font-size: 18px; }
.brand-sm .wordmark { font-size: 14px; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a {
  padding: 8px 14px; border-radius: 10px; text-decoration: none;
  color: var(--muted); font-weight: 600; font-size: 14px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-sm { --h: 42px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 28px; font-size: 16px; border-radius: 18px; }

/* Первый экран */
.hero { padding: 56px 0 24px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft), 0 0 12px var(--green); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: 0.45; } }
.hero-title {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title .accent {
  background: linear-gradient(180deg, #b6ffd3 0%, #4cf595 45%, #16b863 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(57, 255, 136, 0.25));
}
.hero-text { margin: 24px 0 0; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin: 18px 0 0; color: var(--dim); font-size: 13.5px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.mark-halo {
  position: absolute; width: 78%; max-width: 470px; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; left: -6%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(43, 224, 122, 0.14), transparent 72%);
  opacity: 0.55;
}
.deco-candles { position: absolute; z-index: 0; right: -4%; bottom: 2%; width: 200px; opacity: 0.85; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }

.phone {
  position: relative; z-index: 1; width: 300px; padding: 12px; border-radius: 46px;
  background: linear-gradient(160deg, #3a4253, #12161f 40%, #0a0d13 70%, #2b3240);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(43, 224, 122, 0.45);
  transform: rotate(-3deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #05070b; z-index: 2; }
.phone-screen {
  position: relative; border-radius: 36px; overflow: hidden; padding: 58px 18px 22px;
  background: radial-gradient(120% 60% at 70% 0%, rgba(43, 224, 122, 0.12), transparent 60%), linear-gradient(180deg, #0d111a, #080a10);
  display: grid; gap: 12px;
}
.m-head { display: flex; align-items: center; gap: 8px; }
.m-head .wordmark { font-size: 12px; }
.m-asset { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.m-asset b { color: var(--green-hi); font-size: 12px; }
.m-dir { display: grid; justify-items: center; gap: 8px; padding: 18px 0 8px; }
.m-arrow { width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; color: var(--green-ink);
  background: linear-gradient(180deg, #a5ffcb, #2be07a 55%, #12a95a); box-shadow: 0 16px 40px -10px var(--green-glow), inset 0 1px 0 rgba(255,255,255,0.6); }
.m-arrow .icon { width: 38px; height: 38px; stroke-width: 2.6; }
.m-dir-text { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--green-hi); letter-spacing: 0.04em; }
.m-time { text-align: center; color: var(--muted); font-size: 12px; display: grid; gap: 4px; }
.m-time strong { font-family: var(--font-display); font-size: 28px; color: var(--text); letter-spacing: 0.02em; font-weight: 600; }
.m-bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.m-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--green-deep), var(--green-hi)); transition: width 1s linear; }
.m-row { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.m-row .icon { width: 16px; height: 16px; }
.m-votes-t { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-top: 4px; }
.m-votes { display: grid; gap: 7px; }
.m-votes div { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.m-votes i { height: 6px; border-radius: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.m-votes i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #1d9c58, var(--green-hi)); }

.facts {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 28, 40, 0.7), rgba(13, 17, 26, 0.7));
}
.facts li { padding: 24px 26px; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 14px; }

/* Секции */
.section { padding: 110px 0 0; }
.kicker { margin: 0 0 12px; color: var(--green-hi); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.015em; max-width: 760px; text-wrap: balance; }
.section-text { margin: 18px 0 0; color: var(--muted); font-size: 17px; max-width: 460px; }

.card {
  position: relative; border-radius: var(--radius); padding: 26px;
  background: linear-gradient(180deg, rgba(24, 30, 43, 0.85), rgba(14, 18, 27, 0.85));
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8); }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.features { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.f-ico, .s-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--green-hi); background: var(--green-soft); border: 1px solid rgba(92, 255, 160, 0.22);
}
.f-ico .icon, .s-ico .icon { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.strategies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.strat { display: grid; gap: 0; }
.s-ico { color: #dfe5ee; background: rgba(223, 229, 238, 0.06); border-color: var(--line-2); }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step-n { display: inline-block; margin-bottom: 26px; font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, #ffffff, #5e6a80); -webkit-background-clip: text; background-clip: text; color: transparent; }

.final-wrap { padding-bottom: 40px; }
.final {
  position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 14px;
  padding: 64px 24px; border-radius: 32px; border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(43, 224, 122, 0.16), transparent 70%),
    linear-gradient(180deg, #121826, #0a0d14);
}
.final-mark { width: 120px; height: auto; margin-bottom: 8px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.final p { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.final-handle { color: var(--dim); font-size: 14px; font-weight: 600; }

.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 60px; }
.risk { margin: 0 0 26px; color: var(--dim); font-size: 13px; line-height: 1.6; max-width: 900px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.muted { color: var(--dim); font-size: 13px; text-decoration: none; }
a.muted:hover { color: var(--muted); }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Адаптив */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .hero-text { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { min-height: 560px; }
  .mark-halo { left: 50%; transform: translate(-50%, -50%); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .topbar-in { min-height: 64px; gap: 10px; }
  .brand .wordmark { font-size: 15px; }
  .brand img { width: 34px; height: 32px; }
  .hero { padding-top: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { min-height: 520px; }
  .phone { width: 270px; }
  .deco-candles { width: 140px; right: -4%; bottom: 2%; }
  .features, .strategies, .steps { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 80px; }
  .card { padding: 22px; }
  .step-n { margin-bottom: 14px; font-size: 32px; }
  .final { padding: 48px 20px; border-radius: 26px; }
  .final .btn { width: 100%; }
  .footer-row { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .tg-link.btn-sm { padding: 0 12px; }
  .brand .wordmark { font-size: 13px; }
  .lang-seg button { min-width: 40px; padding: 0 10px; }
  .facts li { padding: 18px; }
}
@media (max-width: 350px) {
  .brand .wordmark { display: none; }
}
