/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #122A4C;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Header */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.hero-logo {
  display: flex;
  align-items: center;
}

.logo {
  height: 24px;
  width: auto;
}

.hero-nav {
  display: flex;
  align-items: center;
}

.nav-btn {
  background: #2d2d2d;
  color: #FFFFFF;
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid #2d2d2d;
}

.nav-btn:hover {
  background: transparent;
  color: #2d2d2d;
  border-color: #2d2d2d;
}

/* Hero Section */
.hero {
  background: #FBF9E4;
  width: 100%;
  min-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.waves-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #2d2d2d;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-btn {
  background: #2d2d2d;
  color: #FFFFFF;
  border: 2px solid #2d2d2d;
  padding: 12px 32px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background: transparent;
  color: #2d2d2d;
  border-color: #2d2d2d;
  text-decoration: none;
}

/* Features Section */
.features {
  background: #122A4C;
  padding: 80px 0;
  color: #FFFFFF;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.feature-column {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-item {
  padding: 0;
  background: none;
  border: none;
  text-align: left;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFFFFF;
  opacity: 0.8;
}

/* How It Works Section */
.how-it-works {
  background: #122A4C;
  padding: 80px 0;
  color: #FFFFFF;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.section-subtitle {
  font-size: 1.7rem;
  text-align: left;
  margin-bottom: 60px;
  color: #FFFFFF;
  opacity: 0.8;
}

.faq .section-title {
  color: #2d2d2d;
}

.contact .section-title {
  color: #2d2d2d;
  text-align: center;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.steps-image {
  text-align: left;
}

.steps-numbers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 860px;
  gap: 25px;
}

.step-number {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-svg {
  width: 100%;
  max-width: 100px;
  height: auto;
  display: block;
}

.step-connector {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.step-connector .krug-dot {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

/* Скрываем мобильные кружки в десктопной версии */
.mobile-dots-1-2,
.mobile-dots-2-3 {
  display: none;
}

.krug-dot {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}



.steps-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.step {
  text-align: left;
}

.steps-content .step:nth-child(2) {
  margin-left: -20px;
}

.steps-content .step:nth-child(3) {
  margin-left: -35px;
}

.step-title {
  font-size: 2.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.step-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFFFFF;
  opacity: 0.8;
}



/* FAQ Section */
.faq {
  background: #FFFFFF;
  padding: 80px 0;
  color: #2d2d2d;
}

.faq-list {
  max-width: 100%;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(18, 42, 76, 0.2);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #2d2d2d;
}

.faq-icon {
  color: #2d2d2d;
  transition: transform 0.3s ease;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  color: #2d2d2d;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  height: auto;
  margin-top: 16px;
  padding: 0 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #2d2d2d;
  transition: all 0.3s ease;
}



.faq-icon {
  color: #2d2d2d;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

/* Contact Section */
.contact {
  background: #FFFFFF;
  padding: 40px 0;
}

.contact-card {
  background: #FBF9E4;
  border-radius: 20px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 500px;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: #2d2d2d;
}

.contact-text {
  font-size: 1.5rem;
  color: #2d2d2d;
  margin-bottom: 140px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #FFFFFF;
  padding: 20px 0;
  text-align: center;
  color: #2d2d2d;
}

.footer::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto 20px auto;
  height: 1px;
  background: rgba(18, 42, 76, 0.2);
}

.footer-text {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-header {
    padding: 20px 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .steps-container {
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
  }
  
  .steps-numbers {
    flex-direction: column;
    gap: 0;
    flex: 0 0 auto;
  }
  
  .step-svg {
    max-width: 80px;
  }
  

  

  
  /* Скрываем десктопные кружки в мобильной версии */
  .step-connector {
    display: none;
  }
  
  /* Мобильные кружки между 1 и 2 */
  .mobile-dots-1-2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
  }
  
  /* Мобильные кружки между 2 и 3 */
  .mobile-dots-2-3 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
  }
  
  /* Стили для мобильных кружков */
  .mobile-dot {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    display: block;
  }
  
  .steps-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
  }
  
  .steps-content .step {
    margin-bottom: 0;
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .step-number:first-child {
    margin-top: -25px;
  }
  
  .step-number:nth-child(3) {
    margin-top: -45px;
  }
  
  .step-number:last-child {
    margin-top: 0px;
  }
  
  .step-content {
    margin: 0;
  }
  
  .steps-content .step:last-child {
    margin-top: 30px;
  }
  
  .steps-content .step:nth-child(2) {
    margin-left: 0;
  }
  
  .steps-content .step:nth-child(3) {
    margin-left: 0;
  }
  
  .step-description {
    font-size: 0.8rem;
  }
  
  .step-title {
    font-size: 2.1rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .faq-question {
    font-size: 0.9rem;
  }
  
  .contact .section-title {
    font-size: 1.4rem;
  }
  
  .contact-text {
    font-size: 0.9rem;
  }
  
  .contact .cta-btn {
    font-size: 1.0rem;
  }
  
  .contact-card {
    min-height: 150px;
    padding: 40px 0px;
  }
  
  .footer-text {
    font-size: 0.7rem;
  }
  
  .logo {
    height: 12px;
  }
  
  .hero-header {
    flex-direction: column;
    gap: 15px;
    padding: 20px 20px;
  }
  
  .hero-nav {
    order: 2;
  }
  
  .hero-logo {
    order: 1;
  }
  
  .nav-btn {
    padding: 4px 14px;
    font-size: 0.8rem;
    border-radius: 14px;
  }
  
  .step-connector {
    transform: rotate(90deg);
    padding: 20px 0;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1.0rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .step-title {
    font-size: 1.1rem;
  }
}

/* No underline class for buttons */
.no-underline {
  text-decoration: none !important;
}

.no-underline:hover {
  text-decoration: none !important;
}
