:root {
  --primary-color: #6A1E9C;
  --primary-rgb: 106, 30, 156;
  --secondary-color: #4B1570;
  --accent-color: #F2D57F;
  --light-color: #FAF8F3;
  --dark-color: #3A0F5C;
  --gradient-primary: linear-gradient(135deg, #8B3CB8 0%, #6A1E9C 100%);
  --gradient-accent: linear-gradient(45deg, #F2D57F, #F4D03F);
  --hover-color: #5A1882;
  --background-color: #FFFEF9;
  --text-color: #4A4556;
  --text-color-secondary: #6B6573;
  --border-color: rgba(242, 213, 127, 0.35);
  --divider-color: rgba(106, 30, 156, 0.14);
  --shadow-color: rgba(106, 30, 156, 0.17);
  --highlight-color: #F4D03F;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: linear-gradient(135deg, #FFFEF9 0%, var(--light-color) 100%);
  line-height: 1.7;
  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: 600;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.4;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.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;
  backdrop-filter: blur(10px);
  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;
  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);
}

header {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-color);
  backdrop-filter: blur(10px);
}

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: all 0.3s ease;
}

.navigation a:hover {
  color: var(--primary-color);
}

.hero-split-overlap {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--gradient-primary);
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-left h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-left p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-right {
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(106, 30, 156, 0.3) 0%, rgba(242, 213, 127, 0.2) 100%);
}

.overlap-card {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  z-index: 3;
}

.overlap-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.overlap-card .stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.overlap-card .stat-text {
  color: var(--text-color);
  font-size: 1rem;
}

.grid {
  display: grid;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid var(--primary-color);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.35s ease;
  text-align: center;
  backdrop-filter: blur(5px);
  width: 100%;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(106, 30, 156, 0.3);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 1);
}

.feature-icon {
  font-size: 3.2rem;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(106, 30, 156, 0.1) 0%, rgba(242, 213, 127, 0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border-color);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-accent);
  color: var(--primary-color);
  transform: scale(1.15) rotate(5deg);
  border-color: var(--accent-color);
}

.testimonial {
  background: rgba(255, 255, 255, 0.88);
  border-left: 5px solid var(--accent-color);
  border-radius: 10px;
  padding: 2rem 2.5rem;
  margin: 1rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  width: 100%;
  position: relative;
  font-style: italic;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 15px;
  font-size: 6rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}

.testimonial:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 26px rgba(106, 30, 156, 0.25);
  border-left-width: 8px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem;
  backdrop-filter: blur(5px);
  width: 100%;
  position: relative;
}

.faq-question {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.faq-question::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(106, 30, 156, 0.24);
  border-color: var(--primary-color);
}

.faq-item:hover .faq-question::before {
  transform: rotate(90deg);
}

input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
  backdrop-filter: blur(5px);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(106, 30, 156, 0.12);
  background: white;
}

.btn,
button {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.1rem 2.2rem;
  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 0 20px rgba(106, 30, 156, 0.4),
    inset 0 0 20px rgba(106, 30, 156, 0.1);
}

.btn:hover,
button:hover {
  box-shadow: 
    0 0 40px rgba(106, 30, 156, 0.6),
    inset 0 0 30px rgba(106, 30, 156, 0.2);
  transform: translateY(-2px);
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 248, 243, 0.88) 100%);
  border: 3px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  box-shadow: 0 6px 22px var(--shadow-color);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 38px rgba(106, 30, 156, 0.3);
  border-color: var(--primary-color);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.stat-text {
  font-size: 1.05rem;
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.5;
}

.trust-indicator {
  background: rgba(255, 255, 255, 0.82);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 3px 16px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
  width: 100%;
}

.trust-indicator:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 26px rgba(106, 30, 156, 0.28);
}

footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

.pattern-bg {
  background-image: 
    radial-gradient(circle at 25% 35%, rgba(106, 30, 156, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(242, 213, 127, 0.06) 0%, transparent 50%),
    repeating-linear-gradient(60deg, transparent, transparent 80px, rgba(106, 30, 156, 0.03) 80px, rgba(106, 30, 156, 0.03) 160px);
  background-size: 100% 100%;
}

.timeline-container {
  position: relative;
  padding: 3rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2.5rem 0;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 5px 20px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.timeline-left {
  grid-column: 1;
  text-align: right;
}

.timeline-right {
  grid-column: 2;
  text-align: left;
}

#contact .container > .grid {
  max-width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }

  .hero-split-overlap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 3rem 1.5rem;
  }

  .hero-right {
    min-height: 300px;
  }

  .overlap-card {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: -50px 1rem 2rem;
    max-width: calc(100% - 2rem);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 20px;
    top: 2rem;
  }

  .timeline-left,
  .timeline-right {
    grid-column: 1;
    text-align: left;
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2.8rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    padding: 2rem 1.5rem;
  }
  
  .stat-card {
    padding: 1.8rem;
  }
  
  .trust-indicator {
    padding: 1.2rem;
  }
  
  #contact .container > .grid {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-left {
    padding: 2rem 1rem;
  }

  .overlap-card {
    margin: 30px 0.5rem 1.5rem;
    padding: 1rem 1.5rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.5rem 1rem;
  }
  
  .stat-card {
    padding: 1.4rem;
  }
  
  .trust-indicator {
    padding: 1rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2.4rem;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-content {
    padding: 1.5rem;
  }
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}