:root {
  --primary-color: #6A1E9C;
  --secondary-color: #4B1461;
  --accent-color: #B264FE;
  --light-color: #F7F0FF;
  --dark-color: #1E0A30;
  --gradient-primary: linear-gradient(135deg, #7928CA 0%, #4B1461 100%);
  --hover-color: #5A189A;
  --background-color: #FAF6FF;
  --text-color: #2D1B45;
  --border-color: rgba(106, 30, 156, 0.16);
  --divider-color: rgba(75, 20, 97, 0.12);
  --shadow-color: rgba(106, 30, 156, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ─── HEADER ─── */
header {
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(30, 10, 48, 0.3);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 50px; width: auto; }

.navigation ul { display: flex; list-style: none; gap: 2rem; margin: 0; }

.navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navigation a:hover { color: var(--highlight-color); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px; height: 3px;
  background-color: var(--light-color);
  margin: 3px 0; transition: 0.3s; border-radius: 2px;
}

#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: var(--secondary-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  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: 1.2rem 1.8rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 12px; transition: all 0.3s ease;
  font-size: 1.1rem; font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateX(5px);
}

/* ─── HERO ─── */
.hero {
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; color: white; text-align: center;
}

.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 10, 48, 0.74);
}

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem; }
.hero h1 { font-size: 3.2rem; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; line-height: 1.8; }

/* ─── BUTTONS ─── */
button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.2rem 2.5rem; border-radius: 6px; font-weight: 700;
  font-family: var(--main-font); cursor: pointer; font-size: 0.95rem;
  text-decoration: none; display: inline-block; text-align: center;
  box-shadow: 0 3px 12px rgba(106,30,156,0.35);
  text-transform: uppercase; letter-spacing: 0.8px;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106,30,156,0.45);
  background: linear-gradient(135deg, #5A189A 0%, #3A0F50 100%);
}

section { padding: 4rem 0; }

.pattern-bg {
  background-image:
    radial-gradient(circle at 10% 30%, rgba(106, 30, 156, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(178, 100, 254, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(106, 30, 156, 0.04) 0%, transparent 60%);
  background-size: 700px 700px, 850px 850px, 1000px 1000px;
}

/* ─── FEATURE CARDS v3: top-accent banner cards in grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border: none;
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 4px 16px var(--shadow-color);
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.feature-card::before { display: none; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(106,30,156,0.22);
  border-color: transparent;
}

.feature-card-accent {
  height: 5px;
  background: var(--gradient-primary);
  width: 100%;
}

.feature-card:nth-child(2) .feature-card-accent { background: linear-gradient(135deg, #B264FE, #6A1E9C); }
.feature-card:nth-child(3) .feature-card-accent { background: linear-gradient(135deg, #F0A55A, #C96835); }
.feature-card:nth-child(4) .feature-card-accent { background: linear-gradient(135deg, #9C1C66, #6A1E9C); }
.feature-card:nth-child(5) .feature-card-accent { background: linear-gradient(135deg, #4B1461, #7928CA); }

.feature-card-inner {
  padding: 2rem;
}

.feature-icon {
  font-size: 2rem;
  margin: 0 0 1.2rem 0;
  display: flex;
  width: auto; height: auto;
  background: none;
  border: none;
  border-radius: 0;
  justify-content: flex-start;
  align-items: center;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon { transform: scale(1.2); }

.feature-card h3 {
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-color);
}

.feature-card p { color: var(--text-color); font-size: 0.94rem; line-height: 1.65; }

/* ─── TESTIMONIALS ─── */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem; margin: 1.5rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--main-font);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.18;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial::after { display: none; }
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(106,30,156,0.18); }

/* ─── FAQ ─── */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  margin: 1.2rem 0;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 16px rgba(106,30,156,0.14);
  transform: none;
}

.faq-item h3 { color: var(--primary-color); margin-bottom: 1rem; font-size: 1.05rem; }

/* ─── FORMS ─── */
input, textarea {
  width: 100%; 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; margin-bottom: 1rem;
}

input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(106,30,156,0.1); transform: translateY(-2px);
}

input:hover, textarea:hover {
  border-color: var(--secondary-color); box-shadow: 0 2px 8px var(--shadow-color);
}

/* ─── FOOTER ─── */
footer {
  background-color: var(--dark-color); color: var(--light-color);
  padding: 2rem 0 1rem;
}

footer .container > div:first-child {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 0; flex-wrap: wrap;
}

footer nav ul { display: flex; list-style: none; gap: 2rem; flex-wrap: wrap; }

footer a { color: var(--light-color); text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: var(--highlight-color); }

footer img[alt="logo"] { filter: brightness(0) invert(1); }

#contact { max-width: 1200px; margin: 0 auto; }

@media (min-width: 768px) { #contact > div { width: 80%; margin: 0 auto; } }
@media (max-width: 767px) { #contact > div { width: 100%; } }

.contact-info h3 { color: var(--primary-color); margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; line-height: 1.8; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .features-grid { grid-template-columns: 1fr; }
  footer .container > div:first-child { flex-direction: column; text-align: center; gap: 2rem; }
  footer nav ul { flex-direction: column; gap: 1rem; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
}