:root {
  --primary-color: #1D2A3C;
  --secondary-color: #2A3E58;
  --accent-color: #5D6D7E;
  --light-color: #F5F5F5;
  --dark-color: #0C0F24;
  --gradient-primary: linear-gradient(135deg, #1D2A3C 0%, #2A3E58 100%);
  --hover-color: #4B1461;
  --background-color: #ECF1F1;
  --text-color: #2D5C7F;
  --border-color: rgba(29, 42, 60, 0.2);
  --divider-color: rgba(42, 62, 88, 0.15);
  --shadow-color: rgba(29, 42, 60, 0.15);
  --highlight-color: #F0A55A;
  --main-font: 'Playfair Display', sans-serif;
  --alt-font: 'Open Sans', 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 */
.feature-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3.5rem;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--light-color), white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.1);
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 15px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: var(--main-font);
  opacity: 0.3;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 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(29, 42, 60, 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: 1rem 2rem;
  border-radius: 50px;
  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 15px rgba(29, 42, 60, 0.3);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 42, 60, 0.4);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Statistics Cards */
.stat-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Trust Indicators */
.trust-indicator {
  background: white;
  padding: 1.5rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.trust-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

/* Header and Footer */
header {
  background: white;
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-color);
}

footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0 1rem;
  box-shadow: 0 -2px 10px var(--shadow-color);
}

footer a {
  color: white;
  opacity: 0.9;
}

footer a:hover {
  opacity: 1;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* 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: 2rem;
  margin-top: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Pattern Background */
.pattern-bg {
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(29, 42, 60, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
}

/* Hero Section */
.hero {
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    margin: 0.5rem 0;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}