/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, .72); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.site-header .container { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--text-dim); }
.nav a:hover { color: var(--text); }
.header-cta { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(47, 212, 196, .14), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(25, 33, 44, .6); font-size: 13px; color: var(--text-dim);
}
.eyebrow b { color: var(--accent); font-weight: 700; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); font-weight: 850; margin: 22px 0 20px; letter-spacing: -.035em; }
.hero-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-dim); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; }
.hero-stats div { display: grid; }
.hero-stats b { font: 700 26px/1 var(--mono); }
.hero-stats span { font-size: 13px; color: var(--text-faint); margin-top: 6px; }

.curve-card {
  position: relative; border-radius: var(--radius-lg); padding: 22px 22px 16px;
  background: linear-gradient(180deg, rgba(25, 33, 44, .9), rgba(18, 24, 33, .95));
  border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.curve-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.curve-card header b { font-size: 15px; }
.curve-card header span { font-size: 12px; color: var(--text-faint); }
.curve-svg .curve { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .3s var(--ease) forwards; }
.curve-svg .hr-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .6s var(--ease) forwards; }
.curve-svg .marker { opacity: 0; animation: pop .5s forwards; }
.curve-svg .marker.m1 { animation-delay: 1.6s; } .curve-svg .marker.m2 { animation-delay: 2.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chip {
  position: absolute; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--bg-elev-2);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; color: var(--text-dim);
  animation: float 6s ease-in-out infinite;
}
.chip b { font: 700 18px/1.1 var(--mono); color: var(--text); }
.chip.c1 { left: -34px; bottom: 62px; }
.chip.c2 { right: -22px; top: 70px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.zone-legend { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--text-faint); flex-wrap: wrap; }
.zone-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .kicker { color: var(--accent); font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-top: 14px; }
.section-head p { color: var(--text-dim); margin-top: 16px; font-size: 18px; }

/* Бенто возможностей */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 28px;
  background: var(--bg-elev); border: 1px solid var(--line-soft); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line); }
.tile h3 { font-size: 26px; font-weight: 750; max-width: 22ch; }
.tile p { color: var(--text-dim); margin-top: 12px; max-width: 42ch; }
.tile .num { font: 600 12px/1 var(--mono); color: var(--text-faint); margin-bottom: 16px; }
.tile-sports { grid-column: span 4; background: radial-gradient(120% 120% at 100% 0%, rgba(198, 244, 50, .12), transparent 55%), var(--bg-elev); }
.tile-plans { grid-column: span 2; grid-row: span 2; }
.tile-analysis { grid-column: span 2; }
.tile-zones { grid-column: span 2; background: radial-gradient(120% 120% at 0% 100%, rgba(255, 93, 108, .12), transparent 60%), var(--bg-elev); }

.sports-row { display: flex; gap: 14px; margin-top: auto; padding-top: 26px; }
.sport-pill {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg-elev-2); font-weight: 650;
}
.sport-pill svg { width: 26px; height: 26px; color: var(--accent); }

.mini-cal { display: grid; gap: 8px; margin-top: auto; padding-top: 24px; }
.mini-cal .day {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 12px; background: var(--bg-elev-2); border: 1px solid var(--line-soft); font-size: 14px;
}
.mini-cal .day small { color: var(--text-faint); font-family: var(--mono); }
.mini-cal .day i { width: 8px; height: 26px; border-radius: 4px; background: var(--zc); }
.mini-cal .moved { border-style: dashed; border-color: var(--accent-2); }
.mini-cal .moved small:last-child { color: var(--accent-2); }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: auto; padding-top: 20px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent-2), rgba(47, 212, 196, .2)); }
.zone-stripes { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin-top: auto; }
.zone-stripes span { background: var(--zc); }
.zone-stripes-labels { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--text-faint); margin-top: 8px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line-soft); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 54px/1 var(--mono); color: var(--line); display: block; margin-bottom: 18px; }
.step h3 { font-size: 21px; }
.step p { color: var(--text-dim); margin-top: 10px; }

/* Устройства и бот */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.device-list { display: grid; gap: 12px; margin-top: 28px; }
.device {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--bg-elev);
  border: 1px solid var(--line-soft);
}
.device .mark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-elev-2); font-weight: 800; }
.device div p { font-size: 14px; color: var(--text-dim); }
.device .badge { margin-left: auto; }

.phone {
  width: min(360px, 100%); margin-inline: auto; border-radius: 34px; padding: 14px; background: #06090d;
  border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.phone-screen { border-radius: 24px; background: #0e1621; padding: 16px 14px 18px; display: grid; gap: 10px; min-height: 440px; align-content: start; }
.phone-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.phone-top .ava { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); }
.phone-top small { display: block; color: var(--text-faint); font-size: 12px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; opacity: 0; animation: pop .5s var(--ease) forwards; }
.msg.me { margin-left: auto; background: #2b5278; border-bottom-right-radius: 4px; }
.msg.bot { background: #182533; border-bottom-left-radius: 4px; }
.msg:nth-child(2) { animation-delay: .2s; } .msg:nth-child(3) { animation-delay: .9s; }
.msg:nth-child(4) { animation-delay: 1.6s; } .msg:nth-child(5) { animation-delay: 2.3s; }

/* CTA и подвал */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: left;
  background: radial-gradient(80% 140% at 100% 0%, rgba(47, 212, 196, .25), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(198, 244, 50, .18), transparent 60%), var(--bg-elev);
  border: 1px solid var(--line);
}
.cta h2 { font-size: clamp(30px, 4vw, 48px); max-width: 18ch; }
.cta p { color: var(--text-dim); margin: 16px 0 30px; max-width: 520px; font-size: 18px; }
.site-footer { padding: 40px 0 56px; color: var(--text-faint); font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .curve-card { transform: none; }
  .chip.c1 { left: 10px; } .chip.c2 { right: 10px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-sports, .tile-plans, .tile-analysis, .tile-zones { grid-column: span 2; grid-row: auto; }
  .nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .hero-stats { gap: 22px; }
  .chip { display: none; }
  .sports-row { flex-wrap: wrap; }
  .cta { padding: 40px 24px; }
  .section { padding: 64px 0; }
  .header-cta .btn-ghost { display: none; }
}
