:root {
  --primary-color: #5C3A6E;
  --secondary-color: #42285A;
  --accent-color: #9B6EB0;
  --light-color: #F5EFF9;
  --dark-color: #1E1028;
  --gradient-primary: linear-gradient(135deg, #5C3A6E 0%, #9B6EB0 100%);
  --hover-color: #4A2E5C;
  --background-color: #FAF7FD;
  --text-color: #2A1C34;
  --border-color: rgba(92, 58, 110, 0.16);
  --divider-color: rgba(66, 40, 90, 0.1);
  --shadow-color: rgba(92, 58, 110, 0.1);
  --highlight-color: #C8995A;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu Styles */
.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 — pill / capsule top accent style */
.feature-card {
  background: white;
  border-radius: 18px;
  padding: 2.4rem 1.8rem;
  box-shadow: 0 4px 22px var(--shadow-color);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 0 0 6px 6px;
  transition: width 0.3s ease;
}

.feature-card:hover::before {
  width: 100%;
  border-radius: 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px var(--shadow-color);
}

.feature-icon {
  font-size: 2.2rem;
  margin: 0 auto 1.4rem auto;
  color: var(--primary-color);
  width: 72px;
  height: 72px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: all 0.35s ease;
  flex-shrink: 0;
  box-shadow: inset 0 2px 8px rgba(92, 58, 110, 0.08);
  position: relative;
  z-index: 1;
  align-self: center;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(92, 58, 110, 0.3);
  transform: scale(1.1);
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  margin: 1rem 0;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.06;
  font-family: Georgia, serif;
  line-height: 0.8;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px var(--shadow-color);
  border-color: var(--accent-color);
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.2rem 2.2rem 2.2rem 2.8rem;
  position: relative;
}

.faq-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 12px 0 0 12px;
}

.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 24px var(--shadow-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  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, 58, 110, 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: 10px;
  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(92, 58, 110, 0.3);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(92, 58, 110, 0.45);
}

/* 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;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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.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;
}

/* 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: 2.5rem;
  margin: 2.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(92, 58, 110, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(155, 110, 176, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(200, 153, 90, 0.04) 0%, transparent 55%);
}

/* Random block: Ritual / checklist split-panel */
.ritual-block {
  width: 100%;
  background: linear-gradient(160deg, #F5EFF9 0%, #E6D8F0 100%);
  padding: 4.5rem 0;
}

.ritual-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ritual-text h2 {
  margin-bottom: 1rem;
}

.ritual-text p {
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ritual-checklist {
  background: white;
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 6px 28px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.ritual-checklist h3 {
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
}

.ritual-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.ritual-item:last-child {
  border-bottom: none;
}

.ritual-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ritual-item-text {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* Contact Section */
.contact-inner {
  width: 80%;
  margin: 0 auto;
}

/* 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.5rem; line-height: 1.2; padding: 0 1rem; }
  .container { padding: 0 1rem; max-width: 100vw; }
  .features-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 0.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 2rem 1.5rem; max-width: 100%; word-wrap: break-word; }
  .faq-item { padding: 2rem 1.5rem 2rem 2rem; }
  .ritual-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner { width: 100%; }
  .grid { gap: 1.5rem; }
  .space-x-8 { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; line-height: 1.2; padding: 0 0.5rem; }
  .hero p { font-size: 1rem; padding: 0 0.5rem; }
  .feature-card, .testimonial { margin: 1rem 0; padding: 1.5rem 1rem; max-width: 100%; }
  .faq-item { padding: 1.5rem 1rem 1.5rem 1.6rem; }
  .container { padding: 0 0.5rem; }
  .grid { gap: 1rem; }
  input, textarea { font-size: 16px; padding: 1rem; }
  .btn { padding: 1rem 2rem; font-size: 0.95rem; }
}