:root {
  --primary-color: #6A1E9C;
  --secondary-color: #4B1461;
  --accent-color: #A855C8;
  --light-color: #F5EEFF;
  --dark-color: #1E0A30;
  --gradient-primary: linear-gradient(135deg, #4B1461 0%, #7A3FA0 100%);
  --hover-color: #3A0F50;
  --background-color: #F9F4FF;
  --text-color: #2C1A3E;
  --border-color: rgba(106, 30, 156, 0.18);
  --divider-color: rgba(75, 20, 97, 0.15);
  --shadow-color: rgba(106, 30, 156, 0.13);
  --highlight-color: #D4A8F0;
  --main-font: 'Lora', serif;
  --alt-font: 'Inter', 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 with large digit */
.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2.4rem 2rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.feature-card::after {
  content: attr(data-number);
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary-color);
  opacity: 0.07;
  font-family: var(--main-font);
  line-height: 1;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 2.2rem;
  width: 64px;
  height: 64px;
  background: var(--light-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin: 0 0 1.4rem 0;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--accent-color);
  transform: rotate(6deg) scale(1.08);
}

.feature-number {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: var(--alt-font);
}

.feature-divider {
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 0.9rem 0;
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2.2rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 3px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 5rem;
  color: var(--primary-color);
  font-family: Georgia, serif;
  opacity: 0.12;
  line-height: 1;
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.2rem;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--shadow-color);
  border-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.faq-item h3::before {
  content: '✦';
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Before/After comparison block */
.compare-col {
  flex: 1;
  border-radius: 14px;
  padding: 2rem 1.8rem;
}

.compare-col-before {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.compare-col-after {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
  line-height: 1.5;
}

.compare-item-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem;
  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(106, 30, 156, 0.1);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
}

/* Button Styles */
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: 600;
  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(106, 30, 156, 0.28);
  letter-spacing: 0.02em;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(106, 30, 156, 0.38);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.75;
  max-width: 100vw;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Header and 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 16px var(--shadow-color);
}

footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 10% 50%, rgba(106, 30, 156, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(168, 85, 200, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 55% 85%, rgba(212, 168, 240, 0.05) 0%, transparent 42%);
  background-size: 100% 100%;
}

/* 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: 2rem;
    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.3rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.3rem;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    margin: 0.8rem 0;
    max-width: 100%;
    word-wrap: break-word;
  }

  .compare-col {
    padding: 1.4rem 1.2rem;
  }

  .contact-block {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.25;
    padding: 0 0.5rem;
  }

  .hero p {
    font-size: 0.97rem;
    padding: 0 0.5rem;
  }

  .feature-card {
    padding: 1.8rem 1.2rem;
  }

  .testimonial,
  .faq-item {
    padding: 1.4rem 1rem;
    max-width: 100%;
  }

  .container {
    padding: 0 0.5rem;
  }

  input, textarea {
    font-size: 16px;
    padding: 0.9rem;
  }

  .btn {
    padding: 0.9rem 1.6rem;
    font-size: 0.88rem;
  }
}