:root {
  --lf-ink: #0e2424;
  --lf-teal: #0d6b6b;
  --lf-teal-deep: #094949;
  --lf-teal-soft: #1aa0a0;
  --lf-gold: #e6b422;
  --lf-gold-bright: #ffd24d;
  --lf-sand: #f3f7f6;
  --lf-muted: #5f7474;
  --lf-line: rgba(14, 36, 36, 0.08);
  --lf-radius: 18px;
  --lf-shadow: 0 14px 34px rgba(14, 36, 36, 0.08);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: clip;
  background:
    radial-gradient(900px 380px at 0% -5%, rgba(13, 107, 107, 0.1), transparent 55%),
    radial-gradient(700px 300px at 100% 0%, rgba(230, 180, 34, 0.08), transparent 50%),
    #f5f8f7;
  color: var(--lf-ink);
  min-height: 100vh;
}

/* ===== Header ===== */
.site-header {
  background: rgba(8, 28, 28, 0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1040;
}
.site-header .brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-header .nav-link {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.4rem 0.85rem !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header .nav-link:hover {
  color: var(--lf-gold-bright) !important;
  background: rgba(255, 255, 255, 0.06);
}
.site-header .vr { display: none; }
.token-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(230, 180, 34, 0.15);
  border: 1px solid rgba(230, 180, 34, 0.35);
  color: #ffe08a;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-weight: 600;
  font-size: 0.86rem;
}
.user-menu-btn {
  border-radius: 999px !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
.site-header .logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.site-header__toggler {
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  display: grid;
  place-items: center;
}
.site-header__mobile {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 28, 28, 0.98);
}
.site-header__mobile .nav-link {
  padding: 0.65rem 0.75rem !important;
  border-radius: 10px;
}
.site-header__mobile-user .token-chip {
  flex-shrink: 0;
}

/* ===== Shared UI ===== */
.lf-page {
  padding: 2.5rem 0 3.5rem;
}
.lf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-teal);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.lf-section-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--lf-ink);
  margin-bottom: 0.5rem;
}
.lf-section-sub {
  color: var(--lf-muted);
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.lf-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  box-shadow: var(--lf-shadow);
}
.lf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lf-btn:hover { transform: translateY(-1px); }
.lf-btn-gold {
  background: linear-gradient(90deg, var(--lf-gold-bright), var(--lf-gold));
  color: #1a1a1a;
  box-shadow: 0 10px 24px rgba(230, 180, 34, 0.3);
}
.lf-btn-teal {
  background: linear-gradient(90deg, var(--lf-teal-soft), var(--lf-teal));
  color: #fff;
}
.lf-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.lf-btn-outline {
  background: transparent;
  color: var(--lf-teal-deep);
  border: 1px solid rgba(13, 107, 107, 0.35);
}
.lf-btn-outline:hover {
  background: rgba(13, 107, 107, 0.08);
  color: var(--lf-teal-deep);
}

/* ===== Hero ===== */
.lf-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-color: #094949;
  background-image:
    linear-gradient(120deg, rgba(9, 73, 73, 0.88), rgba(13, 107, 107, 0.72)),
    url("../images/elevator-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.lf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 80% 20%, rgba(230, 180, 34, 0.22), transparent 60%);
  pointer-events: none;
}
.lf-hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
}
.lf-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 14ch;
}
.lf-hero h1 span { color: var(--lf-gold-bright); }
.lf-hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36rem;
  margin-bottom: 1.6rem;
}
.lf-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.lf-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}
.animate-bounce { animation: bounce 1.5s infinite; }

/* ===== Sections ===== */
.lf-band {
  background: linear-gradient(135deg, var(--lf-teal), var(--lf-teal-deep));
  color: #fff;
  padding: 4rem 0;
}
.lf-band h2, .lf-band h3 { color: #fff; }
.lf-band p { color: rgba(255, 255, 255, 0.88); line-height: 1.75; }
.lf-surface { padding: 4rem 0; }
.lf-surface-alt {
  padding: 4rem 0;
  background: linear-gradient(180deg, #eef4f3, #f7faf9);
}

.tool-card-pro {
  height: 100%;
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  background: linear-gradient(180deg, #fff, #f8fbfb);
  box-shadow: var(--lf-shadow);
  padding: 1.4rem;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tool-card-pro:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 107, 107, 0.28);
  box-shadow: 0 18px 36px rgba(13, 107, 107, 0.12);
}
.tool-card-pro .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.tool-card-pro h4 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--lf-ink);
}
.tool-card-pro p {
  color: var(--lf-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  min-height: 3.6em;
}
.feature-tile {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lf-radius);
  padding: 1.25rem;
  height: 100%;
  backdrop-filter: blur(6px);
}
.feature-tile .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lf-gold);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}
.feature-tile h5 { color: #fff; font-size: 1rem; }
.feature-tile p { color: rgba(255,255,255,0.82); font-size: 0.9rem; margin: 0; }

.price-card {
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lf-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.price-card .price-head {
  background: linear-gradient(135deg, var(--lf-teal), var(--lf-teal-deep));
  color: #fff;
  padding: 1.25rem;
  position: relative;
}
.price-card .price-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--lf-teal-deep);
}
.badge-free {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #19a463;
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== Project roadmap ===== */
.roadmap-band {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(700px 340px at 85% 10%, rgba(230, 180, 34, 0.18), transparent 55%),
    linear-gradient(145deg, #0a2a2a 0%, #0d6b6b 48%, #094949 100%);
  color: #fff;
}
.roadmap-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}
.roadmap-sub {
  max-width: 36rem;
  margin: 0.35rem auto 1.25rem;
  color: rgba(255, 255, 255, 0.82);
}
.roadmap-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 500;
}
.roadmap-legend i { margin-right: 0.35rem; color: var(--lf-gold-bright); }

.roadmap-track {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
}
.roadmap-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 210, 77, 0.15), rgba(255, 210, 77, 0.85), rgba(255, 210, 77, 0.2));
  border-radius: 999px;
  z-index: 0;
}

.roadmap-step {
  position: relative;
  display: flex;
  margin-bottom: 1.75rem;
  opacity: 1;
  transform: none;
  z-index: 1;
}
.roadmap-step.is-pending-anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.roadmap-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.roadmap-step.is-left { justify-content: flex-start; padding-right: 52%; }
.roadmap-step.is-right { justify-content: flex-end; padding-left: 52%; }

/* Keep timeline geometry LTR so RTL page dir does not swap flex vs physical padding */
.roadmap-track {
  direction: ltr;
  unicode-bidi: isolate;
}

.roadmap-node {
  position: absolute;
  left: 50%;
  top: 1.35rem;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lf-gold-bright), var(--lf-gold));
  color: #1a1a1a;
  font-size: 1.05rem;
  box-shadow: 0 0 0 6px rgba(9, 73, 73, 0.55), 0 10px 22px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.roadmap-step.is-live .roadmap-node {
  animation: roadmapPulse 2.2s ease-in-out infinite;
}
.roadmap-step.is-next .roadmap-node {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 6px rgba(9, 73, 73, 0.35);
}

.roadmap-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  color: var(--lf-ink);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  text-align: start;
  unicode-bidi: plaintext;
}
html[dir="rtl"] .roadmap-card {
  direction: rtl;
}
html[dir="rtl"] .roadmap-details {
  border-left: 0;
  border-right: 3px solid var(--lf-teal);
}
html[dir="rtl"] .roadmap-details ul {
  padding-left: 0;
  padding-right: 1.1rem;
}
html[dir="rtl"] .roadmap-legend i {
  margin-right: 0;
  margin-left: 0.35rem;
}
.roadmap-step.is-live .roadmap-card {
  border-color: rgba(230, 180, 34, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(230, 180, 34, 0.25);
}
.roadmap-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.55rem;
}
.roadmap-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.roadmap-badge-done { background: rgba(25, 164, 99, 0.15); color: #147a4a; }
.roadmap-badge-live { background: rgba(230, 180, 34, 0.22); color: #7c5e10; }
.roadmap-badge-next { background: rgba(13, 107, 107, 0.12); color: var(--lf-teal-deep); }
.roadmap-when {
  color: var(--lf-muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.roadmap-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--lf-ink);
}
.roadmap-summary {
  color: var(--lf-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}
.roadmap-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--lf-teal-deep);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0;
  cursor: pointer;
}
.roadmap-toggle i { transition: transform 0.2s ease; font-size: 0.75rem; }
.roadmap-toggle.is-open i { transform: rotate(180deg); }
.roadmap-details {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--lf-sand);
  border-left: 3px solid var(--lf-teal);
}
.roadmap-details ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--lf-muted);
  font-size: 0.9rem;
}
.roadmap-details li { margin-bottom: 0.35rem; }
.roadmap-details li:last-child { margin-bottom: 0; }

.roadmap-cta {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.roadmap-cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.85rem;
}

@keyframes roadmapPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(9, 73, 73, 0.55), 0 0 0 0 rgba(230, 180, 34, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(9, 73, 73, 0.55), 0 0 0 12px rgba(230, 180, 34, 0); }
}

/* Auth / forms */
.auth-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(13,107,107,.18), transparent 60%),
    linear-gradient(160deg, #0a2a2a, #0d4a4a 45%, #123838);
}
.auth-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  border: 1px solid var(--lf-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}
.auth-card h2, .auth-card h3 {
  color: var(--lf-ink);
  font-weight: 700;
}
.auth-card .form-control,
.auth-card .form-select,
.lf-card .form-control,
.lf-card .form-select {
  border-radius: 12px;
  border-color: #d5e0e0;
  padding: 0.7rem 0.9rem;
}
.auth-card .form-control:focus,
.lf-card .form-control:focus {
  border-color: var(--lf-teal);
  box-shadow: 0 0 0 0.2rem rgba(13, 107, 107, 0.15);
}
.auth-card .input-group-text {
  border-radius: 12px 0 0 12px;
  background: #eef5f5;
  border-color: #d5e0e0;
}
.auth-card .btn-primary,
.lf-submit {
  background: linear-gradient(90deg, var(--lf-gold-bright), var(--lf-gold));
  border: 0;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1rem;
}
.auth-card .btn-primary:hover { filter: brightness(0.97); color: #1a1a1a; }
.link-gold { color: var(--lf-teal-deep); font-weight: 600; text-decoration: none; }
.link-gold:hover { color: var(--lf-gold); }

/* Social OAuth buttons (only rendered when a provider is configured) */
.auth-social { margin-top: 1.25rem; }
.auth-social__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #6b7c7c;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auth-social__divider::before,
.auth-social__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d5e0e0;
}
.auth-social__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.auth-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #d5e0e0;
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.auth-social__btn:hover {
  border-color: var(--lf-teal);
  background: #f4fafa;
  color: #1a1a1a;
}
.auth-social__btn i { font-size: 1.05rem; }
.auth-social__btn--google i { color: #db4437; }
.auth-social__btn--microsoft i { color: #00a4ef; }
.auth-social__btn--apple i { color: #111; }
.auth-social__btn--yahoo i { color: #6001d2; }
@media (max-width: 420px) {
  .auth-social__grid { grid-template-columns: 1fr; }
}

/* Contact / content pages */
.page-hero {
  padding: 3.5rem 0 2rem;
  background-color: #094949;
  background-image:
    linear-gradient(120deg, rgba(9, 73, 73, 0.95), rgba(13, 107, 107, 0.85)),
    url("../images/elevator-bg.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
.page-hero h1 { font-weight: 700; margin-bottom: 0.4rem; }
.page-hero p { color: rgba(255,255,255,0.85); margin: 0; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0a1f1f, #071616);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--lf-gold-bright); }
.site-footer .footer-brand { font-weight: 700; font-size: 1.25rem; color: #fff; }
.site-footer .social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,0.06);
  margin: 0 0.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  justify-content: center;
  align-items: center;
  max-width: 22rem;
}
.footer-links a {
  white-space: nowrap;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.site-footer__brand {
  text-align: start;
}
.site-footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
  margin: 0;
  line-height: 1.6;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.site-footer__social {
  text-align: end;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.site-footer__logo img {
  height: 42px;
  width: auto;
}
@media (max-width: 991.98px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__brand,
  .site-footer__social {
    text-align: center;
  }
  .site-footer__brand p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
}

/* Language + cookies (kept) */
.language-selector { position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
.language-btn {
  background: linear-gradient(135deg, var(--lf-teal), var(--lf-teal-deep));
  border: none; color: white; width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0,0,0,.25); display: grid; place-items: center;
  cursor: pointer; font-size: 1.35rem;
}
.language-menu {
  position: absolute; bottom: 72px; right: 0; width: 200px; background: white;
  border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px); transition: .25s ease;
}
.language-selector.open .language-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.menu-header { font-size: .95rem; font-weight: 700; color: var(--lf-teal); text-align: center; margin: 10px 0; }
.language-menu ul { list-style: none; padding: 0; margin: 0; }
.language-menu a { display: block; padding: 10px; color: #333; text-decoration: none; text-align: center; }
.language-menu a:hover { background: var(--lf-teal); color: #fff; }
.cookie-icon {
  width: 56px; height: 56px; font-size: 1.35rem; position: fixed; bottom: 20px; left: 20px;
  background: rgba(8,28,28,.9); color: white; border-radius: 50%; cursor: pointer; z-index: 1000;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,0,0,.2);
}
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: rgba(8,28,28,.95);
  color: white; padding: 1.25rem; text-align: center; z-index: 1000;
}
.cookie-content {
  max-width: 42rem;
  margin: 0 auto;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .site-header .brand { font-size: 1.15rem; }
  .site-header .logo { height: 38px !important; }
  .lf-surface,
  .lf-surface-alt,
  .lf-band,
  .roadmap-band { padding: 3rem 0; }
  .page-hero { padding: 2.75rem 0 1.75rem; }
}

@media (max-width: 768px) {
  .lf-hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }
  .lf-hero-inner { padding: 3.5rem 0 2rem; }
  .lf-hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
  }
  .lf-hero .lead { font-size: 1rem; }
  .lf-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lf-hero-actions .lf-btn { width: 100%; }
  .lf-scroll { display: none; }
  .lf-page { padding: 2rem 0 2.75rem; }
  .lf-section-sub { margin-bottom: 1.5rem; }
  .tool-card-pro p { min-height: 0; }
  .tool-card-pro .lf-btn { width: 100%; }
  .price-card .amount { font-size: 1.75rem; }
  .roadmap-band { padding: 2.75rem 0 2.25rem; }
  .roadmap-track::before { left: 22px; transform: none; }
  .roadmap-step.is-left,
  .roadmap-step.is-right {
    justify-content: flex-start;
    padding-left: 4.25rem;
    padding-right: 0;
  }
  .roadmap-node {
    left: 22px;
    margin-left: -24px;
  }
  .roadmap-card { padding: 1rem 1.05rem; }
  .roadmap-title { font-size: 1.05rem; }
  .auth-page {
    min-height: auto;
    align-items: flex-start;
    padding: 1.5rem 0 2.5rem;
  }
  .auth-card { padding: 1.35rem; }
  .site-footer { padding: 2.25rem 0 5.5rem; }
  .site-footer .social { margin-top: 0.25rem; }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  .language-selector {
    bottom: max(72px, calc(12px + env(safe-area-inset-bottom, 0px)));
    right: max(14px, env(safe-area-inset-right, 0px));
  }
  .cookie-icon {
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: max(14px, env(safe-area-inset-left, 0px));
  }
  .language-btn,
  .cookie-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  .cookie-banner {
    padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    text-align: left;
  }
  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-buttons .lf-btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .lf-btn {
    min-height: 44px;
    padding: 0.75rem 1.1rem;
  }
  .page-hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .lf-card.p-4,
  .lf-card.p-md-5 { padding: 1.15rem !important; }
  .badge-free {
    position: static;
    display: inline-block;
    margin-top: 0.5rem;
  }
  .roadmap-legend {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }
  .roadmap-cta .lf-btn { width: 100%; }
}

/* ===== RTL (ar / fa) — avoid fighting Bootstrap LTR utilities ===== */
html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Poppins", sans-serif;
}
html[dir="rtl"] .language-selector {
  right: auto;
  left: max(18px, env(safe-area-inset-left, 0px));
}
html[dir="rtl"] .cookie-icon {
  left: auto;
  right: max(18px, env(safe-area-inset-right, 0px));
}
html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
  text-align: right;
}
html[dir="rtl"] .cookie-banner { text-align: right; }
html[dir="rtl"] .dash-table th,
html[dir="rtl"] .dash-table td { text-align: right; }
html[dir="rtl"] .language-menu li.is-active a {
  font-weight: 700;
  color: var(--lf-teal, #0d6b6b);
}
html[dir="rtl"] .dropdown-menu-end {
  --bs-position: start;
}
@media (max-width: 991.98px) {
  html[dir="rtl"] .language-selector {
    left: max(14px, env(safe-area-inset-left, 0px));
    right: auto;
  }
  html[dir="rtl"] .cookie-icon {
    right: max(14px, env(safe-area-inset-right, 0px));
    left: auto;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeInUp .7s ease both; }

/* Legal pages */
.legal-toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--lf-muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.legal-toc a:hover { color: var(--lf-teal); }
.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lf-ink);
  margin-bottom: 0.65rem;
}
.legal-body p, .legal-body li {
  color: var(--lf-muted);
  line-height: 1.7;
}

/* ===== Dashboard (bundled into styles.css) ===== */
:root {
  --dash-ink: #0e2424;
  --dash-teal: #0d6b6b;
  --dash-teal-deep: #094949;
  --dash-gold: #e6b422;
  --dash-sand: #f3f7f6;
  --dash-line: rgba(14, 36, 36, 0.08);
  --dash-muted: #5f7474;
  --dash-radius: 18px;
}

.dash-page {
  background:
    radial-gradient(1000px 420px at 10% -10%, rgba(13, 107, 107, 0.16), transparent 60%),
    radial-gradient(900px 380px at 100% 0%, rgba(230, 180, 34, 0.12), transparent 55%),
    linear-gradient(180deg, #f7faf9 0%, #eef3f2 100%);
  min-height: calc(100vh - 70px);
  padding: 2rem 0 3.5rem;
}

.dash-shell {
  max-width: 1240px;
}

.dash-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--dash-radius) + 4px);
  background-color: #094949;
  background-image:
    linear-gradient(135deg, rgba(9, 73, 73, 0.96), rgba(13, 107, 107, 0.88)),
    url('../images/elevator-bg.jpg');
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 18px 40px rgba(9, 73, 73, 0.22);
  margin-bottom: 1.25rem;
}

.dash-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(230, 180, 34, 0.35), transparent 68%);
  pointer-events: none;
}

.dash-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: end;
}

.dash-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.55rem;
}

.dash-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  margin: 0 0 0.4rem;
}

.dash-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42rem;
}

.dash-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.dash-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-btn:hover {
  transform: translateY(-1px);
}

.dash-btn-gold {
  background: linear-gradient(90deg, #ffd24d, var(--dash-gold));
  color: #1a1a1a;
  box-shadow: 0 8px 20px rgba(230, 180, 34, 0.35);
}

.dash-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.dash-stat {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--dash-line);
  border-radius: var(--dash-radius);
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 28px rgba(14, 36, 36, 0.05);
}

.dash-stat .label {
  color: var(--dash-muted);
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.dash-stat .value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--dash-ink);
  line-height: 1.1;
}

.dash-stat .hint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #7a9090;
}

.dash-stat.accent .value {
  color: var(--dash-teal);
}

.dash-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.1rem;
  align-items: start;
}

.dash-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--dash-line);
  border-radius: var(--dash-radius);
  box-shadow: 0 12px 30px rgba(14, 36, 36, 0.05);
}

.dash-card-pad {
  padding: 1.1rem;
}

.dash-profile {
  text-align: center;
  padding: 1.35rem 1.1rem 1rem;
}

.dash-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--dash-teal), var(--dash-teal-deep));
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(13, 107, 107, 0.35);
}

.dash-profile h2 {
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  color: var(--dash-ink);
}

.dash-profile .email {
  color: var(--dash-muted);
  font-size: 0.84rem;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.dash-token-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff8e6;
  color: #8a6500;
  border: 1px solid #f0d78a;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.86rem;
}

.dash-nav {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.65rem 0.85rem;
}

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--dash-ink);
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.dash-nav a:hover,
.dash-nav a.active {
  background: rgba(13, 107, 107, 0.08);
  color: var(--dash-teal-deep);
}

.dash-nav a.danger {
  color: #b42318;
}

.dash-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.dash-section-head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--dash-ink);
}

.dash-section-head span {
  color: var(--dash-muted);
  font-size: 0.82rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.tool-tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  border: 1px solid var(--dash-line);
  background: linear-gradient(180deg, #fff, #f8fbfb);
  padding: 1rem;
  min-height: 148px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tool-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 107, 107, 0.28);
  box-shadow: 0 14px 30px rgba(13, 107, 107, 0.12);
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
}

.tool-tile h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dash-ink);
}

.tool-tile p {
  margin: 0;
  color: var(--dash-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  flex: 1;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6f8585;
}

.tool-meta .cost {
  background: rgba(13, 107, 107, 0.08);
  color: var(--dash-teal-deep);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-weight: 600;
}

.dash-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.dash-table th,
.dash-table td {
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--dash-line);
  text-align: left;
  vertical-align: middle;
}

.dash-table th {
  color: var(--dash-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-empty {
  color: var(--dash-muted);
  font-size: 0.88rem;
  padding: 0.9rem 0.2rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-completed { background: #e8f8ef; color: #147a3f; }
.badge-draft { background: #eef2f6; color: #445; }
.badge-archived { background: #f3f3f3; color: #777; }
.badge-paid { background: #e8f8ef; color: #147a3f; }
.badge-pending { background: #fff7e6; color: #8a6500; }
.badge-expired { background: #fdecec; color: #b42318; }

.usage-chart-wrap {
  height: 180px;
  position: relative;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--dash-line);
}

.timeline li:last-child { border-bottom: 0; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.35rem;
  background: var(--dash-teal);
  box-shadow: 0 0 0 4px rgba(13, 107, 107, 0.12);
}

.timeline .when {
  color: var(--dash-muted);
  font-size: 0.75rem;
}

.timeline .what {
  color: var(--dash-ink);
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-hero-grid { grid-template-columns: 1fr; }
  .dash-hero-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .dash-stats,
  .tool-grid { grid-template-columns: 1fr; }
  .dash-page { padding: 1rem 0 5rem; }
  .dash-hero { padding: 1.25rem; }
  .dash-hero h1 { font-size: 1.45rem; }
  .dash-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dash-hero-actions .dash-btn { width: 100%; justify-content: center; }
  .dash-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .dash-nav a {
    min-height: 44px;
    padding: 0.75rem;
  }
  .table-responsive {
    margin: 0 -0.35rem;
    padding: 0 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .dash-table { font-size: 0.8rem; }
  .dash-table th,
  .dash-table td { padding: 0.55rem 0.4rem; }
  .tool-tile { min-height: 0; }
  .dash-proj-toolbar { width: 100%; justify-content: flex-start; }
  .proj-actions { gap: 0.25rem; }
}

/* Project manager + welcome bonus modal */
.dash-proj-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}
.dash-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--dash-muted);
  margin: 0;
  white-space: nowrap;
}
.dash-proj-toolbar .form-select {
  width: auto;
  min-width: 9.5rem;
  border-radius: 10px;
  border-color: var(--dash-line);
  font-size: 0.82rem;
}
.proj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  white-space: nowrap;
}
.dash-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  border: 1px solid var(--dash-line);
  background: #fff;
  color: var(--dash-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dash-mini-btn:hover {
  border-color: rgba(13, 107, 107, 0.35);
  background: rgba(13, 107, 107, 0.06);
  color: var(--dash-teal-deep);
}
.dash-mini-btn-teal {
  background: rgba(13, 107, 107, 0.08);
  color: var(--dash-teal-deep);
}
.dash-mini-btn-ok { color: #0f766e; }
.dash-mini-btn-danger { color: #b42318; }
.dash-mini-btn-danger:hover {
  background: rgba(180, 35, 24, 0.06);
  border-color: rgba(180, 35, 24, 0.28);
  color: #912018;
}
#projectsTable tr.is-archived .proj-title-text { opacity: 0.72; }

.welcome-bonus-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(250, 204, 21, 0.18), transparent 45%),
    radial-gradient(ellipse at 70% 80%, rgba(13, 107, 107, 0.22), transparent 50%),
    rgba(8, 24, 24, 0.55);
  backdrop-filter: blur(6px);
  animation: welcomeBonusFadeIn 0.35s ease;
}
.welcome-bonus-overlay.is-closing {
  animation: welcomeBonusFadeOut 0.28s ease forwards;
}
.welcome-bonus-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: 24px;
  padding: 2rem 1.6rem 1.5rem;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #f7fbfb 55%, #fff8e8 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(8, 30, 30, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  animation: welcomeBonusPop 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}
.welcome-bonus-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.35), transparent 65%);
  pointer-events: none;
}
.welcome-bonus-coins {
  position: relative;
  height: 3.2rem;
  margin-bottom: 0.35rem;
}
.welcome-bonus-coins .coin {
  position: absolute;
  left: 50%;
  top: 0.2rem;
  font-size: 1.55rem;
  color: #c99700;
  filter: drop-shadow(0 6px 10px rgba(201, 151, 0, 0.35));
  animation: welcomeCoinFloat 2.4s ease-in-out infinite;
}
.welcome-bonus-coins .c1 { transform: translateX(-2.4rem) rotate(-12deg); }
.welcome-bonus-coins .c2 { transform: translateX(0) scale(1.15); animation-delay: 0.2s; color: #e0b000; }
.welcome-bonus-coins .c3 { transform: translateX(2.4rem) rotate(12deg); animation-delay: 0.4s; }
.welcome-bonus-kicker {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6500;
  font-weight: 700;
}
.welcome-bonus-card h2 {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
  color: #0e2424;
  font-weight: 700;
}
.welcome-bonus-lead {
  position: relative;
  margin: 0 auto 1.1rem;
  max-width: 28ch;
  color: #5f7474;
  font-size: 0.95rem;
  line-height: 1.45;
}
.welcome-bonus-amount {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.85rem 1.4rem;
  margin-bottom: 1.15rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff6d6, #ffe8a3);
  border: 1px solid #f0d78a;
  box-shadow: 0 10px 24px rgba(201, 151, 0, 0.18);
  animation: welcomeAmountPulse 1.8s ease-in-out infinite;
}
.welcome-bonus-amount .num {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  color: #8a6500;
  letter-spacing: -0.02em;
}
.welcome-bonus-amount .lbl {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a07a12;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.welcome-bonus-actions {
  position: relative;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.welcome-bonus-actions .dash-btn { min-width: 12rem; }
.welcome-bonus-note {
  position: relative;
  margin: 0;
  font-size: 0.78rem;
  color: #7a8c8c;
}
.welcome-bonus-success {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  animation: welcomeBonusPop 0.4s ease;
}
.welcome-bonus-success i { font-size: 1.8rem; color: #0f766e; }
.welcome-bonus-success strong { color: #0e2424; font-size: 1.05rem; }
.welcome-bonus-success span { color: #5f7474; font-size: 0.9rem; margin-bottom: 0.55rem; }
.welcome-bonus-overlay.is-claimed .welcome-bonus-amount {
  animation: none;
  transform: scale(1.04);
}
@keyframes welcomeBonusFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes welcomeBonusFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes welcomeBonusPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes welcomeCoinFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@keyframes welcomeAmountPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* === Liftaro About promo teaser (bundled) === */
.lf-teaser {
  --teaser-ink: #061616;
  --teaser-teal: #0d6b6b;
  --teaser-teal-soft: #1aa0a0;
  --teaser-gold: #e6b422;
  --teaser-gold-bright: #ffd24d;
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 2.5rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(4, 20, 20, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #041212;
}
.lf-teaser__stage {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(26, 160, 160, 0.4), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(230, 180, 34, 0.22), transparent 45%),
    linear-gradient(160deg, #062222 0%, #0a3a3a 42%, #041616 100%);
}
@supports (aspect-ratio: 16 / 9) {
  .lf-teaser__stage {
    height: auto;
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }
}
.lf-teaser__stage-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lf-teaser__bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  animation: teaserMeshDrift 22s linear infinite;
  pointer-events: none;
}
.lf-teaser__shaft {
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 14%;
  width: min(118px, 22%);
  transform: translateX(-50%);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.lf-teaser__shaft::before,
.lf-teaser__shaft::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 210, 77, 0.55) 0 10px,
    transparent 10px 22px
  );
  opacity: 0.55;
}
.lf-teaser__shaft::before { left: 10px; }
.lf-teaser__shaft::after { right: 10px; }
.lf-teaser__cabin {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 58%;
  height: 22%;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 40%),
    linear-gradient(145deg, #1aa0a0, #0d6b6b 55%, #094949);
  border: 1px solid rgba(255, 210, 77, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 24px rgba(26, 160, 160, 0.35);
  animation: teaserCabinRide 8s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
}
.lf-teaser__cabin-glow {
  position: absolute;
  inset: -30% -40%;
  background: radial-gradient(circle, rgba(255, 210, 77, 0.35), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.lf-teaser__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.lf-teaser__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd24d;
  opacity: 0.45;
  animation: teaserFloat 6s ease-in-out infinite;
}
.lf-teaser__hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.lf-teaser__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255, 210, 77, 0.55);
  opacity: 0.75;
}
.lf-teaser__corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.lf-teaser__corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.lf-teaser__corner--bl { bottom: 52px; left: 14px; border-right: 0; border-top: 0; }
.lf-teaser__corner--br { bottom: 52px; right: 14px; border-left: 0; border-top: 0; }
.lf-teaser__scenes {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 3.6rem;
  text-align: center;
  pointer-events: none;
}
.lf-teaser__scene {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(520px, 92%);
  transform: translate(-50%, -42%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}
.lf-teaser__scene.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2;
}
.lf-teaser__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd24d !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.lf-teaser__title {
  margin: 0 0 0.55rem;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}
.lf-teaser__title .brand {
  display: inline-block;
  color: #ffd24d !important;
  -webkit-text-fill-color: #ffd24d;
  background: none;
}
.lf-teaser__line {
  margin: 0 auto;
  max-width: 34ch;
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.lf-teaser__metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}
.lf-teaser__metric {
  min-width: 5.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  background: rgba(4, 22, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lf-teaser__metric strong {
  display: block;
  font-size: 1.05rem;
  color: #ffd24d !important;
  font-weight: 700;
  line-height: 1.1;
}
.lf-teaser__metric span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75) !important;
}
.lf-teaser__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(2, 12, 12, 0.88));
  pointer-events: auto;
}
.lf-teaser__play {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 77, 0.5);
  background: rgba(13, 107, 107, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lf-teaser__progress {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.lf-teaser__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1aa0a0, #ffd24d);
}
.lf-teaser__time {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.8) !important;
  min-width: 3.6rem;
  text-align: end;
}
.lf-teaser.is-paused .lf-teaser__cabin,
.lf-teaser.is-paused .lf-teaser__bg-mesh,
.lf-teaser.is-paused .lf-teaser__dot {
  animation-play-state: paused;
}
.lf-about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.25rem;
}
.lf-about-point {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lf-about-point h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
  color: #fff !important;
}
.lf-about-point p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88) !important;
}
.lf-about-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
@keyframes teaserCabinRide {
  0% { top: 68%; }
  45% { top: 12%; }
  55% { top: 12%; }
  100% { top: 68%; }
}
@keyframes teaserMeshDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}
@keyframes teaserFloat {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-18px); opacity: 0.8; }
}
@media (max-width: 900px) {
  .lf-about-points { grid-template-columns: 1fr; }
  .lf-teaser__stage { min-height: 300px; }
}
@media (max-width: 560px) {
  .lf-teaser { border-radius: 16px; margin-bottom: 1.75rem; }
  .lf-teaser__shaft { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-teaser__cabin,
  .lf-teaser__bg-mesh,
  .lf-teaser__dot { animation: none !important; }
  .lf-teaser__cabin { top: 36%; }
}

/* Blog cards — kept in styles.css so listing looks styled even if blog.css fails to load */
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(13, 107, 107, 0.14);
  box-shadow: 0 10px 28px rgba(14, 36, 36, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 107, 107, 0.32);
  box-shadow: 0 18px 36px rgba(13, 107, 107, 0.14);
}
.blog-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 280px;
}
.blog-card__media {
  display: block;
  position: relative;
  min-height: 160px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(26, 160, 160, 0.45), transparent 55%),
    linear-gradient(145deg, #0d6b6b, #094949 55%, #062828);
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card--featured .blog-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: inherit;
}
.blog-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #1aa0a0, #0d6b6b);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 210, 77, 0.35);
}
.blog-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card--featured .blog-card__body {
  justify-content: center;
  padding: 1.6rem 1.75rem;
}
.blog-card__meta {
  font-size: 0.78rem;
  color: var(--lf-muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.blog-card__chip {
  display: inline-block;
  margin-inline-start: 0.15rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(13, 107, 107, 0.1);
  color: var(--lf-teal-deep);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  font-weight: 600;
}
.blog-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.blog-card--featured .blog-card__title {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}
.blog-card__title a {
  color: var(--lf-ink);
  text-decoration: none;
}
.blog-card__title a:hover {
  color: var(--lf-teal);
  text-decoration: none;
}
.blog-card__excerpt {
  color: var(--lf-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card--featured .blog-card__excerpt {
  -webkit-line-clamp: 4;
  font-size: 0.98rem;
}
.blog-card__link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--lf-teal);
  text-decoration: none;
  margin-top: auto;
}
.blog-card__link:hover { color: var(--lf-teal-deep); }
.blog-search-card .blog-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}
.blog-search .form-control {
  flex: 1 1 14rem;
  min-height: 2.75rem;
  border-radius: 12px;
}
.blog-related__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.blog-related__card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 107, 107, 0.28);
  box-shadow: 0 14px 30px rgba(13, 107, 107, 0.1);
  color: inherit;
}
.blog-related__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--lf-teal), var(--lf-teal-deep));
}
.blog-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

