:root {
  --giftkod-font-sans: "Segoe UI", "Inter", "Roboto", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --bs-font-sans-serif: var(--giftkod-font-sans);
}

html,
body {
  font-family: var(--giftkod-font-sans);
}

.flash-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1200;
  width: min(480px, calc(100vw - 2rem));
}

.flash-toast {
  margin-bottom: 0.75rem;
  box-shadow: 0 0.25rem 1rem rgba(67, 89, 113, 0.2);
}

.public-hero-card {
  border: 0;
  box-shadow: 0 0.5rem 1.5rem rgba(67, 89, 113, 0.12);
  border-radius: 1.35rem;
}

.landing-hero-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 300px at -10% -30%, rgba(105, 108, 255, 0.28), transparent 60%),
    radial-gradient(900px 320px at 115% -10%, rgba(0, 189, 255, 0.22), transparent 60%),
    linear-gradient(140deg, rgba(105, 108, 255, 0.08), rgba(0, 189, 255, 0.06) 45%, rgba(255, 255, 255, 0.92));
}

.public-layout .layout-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(255, 255, 255, 0.9) !important;
}

.public-layout nav.layout-navbar::before {
  pointer-events: none;
}

.public-layout .layout-navbar > .container-xxl {
  position: relative;
  z-index: 1;
}

.theme-switcher .dropdown-menu {
  min-width: 11rem;
}

.theme-switcher [data-theme-option].active {
  background: rgba(105, 108, 255, 0.14);
  color: #696cff;
}

.public-main {
  padding-top: 5.7rem !important;
}

.public-main-home {
  padding-top: 4.7rem !important;
}

.public-main .section-py {
  padding-block: 2.25rem;
}

.landing-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  font-weight: 700;
  color: #2f2b3d;
}

.landing-subtitle {
  color: #646e78;
  font-size: 1rem;
  max-width: 60ch;
}

.landing-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(105, 108, 255, 0.1);
  color: #4a4ebe;
}

.landing-hero-stack {
  display: grid;
  gap: 0.9rem;
}

.landing-hero-panel {
  border-radius: 1rem;
  border: 1px solid rgba(67, 89, 113, 0.16);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  box-shadow: 0 0.45rem 1rem rgba(67, 89, 113, 0.09);
  padding: 1rem;
}

.landing-hero-panel__title {
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 700;
  color: #2f2b3d;
  margin-bottom: 1rem;
}

.landing-hero-panel__subtitle {
  color: #6f7588;
  font-size: 0.88rem;
  margin-bottom: 0.7rem;
}

.landing-hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #596076;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.landing-hero-bullets li:last-child {
  margin-bottom: 0;
}

.landing-hero-bullets .icon-base {
  color: #696cff;
  margin-top: 0.08rem;
  flex: 0 0 auto;
}

.landing-mini-row {
  padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(67, 89, 113, 0.16);
}

.landing-mini-row:last-child {
  border-bottom: 0;
}

.landing-kpi {
  border-radius: 1rem;
  border: 1px solid rgba(67, 89, 113, 0.16);
  background: #fff;
  padding: 0.85rem;
  box-shadow: 0 0.35rem 0.8rem rgba(67, 89, 113, 0.08);
}

.landing-kpi__label {
  color: #7a8793;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.landing-kpi__value {
  color: #2f2b3d;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.landing-stat-card {
  border: 1px solid rgba(67, 89, 113, 0.16);
  border-radius: 1rem;
  box-shadow: 0 0.4rem 0.9rem rgba(67, 89, 113, 0.07);
}

.landing-card-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-card-icon img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
}

.landing-feature-card {
  border: 1px solid rgba(67, 89, 113, 0.16);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.45rem 1rem rgba(67, 89, 113, 0.07);
  text-align: center;
}

.landing-feature-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #696cff;
  background: rgba(105, 108, 255, 0.12);
  margin: 0 auto;
}

.landing-feature-icon img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.landing-step {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.95rem;
}

.landing-step__num {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.14);
  color: #4a4ebe;
  font-weight: 700;
  font-size: 0.82rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.landing-provider-card {
  border-radius: 0.95rem;
  border: 1px solid rgba(67, 89, 113, 0.16);
  background: #fff;
  padding: 0.75rem;
}

.landing-checklist {
  list-style: none;
  padding: 0;
}

.landing-checklist li {
  margin-bottom: 0.45rem;
  color: #646e78;
}

.landing-checklist li:last-child {
  margin-bottom: 0;
}

.landing-cta-card {
  border: 1px solid rgba(67, 89, 113, 0.16);
  background: linear-gradient(165deg, rgba(105, 108, 255, 0.08), rgba(40, 199, 111, 0.08));
}

.landing-review-card {
  border: 1px solid rgba(67, 89, 113, 0.16);
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.45rem 1rem rgba(67, 89, 113, 0.07);
}

.landing-review-logo {
  height: 1.35rem;
  width: auto;
  object-fit: contain;
}

.landing-review-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a4ebe;
  background: rgba(105, 108, 255, 0.16);
}

.landing-reviews {
  border-radius: 1.35rem;
  background:
    radial-gradient(1200px 240px at -15% -30%, rgba(105, 108, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.landing-faq,
.landing-contact {
  border-radius: 1.35rem;
}

.landing-footer-simple .footer-link {
  color: #566a7f;
  text-decoration: none;
}

.landing-footer-simple .card {
  border-radius: 1.1rem;
  box-shadow: 0 0.5rem 1.3rem rgba(67, 89, 113, 0.08);
}

.landing-footer-simple .footer-link:hover {
  color: #696cff;
}

.landing-footer-copyright {
  border-color: rgba(67, 89, 113, 0.14) !important;
}

.landing-contact-illustration {
  width: min(100%, 340px);
  display: block;
}

html[data-bs-theme="dark"] .public-layout .layout-navbar {
  background: rgba(38, 40, 56, 0.9) !important;
  border-color: rgba(120, 125, 163, 0.3) !important;
}

html[data-bs-theme="dark"] .public-layout .layout-navbar .navbar-brand,
html[data-bs-theme="dark"] .public-layout .layout-navbar .navbar-brand span,
html[data-bs-theme="dark"] .public-layout .layout-navbar .navbar-toggler,
html[data-bs-theme="dark"] .public-layout .layout-navbar .nav-link,
html[data-bs-theme="dark"] .public-layout .layout-navbar [data-theme-current] {
  color: #eef1ff !important;
}

html[data-bs-theme="dark"] .public-layout .layout-navbar .nav-link:hover,
html[data-bs-theme="dark"] .public-layout .layout-navbar .nav-link.active {
  color: #bfc5ff !important;
}

html[data-bs-theme="dark"] .public-layout .layout-navbar .text-body-secondary {
  color: #b8bdd8 !important;
}

html[data-bs-theme="dark"] .public-layout .btn-outline-light {
  --bs-btn-color: #eef2ff;
  --bs-btn-border-color: rgba(201, 210, 240, 0.78);
  --bs-btn-hover-color: #f7f9ff;
  --bs-btn-hover-bg: rgba(201, 210, 240, 0.22);
  --bs-btn-hover-border-color: rgba(216, 224, 248, 0.95);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(201, 210, 240, 0.3);
  --bs-btn-active-border-color: #eef2ff;
  --bs-btn-disabled-color: #95a0be;
  --bs-btn-disabled-border-color: rgba(149, 160, 190, 0.45);
  --bs-btn-focus-shadow-rgb: 238, 242, 255;
  background-color: rgba(185, 197, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

html[data-bs-theme="dark"] .public-layout .alert.alert-secondary {
  --bs-alert-color: #eef2ff;
  --bs-alert-bg: rgba(171, 182, 214, 0.18);
  --bs-alert-border-color: rgba(190, 201, 237, 0.34);
  color: #eef2ff;
}

html[data-bs-theme="dark"] .public-layout .alert.alert-secondary .text-muted,
html[data-bs-theme="dark"] .public-layout .alert.alert-secondary .form-text {
  color: rgba(238, 242, 255, 0.86) !important;
}

html[data-bs-theme="dark"] .landing-hero-card {
  background:
    radial-gradient(1200px 300px at -10% -30%, rgba(105, 108, 255, 0.24), transparent 60%),
    radial-gradient(900px 320px at 115% -10%, rgba(0, 189, 255, 0.18), transparent 60%),
    linear-gradient(145deg, rgba(40, 43, 63, 0.96), rgba(32, 35, 51, 0.97));
}

html[data-bs-theme="dark"] .landing-title {
  color: #f1f2ff;
}

html[data-bs-theme="dark"] .landing-subtitle,
html[data-bs-theme="dark"] .landing-checklist li,
html[data-bs-theme="dark"] .landing-kpi__label,
html[data-bs-theme="dark"] .landing-footer-simple .footer-link {
  color: #b8bdd8;
}

html[data-bs-theme="dark"] .landing-reviews {
  background:
    radial-gradient(1200px 240px at -15% -30%, rgba(120, 126, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(42, 45, 65, 0.6), rgba(42, 45, 65, 0));
}

html[data-bs-theme="dark"] .landing-hero-panel {
  background: rgba(42, 45, 65, 0.9);
  border-color: rgba(120, 125, 163, 0.26);
  box-shadow: 0 0.55rem 1.25rem rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .landing-hero-panel__title {
  color: #f1f2ff;
}

html[data-bs-theme="dark"] .landing-hero-panel__subtitle,
html[data-bs-theme="dark"] .landing-hero-bullets li {
  color: #b8bdd8;
}

html[data-bs-theme="dark"] .landing-kpi,
html[data-bs-theme="dark"] .landing-stat-card,
html[data-bs-theme="dark"] .landing-feature-card,
html[data-bs-theme="dark"] .landing-provider-card,
html[data-bs-theme="dark"] .landing-review-card,
html[data-bs-theme="dark"] .landing-footer-simple .card {
  background: #2a2d41;
  border-color: rgba(120, 125, 163, 0.26);
  box-shadow: 0 0.55rem 1.25rem rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .landing-kpi__value,
html[data-bs-theme="dark"] .landing-feature-card h6,
html[data-bs-theme="dark"] .landing-review-card .fw-semibold {
  color: #f1f2ff;
}

html[data-bs-theme="dark"] .landing-contact .contact-img-box {
  background: rgba(42, 45, 65, 0.9);
  border-color: rgba(120, 125, 163, 0.26) !important;
}

html[data-bs-theme="dark"] .landing-contact .card {
  background: #2a2d41;
  border-color: rgba(120, 125, 163, 0.26);
}

html[data-bs-theme="dark"] .landing-chip {
  background: rgba(129, 132, 255, 0.28);
  color: #e2e4ff;
}

html[data-bs-theme="dark"] .theme-switcher [data-theme-option].active {
  background: rgba(105, 108, 255, 0.22);
  color: #d1d2ff;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 767px) {
  .public-main {
    padding-top: 6.2rem !important;
  }

  .public-main-home {
    padding-top: 4.7rem !important;
  }

  .public-main .section-py {
    padding-block: 1.6rem;
  }

  .landing-chip {
    width: 100%;
    justify-content: center;
  }

  .landing-hero-panel {
    padding: 0.9rem;
  }
}
