:root {
  --primary-color: #B22B5B;
  --secondary-color: #8C1A40;
  --accent-color: #F0A55A;
  --light-color: #F2D4C9;
  --dark-color: #1D0A12;
  --gradient-primary: linear-gradient(135deg, #B22B5B 0%, #8C1A40 100%);
  --hover-color: #9A2250;
  --background-color: #FDF8F6;
  --text-color: #2E1A22;
  --border-color: rgba(178, 43, 91, 0.18);
  --divider-color: rgba(140, 26, 64, 0.15);
  --shadow-color: rgba(178, 43, 91, 0.11);
  --highlight-color: #F0A55A;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}
#menu-toggle { display: none; }
#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}
.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.8rem 0; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.mobile-nav a:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }

/* Feature Cards — горизонтальна картка з лівою іконкою */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 4px solid var(--primary-color);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow-color);
  border-bottom-color: var(--accent-color);
}
.feature-icon {
  font-size: 2rem;
  color: white;
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent-color) 0%, #d4823a 100%);
  transform: rotate(6deg) scale(1.08);
}
.feature-card-body { flex: 1; }
.feature-card-body h3 { margin-bottom: 0.6rem; }

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 6px 24px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-right: 5px solid var(--accent-color);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 8px 32px var(--shadow-color); }
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: serif;
  opacity: 0.12;
}

/* FAQ Items */
.faq-item {
  background: white;
  border-radius: 16px;
  margin: 1rem 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.5rem;
  border-top: 5px solid var(--primary-color);
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--shadow-color);
  border-top-color: var(--accent-color);
}
.faq-item h3 { margin-bottom: 1.2rem; display: flex; align-items: center; }
.faq-item h3::before { content: '❓'; margin-right: 1rem; font-size: 1.2rem; }

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.3rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(178, 43, 91, 0.1);
}
input:hover, textarea:hover { border-color: var(--secondary-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.3rem 2.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--main-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 16px rgba(178, 43, 91, 0.28);
  letter-spacing: 0.04em;
}
button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(178, 43, 91, 0.38);
}

/* Typography */
html { scroll-behavior: smooth; }
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
  max-width: 100vw;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; color: var(--primary-color); }

/* Stat Cards */
.stat-card {
  background: white;
  border-radius: 18px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 28px var(--shadow-color); }
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 12px 12px 0 0;
}
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--primary-color); font-family: var(--main-font); line-height: 1; }
.stat-text { font-size: 0.95rem; color: var(--text-color); margin-top: 0.6rem; font-weight: 500; }

/* Header & Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-color);
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

/* Pattern background */
.pattern-bg {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(178, 43, 91, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(240, 165, 90, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(178, 43, 91, 0.02) 40px, rgba(178, 43, 91, 0.02) 41px);
}

/* Compare table block */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,0.18);
}
.compare-table thead tr {
  background: rgba(255,255,255,0.15);
}
.compare-table thead th {
  padding: 1.2rem 1.5rem;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-align: left;
  letter-spacing: 0.03em;
}
.compare-table thead th:first-child { width: 34%; }
.compare-table tbody tr:nth-child(odd) { background: rgba(255,255,255,0.08); }
.compare-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.04); }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.15); }
.compare-table tbody td {
  padding: 1rem 1.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  vertical-align: middle;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: white;
}
.badge-bad {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
}
.badge-good {
  display: inline-block;
  background: rgba(240, 165, 90, 0.35);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  color: #FFE4B5;
  font-weight: 600;
}

/* Responsive */
* { box-sizing: border-box; }
body { overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 2rem; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.1rem; line-height: 1.25; padding: 0 1rem; }
  .container { padding: 0 1rem; max-width: 100vw; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0.5rem; }
  .feature-card { flex-direction: column; align-items: flex-start; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 2rem 1.5rem; max-width: 100%; word-wrap: break-word; }
  .contact-block { max-width: 100% !important; }
  .compare-table thead th, .compare-table tbody td { padding: 0.8rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; line-height: 1.25; padding: 0 0.5rem; }
  .hero p { font-size: 1rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem 1rem; max-width: 100%; }
  .stat-number { font-size: 1.7rem; }
  .container { padding: 0 0.5rem; }
  input, textarea { font-size: 16px; padding: 1rem; }
  .btn { padding: 1rem 2rem; font-size: 0.9rem; }
}