/**
 * E-EDUCATION — mapambo / nashi nashi (PrimoSoftware-style)
 * Floating rail, hero widgets, trust strip, gradient blobs
 */
:root {
  --ud-rail-brand: #5624d0;
  --ud-rail-brand-dark: #401b9c;
}

/* ── Gradient blobs (hero) ── */
.ud-hero__blobs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.ud-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.ud-hero__blob--1 {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -5%;
  background: radial-gradient(circle, rgba(86, 36, 208, 0.35), transparent 70%);
}

.ud-hero__blob--2 {
  width: 320px;
  height: 320px;
  top: 15%;
  right: 5%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28), transparent 70%);
}

.ud-hero__blob--3 {
  width: 260px;
  height: 260px;
  bottom: 10%;
  right: 25%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 70%);
}

/* ── Floating hero widgets (chart, badges) ── */
.ud-hero__widgets {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: min(340px, 38vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.ud-float-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(185%);
  -webkit-backdrop-filter: blur(20px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow:
    0 20px 50px -12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    0 0 30px rgba(255, 255, 255, 0.12);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.ud-float-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

.ud-float-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -50%;
  width: 40%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(18deg);
  animation: udGlassSweep 8s ease-in-out infinite;
  pointer-events: none;
}

.ud-float-card--chart {
  animation: ud-home-float 6s ease-in-out infinite;
}

.ud-float-card--cert {
  animation: ud-home-float 6s ease-in-out infinite 1.2s;
  margin-left: 2rem;
}

.ud-float-card--progress {
  animation: ud-home-float 6s ease-in-out infinite 2.4s;
  margin-left: 0.5rem;
}

.ud-float-card--live {
  animation: ud-home-float 6s ease-in-out infinite 0.6s;
  margin-left: 3rem;
}

@keyframes ud-home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ud-float-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.ud-float-card__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.ud-float-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ud-float-card__icon--purple {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: var(--ud-rail-brand);
}

.ud-float-card__icon--green {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #059669;
}

.ud-float-card__icon--cyan {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0891b2;
}

.ud-float-card__icon--amber {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
}

.ud-float-card__chart-wrap {
  height: 72px;
  position: relative;
}

.ud-float-card__stat {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ud-dark, #1c1d1f);
  line-height: 1;
}

.ud-float-card__stat span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
  margin-left: 0.35rem;
}

.ud-float-card__sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.ud-float-progress {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ud-float-progress__ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(var(--ud-rail-brand) 0deg 313deg, #e2e8f0 313deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ud-float-progress__ring span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ud-rail-brand);
}

.ud-float-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ud-float-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: ud-pulse-dot 2s ease-in-out infinite;
}

@keyframes ud-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

/* ── Trust strip (icons row) ── */
.ud-trust-strip {
  background: #f8fafc;
  border-bottom: 1px solid var(--ud-border, #e2e8f0);
  padding: 1.25rem 1.5rem;
}

.ud-trust-strip__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.ud-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.ud-trust-strip__item i {
  font-size: 1.1rem;
}

.ud-trust-strip__item--green i { color: #059669; }
.ud-trust-strip__item--purple i { color: var(--ud-rail-brand); }
.ud-trust-strip__item--cyan i { color: #0891b2; }
.ud-trust-strip__item--amber i { color: #d97706; }

.ud-trust-strip__item:hover {
  color: var(--ud-dark, #1c1d1f);
}

a.ud-trust-strip__item--green:hover { color: #047857; }

/* ── Trusted institutions grid ── */
.ud-trusted {
  padding: 3.5rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--ud-border);
}

.ud-trusted__inner {
  max-width: 1340px;
  margin: 0 auto;
}

.ud-trusted__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.ud-trusted__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ud-rail-brand);
  margin-bottom: 0.5rem;
}

.ud-trusted__header h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ud-dark);
  margin-bottom: 0.5rem;
}

.ud-trusted__header p {
  font-size: 0.9rem;
  color: #64748b;
}

.ud-trusted__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.ud-trusted__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.6);
  transition: all 0.25s;
}

.ud-trusted__card:hover {
  border-color: #c4b5fd;
  background: #fff;
  box-shadow: 0 8px 24px rgba(86, 36, 208, 0.08);
  transform: translateY(-2px);
}

.ud-trusted__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.ud-trusted__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.5);
}

.ud-trusted__name {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ud-dark);
  line-height: 1.3;
}

.ud-trusted__loc {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #94a3b8;
}

/* ── Feature icons (Bootstrap) ── */
.ud-feature .ud-feature__icon--bi {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin: 0 auto 1.1rem;
  color: inherit;
  background: #ede9fe;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.ud-feature .ud-feature__icon--bi.purple { background: #ede9fe; color: var(--ud-rail-brand); }
.ud-feature .ud-feature__icon--bi.green { background: #d1fae5; color: #059669; }
.ud-feature .ud-feature__icon--bi.cyan { background: #cffafe; color: #0891b2; }
.ud-feature .ud-feature__icon--bi.amber { background: #fef3c7; color: #d97706; }

/* ── Floating side rail (Primo-style) ── */
.ud-floating-rail {
  position: fixed;
  right: 6px;
  bottom: 100px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ud-floating-rail__btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.ud-floating-rail__text {
  display: flex;
  align-items: center;
  height: 40px;
  margin-top: 4px;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(135deg, var(--ud-rail-brand), var(--ud-rail-brand-dark));
  color: #fff;
  max-width: 0;
  padding: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, padding 0.3s ease;
}

.ud-floating-rail__btn:hover .ud-floating-rail__text,
.ud-floating-rail__btn:focus-visible .ud-floating-rail__text {
  max-width: 200px;
  padding: 0 14px;
}

.ud-floating-rail__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ud-rail-brand);
  font-size: 1.05rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.ud-floating-rail__icon--green { color: #16a34a; }
.ud-floating-rail__icon--cyan { color: #0ea5e9; }
.ud-floating-rail__icon--amber { color: #ea580c; }

/* ── Promo bar (chini kulia) ── */
.ud-promo-bar {
  position: fixed;
  bottom: 0;
  right: 4.5%;
  z-index: 1035;
  width: min(36vw, 420px);
  min-width: 280px;
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 55%, #f8fafc 100%);
  border: 1px solid rgba(86, 36, 208, 0.15);
  box-shadow: 0 10px 28px -5px rgba(64, 27, 156, 0.22);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ud-promo-bar.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.ud-promo-bar__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding-right: 1.75rem;
}

.ud-promo-bar__emoji {
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: ud-promo-pulse 6s ease-in-out infinite;
}

@keyframes ud-promo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.ud-promo-bar__body h5 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ud-rail-brand-dark);
  line-height: 1.2;
}

.ud-promo-bar__body p {
  margin: 0;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.3;
}

.ud-promo-bar__close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 1.2rem;
  line-height: 1;
}

/* ── Search modal ── */
.ud-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.ud-search-modal.is-open { display: flex; }

.ud-search-modal__panel {
  width: min(100%, 560px);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.ud-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, #f5f3ff, #fff);
}

.ud-search-modal__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ud-rail-brand-dark);
}

.ud-search-modal__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.ud-search-modal__body { padding: 1rem; }

.ud-search-modal__input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}

.ud-search-modal__input:focus {
  border-color: var(--ud-rail-brand);
  box-shadow: 0 0 0 3px rgba(86, 36, 208, 0.2);
}

.ud-search-modal__hints {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #64748b;
}

.ud-search-modal__hints li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.ud-search-modal__hints a {
  color: var(--ud-rail-brand);
  text-decoration: none;
  font-weight: 600;
}

.ud-search-modal__hints a:hover { text-decoration: underline; }

/* ── Dark mode ── */
[data-theme="dark"] .ud-trust-strip {
  background: #18181b;
  border-color: #3f3f46;
}

[data-theme="dark"] .ud-trust-strip__item { color: #a1a1aa; }

[data-theme="dark"] .ud-trusted {
  background: #18181b;
  border-color: #3f3f46;
}

[data-theme="dark"] .ud-trusted__header h2 { color: #fafafa; }
[data-theme="dark"] .ud-trusted__card {
  background: #27272a;
  border-color: #3f3f46;
}
[data-theme="dark"] .ud-trusted__name { color: #fafafa; }

[data-theme="dark"] .ud-float-card {
  background: rgba(24, 24, 27, 0.92);
  border-color: rgba(63, 63, 70, 0.8);
}

[data-theme="dark"] .ud-float-card__stat { color: #fafafa; }
[data-theme="dark"] .ud-float-progress__ring span { background: #27272a; }

[data-theme="dark"] .ud-promo-bar {
  background: linear-gradient(135deg, #1e1b4b, #1e293b);
  border-color: rgba(167, 139, 250, 0.25);
}
[data-theme="dark"] .ud-promo-bar__body p { color: #cbd5e1; }
[data-theme="dark"] .ud-promo-bar__body h5 { color: #c4b5fd; }

[data-theme="dark"] .ud-search-modal__panel { background: #18181b; color: #e4e4e7; }
[data-theme="dark"] .ud-search-modal__head { background: #27272a; border-color: #3f3f46; }
[data-theme="dark"] .ud-search-modal__input {
  background: #18181b;
  border-color: #52525b;
  color: #e4e4e7;
}

/* ── Eyebrow labels ── */
.ud-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ud-rail-brand);
  margin-bottom: 0.5rem;
}

.ud-eyebrow--light {
  color: #c4b5fd;
}

.ud-eyebrow i {
  font-size: 0.8rem;
}

/* ── Scroll reveal ── */
.ud-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ── How it works ── */
.ud-steps {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-top: 1px solid var(--ud-border, #e2e8f0);
  border-bottom: 1px solid var(--ud-border, #e2e8f0);
  padding: 4rem 1.5rem;
}

.ud-steps__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ud-steps__head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.ud-steps__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.ud-steps__head p {
  color: #64748b;
  font-size: 0.9rem;
}

.ud-steps__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
}

.ud-step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.ud-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(86, 36, 208, 0.1);
  border-color: #c4b5fd;
}

.ud-step__num {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ud-rail-brand), #7c3aed);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.ud-step__icon {
  width: 56px;
  height: 56px;
  margin: 0.75rem auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: var(--ud-rail-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ud-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ud-step p {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.55;
}

.ud-step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
  color: #c4b5fd;
  font-size: 1.25rem;
}

/* ── Testimonials ── */
.ud-testimonials {
  padding: 4rem 1.5rem;
  background: #fff;
}

.ud-testimonials__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ud-testimonials__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ud-testimonials__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.ud-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.ud-testimonial {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ud-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.ud-testimonial--featured {
  background: linear-gradient(145deg, #5624d0, #7c3aed);
  border-color: transparent;
  color: #fff;
  transform: scale(1.03);
}

.ud-testimonial--featured:hover {
  transform: scale(1.03) translateY(-3px);
  box-shadow: 0 16px 40px rgba(86, 36, 208, 0.35);
}

.ud-testimonial--featured p { color: rgba(255,255,255,0.92); }
.ud-testimonial--featured footer span { color: rgba(255,255,255,0.75); }

.ud-testimonial__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.15rem;
}

.ud-testimonial--featured .ud-testimonial__stars { color: #fde68a; }

.ud-testimonial p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.ud-testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ud-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ud-rail-brand), #7c3aed);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ud-testimonial--featured .ud-testimonial__avatar {
  background: rgba(255,255,255,0.2);
}

.ud-testimonial footer strong {
  display: block;
  font-size: 0.85rem;
}

.ud-testimonial footer span {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ── Premium stats ── */
.ud-stats--premium {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #5624d0 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ud-stats--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(52, 211, 153, 0.15), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12), transparent 40%);
  pointer-events: none;
}

.ud-stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.ud-stats__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ud-stats__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.ud-stats--premium .ud-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0;
}

.ud-stats--premium .ud-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, background 0.3s;
}

.ud-stats--premium .ud-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.ud-stat__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #c4b5fd;
}

.ud-stats--premium .ud-stat__num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.ud-stats--premium .ud-stat__label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

/* ── Premium CTA ── */
.ud-cta--premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
}

.ud-cta__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ud-cta__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.ud-cta__blob--1 {
  width: 400px;
  height: 400px;
  top: -20%;
  right: -10%;
  background: rgba(86, 36, 208, 0.3);
}

.ud-cta__blob--2 {
  width: 300px;
  height: 300px;
  bottom: -20%;
  left: 10%;
  background: rgba(14, 165, 233, 0.2);
}

.ud-cta--premium .ud-cta__inner {
  position: relative;
  z-index: 1;
}

.ud-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ud-cta__img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ud-cta__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ud-rail-brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ud-cta__badge i {
  color: #10b981;
}

/* ── Features head ── */
.ud-features__head {
  max-width: 1340px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
  text-align: center;
}

.ud-features__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.ud-features__head p {
  color: #64748b;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Footer CTA band ── */
.ud-footer-cta {
  background: linear-gradient(90deg, #f5f3ff, #ede9fe, #f5f3ff);
  border-top: 1px solid #ddd6fe;
  padding: 2.5rem 1.5rem;
}

.ud-footer-cta__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ud-footer-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ud-rail-brand-dark);
  margin-bottom: 0.35rem;
}

.ud-footer-cta p {
  font-size: 0.9rem;
  color: #64748b;
}

.ud-footer-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ud-btn--outline-light {
  background: transparent;
  border: 2px solid var(--ud-rail-brand);
  color: var(--ud-rail-brand);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.ud-btn--outline-light:hover {
  background: var(--ud-rail-brand);
  color: #fff;
}

/* ── Footer social ── */
.ud-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.ud-footer__social {
  display: flex;
  gap: 0.5rem;
}

.ud-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.ud-footer__social a:hover {
  background: var(--ud-purple);
  transform: translateY(-2px);
  opacity: 1;
}

/* ── Back to top ── */
.ud-back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1030;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--ud-rail-brand), #7c3aed);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(86, 36, 208, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s;
}

.ud-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ud-back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(86, 36, 208, 0.5);
}

[data-theme="dark"] .ud-steps { background: linear-gradient(180deg, #18181b, #09090b); }
[data-theme="dark"] .ud-step { background: #27272a; border-color: #3f3f46; }
[data-theme="dark"] .ud-step p { color: #a1a1aa; }
[data-theme="dark"] .ud-testimonials { background: #18181b; }
[data-theme="dark"] .ud-testimonial { background: #27272a; border-color: #3f3f46; }
[data-theme="dark"] .ud-testimonial p { color: #d4d4d8; }
[data-theme="dark"] .ud-footer-cta { background: linear-gradient(90deg, #1e1b4b, #27272a); border-color: #3f3f46; }
[data-theme="dark"] .ud-footer-cta h3 { color: #c4b5fd; }
[data-theme="dark"] .ud-footer-cta p { color: #a1a1aa; }

.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;
}

/* Mobile hero stats (hidden on desktop) */
.ud-hero__mobile-stats { display: none; }
.ud-hero__mobile-stat {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  color: #fff;
}
.ud-hero__mobile-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}
.ud-hero__mobile-stat span {
  display: block;
  font-size: 0.65rem;
  opacity: 0.88;
  margin-top: 0.2rem;
  line-height: 1.2;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ud-hero__widgets { display: none; }
  .ud-hero__mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 1.25rem;
    width: 100%;
    max-width: 520px;
  }
}

/* Auth tabs */
.ud-auth-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ud-auth-tab {
  flex: 1;
  min-width: 90px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  color: #52525b;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}
.ud-auth-tab.is-active {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}
.ud-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
.ud-terms-check a { color: #7c3aed; font-weight: 600; }
.ud-btn--auth-combined {
  background: #7c3aed !important;
  color: #fff !important;
  border-color: #7c3aed !important;
}

/* Business logos */
.ud-business-partners {
  padding: 3rem 1.25rem;
  background: linear-gradient(180deg, #fafafa, #fff);
}
.ud-biz-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.ud-biz-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  background: #fff;
}
.ud-biz-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669, #7c3aed);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.ud-biz-logo__name { font-weight: 600; font-size: 0.9rem; color: #27272a; }
.ud-biz-logos__cta { text-align: center; margin-top: 1.5rem; }

/* Reviews slideshow */
.ud-reviews-slider {
  position: relative;
  min-height: 220px;
  max-width: 640px;
  margin: 0 auto;
}
.ud-reviews-slide {
  display: none;
  margin: 0;
}
.ud-reviews-slide.is-active {
  display: block;
  animation: udFadeIn 0.45s ease;
}
@keyframes udFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.ud-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}
.ud-reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #d4d4d8;
  cursor: pointer;
}
.ud-reviews-dot.active { background: #7c3aed; width: 22px; }
.ud-reviews-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.ud-testimonials__hint {
  max-width: 520px;
  margin: 0.5rem auto 0;
  color: #71717a;
  font-size: 0.9rem;
  text-align: center;
}
.ud-review-form {
  max-width: 480px;
  margin: 1.5rem auto 0;
  padding: 1.25rem;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: #fff;
}
.ud-review-form__msg { font-size: 0.85rem; margin: 0.5rem 0; }
.ud-review-form__msg.is-ok { color: #059669; }
.ud-review-form__msg.is-err { color: #dc2626; }

/* User guide */
.ud-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.ud-header--scrolled .ud-guide-btn,
.ud-header--scrolled .ud-guide-btn {
  border-color: #e4e4e7;
  background: #f4f4f5;
  color: #3f3f46;
}
.ud-guide-btn__label { display: none; }
@media (min-width: 1100px) {
  .ud-guide-btn__label { display: inline; }
}
.ud-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(9, 9, 11, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.ud-guide-modal[hidden] { display: none !important; }
.ud-guide-modal__panel {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.ud-guide-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #71717a;
}
.ud-guide-modal__title { margin: 0 1.5rem 0.75rem 0; font-size: 1.1rem; }
.ud-guide-modal__list {
  margin: 0;
  padding-left: 1.15rem;
  color: #3f3f46;
  font-size: 0.9rem;
  line-height: 1.55;
}
.ud-guide-modal__list li { margin-bottom: 0.45rem; }

/* Subpages */
.ud-subpage .ud-header { position: sticky; top: 0; }
.ud-subpage__main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.ud-subpage__lead { color: #52525b; margin-bottom: 1.5rem; }

/* ── Legal pages (terms / privacy / cookies) ── */
.ud-legal-page {
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 28%, #f8fafc 100%);
  min-height: 100vh;
}
.ud-legal-page .ud-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.ud-legal-page .ud-logo__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #059669, #7c3aed);
  color: #fff;
  font-size: 0.95rem;
}
.ud-btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.ud-legal-hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.25rem 2.25rem;
  color: #fff;
}
.ud-legal-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%, rgba(52, 211, 153, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(167, 139, 250, 0.35), transparent 50%),
    linear-gradient(135deg, #052e1c 0%, #1e1b4b 48%, #4c1d95 100%);
}
.ud-legal-hero__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
}
.ud-legal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ud-legal-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.ud-legal-hero__lead {
  max-width: 36rem;
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.9;
}
.ud-legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.88;
}
.ud-legal-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ud-legal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ud-legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.ud-legal-chip span:first-child {
  font-size: 0.68rem;
  opacity: 0.75;
}
.ud-legal-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: #fff;
}

.ud-legal-layout {
  max-width: 1100px;
  margin: -1.25rem auto 0;
  padding: 0 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.35rem;
  position: relative;
  z-index: 2;
  align-items: start;
}

.ud-legal-doc {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.ud-legal-doc__intro {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.ud-legal-doc__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ecfdf5, #ede9fe);
  color: #059669;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ud-legal-doc__intro h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-weight: 750;
}
.ud-legal-doc__intro p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ud-legal-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  scroll-margin-top: 5.5rem;
}
.ud-legal-block:last-of-type { border-bottom: none; }
.ud-legal-block__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #059669, #7c3aed);
  color: #fff;
  margin-top: 0.15rem;
}
.ud-legal-block__body { min-width: 0; }
.ud-legal-block__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.ud-legal-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 750;
  color: #18181b;
}
.ud-legal-block p {
  margin: 0;
  color: #3f3f46;
  font-size: 0.95rem;
  line-height: 1.65;
}
.ud-legal-block__note {
  margin-top: 0.65rem !important;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border-left: 3px solid #34d399;
  color: #52525b !important;
  font-size: 0.875rem !important;
}

.ud-legal-accept {
  margin: 0.5rem 1.25rem 1.35rem;
  padding: 1.25rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f5f3ff 100%);
  border: 1px solid #d1fae5;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
}
.ud-legal-accept__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #059669;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
}
.ud-legal-accept h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 750;
}
.ud-legal-accept p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}
.ud-legal-accept__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.ud-legal-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 5rem;
}
.ud-legal-aside__card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.ud-legal-aside__card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 750;
}
.ud-legal-aside__card > p {
  margin: 0 0 0.9rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
}
.ud-legal-aside__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.ud-legal-aside__links a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.65rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.ud-legal-aside__links a:hover {
  background: #f0fdf4;
  border-color: #a7f3d0;
}
.ud-legal-aside__links a > i:first-child {
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #059669;
}
.ud-legal-aside__links strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}
.ud-legal-aside__links small {
  display: block;
  color: #71717a;
  font-size: 0.72rem;
  margin-top: 0.1rem;
}
.ud-legal-aside__links .bi-chevron-right {
  color: #a1a1aa;
  font-size: 0.85rem;
}
.ud-legal-aside__card--help {
  background: linear-gradient(160deg, #052e1c, #1e1b4b);
  border: none;
  color: #fff;
}
.ud-legal-aside__card--help p { color: rgba(255, 255, 255, 0.8); }
.ud-legal-aside__card--help .ud-btn { margin-top: 0.25rem; }

.ud-legal-footer {
  border-top: 1px solid #e4e4e7;
  background: #fff;
  padding: 1.75rem 1.25rem 2.25rem;
}
.ud-legal-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.ud-legal-footer__brand {
  font-weight: 800;
  color: #059669;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.ud-legal-footer p {
  max-width: 34rem;
  margin: 0.55rem auto 1rem;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.55;
}
.ud-legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.25rem;
}
.ud-legal-footer nav a {
  color: #52525b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.ud-legal-footer nav a:hover { color: #059669; }

[data-theme="dark"] .ud-legal-page {
  background: linear-gradient(180deg, #052e1c 0%, #09090b 30%, #09090b 100%);
}
[data-theme="dark"] .ud-legal-doc,
[data-theme="dark"] .ud-legal-aside__card,
[data-theme="dark"] .ud-legal-footer {
  background: #18181b;
  border-color: #3f3f46;
  color: #fafafa;
}
[data-theme="dark"] .ud-legal-doc__intro {
  background: linear-gradient(180deg, #27272a, #18181b);
  border-bottom-color: #3f3f46;
}
[data-theme="dark"] .ud-legal-block {
  border-bottom-color: #27272a;
}
[data-theme="dark"] .ud-legal-block h3 { color: #fafafa; }
[data-theme="dark"] .ud-legal-block p,
[data-theme="dark"] .ud-legal-doc__intro p,
[data-theme="dark"] .ud-legal-footer p,
[data-theme="dark"] .ud-legal-aside__card > p,
[data-theme="dark"] .ud-legal-aside__links small {
  color: #a1a1aa;
}
[data-theme="dark"] .ud-legal-block__note {
  background: #27272a;
  color: #d4d4d8 !important;
  border-left-color: #34d399;
}
[data-theme="dark"] .ud-legal-accept {
  background: linear-gradient(135deg, #064e3b, #312e81);
  border-color: #065f46;
}
[data-theme="dark"] .ud-legal-accept p { color: #e4e4e7; }
[data-theme="dark"] .ud-legal-aside__links a:hover {
  background: #052e1c;
  border-color: #065f46;
}
[data-theme="dark"] .ud-legal-footer nav a { color: #d4d4d8; }

@media (max-width: 900px) {
  .ud-legal-layout {
    grid-template-columns: 1fr;
    margin-top: -0.75rem;
  }
  .ud-legal-aside { position: static; }
}

@media (max-width: 640px) {
  .ud-legal-hero { padding-top: 2rem; }
  .ud-legal-block {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .ud-legal-block__num { width: 2rem; height: 2rem; }
  .ud-legal-accept {
    grid-template-columns: 1fr;
  }
  .ud-legal-page .ud-nav-links .ud-nav-link:not(:first-child) {
    display: none;
  }
}

/* Full-page auth (forgot / reset password) */
.ud-auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.ud-auth-page__wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 64px);
}
@media (min-width: 1024px) {
  .ud-auth-page__wrap { grid-template-columns: 1fr 1fr; }
}
.ud-auth-page__hero {
  position: relative;
  display: none;
  overflow: hidden;
  padding: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .ud-auth-page__hero { display: flex; }
}
.ud-auth-page__hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ud-auth-page__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 27, 75, 0.85) 50%, rgba(6, 78, 59, 0.75) 100%);
}
.ud-auth-page__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: #fff;
}
.ud-auth-page__hero-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}
.ud-auth-page__hero-inner > p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.ud-auth-page__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.ud-auth-page__perks li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.ud-auth-page__perks i {
  color: #34d399;
  font-size: 1.15rem;
  margin-top: 0.15rem;
}
.ud-auth-page__form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.ud-auth-page__card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 20px 50px -12px rgba(86, 36, 208, 0.12);
  border: 1px solid rgba(0,0,0,0.06);
}
.ud-auth-page__card h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #18181b;
}
.ud-auth-page__card-lead {
  color: #71717a;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.ud-auth-page__card .form-group { margin-bottom: 1rem; }
.ud-auth-page__card .form-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3f3f46;
  margin-bottom: 0.4rem;
}
.ud-auth-page__card .form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ud-auth-page__card .form-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.ud-auth-page__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ud-auth-page__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}
.ud-auth-page__submit:disabled { opacity: 0.65; cursor: not-allowed; }
.ud-auth-page__links {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  text-align: center;
  color: #71717a;
}
.ud-auth-page__links a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}
.ud-auth-page__links a:hover { text-decoration: underline; }
.ud-auth-page__dev-link {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  font-size: 0.82rem;
  word-break: break-all;
}
.ud-auth-page__dev-link a { color: #92400e; font-weight: 600; }
.ud-auth-page__secure-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.ud-auth-page__secure-note i { font-size: 1.1rem; margin-top: 0.1rem; }
[data-theme="dark"] .ud-auth-page__form-panel {
  background: linear-gradient(180deg, #09090b 0%, #18181b 100%);
}
[data-theme="dark"] .ud-auth-page__card {
  background: #18181b;
  border-color: #27272a;
}
[data-theme="dark"] .ud-auth-page__card h1 { color: #fafafa; }
[data-theme="dark"] .ud-auth-page__card-lead { color: #a1a1aa; }
[data-theme="dark"] .ud-auth-page__card .form-label { color: #d4d4d8; }
[data-theme="dark"] .ud-auth-page__card .form-input {
  background: #27272a;
  border-color: #3f3f46;
  color: #fafafa;
}

.ud-terms-list { line-height: 1.7; color: #3f3f46; }
.ud-cal-list { list-style: none; padding: 0; margin: 0; }
.ud-cal-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e4e4e7;
}
.ud-cal-item time {
  font-weight: 700;
  color: #7c3aed;
  min-width: 6.5rem;
}
.ud-biz-hero {
  padding: 4rem 1.25rem 3rem;
  background: linear-gradient(135deg, #064e3b, #5b21b6);
  color: #fff;
}
.ud-biz-hero__inner { max-width: 800px; margin: 0 auto; }
.ud-biz-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0.5rem 0 0.75rem; }
.ud-biz-hero p { opacity: 0.92; max-width: 540px; }

@media (max-width: 1024px) {
  .ud-trusted__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ud-steps__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ud-step__connector { display: none; }
  .ud-testimonials__grid {
    grid-template-columns: 1fr;
  }
  .ud-testimonial--featured { transform: none; }
  .ud-stats--premium .ud-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ud-biz-logos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ud-promo-bar { display: none; }
  .ud-floating-rail { bottom: 20px; }
  .ud-trusted__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ud-trust-strip__inner { gap: 1rem 1.5rem; }
  .ud-hero__mobile-stats { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 480px) {
  .ud-floating-rail__btn:hover .ud-floating-rail__text,
  .ud-floating-rail__btn:focus-visible .ud-floating-rail__text {
    max-width: 0;
    padding: 0;
  }
  .ud-trusted__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Ujuzi-inspired home additions ── */
.ud-steps__grid--4 {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

.ud-skills {
  padding: 3.5rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-top: 1px solid #e4e4e7;
}

.ud-skills__inner {
  max-width: 1340px;
  margin: 0 auto;
}

.ud-skills__head {
  text-align: center;
  margin-bottom: 2rem;
}

.ud-skills__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0.35rem 0 0.5rem;
}

.ud-skills__head p {
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.ud-skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.ud-skill-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ud-skill-card:hover {
  transform: translateY(-4px);
  border-color: #a7f3d0;
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.12);
  color: inherit;
}

.ud-skill-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.ud-skill-card h3 {
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0 0 0.4rem;
}

.ud-skill-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.ud-skills__cta {
  text-align: center;
  margin-top: 1.75rem;
}

.ud-access {
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #052e1c 100%);
  color: #fff;
}

.ud-access__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.ud-access__copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0.4rem 0 0.75rem;
}

.ud-access__copy > p {
  opacity: 0.88;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ud-access__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ud-access__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.ud-access__list i {
  color: #34d399;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.ud-access__card {
  background: #fff;
  color: #18181b;
  border-radius: 22px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
}

.ud-access__badge {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin: 0 0 0.75rem;
}

.ud-access__card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.ud-access__price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #059669;
  margin: 0 0 0.35rem;
  line-height: 1;
}

.ud-access__price small {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #71717a;
  margin-top: 0.35rem;
}

.ud-access__card-text {
  font-size: 0.9rem;
  color: #52525b;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.ud-access__btn {
  width: 100%;
  justify-content: center;
}

.ud-access__link {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #059669;
  text-decoration: none;
}

.ud-access__link:hover {
  text-decoration: underline;
}

.ud-about {
  padding: 3.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid #e4e4e7;
}

.ud-about__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ud-about__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.ud-about__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0.35rem 0 0;
}

.ud-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.ud-about__card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
}

.ud-about__card h3 {
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0 0 0.5rem;
  color: #047857;
}

.ud-about__card p,
.ud-about__lead,
.ud-value p {
  margin: 0;
  color: #52525b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.ud-about__lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.ud-about__values h3 {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 750;
  margin: 0 0 1rem;
}

.ud-about__values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.ud-value {
  background: linear-gradient(180deg, #ecfdf5, #fff);
  border: 1px solid #d1fae5;
  border-radius: 14px;
  padding: 1rem 0.9rem;
  text-align: center;
}

.ud-value h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 750;
}

.ud-faq {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-top: 1px solid #e4e4e7;
}

.ud-faq__inner {
  max-width: 820px;
  margin: 0 auto;
}

.ud-faq__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.ud-faq__head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 0.35rem 0 0.5rem;
}

.ud-faq__head p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.ud-faq__list {
  display: grid;
  gap: 0.65rem;
}

.ud-faq__item {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ud-faq__item[open] {
  border-color: #a7f3d0;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.08);
}

.ud-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ud-faq__item summary::-webkit-details-marker {
  display: none;
}

.ud-faq__item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 600;
  color: #059669;
  flex-shrink: 0;
}

.ud-faq__item[open] summary::after {
  content: '−';
}

.ud-faq__item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: #52525b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ud-footer-cta--journey {
  background: linear-gradient(105deg, #052e1c 0%, #1e1b4b 50%, #4c1d95 100%);
  border-top: none;
  padding: 3rem 1.5rem;
}

.ud-footer-cta--journey h3,
.ud-footer-cta--journey p {
  color: #fff;
}

.ud-footer-cta--journey p {
  opacity: 0.88;
}

.ud-footer-cta--journey .ud-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.ud-footer-cta--journey .ud-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .ud-skills,
[data-theme="dark"] .ud-about,
[data-theme="dark"] .ud-faq {
  background: #09090b;
  border-top-color: #27272a;
}

[data-theme="dark"] .ud-skill-card,
[data-theme="dark"] .ud-faq__item,
[data-theme="dark"] .ud-about__card {
  background: #18181b;
  border-color: #3f3f46;
  color: #fafafa;
}

[data-theme="dark"] .ud-skill-card p,
[data-theme="dark"] .ud-about__card p,
[data-theme="dark"] .ud-about__lead,
[data-theme="dark"] .ud-value p,
[data-theme="dark"] .ud-faq__item p,
[data-theme="dark"] .ud-skills__head p,
[data-theme="dark"] .ud-faq__head p {
  color: #a1a1aa;
}

[data-theme="dark"] .ud-value {
  background: linear-gradient(180deg, #052e1c, #18181b);
  border-color: #065f46;
}

@media (max-width: 1024px) {
  .ud-steps__grid--4 {
    grid-template-columns: 1fr;
  }
  .ud-skills__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ud-access__inner {
    grid-template-columns: 1fr;
  }
  .ud-about__values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ud-skills__grid,
  .ud-about__grid,
  .ud-about__values-grid {
    grid-template-columns: 1fr;
  }
}
