* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
}

:root {
  --primary: #0a7c72;
  --primary-dark: #066257;
  --primary-light: #e8f5f3;
  --secondary: #ff6b35;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --success: #28a745;
  --warning: #ffc107;
  --gradient: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
  will-change: transform, opacity;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(10, 124, 114, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 124, 114, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
}

.bg-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll !important;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.bg-image .container {
  position: relative;
  z-index: 2;
}

/* .bg-image h2, 
        .bg-image h3, 
        .bg-image p {
            color: white;
        } */

.bg-image h2:after {
  background: var(--secondary);
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.header-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 20px;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 90px;
}

.logo img {
  height: 100%;
  width: auto;
  max-height: 90px;
  object-fit: contain;
  loading: lazy;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: nowrap;
}

nav li {
  margin-left: 25px;
  white-space: nowrap;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
  font-size: 1.2rem;
}

nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  gap: 15px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
  .header-container {
    min-height: 70px;
  }

  .logo {
    height: 60px;
  }

  .logo img {
    max-height: 60px;
  }

  nav a {
    font-size: 0.95rem;
  }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .header-container {
    min-height: 60px;
    padding: 10px 15px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    height: 80px;
  }

  .logo img {
    max-height: 80px;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
    margin-top: 15px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    margin: 8px 0;
    white-space: normal;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    display: none;
  }

  .header-actions.active {
    display: flex;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .header-container {
    min-height: 60px;
  }

  .logo {
    height: 60px;
  }

  .logo img {
    max-height: 60px;
  }

  .header-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Hero */
.hero {
  background: var(--gradient);
  color: white;
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero.bg-image {
  background: var(--gradient), url("../img/hero-bg.webp");
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
}

.hero h1,
.hero p {
  color: white;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image styles */
.section-image {
  width: 100%;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  loading: lazy;
  decoding: async;
}

.hero-image {
  width: 100%;
  max-height: 500px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Image placeholders - temporary for demo */
.image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(45deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--gray);
  border: 2px dashed #ccc;
  margin: 20px 0;
  text-align: center;
  padding: 20px;
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary);
  opacity: 0.7;
}

.image-placeholder.hero {
  height: 400px;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.image-placeholder.hero i {
  color: white;
  opacity: 0.5;
}

.hero-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  margin-top: 40px;
  max-width: 500px;
}

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

.form-group input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

.problems {
  background-color: var(--light);
}

.problems.bg-image {
  background:
    linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)),
    url("../img/dnk.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.problem-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.problem-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* How It Works */
.how-it-works {
  background-color: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  background: var(--primary-light);
  transition: all 0.3s;
}

.step-card:hover {
  background: var(--primary);
  color: white;
}

.step-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Systems */
.systems {
  background-color: var(--primary-light);
}

.systems.bg-image {
  background:
    linear-gradient(rgba(232, 245, 243, 0.85), rgba(232, 245, 243, 0.85)),
    url("");
  background-size: cover;
  background-position: center;
}

.systems-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .systems-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .systems-grid {
    grid-template-columns: 1fr;
  }
}

.system-card {
  background: white;
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.system-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.system-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.systems-image {
  margin-top: 40px;
}

/* Phytotherapy */
.phytotherapy {
  background-color: white;
}

.phytotherapy.bg-image {
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.phytotherapy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .phytotherapy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .phytotherapy-grid {
    grid-template-columns: 1fr;
  }
}

.phytotherapy-category {
  background: rgba(248, 249, 250, 0.9);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
}

.phytotherapy-category h4 {
  color: var(--primary);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
}

.phytotherapy-list {
  list-style: none;
}

.phytotherapy-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.phytotherapy-list li:last-child {
  border-bottom: none;
}

.phytotherapy-list i {
  color: var(--primary);
  margin-right: 10px;
}

/* Phytotherapy image gallery */
.phytotherapy-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .phytotherapy-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .phytotherapy-gallery {
    grid-template-columns: 1fr;
  }
}

/* Scientific Basis */
.scientific-basis {
  background-color: var(--light);
}

.scientific-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .scientific-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.scientific-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.scientific-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 15px;
}

.research-image {
  margin-top: 40px;
}

/* Testimonials */
.testimonials {
  background-color: white;
}

.testimonials.bg-image {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("../img/shallow-focus-shot-flowers.webp");
  background-size: cover;
  background-position: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.testimonial-card {
  background: rgba(248, 249, 250, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 15px;
}

.testimonial-image {
  margin: 20px 0;
}

.testimonial-stats {
  display: flex;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Pricing */
.pricing {
  background-color: var(--primary-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

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

.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.recommended {
  border: 3px solid var(--secondary);
  transform: scale(1.05);
}

.pricing-card.recommended:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: var(--secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-period {
  color: var(--gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--success);
  margin-right: 10px;
}

/* Platform preview image */
.platform-preview {
  margin-top: 40px;
}

/* Investors */
.investors {
  background-color: var(--dark);
  color: white;
}

.investors.bg-image {
  background:
    linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.85)), url("");
  background-size: cover;
  background-position: center;
}

.investors h2,
.investors p {
  color: white;
}

.investors h2:after {
  background: var(--secondary);
}

.investor-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin: 50px 0;
}

.investor-stat {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.investor-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}

.investor-label {
  font-size: 1.1rem;
}

/* Investors image */
.investors-image {
  margin-top: 40px;
}

/* CTA */
.cta {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta.bg-image {
  background:
    linear-gradient(rgba(10, 124, 114, 0.8), rgba(6, 98, 87, 0.8)), url("");
  background-size: cover;
  background-position: center;
}

.cta h2,
.cta p {
  color: white;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* CTA image */
.cta-image {
  margin-top: 40px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-subscribe input {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: none;
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
  nav li {
    margin-left: 18px;
  }

  nav a {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-content {
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  nav li {
    margin-left: 12px;
  }

  nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .mobile-menu-btn {
    display: block;
  }

  nav {
    width: 100%;
    display: none;
    margin-top: 20px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    margin: 10px 0;
    white-space: normal;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    display: none;
  }

  .header-actions.active {
    display: flex;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 0;
  }

  .bg-image {
    background-attachment: scroll !important;
  }


}

  .org-info {
    text-align: center;
    padding: 20px 0;
  }

  .org-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
  }

  .org-details {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.75;
  }

    .subscription {
    padding: 30px 0;
  }

  .legal-info {
      background: var(--dark);
      padding: 25px 0;
  }

  .legal-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 25px;
      flex-wrap: nowrap;  
  }


  .legal-logo {
      font-size: 1.6rem;
      color: var(--primary);
      opacity: 0.8;
  }

  .legal-divider {
      width: 1px;
      height: 40px;
      background: rgba(255,255,255,0.15);
  }

  .legal-details {
      display: flex;
      align-items: center;
      gap: 15px;  
      flex-wrap: wrap;
  }


  .legal-name {
      color: rgba(255,255,255,0.9);
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 0.5px;
  }

  .legal-item {
      color: rgba(255,255,255,0.5);
      font-size: 0.85rem;
      letter-spacing: 0.3px;
  }

  .legal-item span {
      color: var(--primary);
      font-weight: 600;
      margin-right: 5px;
      text-transform: uppercase;
      font-size: 0.75rem;
      letter-spacing: 1px;
  }

  @media (max-width: 576px) {
      .legal-inner {
          flex-direction: column;
          gap: 15px;
      }
      .legal-divider {
          width: 60px;
          height: 1px;
      }
      .legal-details {
          flex-direction: column;
          align-items: center;
          gap: 10px;
          text-align: center;
      }
  }
