* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0b2a62;
  color: #f9fbfb;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgb(21 35 61 / 95%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 231, 254, 0.2);
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo-mark {
  font-size: 24px;
  color: #17cee2;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: #f9fbfb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 1;
}

.btn-small {
  background: transparent;
  border: 1.5px solid #17cee2;
  color: #f9fbfb;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-small:hover {
  background: rgba(27, 231, 254, 0.1);
  transform: scale(1.02);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #f9fbfb;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b2a62 0%, #112345 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hero-description.strong {
  font-weight: 600;
  opacity: 1;
}

.hero-highlight {
  font-size: 16px;
  opacity: 0.7;
  margin: 24px 0 32px;
  border-left: 3px solid #17cee2;
  padding-left: 16px;
}

.hero-highlight strong {
  color: #17cee2;
  opacity: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 14px 32px;
  border-radius: 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: transparent;
  border: 2px solid #17cee2;
  color: #f9fbfb;
}

.btn-primary:hover {
  background: rgba(27, 231, 254, 0.1);
  transform: scale(1.02);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.hero-stats {
  background: #0b2a62;
  border-radius: 32px;
  padding: 32px;
  min-width: 240px;
}

.stat-block {
  margin-bottom: 28px;
}

.stat-block:last-child {
  margin-bottom: 0;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #17cee2;
}

.stat-label {
  font-size: 13px;
  opacity: 0.7;
}

/* Секции */
.section {
  padding: 100px 0;
  border-top: 1px solid rgba(27, 231, 254, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  opacity: 0.7;
}

/* Таблица сравнения */
.compare-table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b2a62;
  border-radius: 24px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 231, 254, 0.1);
}

.compare-table th {
  background: #1a2f52;
  font-weight: 700;
  font-size: 16px;
}

.compare-table td {
  font-size: 15px;
}

.compare-table td.good {
  color: #17cee2;
  font-weight: 600;
}

.compare-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 18px;
  font-weight: 500;
}

/* Схема шагов */
.steps-scheme {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.step-card {
  background: #0b2a62;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  min-width: 200px;
  flex: 1;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: #17cee2;
  color: #0b2a62;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 16px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  opacity: 0.7;
}

.step-arrow {
  font-size: 32px;
  opacity: 0.5;
}

.steps-note {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
}

/* Партнёрка */
.partner-card {
  background: #0b2a62;
  border-radius: 32px;
  padding: 48px;
}

.slider-group {
  margin-bottom: 40px;
}

.slider-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 18px;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(27, 231, 254, 0.3);
  border-radius: 3px;
  outline: none;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #17cee2;
  cursor: pointer;
  border: none;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.6;
}

.slider-value-display {
  margin-top: 12px;
  font-size: 14px;
}

.slider-value-display span {
  font-weight: 700;
  color: #17cee2;
}

.result-block {
  background: rgba(0, 45, 133, 0.5);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}

.result-label {
  font-size: 14px;
  opacity: 0.7;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.result-number {
  font-size: 64px;
  font-weight: 800;
  color: #17cee2;
  line-height: 1;
}

.result-period {
  font-size: 18px;
  margin-top: 8px;
}

.result-detail {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.7;
}

.partner-note {
  text-align: center;
  padding: 20px;
  background: rgba(27, 231, 254, 0.1);
  border-radius: 16px;
  font-size: 14px;
}

.partner-cta {
  text-align: center;
  margin-top: 40px;
}

/* CTA блок */
.cta-block {
  background: #0b2a62;
  border-radius: 48px;
  padding: 80px;
  text-align: center;
}

.cta-block h2 {
  font-size: 44px;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 32px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.6;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(27, 231, 254, 0.1);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 13px;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #f9fbfb;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

/* Модалка */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  background: #0b2a62;
  border-radius: 32px;
  width: 90%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid rgba(27, 231, 254, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: #f9fbfb;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.6;
}

.modal-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(27, 231, 254, 0.2);
}

.modal-tab {
  background: none;
  border: none;
  color: #f9fbfb;
  opacity: 0.6;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.modal-tab.active {
  opacity: 1;
  border-bottom: 2px solid #17cee2;
}

.modal-body form {
  display: none;
}

.modal-body form.active {
  display: block;
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 45, 133, 0.5);
  border: 1px solid rgba(27, 231, 254, 0.3);
  border-radius: 16px;
  color: #f9fbfb;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.modal-input:focus {
  outline: none;
  border-color: #17cee2;
}

.modal-input option {
  background: #0b2a62;
}

.w-100 {
  width: 100%;
}

/* Адаптив */
@media (max-width: 900px) {
  .hero-grid {
      grid-template-columns: 1fr;
      gap: 48px;
  }
  
  .hero-title {
      font-size: 40px;
  }
  
  .section-title {
      font-size: 32px;
  }
  
  .steps-scheme {
      flex-direction: column;
  }
  
  .step-arrow {
      transform: rotate(90deg);
  }
  
  .compare-table th,
  .compare-table td {
      padding: 12px 16px;
      font-size: 13px;
  }
  
  .partner-card {
      padding: 24px;
  }
  
  .result-number {
      font-size: 44px;
  }
  
  .cta-block {
      padding: 40px 24px;
  }
  
  .cta-block h2 {
      font-size: 28px;
  }
  
  .nav {
      display: none;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .footer-inner {
      flex-direction: column;
      text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
      padding: 0 20px;
  }
  
  .hero-stats {
      min-width: auto;
  }
  
  .stat-value {
      font-size: 28px;
  }
}