:root {
  --primary-color: #4B1461;
  --secondary-color: #360D48;
  --accent-color: #9C1C66;
  --light-color: #F8F0FC;
  --dark-color: #250840;
  --gradient-primary: linear-gradient(135deg, #4B1461 0%, #9C1C66 100%);
  --hover-color: #360D48;
  --background-color: #FDFAFF;
  --text-color: #2D1A38;
  --border-color: rgba(75, 20, 97, 0.15);
  --divider-color: rgba(75, 20, 97, 0.1);
  --shadow-color: rgba(37, 8, 64, 0.1);
  --highlight-color: #D4A017;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; width: 100%; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: 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 1rem 0;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 3vw, 1.35rem); line-height: 1.4; }

p { margin: 0 0 1rem 0; font-size: clamp(1rem, 2vw, 1.1rem); line-height: 1.8; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  padding: 10px; background: rgba(255,255,255,0.96);
  border-radius: 4px; border: 1px solid var(--border-color);
}
.hamburger .line {
  width: 22px; height: 2px;
  background: var(--primary-color);
  margin: 2px 0; transition: 0.3s; border-radius: 1px;
}
#menu-toggle { display: none; }
#menu-toggle:checked ~ .mobile-nav { max-height: 400px; 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: 1rem 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(253, 250, 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: 600; font-size: 0.95rem; transition: color 0.3s ease;
}
.navigation a:hover { color: var(--primary-color); }

/* Feature cards — numbered big-digit style */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; width: 100%;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.feature-card::before {
  content: attr(data-num);
  position: absolute;
  top: -0.6rem; right: 1rem;
  font-size: 5rem;
  font-family: var(--main-font);
  font-weight: 700;
  color: rgba(75, 20, 97, 0.07);
  line-height: 1;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(75, 20, 97, 0.2);
  border-color: var(--accent-color);
}

.feature-icon {
  width: 60px; height: 60px;
  background: rgba(156, 28, 102, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-color);
  margin: 0 auto 1.2rem auto;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}
.feature-card h3 { text-align: center; margin-bottom: 0.6rem; }
.feature-card p { text-align: center; font-size: 0.96rem; margin: 0; }

/* Testimonials — quote mark style */
.testimonial {
  background: #fff;
  border-radius: 14px;
  padding: 2.5rem 2rem 1.8rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.6rem; left: 1.2rem;
  font-size: 4rem;
  font-family: var(--main-font);
  color: var(--accent-color);
  opacity: 0.25;
  line-height: 1;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(75,20,97,0.18); }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0; padding: 1.8rem 2rem;
  width: 100%;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px rgba(75,20,97,0.15);
}
.faq-item h3::before {
  content: '▸ ';
  color: var(--accent-color);
}

/* Form */
input, textarea {
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px; padding: 0.9rem 1.1rem;
  background: #fff; color: var(--text-color);
  font-size: 1rem; width: 100%; transition: all 0.3s ease;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(75, 20, 97, 0.12);
}

/* Buttons */
.btn, button[type="submit"] {
  background: var(--gradient-primary);
  color: white; border: none;
  padding: 1rem 2rem; 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(75, 20, 97, 0.28);
  transition: all 0.3s ease;
}
.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(75, 20, 97, 0.4);
}

/* Contact */
.contact-wrapper { width: 80%; margin: 0 auto; }

/* Pattern — diagonal hatching */
.pattern-bg {
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 20px,
      rgba(75, 20, 97, 0.03) 20px,
      rgba(75, 20, 97, 0.03) 21px
    );
}

/* Random block — comparison table style */
.compare-block {
  background: linear-gradient(160deg, #2D1040 0%, #4B1461 60%, #7A1050 100%);
  padding: 5rem 0;
  color: white;
}
.compare-block h2 { color: white; }
.compare-block p { color: rgba(255,255,255,0.85); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-family: var(--alt-font);
}
.compare-table th {
  padding: 1rem 1.5rem;
  font-family: var(--main-font);
  font-size: 1.05rem;
  text-align: left;
}
.compare-table th:first-child { width: 40%; color: rgba(255,255,255,0.6); font-weight: 400; }
.compare-table th:not(:first-child) {
  background: rgba(255,255,255,0.1);
  border-radius: 8px 8px 0 0;
  color: white;
  text-align: center;
}
.compare-table td {
  padding: 0.9rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
}
.compare-table td:not(:first-child) {
  text-align: center;
  background: rgba(255,255,255,0.06);
}
.compare-table tr:last-child td:not(:first-child) {
  border-radius: 0 0 8px 8px;
}
.check { color: #D4A017; font-size: 1.3rem; }
.cross { color: rgba(255,255,255,0.3); font-size: 1.2rem; }

.compare-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-wrapper { width: 100%; }
  .grid-2col { grid-template-columns: 1fr !important; }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 0.7rem 0.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .feature-card { padding: 1.6rem 1.2rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}