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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #f0f5f1;
  color: #1a2e1f;
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  background: linear-gradient(145deg, #0d2415, #1a4025);
  color: white;
  padding: 32px 0 24px;
  border-bottom: 6px solid #66bb6a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.logo h1 {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: #66bb6a;
}

.logo .tagline {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 4px;
  letter-spacing: 0.4px;
}

.header-badge {
  background: #66bb6a;
  color: #0d2415;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Hero ===== */
.hero {
  background: #ffffff;
  padding: 48px 0 40px;
  border-bottom: 1px solid #c8e6c9;
}

.hero h2 {
  font-size: 2.6rem;
  font-weight: 600;
  color: #0d2415;
  margin-bottom: 8px;
}

.hero .sub {
  font-size: 1.3rem;
  color: #2e5233;
  max-width: 750px;
  margin-bottom: 16px;
}

.hero .highlight {
  background: #e8f5e9;
  padding: 16px 24px;
  border-left: 8px solid #66bb6a;
  border-radius: 0 12px 12px 0;
  font-weight: 500;
  color: #0d2415;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.hero .highlight span {
  display: inline-flex;
  align-items: center;
}

.hero .highlight strong {
  color: #1a4025;
  margin-right: 4px;
}

/* ===== Benefits ===== */
.benefits {
  padding: 60px 0;
  background: #f9fdf9;
}

.benefits h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0d2415;
  text-align: center;
  margin-bottom: 12px;
}

.benefits .subhead {
  text-align: center;
  font-size: 1.15rem;
  color: #3a5e42;
  margin-bottom: 44px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 28px 24px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #c8e6c9;
  transition: transform 0.2s ease, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 94, 32, 0.1);
}

/* Стиль для Lottie-анимаций (iOS стикеры) */
.icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lottie-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.card:hover .icon-wrapper {
  transform: scale(1.15);
}

.card:active .icon-wrapper {
  transform: scale(0.95);
}

/* Fallback эмодзи если Lottie не загрузится */
.fallback-emoji {
  font-size: 3.5rem;
  display: block;
  animation: iconFloat 3s ease-in-out infinite;
}

.card .icon {
  font-size: 2.4rem;
  margin-bottom: 8px;
  opacity: 0.9;
  display: inline-block;
}

/* Анимации для эмодзи в стиле iOS */
.card .icon.animate {
  animation: iconFloat 3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) scale(1.05) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) scale(1.08) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) scale(1.05) rotate(3deg);
  }
}

.card:hover .icon.animate {
  animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconPop {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.3) rotate(-12deg);
  }
  100% {
    transform: scale(1.25) rotate(-8deg);
  }
}

/* Добавляем задержку анимации для каждого эмодзи */
.card:nth-child(1) .icon.animate { animation-delay: 0s; }
.card:nth-child(2) .icon.animate { animation-delay: 0.2s; }
.card:nth-child(3) .icon.animate { animation-delay: 0.4s; }
.card:nth-child(4) .icon.animate { animation-delay: 0.6s; }
.card:nth-child(5) .icon.animate { animation-delay: 0.8s; }
.card:nth-child(6) .icon.animate { animation-delay: 1s; }

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0d2415;
  margin-bottom: 10px;
}

.card ul {
  list-style: none;
  padding-left: 0;
}

.card li {
  padding: 6px 0 6px 28px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%2366bb6a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') left center no-repeat;
  background-size: 18px;
  margin-bottom: 2px;
  color: #2e5233;
}

.card li strong {
  color: #1a4025;
}

/* ===== Partners ===== */
.partners {
  padding: 40px 0 60px;
  background: #ffffff;
  border-top: 1px solid #c8e6c9;
}

.partners h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0d2415;
  text-align: center;
  margin-bottom: 32px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.partner-item {
  background: #f1f8f2;
  padding: 16px 12px;
  border-radius: 16px;
  border: 1px solid #c8e6c9;
  font-weight: 600;
  color: #0d2415;
  font-size: 1.1rem;
}

.partner-item small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: #4a6e52;
  margin-top: 4px;
}

/* ===== Form Section ===== */
.form-section {
  background: #e1f0e3;
  padding: 56px 0 60px;
  border-top: 1px solid #aed581;
  border-bottom: 1px solid #aed581;
}

.form-section .container {
  max-width: 820px;
}

.form-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0d2415;
  text-align: center;
  margin-bottom: 8px;
}

.form-section .sub {
  text-align: center;
  font-size: 1.1rem;
  color: #3a5e42;
  margin-bottom: 32px;
}

.lead-form {
  background: white;
  padding: 36px 40px;
  border-radius: 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #c8e6c9;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #0d2415;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 1px solid #a5d6a7;
  border-radius: 14px;
  background: #fafffe;
  transition: 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #66bb6a;
  outline: none;
  box-shadow: 0 0 0 4px rgba(102, 187, 106, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.9rem;
  color: #2e5233;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  cursor: pointer;
  accent-color: #66bb6a;
}

.checkbox-label a {
  color: #2e7d32;
  text-decoration: underline;
}

.btn-submit {
  background: #1a4025;
  color: white;
  font-weight: 700;
  padding: 16px 32px;
  font-size: 1.2rem;
  border: none;
  border-radius: 60px;
  width: 100%;
  cursor: pointer;
  transition: 0.15s;
  margin-top: 8px;
  box-shadow: 0 4px 0 #0d2415;
  font-family: inherit;
}

.btn-submit:hover {
  background: #2e5233;
  transform: scale(0.99);
  box-shadow: 0 2px 0 #0d2415;
}

.btn-submit:disabled {
  opacity: 0.6;
  transform: scale(0.98);
  cursor: not-allowed;
}

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #c8e6c9;
  color: #1b5e20;
  border: 1px solid #81c784;
}

.form-status.error {
  display: block;
  background: #ffcdd2;
  color: #c62828;
  border: 1px solid #e57373;
}

.form-status.loading {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

/* ===== Info Section ===== */
.info-section {
  padding: 50px 0;
  background: #ffffff;
}

.info-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #0d2415;
  margin-bottom: 24px;
  border-bottom: 3px solid #66bb6a;
  padding-bottom: 10px;
  display: inline-block;
}

.info-content {
  max-width: 900px;
}

.info-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a4025;
  margin-top: 24px;
  margin-bottom: 10px;
}

.info-content p {
  margin-bottom: 14px;
  color: #2e5233;
  line-height: 1.8;
}

.info-content ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 14px;
}

.info-content ul li {
  margin-bottom: 6px;
  color: #2e5233;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: #0d2415;
  color: #a5d6a7;
  padding: 48px 0 24px;
  border-top: 6px solid #66bb6a;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 30px;
}

.footer-col h4 {
  color: #e8f5e9;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #2e5233;
  padding-bottom: 8px;
  display: inline-block;
}

.footer-col p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 6px;
}

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

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

.footer-col ul li a {
  color: #a5d6a7;
  text-decoration: none;
  border-bottom: 1px dotted #4a6e52;
  font-size: 0.95rem;
  transition: 0.15s;
}

.footer-col ul li a:hover {
  color: #66bb6a;
  border-bottom: 1px solid #66bb6a;
}

.footer-bottom {
  text-align: center;
  margin-top: 38px;
  font-size: 0.7rem;
  color: #6b8e6f;
  border-top: 1px solid #2e5233;
  padding-top: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .header .container {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .lead-form {
    padding: 24px 18px;
  }
  
  .footer-grid {
    gap: 28px;
  }
  
  .hero .highlight {
    flex-direction: column;
    gap: 8px;
  }
}
