/* UnlockBase-inspired public theme refresh. Uses local assets and existing routes only. */
:root {
  --ub-blue: #2563eb;
  --ub-blue-dark: #1d4ed8;
  --ub-green: #38a83f;
  --ub-green-dark: #23832a;
  --ub-cyan: #20c7d9;
  --ub-yellow: #f4ad16;
  --ub-ink: #111827;
  --ub-navy: #101624;
  --ub-muted: #64748b;
  --ub-line: #d7e2ef;
  --ub-soft: #eef5fb;
}

html,
body {
  background: #f3f7fb;
  color: var(--ub-ink);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

#header {
  position: relative;
  z-index: 20;
}

#header .header-body {
  background: rgba(12, 18, 31, .96);
  border: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

#header .header-top.header-top-secondary.header-top-style-3 {
  min-height: 50px;
  margin: 0;
  padding: 0;
  background: rgba(8, 13, 22, .92) !important;
  border: 0;
}

#header .header-top > .container {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 22px;
}

#header .ub-top-home,
#header .ub-top-actions,
#header .header-search {
  display: flex;
  align-items: center;
  gap: 0;
}

#header .ub-top-home a,
#header .ub-top-actions a,
#header .header-search .nav > li > a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-left: 1px solid rgba(255, 255, 255, .08);
  color: #f8fafc !important;
  font-weight: 700;
  text-decoration: none;
}

#header .ub-top-home a:first-child {
  color: #69a8ff !important;
}

#header .ub-top-actions {
  margin-left: auto;
}

#header .ub-top-actions i {
  margin-right: 7px;
  color: #d8e5f7;
}

#header .ub-login-action {
  background: var(--ub-green);
  border-left: 0 !important;
}

#header .ub-login-action:hover,
#header .ub-login-action:focus {
  background: var(--ub-green-dark);
  color: #fff !important;
}

#header .header-top p {
  margin: 0;
  padding: 0 !important;
  color: #f8fafc;
  font-size: 14px;
  white-space: nowrap;
}

#header .header-top p a {
  color: #f8fafc !important;
  text-decoration: none;
}

#header .header-search {
  float: none;
  margin: 0;
}

#header .header-search .nav {
  margin: 0;
}

#header .header-search .dropdown-menu {
  background: #141b2b;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0 0 6px 6px;
  padding: 8px;
}

#header .header-search .dropdown-menu > li > a {
  color: #fff !important;
  border-radius: 4px;
}

#header .header-container {
  min-height: 126px;
  padding-top: 0;
  padding-bottom: 0;
}

#header .header-row {
  min-height: 126px;
}

#header .header-logo img {
  max-height: 82px;
  max-width: 330px;
}

#header .header-logo a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

#header .header-nav-main nav > ul > li > a {
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
}

#header .header-nav-main nav > ul > li.active > a,
#header .header-nav-main nav > ul > li:hover > a,
#header .header-nav-main nav > ul > li.open > a {
  background: var(--ub-blue) !important;
  color: #fff !important;
  border-radius: 4px;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
  background: #fff;
  border-top: 3px solid var(--ub-green) !important;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, .18);
}

#header .header-btn-collapse-nav {
  border-radius: 4px;
}

.uw-home {
  background: #f3f7fb;
}

.ub-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #101624;
  color: #fff;
}

.ub-hero::before {
  content: "";
  position: absolute;
  inset: -14px;
  background-image: var(--ub-hero-image);
  background-size: cover;
  background-position: center center;
  filter: blur(4px);
  opacity: .74;
  transform: scale(1.03);
}

.ub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, .78) 0%, rgba(12, 18, 31, .58) 48%, rgba(12, 18, 31, .68) 100%),
    linear-gradient(180deg, rgba(4, 8, 14, .44) 0%, rgba(4, 8, 14, .10) 42%, rgba(4, 8, 14, .56) 100%);
}

.ub-hero-layer {
  position: relative;
  z-index: 2;
  padding: 58px 0 68px;
}

.ub-hero-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: 52px;
  min-width: 0;
}

.ub-phone-card {
  position: relative;
  width: 318px;
  min-height: 638px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 48px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(191, 203, 216, .82) 44%, rgba(34, 45, 58, .96) 45%, rgba(8, 13, 22, .98)),
    #101624;
  box-shadow:
    0 34px 74px rgba(0, 0, 0, .54),
    inset 0 1px 0 rgba(255, 255, 255, .88),
    inset 0 -1px 0 rgba(0, 0, 0, .62);
}

.ub-phone-card::before,
.ub-phone-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(229, 231, 235, .90), rgba(89, 102, 118, .96));
  box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}

.ub-phone-card::before {
  left: -5px;
  top: 126px;
  height: 76px;
}

.ub-phone-card::after {
  right: -5px;
  top: 156px;
  height: 112px;
}

.ub-phone-notch {
  position: absolute;
  z-index: 4;
  top: 31px;
  left: 50%;
  width: 96px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 74% 50%, #1f2937 0 5px, #05070b 6px 100%),
    #05070b;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .10), 0 6px 12px rgba(0, 0, 0, .28);
}

.ub-phone-screen {
  position: relative;
  z-index: 1;
  min-height: 602px;
  padding: 68px 18px 46px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 36px;
  background:
    radial-gradient(circle at 82% 8%, rgba(56, 168, 63, .34), transparent 18%),
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, .32), transparent 28%),
    linear-gradient(160deg, rgba(15, 23, 42, .96), rgba(31, 65, 96, .92) 58%, rgba(8, 13, 22, .96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    inset 0 18px 42px rgba(255, 255, 255, .06),
    inset 0 -30px 54px rgba(0, 0, 0, .24);
}

.ub-phone-screen::before {
  content: "9:41";
  position: absolute;
  top: 18px;
  left: 24px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ub-phone-screen::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 104px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 0 16px rgba(255, 255, 255, .24);
}

.ub-phone-screen h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.ub-phone-screen .form-control {
  height: 46px;
  margin-bottom: 11px;
  border: 0;
  border-radius: 8px;
  color: #334155;
  font-size: 15px;
  box-shadow: none;
}

.ub-unlock-button,
.ub-phone-login a,
.ub-tour-link,
.ub-primary-cta,
.ub-secondary-cta {
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.ub-unlock-button {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
  border: 0;
  background: var(--ub-blue);
  color: #fff;
  font-size: 20px;
}

.ub-unlock-button i {
  margin-right: 8px;
}

.ub-unlock-button:hover,
.ub-unlock-button:focus {
  background: var(--ub-blue-dark);
}

.ub-phone-login {
  margin-top: 16px;
  text-align: center;
}

.ub-phone-login span {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}

.ub-phone-login a,
.ub-tour-link {
  display: block;
  padding: 15px 18px;
  color: #fff !important;
}

.ub-phone-login a {
  background: var(--ub-green);
  font-size: 20px;
}

.ub-phone-login a:hover,
.ub-phone-login a:focus {
  background: var(--ub-green-dark);
}

.ub-tour-link {
  margin-top: 12px;
  background: rgba(96, 165, 250, .82);
  font-size: 19px;
  text-align: center;
}

.ub-tour-link:hover,
.ub-tour-link:focus {
  background: rgba(37, 99, 235, .95);
  color: #fff !important;
}

.ub-hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 900px;
  padding-top: 24px;
}

.ub-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 120px;
}

.ub-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .88);
  color: #1f2937;
  font-weight: 800;
}

.ub-trust-row i {
  color: var(--ub-green);
}

.ub-hero-kicker {
  margin: 0 0 12px;
  color: #fff;
  font-size: 25px;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.ub-hero-copy h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .42);
  overflow-wrap: break-word;
}

.ub-hero-copy h1 span {
  color: var(--ub-green);
}

.ub-hero-copy h1 small {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 45px;
  line-height: 1.15;
  font-weight: 800;
}

.ub-hero-text {
  max-width: 760px;
  margin: 28px 0 22px;
  color: #f8fafc;
  font-size: 22px;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .32);
}

.ub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 24px;
}

.ub-primary-cta,
.ub-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: #fff !important;
}

.ub-primary-cta {
  background: var(--ub-blue);
}

.ub-primary-cta:hover,
.ub-primary-cta:focus {
  background: var(--ub-blue-dark);
  color: #fff !important;
}

.ub-secondary-cta {
  background: var(--ub-green);
}

.ub-secondary-cta:hover,
.ub-secondary-cta:focus {
  background: var(--ub-green-dark);
  color: #fff !important;
}

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

.ub-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .58);
  color: #fff;
  font-size: 16px;
}

.ub-hero-stats strong {
  color: var(--ub-yellow);
}

.ub-floating-social {
  position: fixed;
  top: 42%;
  right: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ub-floating-social li {
  margin: 0 !important;
}

.ub-floating-social a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .92);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .24);
}

.ub-floating-social a:hover,
.ub-floating-social a:focus {
  transform: translateY(-2px);
  background: var(--ub-green);
}

#why-unlock {
  margin: 0;
  padding: 58px 0 34px;
  background: #f6f9fd;
  border-top: 1px solid rgba(215, 226, 239, .9);
}

#why-unlock .feature-box {
  min-height: 132px;
  padding: 18px 16px;
  border: 1px solid var(--ub-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

#why-unlock .feature-box h4 {
  color: var(--ub-ink);
  font-weight: 800;
}

#why-unlock .feature-box p {
  color: #526174;
}

.retail-services,
.section-default,
.recent-posts {
  background: #fff;
}

#footer {
  margin-top: 0;
  background: #101624;
  border-top: 0;
  color: #dbe7f5;
}

#footer h4,
#footer .contact-details strong {
  color: #fff;
}

#footer a,
#footer p,
#footer li {
  color: #dbe7f5;
}

#footer .footer-ribbon {
  border-radius: 0 0 4px 4px;
}

#footer .footer-copyright {
  background: #080d16;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 1199px) {
  #header .header-top > .container {
    gap: 10px;
  }

  #header .ub-top-actions a,
  #header .ub-top-home a,
  #header .header-search .nav > li > a {
    padding: 0 10px;
  }

  .ub-hero-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
  }

  .ub-trust-row {
    margin-bottom: 80px;
  }

  .ub-hero-copy h1 {
    font-size: 48px;
  }

  .ub-hero-copy h1 small {
    font-size: 38px;
  }
}

@media (max-width: 991px) {
  #header .header-top > .container {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #header .ub-top-actions {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    flex-wrap: wrap;
  }

  #header .ub-top-actions a,
  #header .ub-top-home a,
  #header .header-search .nav > li > a {
    min-height: 38px;
  }

  #header .header-container,
  #header .header-row {
    min-height: 92px;
  }

  #header .header-logo img {
    max-height: 64px;
    max-width: 250px;
  }

  .ub-hero {
    min-height: auto;
  }

  .ub-hero-grid {
    grid-template-columns: 1fr;
  }

  .ub-phone-card {
    order: 2;
    width: 292px;
    min-height: 584px;
  }

  .ub-phone-screen {
    min-height: 548px;
    padding: 64px 16px 44px;
  }

  .ub-hero-copy {
    order: 1;
    text-align: center;
    margin: 0 auto;
    padding-top: 0;
    max-width: 100%;
  }

  .ub-trust-row,
  .ub-hero-actions,
  .ub-hero-stats {
    justify-content: center;
  }

  .ub-trust-row {
    margin-bottom: 34px;
  }

  .ub-hero-copy h1 {
    font-size: 42px;
  }

  .ub-hero-copy h1 small {
    font-size: 32px;
  }

  .ub-floating-social {
    display: none;
  }
}

@media (max-width: 767px) {
  #header .header-top > .container,
  .ub-hero .container {
    width: 100% !important;
    max-width: 100%;
  }

  #header .header-top {
    padding: 16px 0;
  }

  #header .header-top > .container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  #header .ub-top-home {
    display: flex;
    justify-content: center;
    order: 1;
    width: 100%;
  }

  #header .ub-top-home a {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    flex: 1 1 0;
    max-width: 160px;
    padding: 10px 12px;
    text-align: center;
  }

  #header .header-top p {
    margin: 0;
    order: 2;
    padding-top: 0 !important;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #header .ub-top-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    order: 3;
    width: 100%;
  }

  #header .ub-top-actions a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    min-height: 46px;
    width: 100%;
  }

  #header .ub-top-actions .ub-login-action {
    background: var(--ub-green);
    border-color: var(--ub-green);
  }

  #header .header-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  #header .header-container,
  #header .header-row {
    min-height: 108px;
  }

  #header .header-logo {
    max-width: calc(100vw - 122px);
  }

  #header .header-logo a {
    box-shadow: none;
    padding: 10px;
  }

  #header .header-logo img {
    height: auto;
    max-height: 66px;
    max-width: 100%;
  }

  #header .header-btn-collapse-nav {
    align-items: center;
    background: var(--ub-blue) !important;
    border: 0;
    border-radius: 8px;
    color: #ffffff !important;
    display: flex;
    height: 54px;
    justify-content: center;
    margin: 0;
    width: 54px;
  }

  #header .header-nav-main {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
    clear: both;
    margin-top: 8px;
    overflow: hidden;
    padding: 8px;
    position: absolute;
    right: 18px;
    top: 92px;
    width: calc(100vw - 36px);
    z-index: 1006;
  }

  #header .header-nav-main.collapse {
    display: none !important;
  }

  #header .header-nav-main.collapse.in {
    display: block !important;
  }

  #header .header-nav-main nav > ul {
    display: block;
    margin: 0;
    padding: 0;
  }

  #header .header-nav-main nav > ul > li {
    display: block;
    float: none;
    margin: 0 0 6px;
    width: 100%;
  }

  #header .header-nav-main nav > ul > li > a {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 7px !important;
    color: #ffffff !important;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    min-height: 46px;
    padding: 14px 16px !important;
    text-shadow: none;
    width: 100%;
  }

  #header .header-nav-main nav > ul > li.active > a,
  #header .header-nav-main nav > ul > li.open > a,
  #header .header-nav-main nav > ul > li > a:hover {
    background: var(--ub-blue) !important;
    color: #ffffff !important;
  }

  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 7px !important;
    box-shadow: none;
    float: none;
    margin: 6px 0 0;
    padding: 6px;
    position: static;
    width: 100%;
  }

  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu > li > a {
    border-radius: 6px;
    color: #263244 !important;
    padding: 11px 12px;
  }

  .ub-hero-layer {
    padding: 38px 0 46px;
  }

  .ub-hero-copy h1 {
    font-size: 34px;
    max-width: 100%;
  }

  .ub-hero-copy h1 small {
    font-size: 26px;
  }

  .ub-hero-kicker {
    font-size: 20px;
  }

  .ub-hero-text {
    font-size: 18px;
    max-width: 100%;
  }

  .ub-primary-cta,
  .ub-secondary-cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  #header .header-top p {
    font-size: 13px;
    line-height: 1.45;
  }

  #header .header-top p span {
    display: block;
  }

  #header .ub-top-actions a {
    flex: 1 1 100%;
    justify-content: center;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .ub-trust-row span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ub-hero-copy {
    max-width: 330px;
    padding-left: 0;
    padding-right: 0;
  }

  .ub-hero-copy h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .ub-hero-copy h1 small {
    font-size: 22px;
  }
}

@media (max-width: 479px) {
  #header .ub-top-home,
  #header .header-search,
  #header .ub-top-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  #header .ub-top-actions a {
    flex: 1 1 100%;
    justify-content: center;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  #header .header-logo a {
    padding: 8px 10px;
  }

  #header .header-logo img {
    max-width: 238px;
  }

  .ub-trust-row span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ub-hero-copy {
    max-width: 330px;
  }

  .ub-hero-copy h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .ub-hero-copy h1 small {
    font-size: 22px;
  }

  .ub-phone-card {
    width: 100%;
    max-width: 292px;
    min-height: 570px;
    padding: 16px;
  }

  .ub-phone-screen {
    min-height: 536px;
    padding: 62px 15px 42px;
  }

  .ub-phone-screen h2 {
    font-size: 26px;
  }
}
