:root {
  --primary-color: #5C2D6E;
  --secondary-color: #3E1A4F;
  --accent-color: #9B5AAE;
  --light-color: #F4EEF8;
  --dark-color: #160A1E;
  --gradient-primary: linear-gradient(135deg, #5C2D6E 0%, #9B5AAE 100%);
  --hover-color: #4A2159;
  --background-color: #FBFAFC;
  --text-color: #221430;
  --border-color: rgba(92, 45, 110, 0.18);
  --divider-color: rgba(62, 26, 79, 0.15);
  --shadow-color: rgba(92, 45, 110, 0.1);
  --highlight-color: #D4883A;
  --main-font: 'DM Serif Display', serif;
  --alt-font: 'Nunito', 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 — numbered style */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: white;
  border-radius: 14px;
  padding: 2.2rem 1.8rem 1.8rem;
  box-shadow: 0 3px 18px var(--shadow-color);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.feature-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary-color);
  opacity: 0.06;
  font-family: var(--main-font);
  line-height: 1;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 0.12;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.feature-divider {
  width: 36px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin-bottom: 1.2rem;
  transition: width 0.3s ease;
}

.feature-card:hover .feature-divider {
  width: 60px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-family: var(--main-font);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-color);
  line-height: 1.65;
  margin: 0;
}

/* Comparison Table Block */
.compare-block {
  width: 100%;
  background: var(--light-color);
  padding: 4rem 0;
}

.compare-block h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.7rem;
}

.compare-block .subtitle {
  color: var(--text-color);
  text-align: center;
  opacity: 0.7;
  margin-bottom: 3rem;
  font-size: 1rem;
}

.compare-table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px var(--shadow-color);
}

.compare-table thead tr th {
  padding: 1.2rem 1.5rem;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
}

.compare-table thead tr th:first-child {
  background: white;
  color: var(--text-color);
  width: 40%;
  border-bottom: 2px solid var(--border-color);
}

.compare-table thead tr th.active-col {
  background: var(--gradient-primary);
  color: white;
}

.compare-table thead tr th.inactive-col {
  background: #B0B0B0;
  color: white;
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(92, 45, 110, 0.03);
}

.compare-table tbody tr td {
  padding: 1rem 1.5rem;
  background: white;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.94rem;
  color: var(--text-color);
  vertical-align: middle;
}

.compare-table tbody tr td:first-child {
  font-weight: 600;
  color: var(--secondary-color);
}

.compare-table tbody tr td.good {
  color: #3A7D44;
  font-weight: 600;
  text-align: center;
}

.compare-table tbody tr td.bad {
  color: #A03030;
  text-align: center;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.2rem;
  margin: 2.5rem 0;
}

.testimonial {
  background: white;
  border-radius: 14px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial-stars {
  color: #E8A030;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
}

/* FAQ */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.2rem 0;
  padding: 2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.faq-item:hover {
  border-left-color: var(--accent-color);
  box-shadow: 0 6px 22px var(--shadow-color);
  transform: translateX(4px);
}

.faq-item h3 {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  color: var(--primary-color);
  font-family: var(--main-font);
}

/* Forms */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.1rem;
  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 3px rgba(92, 45, 110, 0.1);
}

/* Button */
button, .btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(92, 45, 110, 0.3);
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(92, 45, 110, 0.4);
}

/* Typography */
html { scroll-behavior: smooth; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Header & Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

/* Pattern BG */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(92, 45, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(155, 90, 174, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(212, 136, 58, 0.04) 0%, transparent 55%);
}

/* Contact */
.contact-inner {
  width: 80%;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .hero h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    padding: 0 1rem;
  }

  .container { padding: 0 1rem; max-width: 100vw; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .compare-table thead tr th,
  .compare-table tbody tr td {
    padding: 0.8rem 0.9rem;
    font-size: 0.85rem;
  }

  .contact-inner { width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; padding: 0 0.5rem; }
  .hero p { font-size: 1rem; padding: 0 0.5rem; }
  .container { padding: 0 0.5rem; }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table thead tr th,
  .compare-table tbody tr td {
    padding: 0.7rem 0.7rem;
  }

  input, textarea { font-size: 16px; padding: 1rem; }
  .btn { padding: 1rem 2rem; font-size: 0.95rem; }
}