:root {
  color-scheme: light;
  --bg: #f5f9ff;
  --bg-soft: #eef7ff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-dark: #07111f;
  --text: #0e1726;
  --muted: #526175;
  --muted-strong: #334155;
  --line: rgba(23, 43, 77, 0.12);
  --brand: #229ed9;
  --brand-dark: #0876af;
  --blue: #2aa8e8;
  --blue-dark: #0876d8;
  --violet: #2b77ff;
  --cyan: #20c7d9;
  --shadow: 0 24px 70px rgba(31, 63, 104, 0.14);
  --shadow-soft: 0 12px 34px rgba(31, 63, 104, 0.1);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 158, 217, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(32, 199, 217, 0.16), transparent 28rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f5f9ff 100%);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(14, 23, 38, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 23, 38, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.45);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  box-shadow: 0 14px 28px rgba(34, 158, 217, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--brand-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2aa8e8, #0876d8);
  box-shadow: 0 18px 44px rgba(34, 158, 217, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #39b8f2, #0a6bc2);
  box-shadow: 0 22px 54px rgba(34, 158, 217, 0.36);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 14px 32px rgba(31, 63, 104, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(34, 158, 217, 0.32);
  background: #fff;
}

.btn-telegram {
  color: #fff;
  background: linear-gradient(135deg, #2aa8e8, #0876d8);
  box-shadow: 0 18px 44px rgba(34, 158, 217, 0.3);
}

.hero {
  position: relative;
  padding: 88px 0 74px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
  gap: 34px;
  isolation: isolate;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 158, 217, 0.18);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
  box-shadow: var(--shadow-soft);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 5.6vw, 68px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}

h3 {
  font-size: 21px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 570px;
}

.lead {
  max-width: 540px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}

.hero-note {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.badge {
  padding: 9px 12px;
  border-radius: 999px;
  color: #1e3a4c;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(34, 158, 217, 0.13);
  font-size: 14px;
  font-weight: 720;
}

.hero-visual {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hero-phone-stage {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  width: min(100%, 420px);
  margin-left: auto;
  padding: 28px 26px 24px;
  border: 1px solid rgba(34, 158, 217, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(34, 158, 217, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-phone {
  position: relative;
  width: min(260px, 76%);
  transform-origin: center bottom;
  will-change: transform;
}

.hero-phone-center {
  z-index: 2;
  animation: phoneFloatCenter 8.4s ease-in-out infinite;
}

.metric-card {
  position: relative;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
}

@keyframes phoneFloatLeft {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(-1.5deg); }
}

@keyframes phoneFloatCenter {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0.8deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(0deg); }
}

@keyframes phoneFloatRight {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(1.4deg); }
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-weight: 780;
}

.section-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(31, 63, 104, 0.06);
}

.card.feature-card {
  min-height: 230px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 15px;
  color: var(--brand-dark);
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.13), rgba(32, 199, 217, 0.13));
  font-size: 22px;
}

.card p,
.feature-page p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.card p {
  margin: 10px 0 0;
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(239, 68, 68, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted-strong);
  font-weight: 720;
}

.solution {
  margin-top: 20px;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #0f7cc0, #1fb6e8);
  box-shadow: 0 24px 60px rgba(34, 158, 217, 0.24);
}

.solution p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 42px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted-strong);
}

.check-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(34, 158, 217, 0.12);
}

.phone-card {
  display: grid;
  place-items: center;
  min-height: 500px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 158, 217, 0.18), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(32, 199, 217, 0.14), transparent 40%),
    #f7fbff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.phone-card img {
  width: min(350px, 88%);
  transform-origin: center bottom;
  animation: phoneSoftFloat 8.8s ease-in-out infinite;
}

@keyframes phoneSoftFloat {
  0%, 100% { transform: translateY(0) rotate(-0.8deg); }
  50% { transform: translateY(-10px) rotate(0.8deg); }
}

.dark-band {
  color: #e7f2ff;
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 158, 217, 0.3), transparent 36rem),
    radial-gradient(circle at 90% 100%, rgba(32, 199, 217, 0.28), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, #0c1726 100%);
}

.dark-band h2,
.dark-band h3 {
  color: #ffffff;
}

.dark-band .section-kicker {
  color: #7dd3fc;
}

.dark-band .section-text,
.dark-band .card p {
  color: #a9bdd6;
}

.dark-band .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.process {
  counter-reset: step;
}

.process .card {
  padding-left: 72px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.showcase-item {
  padding: 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.showcase-item img {
  margin: 0 auto;
  max-height: 430px;
  object-fit: contain;
  transform-origin: center bottom;
  animation: phoneSoftFloat 9.2s ease-in-out infinite;
}

.showcase-item h3 {
  margin-top: 14px;
  font-size: 18px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 24px rgba(31, 63, 104, 0.05);
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 780;
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.cta-panel {
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(125, 211, 252, 0.3), transparent 28rem),
    linear-gradient(135deg, #0b7fbd, #1fb6e8);
  box-shadow: 0 30px 80px rgba(15, 118, 178, 0.3);
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  max-width: 760px;
  opacity: 0.9;
}

.site-footer {
  padding: 42px 0;
  color: #9ab0ca;
  background: #07111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: #fff;
}

.disclaimer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.feature-hero,
.legal-hero {
  padding: 76px 0 40px;
}

.feature-page .content-block,
.legal-page .content-block {
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.feature-page ul,
.legal-page ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.notice {
  padding: 18px;
  border: 1px solid rgba(34, 158, 217, 0.18);
  border-radius: 18px;
  background: rgba(34, 158, 217, 0.08);
  color: #18445f;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual {
    width: min(100%, 440px);
    margin: 22px auto 0;
  }

  .hero-phone-stage {
    margin: 0 auto;
  }

  .metric-card {
    width: 100%;
  }

  .grid-3,
  .grid-4,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    display: none;
  }

  .header-cta .btn-secondary {
    display: none;
  }

  h1 {
    font-size: clamp(30px, 8.6vw, 34px);
    line-height: 1.14;
    max-width: 100%;
  }

  .lead {
    max-width: 340px;
    font-size: 16px;
  }

  .btn {
    width: min(100%, 360px);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .showcase-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .card,
  .cta-panel,
  .feature-page .content-block,
  .legal-page .content-block {
    padding: 22px;
    border-radius: 22px;
  }

  .phone-card {
    min-height: 400px;
  }

  .hero-phone-stage {
    width: 100%;
    padding: 18px 16px;
    border-radius: 28px;
  }

  .hero-phone {
    width: min(220px, 68vw);
  }

  .hero-phone-center {
    margin: 0 auto;
  }

  .metric-card {
    padding: 16px;
  }

  .showcase-item img {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
