:root {
  --navy: #0d1747;
  --text: #26345b;
  --muted: #6c7699;
  --line: #dfeaf4;
  --blue: #1594f6;
  --blue-deep: #087de8;
  --mint: #e9fbf8;
  --sky: #eef9ff;
  --lav: #f3efff;
  --white: #fff;
  --shadow: 0 24px 55px rgba(29, 72, 122, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 86px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223,234,244,.72);
}
.nav-wrap { height: 76px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 24px; }
.brand img { width: 138px; height: auto; }
.desktop-nav { display: flex; justify-content: center; gap: 42px; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--blue-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #14a3ff, #087eea);
  box-shadow: 0 12px 28px rgba(21,148,246,.28);
}
.btn-small { padding: 12px 20px; font-size: 14px; }
.btn-large { padding: 17px 28px; font-size: 16px; }
.menu-btn { display: none; border: 0; background: transparent; font-size: 26px; color: var(--navy); }
.mobile-nav { background: #fff; padding: 14px 24px 22px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 10px 0; font-weight: 600; }

.hero {
  padding-top: 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 20%, rgba(145,240,226,.28), transparent 30%),
    radial-gradient(circle at 66% 46%, rgba(116,179,255,.20), transparent 34%),
    linear-gradient(180deg, #fbffff 0%, #fff 100%);
}
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; min-height: 560px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5fbf7, #eaf8ff);
  color: #244a76;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
h1 { margin: 0; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.045em; max-width: 720px; }
.lead { margin: 26px 0 28px; max-width: 640px; color: var(--text); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.microcopy, .final-actions small { color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; height: 560px; }
.orb { position: absolute; border-radius: 50%; filter: blur(.1px); }
.orb-one { width: 420px; height: 420px; right: 42px; top: 38px; background: linear-gradient(145deg, rgba(175,243,235,.54), rgba(190,218,255,.46)); }
.orb-two { width: 260px; height: 260px; right: -60px; top: 140px; background: rgba(222,211,255,.35); }
.chat-card, .phone-card {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(205,223,238,.9);
  border-radius: 25px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-card { width: 300px; left: 35px; top: 145px; padding: 18px 16px 16px; transform: rotate(-1deg); }
.chat-head { display: flex; gap: 10px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #edf2f6; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#baf5e7,#9ed3ff); font-weight: 800; }
.chat-head strong, .chat-head small { display: block; }
.chat-head small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.message { margin-top: 13px; padding: 10px 12px; border-radius: 14px; font-size: 12px; color: #31405f; }
.message b { display: block; color: #335b85; margin-bottom: 4px; }
.incoming { background: #f4f7fa; margin-right: 42px; }
.teamy { background: linear-gradient(135deg,#e9fbf8,#edf6ff); margin-left: 26px; }
.reaction { margin: 9px 0 0 42px; font-size: 11px; color: var(--muted); }
.phone-card { width: 260px; right: 28px; top: 85px; padding: 0; transform: rotate(1deg); }
.phone-card img { width: 100%; height: auto; }
.callout {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(40,90,130,.12);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.callout-a { left: 0; top: 40px; }
.callout-b { right: 0; top: 30px; }
.callout-c { left: 8px; bottom: 35px; }
.callout-d { right: -14px; bottom: 28px; }

.section-heading { margin-bottom: 34px; }
.section-heading.centered { text-align: center; }
h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.03em; }
.section-heading p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.features-section { padding-top: 54px; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature-card {
  min-height: 238px;
  padding: 26px 22px;
  border-radius: 24px;
  background: linear-gradient(160deg,#fff,#f5fbff);
  border: 1px solid #e5f0f6;
  box-shadow: 0 10px 30px rgba(35,74,112,.06);
}
.feature-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; margin-bottom: 24px; }
.feature-icon.violet { background:#efe9ff; }
.feature-icon.blue { background:#e8f5ff; }
.feature-icon.coral { background:#fff0f1; }
.feature-icon.mint { background:#e5fbf7; }
.feature-icon.indigo { background:#eef0ff; color:#5b65dd; font-size: 30px; }
.feature-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.value-section { padding-top: 18px; padding-bottom: 54px; }
.value-panel { padding: 34px 38px; border-radius: 28px; background: linear-gradient(110deg,#eefaff,#f1fffb); border: 1px solid #e2f3f3; }
.value-panel h2 { text-align: center; font-size: 28px; margin-bottom: 28px; }
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.value-item { padding: 12px 28px; border-right: 1px solid #d7e8ed; }
.value-item:last-child { border-right: 0; }
.value-item span { display: block; font-size: 27px; margin-bottom: 10px; }
.value-item strong { font-size: 15px; line-height: 1.4; }

.how-section { padding-top: 28px; }
.steps { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; gap: 12px; }
.step { display: flex; align-items: flex-start; gap: 18px; }
.step-num { flex: 0 0 48px; height: 48px; border-radius: 50%; background: #eaf2ff; display: grid; place-items: center; color: var(--blue-deep); font-size: 22px; font-weight: 800; }
.step h3 { margin: 2px 0 8px; font-size: 17px; line-height: 1.3; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.step-line { height: 1px; border-top: 2px dashed #d3dff1; }

.final-cta-section { padding-top: 40px; padding-bottom: 58px; }
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 36px 42px;
  border-radius: 28px;
  background: linear-gradient(110deg,#f3efff,#eafcff 58%,#e7fbff);
  border: 1px solid #e2edf7;
}
.final-cta h2 { font-size: 32px; }
.final-cta p { margin: 8px 0 0; color: var(--text); font-size: 16px; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.footer { padding: 24px 0 34px; border-top: 1px solid #eef2f5; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 118px; }
.footer-brand span { color: var(--muted); font-size: 11px; }
.footer-links { display: flex; gap: 26px; color: var(--muted); font-size: 11px; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { align-items: center; }
  .hero-visual { width: min(680px,100%); margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(3,1fr); }
  .feature-card:nth-child(4), .feature-card:nth-child(5) { min-height: 210px; }
  .steps { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; gap: 22px; }
  .step-line { display: none; }
  .final-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, 680px); }
  .section { padding: 60px 0; }
  .nav-wrap { grid-template-columns: 1fr auto; height: 68px; }
  .brand img { width: 116px; }
  .desktop-nav, .nav-wrap > .btn { display: none; }
  .menu-btn { display: block; }
  .mobile-nav.open { display: block !important; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .lead { font-size: 16px; }
  .btn-large { width: 100%; max-width: 360px; }
  .hero { padding-top: 46px; }
  .hero-visual { height: 500px; margin-top: 10px; }
  .chat-card { width: 235px; left: 0; top: 132px; }
  .phone-card { width: 220px; right: 0; top: 85px; }
  .callout { font-size: 10px; padding: 10px 11px; }
  .callout-a { left: 2px; top: 18px; }
  .callout-b { right: 2px; top: 22px; }
  .callout-c { left: 0; bottom: 0; }
  .callout-d { right: 0; bottom: 2px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card { min-height: 205px; padding: 22px 18px; }
  .feature-card:last-child { grid-column: 1 / -1; min-height: auto; }
  .value-grid { grid-template-columns: repeat(2,1fr); gap: 18px 0; }
  .value-item { border-right: 0; padding: 10px 18px; }
  .final-cta { padding: 30px 22px; }
  .footer-grid, .footer-brand { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-visual { height: 430px; }
  .chat-card { width: 195px; left: -3px; top: 126px; padding: 12px; }
  .phone-card { width: 188px; right: -2px; top: 90px; }
  .chat-card .message { font-size: 10px; }
  .chat-head { font-size: 11px; }
  .callout-c, .callout-d { display: none; }
  .feature-grid, .value-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .value-item { text-align: center; }
  .final-cta h2 { font-size: 28px; }
  .footer-links { gap: 15px 20px; }
}

/* Telegram icon inside CTA buttons */
.telegram-link.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.telegram-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}
