* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0a0f1a;
  color: #e5e7eb;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(15, 22, 34, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 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: #3b82f6;
}

.logo-text {
  color: #3b82f6;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #3b82f6;
}

.btn-small {
  background: transparent;
  border: 1.5px solid #3b82f6;
  color: #e5e7eb;
  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(59, 130, 246, 0.1);
  transform: scale(1.02);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: #0a0f1a;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title span {
  color: #3b82f6;
}

.hero-description {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 16px;
}

.hero-description.strong {
  font-weight: 600;
  color: #e5e7eb;
}

.hero-highlight {
  font-size: 16px;
  color: #6b7280;
  margin: 24px 0 32px;
  border-left: 3px solid #3b82f6;
  padding-left: 16px;
}

.hero-highlight strong {
  color: #3b82f6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Buttons */
.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: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: scale(1.02);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* Hero Image - без параллакса */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 734 / 852;
}

.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% {
      opacity: 0;
      transform: scale(0.5);
  }
  50% {
      opacity: 1;
      transform: scale(1);
  }
}

.floating-cloud {
  position: relative;
  width: 100%;
  height: 100%;
  animation: floatCloud 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
  z-index: 2;
}

.floating-girl {
  width: 100%;
  height: auto;
  display: block;
  animation: gentleBob 3s ease-in-out infinite;
}

@keyframes floatCloud {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid rgba(59, 130, 246, 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;
  color: #ffffff;
}

.section-title span {
  color: #3b82f6;
}

.section-subtitle {
  font-size: 18px;
  color: #9ca3af;
}

/* Comparison Table */
.compare-table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1622;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.compare-table th {
  background: rgba(59, 130, 246, 0.05);
  font-weight: 700;
  font-size: 16px;
  color: #e5e7eb;
}

.compare-table td {
  font-size: 15px;
  color: #9ca3af;
}

.compare-table td.good {
  color: #10b981;
  font-weight: 600;
}

.compare-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 18px;
  font-weight: 500;
  color: #9ca3af;
}

/* Steps Scheme */
.steps-scheme {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.step-card {
  background: #0f1622;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  min-width: 200px;
  flex: 1;
  transition: all 0.2s;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
}

.step-number {
  width: 40px;
  height: 40px;
  background: #3b82f6;
  color: white;
  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;
  color: #e5e7eb;
}

.step-card p {
  font-size: 14px;
  color: #6b7280;
}

.step-arrow {
  font-size: 32px;
  color: #3b82f6;
  opacity: 0.5;
}

.steps-note {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
  color: #9ca3af;
}

/* Partner Card */
.partner-card {
  background: #0f1622;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 32px;
  padding: 32px;
}

.slider-group {
  margin-bottom: 24px;
  padding-left: 8px;
}

.slider-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
  color: #e5e7eb;
}

input[type="range"] {
  width: calc(100% - 8px);
  margin-left: 4px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 2px;
  outline: none;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
  transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-left: 8px;
  padding-right: 4px;
  font-size: 11px;
  color: #6b7280;
}

.slider-value-display {
  margin-top: 8px;
  font-size: 13px;
  text-align: center;
  color: #9ca3af;
}

.slider-value-display span {
  font-weight: 700;
  color: #3b82f6;
}

.result-block {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  margin: 24px 0;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.result-label {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.result-number {
  font-size: 48px;
  font-weight: 800;
  color: #3b82f6;
  line-height: 1;
}

.result-period {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 6px;
}

.result-detail {
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
}

.partner-note {
  text-align: center;
  padding: 12px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  font-size: 13px;
  color: #9ca3af;
}

.partner-cta {
  text-align: center;
  margin-top: 24px;
}

/* CTA Block */
.cta-block {
  background: #0f1622;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 48px;
  padding: 80px;
  text-align: center;
}

.cta-block h2 {
  font-size: 44px;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-block h2 span {
  color: #3b82f6;
}

.cta-block p {
  font-size: 20px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  font-size: 14px;
  color: #6b7280;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding: 40px 0;
  background: #0a0f1a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 13px;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b82f6;
}

/* Modal */
.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.9);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  background: #0f1622;
  border-radius: 32px;
  width: 90%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #e5e7eb;
}

.modal-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ef4444;
}

.modal-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.modal-tab {
  background: none;
  border: none;
  color: #9ca3af;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-tab.active {
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
}

.modal-body form {
  display: none;
}

.modal-body form.active {
  display: block;
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  color: #e5e7eb;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: inherit;
  transition: all 0.2s;
}

.modal-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.08);
}

.modal-input option {
  background: #0f1622;
}

.w-100 {
  width: 100%;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
  color: #f87171;
  font-size: 14px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
  color: #34d399;
  font-size: 14px;
}

.form-hint {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: -8px;
  margin-bottom: 16px;
  text-align: left;
}

/* Animations */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-card, .compare-table tr {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.section.visible .step-card,
.section.visible .compare-table tr {
  opacity: 1;
  transform: translateY(0);
}

.compare-table tr:nth-child(1) { transition-delay: 0.05s; }
.compare-table tr:nth-child(2) { transition-delay: 0.1s; }
.compare-table tr:nth-child(3) { transition-delay: 0.15s; }
.compare-table tr:nth-child(4) { transition-delay: 0.2s; }
.compare-table tr:nth-child(5) { transition-delay: 0.25s; }
.compare-table tr:nth-child(6) { transition-delay: 0.3s; }
.compare-table tr:nth-child(7) { transition-delay: 0.35s; }
.compare-table tr:nth-child(8) { transition-delay: 0.4s; }

.step-card:nth-child(1) { transition-delay: 0.1s; }
.step-card:nth-child(3) { transition-delay: 0.2s; }
.step-card:nth-child(5) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
      gap: 40px;
  }
  
  .hero-image-wrapper {
      max-width: 360px;
  }
  
  .hero-title {
      font-size: 48px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
      grid-template-columns: 1fr;
      gap: 48px;
  }
  
  .hero-image-wrapper {
      max-width: 380px;
      margin: 0 auto;
  }
  
  .hero-content {
      max-width: 100%;
      text-align: center;
  }
  
  .hero-title {
      font-size: 40px;
      text-align: center;
  }
  
  .hero-description, .hero-highlight {
      text-align: center;
  }
  
  .hero-highlight {
      border-left: none;
      padding-left: 0;
      border-top: 2px solid #3b82f6;
      padding-top: 16px;
  }
  
  .hero-buttons {
      justify-content: center;
  }
  
  .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-image-wrapper {
      max-width: 280px;
  }
  
  .hero-title {
      font-size: 32px;
  }
  
  .hero-description {
      font-size: 16px;
  }
}