/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #039156;
  --primary-dark: #027a48;
  --primary-light: #e6f7ef;
  --accent: #ff6b35;
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #fff;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 12px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

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

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

.main-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  border-radius: 0;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #06b36f 100%);
  color: var(--white);
  padding: 80px 20px 60px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-badge {
  background: rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION ===== */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 700px;
}

/* ===== PROVIDER CARDS ===== */
.provider-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: start;
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
  border: 2px solid transparent;
}

.provider-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.provider-card.featured {
  border-color: var(--primary);
}

.provider-rank {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.provider-card.featured .provider-rank {
  background: var(--primary);
  color: var(--white);
}

.provider-info h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.provider-info h3 a {
  color: var(--text);
}

.provider-info h3 a:hover {
  color: var(--primary);
}

.provider-stars {
  color: #f5a623;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.provider-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.provider-features li {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.provider-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.provider-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.provider-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: #e55a2b;
  color: var(--white);
}

.discount-code {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== REVIEW PAGE ===== */
.review-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #06b36f 100%);
  color: var(--white);
  padding: 60px 20px 40px;
}

.review-hero .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.review-hero-logo {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.review-hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.review-hero .stars {
  color: #f5a623;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.review-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.review-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
}

.review-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.review-content ul {
  margin: 12px 0 20px 20px;
}

.review-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.pros, .cons {
  padding: 24px;
  border-radius: var(--radius);
}

.pros {
  background: #e6f7ef;
  border: 1px solid #b8e6d0;
}

.cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros h4 {
  color: var(--primary);
  margin-bottom: 12px;
}

.cons h4 {
  color: #dc2626;
  margin-bottom: 12px;
}

.pros li::marker { color: var(--primary); }
.cons li::marker { color: #dc2626; }

.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.info-box p {
  color: var(--text);
  margin: 0;
}

/* ===== TOPIC PAGE ===== */
.topic-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #06b36f 100%);
  color: var(--white);
  padding: 60px 20px 40px;
  text-align: center;
}

.topic-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.topic-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.topic-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.topic-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.topic-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.topic-content ul {
  margin: 12px 0 20px 20px;
}

.topic-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

.recommendation-box {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.recommendation-box h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.recommendation-box p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 0 12px;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 200px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs span {
  color: var(--text-light);
  margin: 0 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 20px 30px;
  margin-top: 60px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: #ccc;
  margin-left: 16px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #06b36f 100%);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
  border-radius: var(--radius);
  margin: 40px 0;
}

.cta-banner h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.cta-banner p {
  margin-bottom: 24px;
  opacity: 0.95;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.cta-banner .btn:hover {
  background: #f0f0f0;
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }

  .provider-card {
    grid-template-columns: 48px 1fr;
  }

  .provider-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 16px;
    z-index: 200;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
  }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    padding-left: 20px;
  }

  .has-dropdown:hover .dropdown {
    display: block;
  }

  .hero {
    padding: 50px 20px 40px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .provider-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .provider-rank {
    margin: 0 auto;
  }

  .provider-features {
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .review-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .recommendation-box {
    flex-direction: column;
    text-align: center;
  }
}
