:root {
  --primary: #027BFC;
  --primary-dark: #0262cc;
  --primary-light: #e8f1ff;
  --navy: #1E2E49;
  --teal: #35aaaa;
  --grey-bg: #f5f6f8;
  --grey-border: #e6e8ec;
  --text: #1E2E49;
  --text-muted: #6b7280;
  --white: #ffffff;
  --success: #2ecc71;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(30, 46, 73, 0.08);
  --shadow-hover: 0 8px 32px rgba(2, 123, 252, 0.18);
  --container: 1200px;
  --transition: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-border);
  min-height: 72px;
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.header_logo img {
  height: 26px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-white {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--grey-border);
}

.btn-white:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-invert {
  background: var(--white);
  color: var(--primary);
}

.btn-invert:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 70px;
  background: var(--grey-bg);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 480px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--navy);
}

.hero-text h1 .accent {
  color: var(--primary);
}

.hero-text p {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-btns > span {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-image {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 460px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--grey-border);
  color: var(--text);
}

.badge-primary {
  background: var(--primary-light);
  border-color: transparent;
  color: var(--primary);
}

.badge-success {
  background: #e6f9ef;
  border-color: transparent;
  color: #1a8a4d;
}

.badge-teal {
  background: #e6f7f7;
  border-color: transparent;
  color: var(--teal);
}

/* ===== Section base ===== */
section {
  padding: 80px 0;
}

.bg-grey {
  background: var(--grey-bg);
}

.bg-primary {
  background: var(--primary);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.bg-primary .section-head h2 {
  color: var(--white);
}

.section-head p {
  font-size: 18px;
  color: var(--text-muted);
}

.bg-primary .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.bg-primary .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Technology section ===== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tech-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
  background: var(--primary-light);
  color: var(--primary);
}

.tech-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.tech-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tech-list {
  list-style: none;
}

.tech-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.tech-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ===== Features grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--grey-border);
  transition: all var(--transition);
}

.feature:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}

.feature h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-border);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-hover);
  position: relative;
}

.price-card.featured::after {
  content: "Популярный";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  min-height: 42px;
}

.price-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-value span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 24px 0;
  flex: 1;
}

.price-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid var(--grey-border);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 17px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--grey-border);
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-border);
}

.about-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.rekv-list {
  list-style: none;
}

.rekv-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.rekv-list li:last-child {
  border-bottom: none;
}

.rekv-list .label {
  color: var(--text-muted);
}

.rekv-list .value {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #027BFC 0%, #0262cc 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-text {
  position: relative;
  z-index: 1;
  flex: 1 1 400px;
}

.cta-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-text p {
  font-size: 18px;
  opacity: 0.9;
}

.cta-action {
  position: relative;
  z-index: 1;
}

.cta-sevens {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--white) !important;
  display: block;
  margin-bottom: 8px;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}

.footer-copy a {
  color: var(--white);
  font-weight: 700;
}

/* ===== Sub buttons row (cdnnow style) ===== */
.sub-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sub-buttons .btn {
  flex: 1 1 200px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .tech-grid,
  .features-grid,
  .pricing-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 8px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--grey-border);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-border);
  }
  .burger {
    display: flex;
  }
  .nav-cta .btn-text {
    display: none;
  }
  section {
    padding: 56px 0;
  }
  .hero {
    padding: 48px 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 40px 28px;
    text-align: center;
    justify-content: center;
  }
  .cta-sevens {
    font-size: 80px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
}
