/* Базовые стили */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}
.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero h1,
.hero p,
.hero .cta-button {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  margin: 0 0 40px;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #333;
  border: none;
  padding: 16px 40px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 193, 7, 0.4);
}
.features-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 50px;
}
.features-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0px 20px 50px;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #ffb300);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.8em;
  font-weight: 600;
  color: #2c3e50;
}

.feature p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.7;
}

.feature .cta-button {
  font-size: 0.95em;
  padding: 12px 30px;
}

.form-section {
  background: white;
  padding: 80px 20px;
  text-align: center;
  margin: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.form-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 40px;
}

.form-section form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-section input,
.form-section textarea {
  padding: 16px 20px;
  font-size: 1em;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  width: 100%;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #fafafa;
}

.form-section input:focus,
.form-section textarea:focus {
  outline: none;
  border-color: #ffc107;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-section textarea {
  resize: vertical;
  min-height: 120px;
}

/* Секция выбора источника */
.source-section {
  
  background: white;
  padding: 30px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 500px;
}

.source-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 50px;
}

.source-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.source-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 20px 30px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.source-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.source-button:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.source-button:hover::before {
  width: 300px;
  height: 300px;
}

.source-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 15px rgba(102, 126, 234, 0.3);
}


@media (max-width: 768px) {
  .source-section .features {
    grid-template-columns: 1fr;
  }
}

.footer {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
}

.footer p {
  margin: 0 0 20px;
  font-size: 1em;
  opacity: 0.9;
}

.footer .cta-button {
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .features {
    padding: 0px 20px 50px;
    gap: 20px;
  }

  .feature {
    max-width: 100%;
  }

  .form-section {
    padding: 50px 20px;
    margin: 20px 10px;
  }

  .source-section {
    margin: 30px 20px;
  }

  .source-buttons {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 20px;
  }
  .features-title {
    text-align: center;
    margin-bottom: 30px;
  }
}

@media (max-width: 400px) {
  .cta-button {
    padding: 14px 30px;
    font-size: 0.95em;
  }
  .source-section {
    margin: 0px 0px;
  }
  
}
