:root {
  --primary-color: #4B1461;
  --secondary-color: #350D46;
  --accent-color: #6A1E9C;
  --light-color: #F5EEF8;
  --dark-color: #1A0824;
  --gradient-primary: linear-gradient(135deg, #4B1461 0%, #6A1E9C 100%);
  --hover-color: #3C1050;
  --background-color: #FAF6FC;
  --text-color: #251030;
  --border-color: rgba(106, 30, 156, 0.18);
  --divider-color: rgba(75, 20, 97, 0.13);
  --shadow-color: rgba(75, 20, 97, 0.11);
  --highlight-color: #F0A55A;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; width: 100%; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.75;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1.2rem 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.05rem, 3vw, 1.35rem); line-height: 1.4; }

p { margin: 0 0 1rem 0; font-size: clamp(1rem, 2vw, 1.08rem); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  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: 2px;
}

#menu-toggle { display: none; }

#menu-toggle:checked ~ .mobile-nav {
  max-height: 500px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 1.2rem 0; }

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.97);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 16px var(--shadow-color);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 3rem; width: auto; }

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.navigation a:hover { color: var(--primary-color); }

/* Features grid — numbered bottom-line cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  width: 100%;
}

.feature-card {
  background: #fff;
  border-radius: 4px;
  border-bottom: 3px solid var(--border-color);
  padding: 2rem 1.8rem 1.6rem;
  box-shadow: 0 2px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.feature-card::before {
  content: counter(feat-counter, decimal-leading-zero);
  counter-increment: feat-counter;
  font-family: var(--main-font);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.13;
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  line-height: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--accent-color);
  box-shadow: 0 10px 32px var(--shadow-color);
}

.feature-icon {
  font-size: 2rem;
  margin: 0 auto 1rem auto;
  color: var(--accent-color);
  width: 64px;
  height: 64px;
  background: rgba(106, 30, 156, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  border-radius: 50%;
}

.features-grid { counter-reset: feat-counter; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  width: 100%;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem 2.2rem;
  box-shadow: 0 3px 16px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-color);
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1.8rem 2rem;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--shadow-color);
  border-color: var(--accent-color);
}

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  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(75, 20, 97, 0.10);
  background: white;
}

.btn, button {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  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 4px 16px rgba(75, 20, 97, 0.26);
}

.btn:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(75, 20, 97, 0.34);
}

/* Random block — Dos & Don'ts grid */
.dos-donts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2rem;
}

.dos-column, .donts-column {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.column-header {
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--main-font);
  font-size: 1.2rem;
  font-weight: 700;
}

.dos-column .column-header {
  background: linear-gradient(135deg, #2E7D5B 0%, #3da876 100%);
  color: #fff;
}

.donts-column .column-header {
  background: linear-gradient(135deg, #7D2E2E 0%, #b84040 100%);
  color: #fff;
}

.column-items {
  background: #fff;
  padding: 0.6rem 0;
}

.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}

.dd-item:last-child { border-bottom: none; }

.dd-item:hover { background: rgba(106, 30, 156, 0.03); }

.dd-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.dd-text {
  font-size: 0.96rem;
  color: var(--text-color);
  line-height: 1.5;
}

.dd-text strong {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Pattern background */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 80% 10%, rgba(106, 30, 156, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(75, 20, 97, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(75deg, rgba(106, 30, 156, 0.022) 0px, rgba(106, 30, 156, 0.022) 1px, transparent 1px, transparent 42px);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer a { color: var(--light-color); text-decoration: none; transition: opacity 0.2s; }
footer a:hover { opacity: 0.75; }

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .features-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .dos-donts-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .faq-item { padding: 1.5rem 1.2rem; }
  #contact .grid { max-width: 100% !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .feature-card { padding: 1.6rem 1.3rem 1.4rem; }
  .column-header { font-size: 1.05rem; padding: 1rem 1.1rem; }
  .dd-item { padding: 0.85rem 1rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}