:root {
  --green: #1f9d55;
  --green-dark: #157a41;
  --green-darker: #0f5c30;
  --green-light: #e7f6ec;
  --green-lighter: #f3faf5;
  --accent: #ffb020;
  --text: #142016;
  --muted: #66766d;
  --border: #e1ece4;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(15, 92, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 92, 48, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.eyebrow {
  display: inline-block;
  color: var(--green-dark);
  background: var(--green-light);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

section { padding: 64px 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 157, 85, 0.28);
}

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

.btn-ghost {
  background: #fff;
  color: var(--green-dark);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover { border-color: var(--green); }

.btn-full { width: 100%; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 21px;
  color: var(--green-darker);
}

.logo-mark {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.footer-brand .logo-mark {
  filter: brightness(0) invert(1);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: color 0.15s ease;
}

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

.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
}

/* ===================== Hero ===================== */
.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 90% 10%, rgba(31, 157, 85, 0.08), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(31, 157, 85, 0.06), transparent 40%),
    linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 18px;
}

.hero-text h1 .highlight {
  color: var(--green);
  position: relative;
}

.hero-text > p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 26px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}

.hero-pill .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div { display: flex; flex-direction: column; }

.hero-stats strong {
  font-size: 24px;
  font-weight: 900;
  color: var(--green-darker);
}

.hero-stats span {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* Hero illustration (pure CSS/SVG, no external images) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--green-light) 0%, #eef8f0 60%, #ffffff 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-visual-card svg { width: 100%; height: 100%; }

.floating-chip {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-1 { top: 8%; left: -4%; color: var(--green-dark); }
.chip-2 { bottom: 12%; right: -4%; color: var(--accent); }

/* ===================== Logos / trust strip ===================== */
.trust-strip {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip .label {
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
}

.trust-strip .items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-pill {
  background: var(--green-lighter);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ===================== Categories ===================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.category-card span {
  font-weight: 800;
  font-size: 15px;
}

/* ===================== Features ===================== */
.features-bg { background: var(--green-lighter); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* ===================== Stats band ===================== */
.stats-band {
  background: linear-gradient(135deg, var(--green-darker), var(--green));
  color: #fff;
  padding: 52px 0;
}

.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-band strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
}

.stats-band span {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 600;
}

/* ===================== Register section ===================== */
.register-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--green-lighter) 100%);
}

.register-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.register-side {
  background: linear-gradient(160deg, var(--green-darker), var(--green));
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.register-side .gift-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.register-side h3 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 12px;
}

.register-side p {
  opacity: 0.92;
  font-size: 15px;
  margin: 0 0 26px;
}

.register-side ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-side li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
}

.register-side li .ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.register-side .mini-counter {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.register-side .mini-counter strong {
  font-size: 30px;
  font-weight: 900;
  display: block;
}

.register-side .mini-counter span {
  font-size: 13.5px;
  opacity: 0.85;
}

.register-form-wrap { padding: 48px 40px; }

.register-form-wrap h3 {
  font-size: 21px;
  font-weight: 900;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================== Fields (shared: form, thanks, admin) ===================== */
.field { position: relative; margin-bottom: 14px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field input {
  width: 100%;
  padding: 15px 46px 15px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.12);
}

.field input.invalid {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1);
}

.field select.select-field {
  width: 100%;
  padding: 15px 46px 15px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.field select.select-field:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.12);
}

.field select.select-field.invalid {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1);
}

.field select.select-field:disabled {
  background: var(--green-lighter);
  color: var(--muted);
  cursor: not-allowed;
}

.field .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 17px;
  pointer-events: none;
}

.field-error {
  color: #e05252;
  font-size: 12px;
  margin: 4px 4px 0;
  min-height: 14px;
}

.services-title {
  font-weight: 800;
  font-size: 15px;
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-btn .emoji { font-size: 17px; }

.service-btn.full-row { grid-column: 1 / -1; }

.service-btn:hover { border-color: var(--green); }

.service-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}

.privacy-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-global-error {
  background: #fdecec;
  color: #c0392b;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 12px;
  display: none;
}

.form-global-error.show { display: block; }

/* ===================== Footer ===================== */
.site-footer {
  background: #10361f;
  color: #dfeee5;
  padding: 56px 0 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: #fff; margin-bottom: 12px; }

.footer-brand p {
  color: #a9c7b6;
  font-size: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  color: #a9c7b6;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
  color: #7fa08e;
  font-size: 13px;
}

/* ===================== Modal (popup) ===================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 20, 0.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000000;
  color: #fff;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: #000; }

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal-box h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 8px;
}

.modal-box p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 4px;
}

.modal-box .modal-sub {
  color: var(--green-dark);
  font-weight: 700;
  margin-top: 6px;
}

.modal-share-box {
  background: var(--green-lighter);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin: 18px 0 6px;
  text-align: right;
}

.modal-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-share-row input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
  color: var(--text);
  text-align: left;
  direction: ltr;
}

.modal-copy-btn {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.modal-copy-btn:hover { background: var(--green-dark); }

.modal-share-code {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.modal-share-code strong {
  color: var(--green-dark);
  font-size: 16px;
  letter-spacing: 1px;
}

.home-share-box {
  background: var(--green-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 40px;
}

.home-share-box p { margin: 0; font-size: 13.5px; text-align: right; }
.home-share-box p strong { display: block; font-size: 14.5px; margin-bottom: 2px; }

/* ===================== Legal pages (privacy / terms) ===================== */
.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
  padding: 40px 20px 70px;
}

.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
}

.legal-shell .logo { margin-bottom: 22px; }
.legal-shell .logo-mark { width: 34px; height: 34px; }

.legal-shell h1 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 6px;
}

.legal-shell .updated-at {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}

.legal-shell h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 28px 0 10px;
}

.legal-shell p, .legal-shell li {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.9;
}

.legal-shell ul { padding-inline-start: 20px; margin: 0 0 10px; }

@media (max-width: 640px) {
  .legal-shell { padding: 28px 20px; }
}

/* ===================== Thanks page ===================== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(31, 157, 85, 0.10), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(31, 157, 85, 0.08), transparent 45%),
    linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
  padding: 40px 20px;
}

/* Mobile-first: a single centered card (same look as before). */
.thanks-shell {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.thanks-grid {
  display: block;
}

.thanks-visual {
  padding: 48px 40px 30px;
  text-align: center;
}

.thanks-content {
  padding: 0 40px 40px;
  text-align: center;
}

.check-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.check-circle svg { width: 46px; height: 46px; color: var(--green); }

.thanks-visual h1 {
  font-size: 27px;
  font-weight: 900;
  margin: 0 0 6px;
}

.thanks-visual .sub {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
}

.thanks-visual .note {
  color: var(--muted);
  font-size: 14.5px;
  margin: 8px 0 0;
}

.thanks-visual .counter-box {
  margin: 26px 0 0;
  width: 100%;
}

/* Desktop / tablet: two-column layout — green celebratory panel beside
   the white details panel — instead of one narrow stacked card. */
@media (min-width: 860px) {
  .thanks-page { padding: 56px 24px; }

  .thanks-shell { max-width: 940px; }

  .thanks-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
  }

  .thanks-visual {
    background: linear-gradient(160deg, var(--green-darker), var(--green));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 44px;
  }

  .thanks-visual .check-circle {
    background: rgba(255, 255, 255, 0.16);
  }

  .thanks-visual .check-circle svg { color: #fff; }

  .thanks-visual h1,
  .thanks-visual .sub { color: #fff; }

  .thanks-visual .note { color: rgba(255, 255, 255, 0.85); }

  .thanks-visual .counter-box {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .thanks-visual .counter-box p { color: #fff; }
  .thanks-visual .counter-box .digit { background: #fff; color: var(--green-darker); }

  .thanks-content {
    padding: 56px 48px;
    text-align: right;
  }

  .thanks-content .counter-box,
  .thanks-content .info-box,
  .thanks-content .share-box {
    text-align: right;
  }

  .thanks-content .back-link { text-align: center; }
}

.info-box {
  background: var(--green-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: right;
  margin-bottom: 22px;
}

.info-box p.lead {
  text-align: center;
  font-weight: 700;
  margin: 0 0 16px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.info-row .emoji {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.info-row span.label { font-size: 14.5px; font-weight: 600; }

.counter-box {
  background: var(--green-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}

.counter-box p { margin: 0 0 10px; font-weight: 700; font-size: 14.5px; }

.counter-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 24px;
}

.counter-numbers .digit {
  background: var(--green);
  color: #fff;
  min-width: 36px;
  padding: 8px 4px;
  border-radius: 10px;
}

.share-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: right;
}

.share-box p { margin: 0; font-size: 13.5px; }
.share-box p strong { display: block; font-size: 14.5px; margin-bottom: 2px; }

.share-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 26px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

/* ===================== Admin ===================== */
body.admin-body {
  background: #f4f7f5;
  min-height: 100vh;
}

.admin-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

.admin-login {
  width: 100%;
  max-width: 380px;
  margin: 90px auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.admin-login h1 {
  text-align: center;
  color: var(--green);
  font-size: 22px;
  margin-bottom: 20px;
}

.admin-login .field input { padding: 12px 16px; }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-header h1 {
  font-size: 22px;
  color: var(--green-dark);
  margin: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card .num { font-size: 24px; font-weight: 900; color: var(--green); }
.stat-card .lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.chart-card h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 16px;
}

.chart-empty { color: var(--muted); font-size: 13px; }

.hbar-row {
  display: grid;
  grid-template-columns: 90px 1fr 34px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.hbar-row .hbar-label {
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hbar-track {
  background: var(--green-lighter);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.hbar-fill {
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  height: 100%;
  border-radius: 999px;
}

.hbar-row .hbar-count { font-weight: 800; color: var(--green-dark); text-align: left; }

.trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 140px;
  overflow-x: auto;
}

.trend-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
}

.trend-bar {
  width: 100%;
  max-width: 22px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  border-radius: 4px 4px 0 0;
  min-height: 3px;
}

.trend-bar-label {
  font-size: 9.5px;
  color: var(--muted);
  writing-mode: horizontal-tb;
  white-space: nowrap;
}

.table-wrap {
  background: #fff;
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}

table.data-table th, table.data-table td {
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

table.data-table th {
  background: var(--green-lighter);
  color: var(--green-dark);
  font-weight: 800;
}

table.data-table tr:hover td { background: #fafefb; }

.badge-service {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  margin: 2px;
}

.logout-link {
  color: #c0392b;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 480px) {
  .admin-login { margin: 40px auto; padding: 26px 20px; }
  .admin-shell { padding: 18px 12px; }
  .admin-header h1 { font-size: 19px; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-text > p { max-width: 100%; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .register-grid { grid-template-columns: 1fr; }
  .register-side { padding: 36px 32px; }
  .register-form-wrap { padding: 36px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero { padding: 32px 0 28px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .register-side, .register-form-wrap { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .thanks-card { padding: 34px 22px; }
  .share-box { flex-direction: row; }
}

@media (max-width: 400px) {
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 22px; }
}

.nav-drawer {
  display: none;
  /* Anchored to .site-header (position: sticky, its positioning parent)
     via top: 100% instead of a hardcoded pixel offset, so it always sits
     flush under the header no matter how tall the header/logo is. */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 49;
  padding: 24px 20px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

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

.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
}

.nav-drawer .btn { margin-top: 20px; }
