:root {
  --primary: #7e57c2;
  --secondary: #4527a0;
  --background: #f3e8ff;
  --light-bg: #f3e5f5;
  --white: #ffffff;
  --text: #2c1b47;
  --shadow: rgba(126, 87, 194, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--white);
  color: var(--text);
  font-size: 18px;
  line-height: 1.82;
  max-width: 1820px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 600;
  color: var(--text);
}

h1 {
  font-size: 62px;
  line-height: 0.94;
  letter-spacing: -1.1px;
  margin-bottom: 40px;
}

h2 {
  font-size: 46px;
  line-height: 0.94;
  letter-spacing: -0.9px;
  margin-bottom: 30px;
}

h3 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  max-width: 730px;
}

header {
  position: sticky;
  top: 0;
  background: rgba(243, 232, 255, 0.98);
  box-shadow: 0 4px 12px var(--shadow);
  z-index: 1000;
  transition: all 0.32s ease-in-out;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
}

header .logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
}

header nav {
  display: flex;
  gap: 40px;
  list-style: none;
}

header nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 80px;
}

.hero {
  position: relative;
  height: 500px;
  background: url('images/hero.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243, 232, 255, 0) 0%, rgba(243, 232, 255, 0.12) 100%);
}

.hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--text);
  max-width: 800px;
}

.hero h1 {
  font-size: 68px;
  margin-bottom: 20px;
}

section {
  padding: 180px 0;
  border-bottom: 1px solid rgba(126, 87, 194, 0.06);
}

section:last-child {
  border-bottom: none;
}

.section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.section-block.reverse {
  direction: rtl;
}

.section-block.reverse > * {
  direction: ltr;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-block:hover .section-image {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(126, 87, 194, 0.15);
}

.section-text {
  padding: 40px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  background: var(--light-bg);
}

table th {
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(126, 87, 194, 0.1);
}

table tr:last-child td {
  border-bottom: none;
}

.food-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.food-item {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.food-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.plants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin: 60px 0;
}

.plant-card {
  padding: 40px;
  background: var(--light-bg);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.plant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow);
}

.plant-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.plant-card p {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
}

.faq {
  margin: 60px 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(126, 87, 194, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--light-bg);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(126, 87, 194, 0.1);
}

.faq-answer {
  padding: 20px;
  background: var(--white);
  display: none;
  border-top: 1px solid rgba(126, 87, 194, 0.1);
  font-size: 16px;
  line-height: 1.6;
}

.faq-answer.active {
  display: block;
}

.faq-toggle {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.comparison-column {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.comparison-column h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.disclaimer {
  background: rgba(126, 87, 194, 0.05);
  border-left: 4px solid var(--primary);
  padding: 40px;
  border-radius: 8px;
  margin: 60px 0;
}

.disclaimer h2 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
}

.disclaimer p {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
}

.closing-section {
  background: var(--light-bg);
  padding: 60px;
  border-radius: 8px;
  margin: 60px 0;
  text-align: center;
}

.closing-section h2 {
  margin-bottom: 30px;
}

.closing-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.closing-section a:hover {
  color: var(--secondary);
}

.contact-form {
  background: var(--light-bg);
  padding: 60px;
  border-radius: 8px;
  margin: 60px 0;
  max-width: 600px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(126, 87, 194, 0.2);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-disclaimer {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(126, 87, 194, 0.08);
  border-radius: 4px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow);
}

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

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

footer {
  background: var(--text);
  color: var(--white);
  padding: 60px 0;
  margin-top: 100px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

footer h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
}

footer p {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
}

footer a {
  color: var(--background);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-legal {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 60px;
  border-radius: 8px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}

.modal h2 {
  margin-bottom: 20px;
}

.modal h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.modal p {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
}

.modal ul, .modal ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.modal li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--white);
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  z-index: 1500;
  animation: slideUp 0.4s ease;
}

.cookies-banner.hidden {
  display: none;
}

.cookies-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
}

.cookies-buttons {
  display: flex;
  gap: 15px;
}

.cookies-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
}

.cookies-accept {
  background: var(--primary);
  color: var(--white);
}

.cookies-accept:hover {
  background: var(--secondary);
}

.cookies-decline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.cookies-decline:hover {
  background: var(--primary);
  color: var(--white);
}

.cookies-more {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.cookies-more:hover {
  background: var(--white);
  color: var(--text);
}

.thank-you-banner {
  background: rgba(126, 87, 194, 0.1);
  border-left: 4px solid var(--primary);
  padding: 20px 30px;
  border-radius: 4px;
  margin-bottom: 30px;
  animation: slideDown 0.4s ease;
}

.thank-you-banner p {
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

.wide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow: 0 20px 40px var(--shadow);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  header .container {
    padding: 0 40px;
  }

  header nav {
    gap: 20px;
  }

  header nav a {
    font-size: 14px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .section-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .plants-grid {
    grid-template-columns: 1fr 1fr;
  }

  .food-list {
    grid-template-columns: 1fr;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .modal-content {
    padding: 40px;
  }

  .cookies-banner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .cookies-buttons {
    width: 100%;
  }

  .cookies-btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 25px;
  }

  h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 22px;
  }

  section {
    padding: 100px 0;
  }

  .container {
    padding: 0 28px;
  }

  header .container {
    padding: 0 28px;
  }

  header {
    padding: 15px 0;
  }

  header nav {
    gap: 15px;
  }

  header nav a {
    font-size: 12px;
  }

  .hero {
    height: 350px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .plants-grid {
    grid-template-columns: 1fr;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 14px;
  }

  table th, table td {
    padding: 12px;
  }

  .contact-form {
    padding: 40px 30px;
  }

  .modal-content {
    padding: 30px;
    max-width: 95vw;
  }

  footer .container {
    font-size: 14px;
  }
}
