/* ═══════════════════════════════════════════════════════════
   MasjidBD v13 — Home Page
   css/pages/home.css
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0b2518 0%, #0b3d2e 40%, #0a2e22 100%);
}

[data-theme="light"] .hero {
  background: linear-gradient(160deg, #0a2018 0%, #0b3d2e 40%, #0d4a36 100%);
}

[data-theme="glass"] .hero {
  background: linear-gradient(160deg, #071510 0%, #0a2018 50%, #081812 100%);
}

/* Ambient blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(56,181,137,.13) 0%, transparent 70%);
  border-radius: 50%;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse, rgba(184,148,58,.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: blobFloat 16s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(.96); }
}

/* Mosque silhouette SVG decorative */
.hero-skyline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' fill='%2338b589'%3E%3Cpath d='M0 220h1440V160l-60-20-20-60-20 60-60 20V100l-40-30-10-40-10 40-40 30V80l-30-25-8-35-8 35-30 25V60l-20-15-5-25-5 25-20 15V50l-12-10-3-18-3 18-12 10V220z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter) 100px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* ── Hero left ──────────────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(56,181,137,.12);
  border: 1px solid rgba(56,181,137,.22);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: var(--text-xs);
  color: var(--c-green-300, #6ee7b7);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.hero-eyebrow::before {
  content: '🕌';
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--c-gold-400);
  font-style: italic;
  display: block;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.62);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--sp-8);
}

.hero-cta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-gold-400);
  line-height: 1;
  display: block;
}
.hero-stat-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  display: block;
}

/* ── Hero right — Prayer card ───────────────────────────── */
.hero-prayer-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-2xl, 24px);
  padding: var(--sp-6);
  animation: slideUp var(--dur-slow) var(--ease) .3s both;
}

.hero-prayer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-5);
}

.hero-clock {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-clock-ampm {
  font-size: var(--text-base);
  color: rgba(255,255,255,.45);
  font-family: var(--font-sans);
  font-weight: var(--weight-normal);
  margin-left: 4px;
}

.hero-date-block { text-align: right; }
.hero-date-greg  { font-size: var(--text-sm); color: rgba(255,255,255,.7); }
.hero-date-hijri { font-size: var(--text-xs); color: rgba(255,255,255,.4); margin-top: 2px; }

/* Next prayer highlight */
.hero-next-prayer {
  background: linear-gradient(135deg, rgba(56,181,137,.2), rgba(56,181,137,.08));
  border: 1px solid rgba(56,181,137,.25);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-next-label {
  font-size: var(--text-xs);
  color: var(--c-green-400, #4ade80);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.hero-next-name  { font-size: var(--text-base); color: #fff; font-weight: var(--weight-semi); }
.hero-next-time  { font-family: var(--font-serif); font-size: 1.4rem; color: var(--c-gold-400); }
.hero-next-countdown { font-size: var(--text-xs); color: rgba(255,255,255,.4); text-align: right; margin-top: 2px; }

/* Mini prayer list inside hero card */
.hero-prayer-list { display: flex; flex-direction: column; gap: 2px; }

.hero-prayer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--r);
  transition: background var(--dur-fast);
}
.hero-prayer-row:hover { background: rgba(255,255,255,.05); }
.hero-prayer-row.current { background: rgba(56,181,137,.08); }

.hero-prayer-row-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
}
.hero-prayer-row-name .icon { font-size: 14px; }
.hero-prayer-row.current .hero-prayer-row-name { color: #fff; font-weight: var(--weight-medium); }

.hero-prayer-row-time { font-size: var(--text-sm); color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.hero-prayer-row.current .hero-prayer-row-time { color: var(--c-gold-400); font-weight: var(--weight-medium); }

/* City selector */
.hero-city-select {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-city-select label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.hero-city-select select {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  border-radius: var(--r);
  padding: 6px 10px;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  cursor: pointer;
  outline: none;
}
.hero-city-select select:focus { border-color: var(--color-accent); }

/* ─────────────────────────────────────────────────────────
   FEATURES SECTION
───────────────────────────────────────────────────────── */
.features-section {
  padding: var(--sp-20) 0;
  background: var(--color-canvas);
  position: relative;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--sp-3);
  background: var(--color-surface-3);
  padding: 4px 14px;
  border-radius: var(--r-full);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-text);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--color-text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: all var(--dur-base) var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--color-brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}

.feature-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card:hover::before { transform: scaleX(1); }

[data-theme="glass"] .feature-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: var(--sp-4);
  background: var(--color-surface-3);
  transition: transform var(--dur-base) var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }

.feature-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--color-brand);
  background: var(--color-surface-3);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

/* ─────────────────────────────────────────────────────────
   STATS BAND
───────────────────────────────────────────────────────── */
.stats-band {
  background: var(--color-brand);
  padding: var(--sp-12) 0;
}

[data-theme="glass"] .stats-band {
  background: rgba(11,61,46,.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.stats-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  text-align: center;
}

.stat-item { padding: var(--sp-4) 0; }

.stat-value {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  margin-top: var(--sp-2);
  display: block;
}

.stat-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: var(--sp-2);
}

/* ─────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────── */
.how-section {
  padding: var(--sp-20) 0;
  background: var(--color-sunken);
}

[data-theme="dark"] .how-section   { background: #080f0a; }
[data-theme="glass"] .how-section  { background: rgba(5,10,7,.5); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border), var(--color-border), transparent);
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: var(--sp-5);
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 auto var(--sp-4);
  transition: all var(--dur-base) var(--ease);
}

.step-item:hover .step-num {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
  transform: scale(1.1);
}

.step-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-2);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   GOVT SECTION TEASER
───────────────────────────────────────────────────────── */
.govt-teaser {
  padding: var(--sp-16) 0;
  background: var(--color-canvas);
}

.govt-teaser-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.govt-text-side {}
.govt-visual-side {}

.govt-badge-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.govt-badge-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: all var(--dur-base) var(--ease);
}
.govt-badge-item:hover {
  border-color: var(--color-brand);
  transform: translateX(4px);
}

.govt-badge-icon { font-size: 1.6rem; flex-shrink: 0; }
.govt-badge-name { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text); }
.govt-badge-desc { font-size: var(--text-xs); color: var(--color-text-3); margin-top: 1px; }

/* ─────────────────────────────────────────────────────────
   COMMUNITY WALL TEASER
───────────────────────────────────────────────────────── */
.wall-teaser-section {
  padding: var(--sp-16) 0;
  background: var(--color-sunken);
}

[data-theme="dark"] .wall-teaser-section  { background: #080f0a; }
[data-theme="glass"] .wall-teaser-section { background: rgba(5,10,7,.5); }

.wall-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.wall-preview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  transition: all var(--dur-base) var(--ease);
}
.wall-preview-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

[data-theme="glass"] .wall-preview-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.wall-preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
}

.wall-preview-author { font-size: var(--text-xs); color: var(--color-text-3); }
.wall-preview-cat {
  font-size: 11px;
  background: var(--color-surface-3);
  color: var(--color-brand);
  padding: 2px 10px;
  border-radius: var(--r-full);
  font-weight: var(--weight-medium);
}

.wall-preview-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.wall-preview-excerpt {
  font-size: var(--text-xs);
  color: var(--color-text-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wall-preview-reactions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--color-border);
}

.wall-reaction-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--color-text-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--dur-fast);
}
.wall-reaction-btn:hover { color: var(--color-brand); }

/* ─────────────────────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────────────────────── */
.cta-section {
  padding: var(--sp-20) 0;
  background: linear-gradient(135deg, #0b3d2e 0%, #0a2d20 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(56,181,137,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

[data-theme="glass"] .cta-section {
  background: rgba(11,61,46,.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.06);
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: var(--sp-4);
  position: relative;
}

.cta-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.footer {
  background: #071510;
  color: rgba(255,255,255,.55);
  padding: var(--sp-12) 0 var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.footer-logo-mark {
  width: 36px; height: 36px;
  background: var(--color-brand);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: var(--sp-5);
}

.footer-social {
  display: flex;
  gap: var(--sp-2);
}

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: var(--r);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--dur-fast);
  color: rgba(255,255,255,.5);
  text-decoration: none;
}
.footer-social-btn:hover {
  background: rgba(56,181,137,.15);
  border-color: rgba(56,181,137,.3);
  color: var(--c-green-400, #4ade80);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: rgba(255,255,255,.8);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
}

.footer-col-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-col-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color var(--dur-fast);
  cursor: pointer;
}
.footer-col-links a:hover { color: var(--c-green-300, #6ee7b7); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: var(--text-xs);
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-bottom-right { display: flex; gap: var(--sp-4); }
.footer-bottom-right a { color: rgba(255,255,255,.35); text-decoration: none; font-size: var(--text-xs); }
.footer-bottom-right a:hover { color: rgba(255,255,255,.6); }

/* ─────────────────────────────────────────────────────────
   GOVT PORTAL PAGE
───────────────────────────────────────────────────────── */
.page-govt-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-10) var(--gutter);
}

.govt-page-hero {
  background: linear-gradient(135deg, #0b3d2e, #0a2d20);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
  color: #fff;
  margin-bottom: var(--sp-8);
  position: relative;
  overflow: hidden;
}

.govt-page-hero::before {
  content: '🏛️';
  position: absolute;
  right: var(--sp-8);
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: .08;
}

.govt-page-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: var(--sp-3);
}

.govt-page-sub { font-size: var(--text-base); opacity: .7; max-width: 480px; }

.govt-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.govt-module-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
}
.govt-module-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

[data-theme="glass"] .govt-module-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.govt-module-icon { font-size: 2.5rem; margin-bottom: var(--sp-3); display: block; }
.govt-module-title { font-size: var(--text-base); font-weight: var(--weight-semi); color: var(--color-text); margin-bottom: var(--sp-2); }
.govt-module-desc  { font-size: var(--text-xs); color: var(--color-text-2); line-height: 1.5; }
.govt-module-tag {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: 3px 12px;
  font-size: 11px;
  border-radius: var(--r-full);
  font-weight: var(--weight-medium);
}
.govt-module-tag.active   { background: var(--color-success-bg); color: var(--color-success); }
.govt-module-tag.coming   { background: var(--color-surface-3); color: var(--color-text-3); }

/* ─────────────────────────────────────────────────────────
   REGISTER PAGE
───────────────────────────────────────────────────────── */
.page-register-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--sp-10) var(--gutter);
}

.register-hero {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.register-steps-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--sp-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-full);
  padding: 6px;
  overflow: hidden;
}

.reg-step {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-3);
  transition: all var(--dur-base);
  cursor: pointer;
}
.reg-step.active {
  background: var(--color-brand);
  color: #fff;
}
.reg-step.done {
  color: var(--color-brand);
}

.register-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

[data-theme="glass"] .register-form-card {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.register-step-panel { display: none; }
.register-step-panel.active { display: block; animation: fadeIn var(--dur-base) var(--ease); }

.register-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}
