:root {
  --primary: #2E3192;
  --secondary: #00BFA6;
  --background: #F6F7FB;
  --surface: #FFFFFF;
  --text-primary: #101828;
  --text-secondary: #475467;
  --accent: #F5B301;
  --border: #E4E7EC;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #f6f7fb 0%, #f0f2f7 35%, #e5e9f2 100%);
  color: var(--text-primary);
  line-height: 1.6;
}

body.mobile-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: none;
}

.section-wrapper {
  padding: 2.5rem 1.5rem;
}

main {
  margin-top: 0;
}

@media (min-width: 1024px) {
  main {
    margin-top: 1rem;
  }
}

.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  height: 3px;
  width: 26px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  display: none;
}

.theme-hero {
  padding: 3rem 0 3rem;
  background: transparent;
}

.hero-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 30px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(46, 49, 146, 0.1);
}

.hero-panel .hero-grid {
  gap: 2.5rem;
  align-items: center;
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.section-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(46, 49, 146, 0.9), rgba(0, 191, 166, 0.9));
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
  color: var(--text-primary);
}

.section-heading p {
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.badge {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.hero-stats .stat {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8f9ff;
  font-weight: 600;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 15px 30px rgba(46, 49, 146, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: #fff;
}

.cards-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
}

.media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #E9EEF5;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.steps-list,
.benefits-grid {
  display: grid;
  gap: 1rem;
}

.steps-list li,
.benefits-grid li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  list-style: none;
}

.resources-grid,
.plan-grid {
  display: grid;
  gap: 1.25rem;
}

.plan-details ul {
  padding-left: 1rem;
  margin: 0;
  color: var(--text-secondary);
}

.plan-details li {
  margin-bottom: 0.35rem;
}

.plan-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(46, 49, 146, 0.25);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.comparison-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-wrapper th,
.comparison-wrapper td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.search-bar input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
}

.chip.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  max-height: 200px;
}

.accordion-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1rem;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

.about-section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.footer {
  background: var(--text-primary);
  color: #fff;
  padding: 3rem 1.25rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer-links li {
  list-style: none;
  margin-bottom: 0.35rem;
}

.trust-statement {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.disclaimer,
.privacy-links {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  resize: vertical;
}

.form-group textarea {
  min-height: 140px;
}

.form-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.alert {
  background: #d1ffe6;
  border: 1px solid #32a852;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  color: #0f5132;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .site-nav ul {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.65rem;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 70;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    font-size: 1.1rem;
    color: #fff;
  }

  .mobile-menu-header {
    position: absolute;
    top: 0.75rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
  }

  .mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.25rem;
    cursor: pointer;
    font-weight: 600;
  }

  .cards-grid,
  .plan-grid,
  .resources-grid,
  .benefits-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .section-panel,
  .cta-banner {
    padding: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-hero.section-wrapper {
    padding-top: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
