/* ============================================
   1. CSS Custom Properties
   ============================================ */

:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #14b8a6;
  --bg-white: #ffffff;
  --bg-offwhite: #FAF8F5;
  --bg-dark: #1e293b;
  --bg-darkest: #0f172a;
  --bg-hero-gradient: linear-gradient(135deg, #FAF8F5 0%, #e6f2f1 100%);
  --bg-primary-tint: #e6f2f1;
  --text: #1c1917;
  --text-muted: #78716c;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #94a3b8;
  --border: #e7e5e4;
  --border-dark: #334155;
  --danger: #dc2626;
  --success: #16a34a;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-elevated: 0 4px 6px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-full: 9999px;
}


/* ============================================
   2. CSS Reset + Base Typography
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.3;
}

h1 {
  font-size: 2.75rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

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

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

ul {
  list-style: none;
}


/* ============================================
   3. Utility Classes
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-description,
.section-subtitle,
.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card-hover);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1.125rem;
}


/* ============================================
   4. Navigation
   ============================================ */

.nav,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled,
.navbar.scrolled {
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.97);
}

.nav-inner,
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo,
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text);
}

.logo-icon {
  width: 140px;
  height: auto;
  display: flex;
  align-items: center;
}

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

.nav-links,
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link-login {
  color: var(--primary);
  font-weight: 600;
}

.nav-link-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color 0.2s ease;
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-elevated);
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  border-bottom: none;
  color: #fff;
}


/* ============================================
   5. Hero
   ============================================ */

.hero {
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  background: var(--bg-hero-gradient);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-ctas,
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
}


/* ============================================
   6. Trust Bar
   ============================================ */

.trust-bar {
  background: var(--bg-dark);
  padding: 2.5rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-stat {
  text-align: center;
}

.trust-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
}

.trust-standards {
  text-align: center;
}

.trust-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}


/* ============================================
   7. Features
   ============================================ */

.features {
  background: var(--bg-offwhite);
  padding: 6rem 0;
}

.features-grid,
.features-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-description {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}



/* ============================================
   8. How It Works
   ============================================ */

.how-it-works {
  background: var(--bg-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.step {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number,
.step-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-description {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
}


/* ============================================
   9. Comparison Table
   ============================================ */

.comparison-table-wrap {
  max-width: 650px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table thead {
  background: var(--bg-offwhite);
}

.comparison-table th {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: left;
  padding: 14px 20px;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}

.comparison-table td {
  padding: 12px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: var(--bg-offwhite);
}

.comparison-highlight {
  color: var(--primary);
  font-weight: 600;
}

.comparison-check,
.check-yes {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-x,
.check-no {
  color: var(--danger);
  font-weight: 700;
  font-size: 1.125rem;
}


/* ============================================
   10. Audience
   ============================================ */

.target-audience {
  background: var(--bg-white);
  padding: 6rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.audience-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-primary-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.audience-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.audience-description {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}


/* ============================================
   11. FAQ
   ============================================ */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer br {
  content: '';
  display: block;
  margin-bottom: 6px;
}


/* ============================================
   12. Contact
   ============================================ */

.contact-section {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.contact-inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-copy {
  flex: 1;
  color: var(--text-on-dark);
}

.contact-copy h2 {
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.contact-copy p {
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.contact-phone a {
  color: var(--text-on-dark);
  font-weight: 600;
}

.contact-phone a:hover {
  color: var(--primary);
}

.registration {
  background: var(--bg-white);
  padding: 5rem 0;
}

.registration-content {
  max-width: 800px;
  margin: 0 auto;
}

.registration-content .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  background: var(--bg-offwhite);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.contact-section .contact-form {
  background: var(--bg-darkest);
  flex: 1;
  max-width: 520px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.contact-section .form-group label {
  color: var(--text-on-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.contact-section .form-group input,
.contact-section .form-group textarea {
  background: var(--bg-dark);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
  border-color: var(--primary);
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.form-note a {
  color: var(--primary);
}

.contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-offwhite);
  border-radius: var(--radius);
}

.contact-item {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.contact-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.success-popup.show {
  display: flex;
}

.success-popup-content {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  animation: popupFadeIn 0.35s ease;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-popup h2,
.success-popup-title {
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

.success-popup p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


/* ============================================
   13. Footer
   ============================================ */

.footer {
  background: var(--bg-darkest);
  color: var(--text-on-dark);
  padding: 4rem 0 2rem;
}

.footer-inner,
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-copy,
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

.footer-phone {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: var(--text-on-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section p {
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.footer-section h3,
.footer-section h4,
.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-on-dark);
  font-size: 0.9375rem;
}

.footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-on-dark) !important;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a,
.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover,
.footer-links a:hover {
  color: var(--text-on-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--text-on-dark);
}

.footer-share .share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-share .share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-share .share-link:hover {
  color: var(--text-on-dark);
  background: rgba(13, 148, 136, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}


/* ============================================
   14. Page Content (secondary pages)
   ============================================ */

.page-hero {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
}

.page-hero .section-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-hero .section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 2.5rem) 24px 6rem;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.page-content h2:first-of-type {
  margin-top: 0;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  list-style: disc;
}

.page-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.page-content strong {
  color: var(--text);
}

.legal-text {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.legal-text h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-text h2:first-of-type {
  margin-top: 0;
}

.legal-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-text ul {
  padding-left: 20px;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  list-style: disc;
}

.legal-text li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.legal-text strong {
  color: var(--text);
}


/* ============================================
   15. Scroll Animations
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }


/* ============================================
   16. Focus Styles
   ============================================ */

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


/* ============================================
   Existing Page Support: Benefits
   ============================================ */

.benefits {
  background: var(--bg-offwhite);
  padding: 6rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.benefit-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.benefit-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.benefit-description {
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================
   Existing Page Support: Pricing
   ============================================ */

.pricing {
  background: var(--bg-offwhite);
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

.pricing-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.price-amount {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pricing-card .btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}


/* ============================================
   Existing Page Support: Example Calculation
   ============================================ */

.example-calculation {
  background: var(--bg-offwhite);
  padding: 6rem 0;
}

.calculation-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.calculation-preview {
  background: var(--bg-white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.preview-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.preview-placeholder svg {
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.calculation-info-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.calculation-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.download-section {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.download-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.9375rem;
}

.custom-select {
  position: relative;
  margin-bottom: 1rem;
}

.custom-select select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2378716c' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  transition: border-color 0.2s ease;
  color: var(--text);
}

.custom-select select:focus {
  outline: none;
  border-color: var(--primary);
}

.custom-select select:hover {
  border-color: var(--primary-light);
}

.calculation-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.calc-feature {
  color: var(--text-muted);
  font-size: 0.9375rem;
}


/* ============================================
   Existing Page Support: Demo Video
   ============================================ */

.demo-video {
  background: var(--bg-offwhite);
  padding: 6rem 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 1.25rem;
}

.play-button {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.1);
}


/* ============================================
   Existing Page Support: How to Register
   ============================================ */

.how-to-register {
  background: var(--bg-white);
  padding: 6rem 0;
}

.register-steps {
  max-width: 800px;
  margin: 0 auto;
}

.register-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-offwhite);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-step:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-card);
}

.register-step-number {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
}

.register-step-content .register-step-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.register-step-content p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}


/* ============================================
   Existing Page Support: Modal
   ============================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--bg-white);
  margin: 10% auto;
  padding: 2.5rem;
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: popupFadeIn 0.3s ease;
}

.close {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
}

.close:hover {
  color: var(--text);
}

.modal-title {
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}


/* ============================================
   Existing Page Support: Back To Top
   ============================================ */

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}


/* ============================================
   17. Responsive: 1024px
   ============================================ */

@media (max-width: 1024px) {
  h1, .hero-title {
    font-size: 2.25rem;
  }

  h2, .section-title {
    font-size: 1.75rem;
  }

  .hero-inner {
    gap: 2.5rem;
  }

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

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


/* ============================================
   17. Responsive: 768px
   ============================================ */

@media (max-width: 768px) {
  .nav-links,
  .nav-menu {
    position: fixed;
    left: -100%;
    top: var(--nav-height);
    flex-direction: column;
    background-color: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease-in-out;
    box-shadow: var(--shadow-elevated);
    padding: 24px 0;
    gap: 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu li {
    width: 100%;
    padding: 12px 0;
  }

  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: calc(var(--nav-height) + 2.5rem) 0 3rem;
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .hero-ctas,
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn,
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .trust-divider {
    display: none;
  }

  .features-grid,
  .features-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    display: none;
  }

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

  .contact-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .contact-section .contact-form {
    max-width: 100%;
  }

  .contact-section .btn {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .footer-share .share-links {
    justify-content: center;
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + 2rem);
  }

  .faq-item {
    border-radius: var(--radius-sm);
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 1.25rem 1rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .register-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-text {
    padding: 1.75rem;
  }
}


/* ============================================
   17. Responsive: 480px
   ============================================ */

@media (max-width: 480px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 0.8125rem;
  }

  .container {
    padding: 0 16px;
  }

  h1, .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

  .calculation-features {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Benefits Section
   ============================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-left-color: var(--primary-light);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-primary-tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.benefit-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(13, 148, 136, 0.3);
  transition: text-decoration-color 0.2s;
}

.benefit-card a:hover {
  text-decoration-color: var(--primary);
  color: var(--primary-hover);
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Footer Social Sharing
   ============================================ */

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-on-dark-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
