/* /css/styles.css */
/* Base Styles */
:root {
  --primary: #2F4052;
  --accent: #4CAF50;
  --light: #F8F9FA;
  --dark: #212529;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Footer (Injected via JS) */
#main-header, #main-footer {
  background: var(--primary);
  color: white;
  padding: 1rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(rgba(47,64,82,0.95), rgba(47,64,82,0.95)), url('/images/hero-bg.jpg');
  color: white;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subhead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
  background: white;
}

.badge-group img {
  max-width: 300px;
  margin: 0 auto;
}

.guarantee img {
  max-width: 150px;
}

/* Benefits Grid */
.benefits {
  padding: 2rem 1rem;
  display: grid;
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.benefit-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 2rem 1rem;
  background: #f1f4f7;
}

blockquote {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

blockquote img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.user-count {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.user-count img {
  width: 40px;
}

/* Pricing Section */
.pricing {
  padding: 2rem 1rem;
  display: grid;
  gap: 2rem;
}

.price-tier {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  border: 2px solid #e9ecef;
}

.price-tier.popular {
  border-color: var(--accent);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 80px;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  margin: 1rem 0;
}

.cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.cta:hover {
  background: #45a049;
}

/* FAQ Section */
.faq {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

summary {
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
}

/* Progress Bar */
.progress {
  padding: 1rem;
  text-align: center;
  background: var(--primary);
  color: white;
}

.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin: 1rem auto;
  max-width: 400px;
}

.progress-bar div {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  cursor: pointer;
  transition: var(--transition);
}

.chat-widget:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .trust-badges {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}
/* Header Styles */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 40px;
}

.brand-name {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
}

/* Footer Styles */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 2rem;
}

.footer-section {
  text-align: center;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.social-links img {
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

.social-links img:hover {
  opacity: 0.8;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1rem;
    background: var(--primary);
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .menu-icon {
    width: 24px;
    cursor: pointer;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
