:root {
  --primary_color: #4C7FFF;
  --secondary_color: #22C55E;
  --footer_background_color: #F6F8FA;
  --background_color: #f9f9f9;
  --border-radius: 20px;
  --text_color: #212121;
  --text-muted: #666;
  --elements-bg: #eee;
  --primary-opacity: rgba(76, 127, 255, 0.1);
  --card-bg: #fff;
  --active-bg: #e7f0fe;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background_color);
    color: var(--text_color);
}

h1,h2,h3{
        font-family: Clash Display, sans-serif;
        font-weight: 700;
}

a {
  color: var(--primary_color);
  transition: 0.3s;
  text-decoration: none;
}

a:hover {
  color: var(--primary_color);
  opacity: 0.8;
}

.card {
  border: 0;
  box-shadow: 0 2px 2px #6585d70f, 0 .5px .5px #234d9e0f;
  border-radius: var(--border-radius, 20px);
}

.btn {
  border-radius: 6px;
  font-weight: 500;
  color: var(--text_color);
  transform-style: preserve-3d;
  box-shadow: none !important;
  transition: 0.3s;
}

.btn:hover {
  transform: scale3d(.94, .94, 1.01);
}

.btn-primary {
  background-color: var(--primary_color) !important;
  border-color: var(--primary_color) !important;
  color: #fff;
}

.btn-secondary {
  background-color: var(--secondary_color) !important;
  border-color: var(--secondary_color) !important;
  color: #fff;

}

.btn-outline-secondary {
        padding: 11px 24px;
  border-color: var(--secondary_color) !important;
  color: var(--secondary_color) !important;
}


.btn-outline-secondary:hover {
background-color: var(--secondary_color) !important;
  border-color: var(--secondary_color) !important;
  color: #fff !important;
}

.btn-danger {
  color: #fff;
}

.btn-light-custom {
  border-color: #dce0ea;
}

.form-number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.form-number .form-select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  height: auto;
}
.form-number .form-select:focus {
  border-color: #ced4da;
}
.form-number .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-control {
  background-color: #fff !important;
  color: var(--text_color) !important;
  border-color: #eee;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border-radius: 6px;
}
.form-control.form-control-md {
  padding-top: 6px;
}
.form-control:focus {
  border-color: var(--primary_color);
}

.form-select {
  background-color: #fff !important;
  color: var(--text_color);
  border-color: #eee;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border-radius: 6px;
}
.form-select.form-select-md {
  padding-top: 10.75px;
  padding-bottom: 10.75px;
}
.form-select:focus {
  border-color: var(--primary_color);
}

.form-check-input {
  background-color: #fff;
  border-color: #eee;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.form-check-input:checked {
  background-color: var(--primary_color);
  border-color: var(--primary_color);
}

.form-switch .form-check-input {
  cursor: pointer;
}
.form-switch .form-check-input:not(:checked):focus {
  border-color: #888;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23888'/%3e%3c/svg%3e");
}

.nav {
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  top: 0;
  left: 0;
  height: 72px;
  padding: 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.36) 0%, transparent 100%);
  backdrop-filter: blur(12px);
}

.nav.sticky {
  position: sticky;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.nav .nav-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.nav .nav-inner .logo {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.nav .nav-inner .nav-actions-sm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: auto;
}
@media (min-width: 1200px) {
  .nav .nav-inner .nav-actions-sm {
    display: none;
  }
}
.nav .nav-inner .nav-menu-button {
  color: var(--text_color);
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  cursor: pointer;
}
.nav .nav-inner .nav-menu-button:hover {
  opacity: .8;
}
.nav .nav-inner .nav-menu {
  width: 100%;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1040;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    visibility: hidden;
    opacity: 0;
  }
}
.nav .nav-inner .nav-menu .overlay {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(17, 17, 26, 0.25);
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .overlay {
    display: block;
  }
}
.nav .nav-inner .nav-menu .nav-menu-close {
  cursor: pointer;
  color: var(--text_color);
}
.nav .nav-inner .nav-menu .nav-menu-close i {
  font-size: 18px;
}
.nav .nav-inner .nav-menu .nav-menu-close:hover {
  opacity: .8;
}
.nav .nav-inner .nav-menu .nav-menu-scroller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: visible !important;
  height: 70px;
}
.nav .nav-inner .nav-menu .nav-menu-scroller .ps__rail-x, .nav .nav-inner .nav-menu .nav-menu-scroller .ps__rail-y {
  display: none !important;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-menu-scroller {
    display: block;
    position: absolute;
    width: 300px;
    top: 0;
    right: -300px;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    overflow: hidden !important;
  }
  .nav .nav-inner .nav-menu .nav-menu-scroller .ps__rail-x, .nav .nav-inner .nav-menu .nav-menu-scroller .ps__rail-y {
    display: block !important;
  }
}
.nav .nav-inner .nav-menu .nav-menu-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-menu-body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }
}
.nav .nav-inner .nav-menu .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: auto;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-links {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin-left: 0;
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-link {
  position: relative;
  padding: 6px 14px;
  font-size: 0.95rem;
  color: var(--text_color);
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
@media (min-width: 1200px) {
  .nav:not(.nav-sticky) .nav-inner .nav-menu .nav-links .nav-link {
    color: #fff;
  }
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-links .nav-link {
    margin-bottom: 10px;
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-link:not(:last-child) {
  margin-right: 30px;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-links .nav-link:not(:last-child) {
    margin-right: 0;
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-link:hover,
.nav .nav-inner .nav-menu .nav-links .nav-link.active {
  color: var(--primary_color);
  background-color: color-mix(in srgb, var(--primary_color) 10%, transparent);
}
.nav .nav-inner .nav-menu .nav-links .nav-drop {
  position: relative;
  z-index: 1030;
}
@media (min-width: 1200px) {
  .nav:not(.nav-sticky) .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-btn {
    color: #fff;
  }
  .nav:not(.nav-sticky) .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-btn:hover {
    color: var(--primary_color);
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  color: var(--text_color);
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-btn {
    color: #222;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-menu {
  visibility: hidden;
  position: absolute;
  top: 40px;
  left: -10px;
  background-color: #fff;
  min-width: 200px;
  padding: 20px;
  border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  opacity: 0;
  -webkit-transform: perspective(200px) translateZ(-200px);
  transform: perspective(200px) translateZ(-200px);
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-menu {
    display: none;
    position: static;
    left: 0;
    width: 100%;
    margin-bottom: 10px;
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-menu .nav-link {
  color: var(--text_color);
}
.nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-menu .nav-link:not(:last-child) {
  margin-bottom: 10px;
}
.nav .nav-inner .nav-menu .nav-links .nav-drop .nav-drop-menu .nav-link:last-child {
  margin-bottom: 0;
}
.nav .nav-inner .nav-menu .nav-links .nav-drop.active .nav-drop-menu {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-links .nav-drop.active .nav-drop-menu {
    display: block;
  }
}
.nav .nav-inner .nav-menu .nav-links .nav-drop.animated .nav-drop-menu {
  -webkit-transform: perspective(200px) translateZ(0);
  transform: perspective(200px) translateZ(0);
}
.nav .nav-inner .nav-menu .nav-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: 30px;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin-left: 0;
  }
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-actions .btn-outline-light {
    color: #222;
  }
}
.nav .nav-inner .nav-menu .nav-actions > *:not(:last-child) {
  margin-right: 10px;
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu .nav-actions > *:not(:last-child) {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
@media (max-width: 1199.98px) {
  .nav:has(.nav-menu.show) {
    z-index: 1070;
    height: 100vh;
    height: 100dvh;
    align-items: flex-start;
    backdrop-filter: none;
  }
  .nav .nav-inner .nav-menu.show {
    visibility: visible;
    opacity: 1;
  }
}
@media (max-width: 1199.98px) {
  .nav .nav-inner .nav-menu.show .nav-menu-scroller {
    visibility: visible;
    opacity: 1;
    right: 0;
  }
}

.nav:not(.nav-sticky) .language .language-button, .nav:not(.nav-sticky) .nav-menu-button, .nav:not(.nav-sticky) .pin-mailcard-btn {
  color: #fff;
}

.nav:not(.nav-sticky) .nav-inner .nav-menu .nav-actions .btn-outline-secondary {
  border-color: #fff !important;
  color: #fff !important;
}

.nav:not(.nav-sticky) .nav-inner .nav-menu .nav-actions .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.nav.nav-sticky {
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 0;
  background: rgb(255 255 255 / 89%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1030;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav.nav-sticky .language .language-button {
  color: var(--text_color);
}
.nav.nav-sticky .nav-inner .nav-menu-button {
  color: var(--text_color);
}
.nav.nav-sticky .nav-inner .nav-menu .nav-links a {
  color: var(--text_color);
}
.nav.nav-sticky .nav-inner .nav-menu .nav-drop .nav-drop-btn {
  color: var(--text_color);
}
.nav.nav-sticky .nav-inner .nav-menu .nav-actions .btn-outline-light {
  color: var(--text_color);
}

.nav.nav-sticky .nav-inner .nav-menu .nav-actions .btn-outline-secondary {
  border-color: var(--text_color) !important;
  color: var(--text_color) !important;
}

.nav.nav-sticky .nav-inner .nav-menu .nav-actions .btn-outline-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  border-color: var(--text_color) !important;
  color: var(--text_color) !important;
}

.nav .nav-inner .nav-menu .nav-actions .btn {
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  height: 2.25rem;
  min-height: 2.25rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav .nav-inner .nav-menu .nav-actions .btn-outline-secondary {
  border-width: 1px;
}

.header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  color: #fff;
  overflow: clip;
  z-index: 0;
  /* Solid bottom color (matches header bottom) so tall content doesn't stretch bg */
  background-color: #041541;
  /* Gradient overlay blends bg image smoothly into #041541; image limited to 100vh so it doesn't stretch */
  background-image: linear-gradient(180deg, transparent 0%, rgba(4, 21, 65, 0.4) 45%, #041541 75%), url('../img/background.webp');
  background-size: 100% 100vh, 100% 100vh;
  background-repeat: no-repeat;
  background-position: top center, top center;
}

/* --- Pin mailcard button (mobile only) --- */
.pin-mailcard-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}
@media (max-width: 991.98px) {
  .pin-mailcard-btn {
    display: flex;
  }
}
.pin-mailcard-btn.active {
  color: var(--primary_color);
  transform: rotate(45deg);
}

/* --- Pinned mailcard state (mobile) --- */
@media (max-width: 991.98px) {
  body.mailcard-pinned {
    overflow: hidden !important;
    height: 100vh !important;
  }

  body.mailcard-pinned .header {
    min-height: auto !important;
    padding-top: 72px;
  }

  body.mailcard-pinned .header .header-wrapper {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.mailcard-pinned .header .header-wrapper > .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body.mailcard-pinned .mail-card {
    border-radius: 0;
  }

  body.mailcard-pinned .mail-card .mail-sidebar {
    height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
  }

  /* Pinned + reading email: collapse sidebar, show email content */
  body.mailcard-pinned .mail-card.mobile-reading {
    height: calc(100vh - 72px) !important;
  }

  body.mailcard-pinned .mail-card.mobile-reading .mail-sidebar {
    height: auto !important;
    overflow-y: visible !important;
  }

  body.mailcard-pinned .mail-card.mobile-reading .mail-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
  }

  .mailcard-pinned-hidden {
    display: none !important;
  }
}

.header.v2 {
     min-height: unset !important;
}

.header.v2 .header-wrapper {
    padding-top: 120px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 33px;
  text-align: center;
}

.header-text {
  color: #d6e6ff;
  font-size: 16px;
  font-weight: 100;
  line-height: 30px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.header .header-wrapper {
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 80px;
  padding-bottom: 80px;
}

.d-none {
  display: none;
}

.ad.ad-v {
  width: 160px;
  height: 600px;
}
.ad.ad-h {
  max-width: 720px;
  width: 100%;
  height: 90px;
}
.ad img {
  width: 100%;
  height: 100%;
}


.language {
  position: relative;
  z-index: 1030;
}
.language .language-img {
  margin-right: 10px;
}
.language .language-img img {
  width: 16px;
  height: 12px;
}
.language .language-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 5px;
  color: var(--text_color);
  cursor: pointer;
}
.language .language-button i {
  font-size: 20px;
}
.language .language-button .language-icon {
  width: 22px;
  height: 22px;
}
.language .language-menu {
  display: none;
  position: absolute;
  top: 40px;
  right: -5px;
  width: 130px;
  background-color: #FFF;
  z-index: 0;
  max-height: 180px;
  opacity: 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.language .language-menu::before {
  background-color: #fff;
  border-radius: 3px 0 0 0;
  -webkit-box-shadow: -2px -2px 5px rgba(82, 95, 127, 0.1);
  box-shadow: -2px -2px 5px rgba(82, 95, 127, 0.1);
  content: "";
  display: block;
  height: 12px;
  margin: 0 0 0 -6px;
  position: absolute;
  right: 10%;
  top: -5px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 12px;
  z-index: 0;
}
.language .language-menu a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 6px 8px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
}
.language .language-menu a:hover {
  background-color: var(--secondaryColor);
}
.language .language-menu a.active::after {
  content: '\f00c';
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  top: 50%;
  right: 8px;
  width: 15px;
  height: 15px;
  background-color: #9797a7;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  font-size: 10px;
  color: #fff;
}
.language.active .language-menu {
  display: block;
}
.language.animated .language-menu {
  opacity: 1;
}


.section {
  padding-block: 60px;
  position: relative;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-weight: 700;
    font-size: 36px;
}

.section-description {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 300;
}

.footer {
  background-color: var(--footer_background_color);
}

  .btn-primary-custom {
      background: linear-gradient( 135deg, #4C7FFF 0%, #5A86FF 35%, #3F6AF5 70%, #4C7FFF 100% );
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-weight: 600;
  }

  .btn-primary-custom.btn-sm {
    padding: 6px 16px;
  }

  .btn-primary-custom:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary_color) 65%, black) 0%, color-mix(in srgb, var(--primary_color) 50%, black) 100%);
    color: #fff;
  }

  .btn-outline-custom {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    background: transparent;
}

  .btn-outline-custom:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }

  .section-card {
    position: relative;
    padding: 80px;
    background-color: var(--primary_color);
    border-radius: var(--border-radius, 20px);
    color: #fff;
    z-index: 0;
  }

  /*
  .section-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 120px;
    height: 120px;
    background-image: url('../img/simp2.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
  }

  .section-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-image: url('../img/sim1.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
  }

  */

  .footer-links {
      list-style: none;
      padding: 0;
  }

  .footer-section-title {
    font-size: 20px !important;
  }

  .footer-text {
    font-size: 1rem;
    font-weight: 200;
  }

  .footer-links li {
      margin-bottom: 0.8rem;
  }

  .footer-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 18px !important;
      transition: 0.3s;
  }

  .footer-links a:hover {
    color: var(--text-muted);
    opacity: 0.7;
  }

  .social-icons a {
      color: #fff;
      margin-right: 0.6rem;
      font-size: 1.2rem;
  }

  .social-icons a:hover {
    opacity: 0.7;
  }

  /* Modern Elegant Accordion */
  .accordion {
      display: flex;
      flex-direction: column;
      gap: 16px;
  }

  .accordion-item {
      border: none !important;
      border-radius: 16px !important;
      background: #fff;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: hidden;
      margin-bottom: 0;
  }

  .accordion-item:hover {
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      transform: translateY(-2px);
  }

  .accordion-item:has(.accordion-button:not(.collapsed)) {
      box-shadow: 0 8px 30px rgba(var(--primary_color_rgb, 99, 102, 241), 0.12);
      border-left: 4px solid var(--primary_color, #6366f1) !important;
  }

  .accordion-header {
    font-family: 'Inter', sans-serif;
      border-radius: 16px !important;
      margin: 0;
  }

  .accordion-button {
      font-weight: 600;
      background: #fff;
      font-size: 1.05rem;
      padding: 22px 28px;
      color: var(--text_color, #1f2937);
      border: 0;
      box-shadow: none;
      border-radius: 16px !important;
      transition: all 0.3s ease;
      gap: 16px;
  }

  .accordion-button::after {
      content: '';
      width: 36px;
      height: 36px;
      min-width: 36px;
      background: linear-gradient(135deg, rgba(var(--primary_color_rgb, 99, 102, 241), 0.1) 0%, rgba(var(--primary_color_rgb, 99, 102, 241), 0.05) 100%);
      border-radius: 10px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%236366f1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4.5v15m7.5-7.5h-15'/%3E%3C/svg%3E");
      background-position: center;
      background-repeat: no-repeat;
      background-size: 18px;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .accordion-button:not(.collapsed)::after {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 12h14'/%3E%3C/svg%3E");
      background-color: var(--primary_color, #6366f1);
      transform: rotate(0deg);
  }

  .accordion-button:not(.collapsed) {
      background: #fff;
      color: var(--primary_color, #6366f1);
      box-shadow: none;
  }

  .accordion-button:hover {
      color: var(--primary_color, #6366f1);
  }

  .accordion-button:focus {
      box-shadow: none;
      border-color: transparent;
  }

  .accordion-collapse {
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .accordion-body {
      padding: 0 28px 24px 28px;
      color: #6b7280;
      line-height: 1.8;
      font-size: 0.98rem;
  }

  /* Accordion Responsive */
  @media (max-width: 768px) {
      .accordion {
          gap: 12px;
      }
      
      .accordion-item {
          border-radius: 12px !important;
      }
      
      .accordion-item:has(.accordion-button:not(.collapsed)) {
          border-left: 3px solid var(--primary_color, #6366f1) !important;
      }
      
      .accordion-button {
          font-size: 0.95rem;
          padding: 18px 20px;
          gap: 12px;
      }
      
      .accordion-button::after {
          width: 32px;
          height: 32px;
          min-width: 32px;
          border-radius: 8px;
          background-size: 16px;
      }
      
      .accordion-body {
          padding: 0 20px 20px 20px;
          font-size: 0.92rem;
      }
  }

  .blog-post {
    padding: 20px;
    color: var(--text_color);
    border: 1px solid #eee;
    text-decoration: none;
    -webkit-box-shadow: 0px 30px 60px rgba(0, 19, 87, 0.04);
            box-shadow: 0px 30px 60px rgba(0, 19, 87, 0.04);
  }

  .blog-post .card-body {
    padding: 0;
  }

  .blog-post .blog-post-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: inherit;
  }

  .blog-post .blog-post-title {
    line-height: 1.7;
  }
  .blog-post .blog-post-text {
    line-height: 1.7;
    font-weight: 300;
    font-size: 17px;
  }

  /* Blog Section – Premium */
  .blog-section-premium {
    padding: 80px 0 88px;
    background: linear-gradient(180deg, var(--background_color) 0%, color-mix(in srgb, var(--primary_color) 3%, transparent) 100%);
  }
  .blog-premium-inner { max-width: 1200px; margin: 0 auto; }
  .blog-premium-header {
    text-align: center;
    margin-bottom: 48px;
  }
  .blog-premium-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary_color);
    margin-bottom: 12px;
    padding: 8px 18px;
    background: color-mix(in srgb, var(--primary_color) 10%, transparent);
    border-radius: 100px;
  }
  .blog-premium-title {
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text_color);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .blog-premium-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .blog-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-items: center;
  }
  .blog-card-premium {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--text_color);
    text-decoration: none;
    max-width: 360px;
    background: var(--background_color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid color-mix(in srgb, var(--primary_color) 10%, transparent);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
  }
  .blog-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px color-mix(in srgb, var(--primary_color) 10%, transparent);
    border-color: color-mix(in srgb, var(--primary_color) 18%, transparent);
  }
  .blog-card-premium-img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }
  .blog-card-premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .blog-card-premium:hover .blog-card-premium-img {
    transform: scale(1.05);
  }
  .blog-card-premium-date {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
  }
  .blog-card-premium-body {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .blog-card-premium-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text_color);
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card-premium-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card-premium-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--primary_color) 78%, #000);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
  }
  .blog-card-premium:hover .blog-card-premium-link { gap: 10px; }
  @media (max-width: 1199.98px) {
    .blog-premium-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .blog-card-premium { max-width: 100%; }
  }
  @media (max-width: 991.98px) {
    .blog-section-premium { padding: 56px 0 64px; }
    .blog-premium-header { margin-bottom: 32px; }
    .blog-swiper .blog-card-premium { height: 100%; max-width: 100%; }
  }

  .card-body {
    padding: 30px;
  }

  .chart-mockup {
      height: 200px;
      background: white;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 1rem 0;
  }

  .metric-item {
      display: flex;
      align-items: center;
      margin-bottom: 0.75rem;
      font-size: 0.9rem;
  }

  .metric-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      margin-right: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.75rem;
  }

  .progress-bar-custom {
      background: #e2e8f0;
      height: 4px;
      border-radius: 2px;
      overflow: hidden;
      flex-grow: 1;
      margin: 0 0.75rem;
  }

.progress-fill {
    height: 100%;
    border-radius: 2px;
}

.plan {
  padding: 20px;
  color: #66759a;
  font-weight: 500;
}

.plan.v2 {
  color: var(--text_color);
}

.plan-price  {
  font-size: 24px;
  margin-top: 10px;
}

.plan-price strong {
  font-size: 40px;
  font-weight: 600;
}

.plan-price span {
  font-size: 16px;
}

.plan-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
}

.plan-feat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-feat i {
  font-size: 10px;
}

.cookies {
  visibility: hidden;
  position: fixed;
  max-width: 380px;
  padding: 30px;
  bottom: -150%;
  left: 40px;
  width: 100%;
  border-radius: 6px;
  background-color: #fff;
  -webkit-box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  z-index: 90000;
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}
@media (max-width: 575.98px) {
  .cookies {
    max-width: 100%;
    left: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}
.cookies.show {
  visibility: visible;
  bottom: 40px;
}
@media (max-width: 575.98px) {
  .cookies.show {
    width: 100%;
    bottom: 0;
  }
}

.mail-card {
  position: relative;
  display: flex;
  color: var(--text_color);
  background-color: var(--card-bg);
  border-radius: var(--border-radius, 20px);
  height: 600px;
  overflow: hidden;
  width: 75%;
  max-width: 1320px;
  touch-action: pan-y;
}

/* Minimum height when list/empty/loading; when viewing email card fits content exactly */
.mail-card.loading,
.mail-card.empty {
  min-height: 60vh;
}

.mail-card.viewing-email {
  min-height: 0;
  height: auto;
}

@media (max-width: 991.98px) {
  .mail-card {
    flex-direction: column;
    height: auto;
  }
}

.mail-card .mail-header {
  padding: 10px;
  border-bottom: 1px solid var(--elements-bg);
  background-color: var(--footer_background_color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Keep sidebar and content mail headers aligned */
.mail-card .mail-header,
.mail-content .mail-header {
}

@media (min-width: 992px) {
  .mail-card .mail-header,
  .mail-content .mail-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
  }
}

.mail-header .d-lg-none {
  width: 100%;
}
/* Equal lateral space: zero Bootstrap row negative margins so left/right match the row above */
.mail-header .d-lg-none .row.mail-action-buttons {
  margin-left: 0;
  margin-right: 0;
}

/* Desktop action buttons: priority+ overflow menu */
.mail-actions-overflow{display:flex;align-items:center;gap:6px;flex:1 1 0%;min-width:0}
.mail-actions-visible{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:nowrap;overflow:hidden;flex:1 1 0%;min-width:0}
.mail-actions-visible .mail-action-item{flex-shrink:0}
.mail-actions-more{flex-shrink:0}
.mail-actions-more .dropdown-menu{min-width:0;padding:4px;width:max-content}
.mail-actions-more .dropdown-menu li{list-style:none}
.mail-actions-more .dropdown-menu .dropdown-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:6px;font-size:.875rem;color:var(--text_color);cursor:pointer;transition:background .15s}
.mail-actions-more .dropdown-menu .dropdown-item:hover{background:var(--active-bg)}
.mail-actions-more .dropdown-menu .dropdown-item i{width:16px;text-align:center;font-size:.9rem}

.mail-selection {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mail-card .mail-sidebar {
  display: flex;
  flex-direction: column;
  background-color: var(--footer_background_color);
  border-right: 1px solid var(--elements-bg);
  width: 330px;
  min-height: 0;
  max-height: 70vh;
}

@media (max-width: 991.98px) {
  .mail-card .mail-sidebar {
    width: 100%;
    height: 600px;
    max-height: none;
  }

  /* When reading email on mobile, don't reserve 600px so content fills below header */
  .mail-card.mobile-reading .mail-sidebar {
    height: auto;
    min-height: 0;
  }
}

@media (min-width: 992px) {
  .mail-card .mail-sidebar .mail-items {
    flex: 1;
    min-height: 0;
  }
  .mail-card .mail-sidebar #mail-list-skeleton {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }
  /* When viewing email: card height = email content; sidebar fills that height (no longer drives card height) */
  .mail-card.viewing-email {
    position: relative;
  }
  .mail-card.viewing-email .mail-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 330px;
    max-height: none;
    height: auto;
  }
  .mail-card.viewing-email .mail-content {
    margin-left: 330px;
    flex: 1;
    min-width: 0;
  }
}

/* .mail-card .btn styles moved to critical.css (inlined in <head>) for instant first paint */

/* --- First-visit CTA (shown before email creation for new visitors) --- */
.first-visit-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  height: 100%;
}
.first-visit-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 .5rem;
  color: var(--text_color);
}
.first-visit-desc {
  font-size: .9rem;
  max-width: 320px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}
.first-visit-btn {
  font-size: 1rem;
  padding: .75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff !important;
  background-color: color-mix(in srgb, var(--primary_color) 85%, #000) !important;
  border-color: color-mix(in srgb, var(--primary_color) 85%, #000) !important;
  box-shadow: 0 4px 14px rgba(76, 127, 255, .3) !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.first-visit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76, 127, 255, .4) !important;
}
.first-visit-btn:active {
  transform: translateY(0);
}
html[data-theme="dark"] .first-visit-btn {
  box-shadow: 0 4px 18px rgba(124, 159, 255, .18) !important;
}
html[data-theme="dark"] .first-visit-btn:hover {
  box-shadow: 0 6px 24px rgba(124, 159, 255, .25) !important;
}
@media (max-width: 991.98px) {
  .first-visit-title { font-size: 1.1rem; }
  .first-visit-desc { font-size: .85rem; max-width: 280px; }
  .first-visit-btn { font-size: .9rem; padding: .65rem 1.5rem; }
}

.mail-item {
  cursor: pointer;
  border-bottom: 1px solid var(--elements-bg);
  min-width: 0;
  background-color: var(--background_color);
  position: relative;
  overflow: hidden;
}

.mail-item-content {
  padding: 1rem 1.25rem;
  background-color: inherit;
  position: relative;
  z-index: 1;
}

.mail-item:hover .mail-item-content,
.mail-item.active .mail-item-content {
  background-color: var(--active-bg);
}

/* Swipe-to-delete action (hidden behind content) */
.mail-item-swipe-action {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 140px;
  background-color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  z-index: 0;
}

.mail-items {
  overflow-y: auto;
}

.mail-item-heading {
  min-width: 0;
}

.mail-item-from {
  min-width: 0;
  font-size: 0.875rem;
}

.mail-item-time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.mail-item-favorite-btn {
  padding: 0.25rem !important;
  width: auto;
  height: auto;
  min-width: auto;
  border: none;
  background: transparent;
  color: var(--text_color);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.mail-item-favorite-btn:hover {
  opacity: 1;
  background: transparent;
}

.mail-item-favorite-btn .mail-heart-icon {
  width: 1.25em;
  height: 1.25em;
  color: var(--text_color);
}

.mail-item-favorite-btn .star-icon-color {
  color: #fab005;
}

.message__title {
  min-width: 0;
}

.message__subject {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.message__body {
  min-width: 0;
}

.message__body .line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
  font-weight: 200;
}

.mail-subject {
  min-width: 0;
  overflow: hidden;
}

.mail-subject-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.mail-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Flex chain so email view scrolls inside card (desktop) */
.mail-content .mail-inbox.d-lg-block {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mail-inbox-v2 {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.25rem;
}

#mail-inbox {
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

#mail-inbox .mail-inbox-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Iframe: horizontal scroll only inside iframe; vertical height set by JS */
#mail-inbox iframe#mail-content {
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 100%;
  display: block;
}

.mail-sender-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  font-size: 1rem;
  line-height: 1;
}

#mail-subject {
  font-size: 1.35rem;
  font-weight: 500;
  font-family: 'Inter';
}

.mail-content .mail-header {
  padding-block: 12.5px;
}

@media (max-width: 991.98px) {
  .mail-content .mail-header {
    border-top: 1px solid var(--elements-bg);
  }
}

@media (max-width: 991.98px) {
.mail-inbox-v2 {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 220px);
    padding-bottom: 3rem;
  }

  /* When reading email on mobile: no box, no inner scroll, full email on page */
  .mail-card.mobile-reading .mail-content {
    overflow: visible;
    min-height: auto;
  }

  .mail-card.mobile-reading .mail-inbox.d-lg-block {
    overflow: visible;
    min-height: auto;
  }

  .mail-card.mobile-reading .mail-inbox-v2 {
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: auto;
  }

  .mail-card.mobile-reading #mail-inbox {
    overflow: visible;
  }

  .mail-card.mobile-reading #mail-inbox .mail-inbox-body {
    overflow: visible !important;
  }

  /* Mobile: iframe height from JS only */
  #mail-inbox iframe#mail-content {
    min-height: 0;
  }

  #mail-inbox .mail-inbox-header {
    top: 0;
    background: var(--card-bg);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--elements-bg);
  }
}

/* Ultra small screens: prevent overflow and improve readability */
@media (max-width: 575.98px) {
  .mail-card {
    overflow-x: hidden;
    max-width: 100%;
  }

  .mail-inbox-v2 {
    padding: 0.75rem;
  }

  #mail-inbox .mail-inbox-body,
  #mail-inbox iframe#mail-content {
    max-width: 100%;
  }

  #mail-inbox {
    max-width: 100%;
    overflow-x: hidden;
  }

  #mail-inbox .mail-inbox-header {
    padding-left: 0;
    padding-right: 0;
  }

  #mail-inbox .mail-inbox-header .d-flex.gap-4 {
    gap: 0.75rem;
  }

  #mail-inbox .mail-inbox-header .d-flex.gap-3 {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  #mail-from {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #mail-subject {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .mail-inbox-header-back {
    padding: 8px 12px;
  }
}

/* Features Section - Modern Glassmorphism Design */

/* Glassmorphism CSS Variables */
:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-hover: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-hover: rgba(255, 255, 255, 0.3);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --glass-shadow-hover: rgba(0, 0, 0, 0.15);
    --glass-blur: 20px;
    --glass-blur-mobile: 10px;
}

/* Features Section Container with Glassmorphism */
.features-section-glass {
  position: relative;
    padding: 100px 0 80px;
  overflow: hidden;
    background: linear-gradient(135deg, var(--background_color) 0%, rgba(76, 127, 255, 0.03) 50%, var(--background_color) 100%);
}

/* Bottom Gradient Fade Overlay */
.features-section-glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--background_color, #ffffff) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Decorative Background Orbs */
.glass-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    will-change: transform;
    z-index: 0;
}

.glass-bg-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 127, 255, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatOrb 20s ease-in-out infinite;
}

.glass-bg-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, transparent 70%);
    top: 20%;
    right: -150px;
    animation: floatOrb 25s ease-in-out infinite reverse;
}

.glass-bg-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 127, 255, 0.2) 0%, transparent 70%);
    bottom: -150px;
    left: 10%;
    animation: floatOrb 18s ease-in-out infinite;
}

.glass-bg-orb-4 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    bottom: 10%;
    right: 5%;
    animation: floatOrb 22s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* Section Inner Container */
.features-section-glass .section-inner {
    position: relative;
    z-index: 1;
}

/* Glassmorphism Feature Cards */
.feature-glass-card {
    position: relative;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.feature-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.feature-glass-card-inner {
    position: relative;
    z-index: 1;
  padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Desktop: Hover Effects */
@media (min-width: 992px) {
    .feature-glass-card:hover {
        box-shadow: 0 20px 60px var(--glass-shadow-hover);
        background: var(--glass-bg-hover);
        border-color: var(--glass-border-hover);
    }

    .feature-glass-card:hover::before {
        opacity: 1;
    }
}

/* Glass Icon Container */
.feature-glass-icon-wrapper {
    margin-bottom: 24px;
}

.feature-glass-icon {
    width: 70px;
    height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary_color);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    font-size: 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.feature-glass-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary_color), rgba(76, 127, 255, 0.3));
    opacity: 0.1;
    transition: opacity 0.4s ease;
}

.feature-glass-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 992px) {
    .feature-glass-card:hover .feature-glass-icon {
        transform: scale(1.1) rotate(5deg);
        background: rgba(255, 255, 255, 0.2);
    }

    .feature-glass-card:hover .feature-glass-icon::before {
        opacity: 0.2;
    }

    .feature-glass-card:hover .feature-glass-icon i {
        transform: scale(1.15);
    }
}

/* Feature Title */
.feature-title {
    color: var(--text_color);
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Feature Description */
.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Scattered Photos on Table Layout - Desktop */
.feature-glass-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    position: relative;
    min-height: 700px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Base card styling for scattered look */
.feature-glass-grid .feature-glass-card {
    position: absolute;
    width: 320px;
    min-height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                z-index 0.2s;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Scattered positions - random subtle tilts (some left, some right, no order) */
.feature-glass-grid .feature-glass-card:nth-child(1) {
    left: 0%;
    top: 0;
    transform: rotate(2deg);
    z-index: 3;
}

.feature-glass-grid .feature-glass-card:nth-child(2) {
    left: 28%;
    top: 20px;
    transform: rotate(-1.5deg);
    z-index: 5;
}

.feature-glass-grid .feature-glass-card:nth-child(3) {
    right: 0%;
    top: 40px;
    transform: rotate(2.5deg);
    z-index: 4;
}

.feature-glass-grid .feature-glass-card:nth-child(4) {
    left: 5%;
    top: 280px;
    transform: rotate(-2deg);
    z-index: 6;
}

.feature-glass-grid .feature-glass-card:nth-child(5) {
    left: 35%;
    top: 260px;
    transform: rotate(1deg);
    z-index: 7;
}

.feature-glass-grid .feature-glass-card:nth-child(6) {
    right: 3%;
    top: 300px;
    transform: rotate(-2.5deg);
    z-index: 2;
}

/* Additional cards */
.feature-glass-grid .feature-glass-card:nth-child(7) {
    left: 8%;
    top: 520px;
    transform: rotate(1.5deg);
    z-index: 4;
}

.feature-glass-grid .feature-glass-card:nth-child(8) {
    left: 38%;
    top: 500px;
    transform: rotate(-2deg);
    z-index: 5;
}

.feature-glass-grid .feature-glass-card:nth-child(9) {
    right: 5%;
    top: 540px;
    transform: rotate(1deg);
    z-index: 3;
}

/* Hover - lift and straighten slightly */
.feature-glass-grid .feature-glass-card:hover {
    transform: rotate(0deg) translateY(-15px) scale(1.05) !important;
    z-index: 100 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Feature Card Header (for Swiper/Mobile) */
.feature-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-card-header .feature-glass-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 24px;
    margin-bottom: 0;
}

.feature-card-header .feature-title {
    margin-bottom: 0;
    font-size: 1.25rem;
}

/* --- Scroll-snap carousel (Swiper replacement) --- */
.swiper-wrapper { scroll-behavior: smooth; }
.swiper-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.swiper-pagination-bullet {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-muted, #999); opacity: .4;
    cursor: pointer; border: 0; padding: 0;
    transition: opacity .2s, background .2s;
}
.swiper-pagination-bullet-active { opacity: 1; background: var(--primary_color, #4C7FFF); }

/* Swiper Glassmorphism Styling - Mobile/Tablet */
.feature-swiper-glass {
    padding: 24px 4px 60px !important;
}

.feature-swiper-glass .swiper-slide {
    height: auto;
    min-height: 220px;
}

.feature-swiper-glass .feature-swiper-card {
    padding: 0;
    min-height: 220px;
    text-align: left;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur-mobile));
    -webkit-backdrop-filter: blur(var(--glass-blur-mobile));
    border: 1px solid var(--glass-border);
    box-shadow: 0 6px 24px var(--glass-shadow);
}

.feature-swiper-glass .feature-swiper-card .feature-glass-card-inner {
    padding: 28px 24px;
}

.feature-swiper-glass .feature-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.feature-swiper-glass .feature-card-header .feature-glass-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 22px;
    margin-bottom: 0;
    border-radius: 14px;
}

.feature-swiper-glass .feature-card-header .feature-title {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.feature-swiper-glass .feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Swiper Navigation Buttons - Glassmorphism Style */
.feature-swiper-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.feature-swiper-btn {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text_color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--glass-shadow);
}

.feature-swiper-btn:hover:not(:disabled) {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glass-shadow-hover);
}

.feature-swiper-btn:disabled,
.feature-swiper-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.feature-swiper-btn i {
    font-size: 0.9rem;
}

/* Responsive Breakpoints */

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .feature-glass-grid {
        min-height: 900px;
        max-width: 700px;
    }

    .feature-glass-grid .feature-glass-card {
        width: 280px;
    }

    /* Tablet scattered positions */
    .feature-glass-grid .feature-glass-card:nth-child(1) {
        left: 0%;
        top: 0;
    }
    
    .feature-glass-grid .feature-glass-card:nth-child(2) {
        right: 0%;
        left: auto;
        top: 30px;
    }
    
    .feature-glass-grid .feature-glass-card:nth-child(3) {
        left: 10%;
        right: auto;
        top: 220px;
    }
    
    .feature-glass-grid .feature-glass-card:nth-child(4) {
        right: 5%;
        left: auto;
        top: 250px;
    }
    
    .feature-glass-grid .feature-glass-card:nth-child(5) {
        left: 5%;
        right: auto;
        top: 450px;
    }
    
    .feature-glass-grid .feature-glass-card:nth-child(6) {
        right: 0%;
        left: auto;
        top: 480px;
    }
    
    .feature-glass-grid .feature-glass-card:nth-child(n+7) {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        transform: rotate(0deg);
        margin-top: 20px;
    }

    .features-section-glass {
        padding: 80px 0 100px;
    }
    
    .features-section-glass::after {
        height: 120px;
    }

    .glass-bg-orb {
        filter: blur(50px);
        opacity: 0.3;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
    .features-section-glass {
        padding: 60px 0 80px;
    }
    
    .features-section-glass::after {
        height: 80px;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .glass-bg-orb {
        filter: blur(40px);
        opacity: 0.25;
    }

    .glass-bg-orb-1,
    .glass-bg-orb-2,
    .glass-bg-orb-3,
    .glass-bg-orb-4 {
        width: 250px;
        height: 250px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .feature-glass-card,
    .feature-glass-icon,
    .feature-glass-icon i,
    .glass-bg-orb {
        animation: none !important;
        transition: none !important;
    }

    .feature-glass-card:hover {
        transform: none !important;
    }
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(20px)) {
    .feature-glass-card {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .feature-glass-icon {
        background: rgba(76, 127, 255, 0.1);
        border: 1px solid rgba(76, 127, 255, 0.2);
    }

    .feature-swiper-btn {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* Pricing Section Styles - Modern Conversion Optimized */

/* Plan Switcher with Savings Badges */
/* Plan switcher styles are in dashboard.css (loaded on dashboard layout) */

/* Switcher badge styles are in dashboard.css */

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* Popular/Featured Card - Visual Hierarchy */
.pricing-card.popular {
    transform: scale(1.03);
    border: 3px solid var(--primary_color);
    box-shadow: 0 8px 30px rgba(76, 127, 255, 0.25), 0 0 0 4px rgba(76, 127, 255, 0.1);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 25px 50px rgba(76, 127, 255, 0.3), 0 0 0 4px rgba(76, 127, 255, 0.15);
}

/* Enhanced Popular Badge */
.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary_color) 0%, #3b6bef 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(76, 127, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.popular-badge i {
    font-size: 12px;
    color: #fbbf24;
}

/* Plan Title */
.plan-title {
    color: var(--text_color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 8px;
}

.pricing-card.popular .plan-title {
    color: var(--primary_color);
}

/* Price Block with Anchoring */
.plan-price {
    margin-bottom: 1.25rem;
}

.plan-price .price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.plan-price .price-main strong {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text_color);
    line-height: 1;
}

.plan-price .price-interval {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
}

.plan-price .price-equivalent {
    font-size: 0.875rem;
    color: #166534;
    font-weight: 600;
    margin-top: 6px;
}

/* Plan Description */
.plan-description {
    color: #6b7280;
    margin-bottom: 1.75rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Plan Features */
.plan-features {
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.875rem;
    text-align: left;
    transition: opacity 0.2s ease;
}

.plan-feature.feature-disabled {
    opacity: 1;
}

.plan-feature .plan-feat-icon i {
    color: #fff;
    background: linear-gradient(135deg, var(--primary_color) 0%, #3b6bef 100%);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 10px;
    flex-shrink: 0;
}

.plan-feature .plan-feat-icon-v2 i {
    color: #4b5563;
    background: #f3f4f6;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 10px;
    flex-shrink: 0;
}

.plan-feature span {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.plan-feature.feature-disabled span {
    color: #4b5563;
    text-decoration: line-through;
}

/* CTA Buttons */
.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary_color) 0%, #3b6bef 100%);
    border: none;
    color: #fff !important;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(76, 127, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 127, 255, 0.5);
    color: #fff !important;
}

.btn-cta-primary:active {
    transform: translateY(0);
}

/* Subtle pulse animation for featured plan CTA */
.pricing-card.popular .btn-cta-primary {
    animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(76, 127, 255, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(76, 127, 255, 0.6);
    }
}

.btn-cta-secondary {
    background: #fff;
    border: 2px solid #e5e7eb;
    color: var(--text_color) !important;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--primary_color);
    color: var(--primary_color) !important;
    background: var(--primary-opacity);
    transform: translateY(-2px);
}

/* Trust Indicators */
.plan-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.plan-trust-indicators .trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4b5563;
    font-weight: 500;
}

.plan-trust-indicators .trust-item i {
    color: #22c55e;
    font-size: 0.75rem;
}

/* Plan Switcher Tabs */
.plan-switcher {
    display: inline-flex;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    gap: 2px;
}

.plan-switcher .plan-switcher-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.plan-switcher .plan-switcher-item:hover {
    color: #374151;
    background: rgba(0, 0, 0, 0.04);
}

.plan-switcher .plan-switcher-item.active {
    background: #fff;
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.switcher-savings-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #dcfce7;
    color: #166534;
    line-height: 1.4;
}

.switcher-best-value-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #fef3c7;
    color: #92400e;
    line-height: 1.4;
}

/* Savings Badge */
.plan-price .savings-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    white-space: nowrap;
    margin-top: 6px;
}

/* Free Plan Card - Starter Positioning */
.pricing-card-free {
    background: #fafafa;
    border: 2px solid #e5e7eb;
}

.pricing-card-free:hover {
    border-color: #d1d5db;
}

/* Consistent CTA button height in pricing cards */
.pricing-card .btn {
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card {
        margin-bottom: 20px;
        padding: 32px 24px;
    }

    .pricing-card.popular {
        transform: none;
        box-shadow: 0 4px 20px rgba(76, 127, 255, 0.2);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .plan-price .price-main strong {
        font-size: 2.75rem;
    }
    
    .plan-switcher {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .plan-switcher .plan-switcher-item {
        padding: 8px 16px;
        min-height: 36px;
        font-size: 0.8125rem;
    }
    
    .plan-trust-indicators {
        flex-direction: column;
        gap: 8px;
    }
    
    .popular-badge {
        font-size: 12px;
        padding: 8px 18px;
    }
}

/* Privacy & Trust Banner */
.pricing-guarantee-banner {
    margin-top: 48px;
    padding: 0 16px;
}

.pricing-guarantee-banner .guarantee-content {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(var(--secondary_color_rgb, 34, 197, 94), 0.06) 0%, rgba(var(--secondary_color_rgb, 34, 197, 94), 0.02) 100%);
    border: 1px solid rgba(var(--secondary_color_rgb, 34, 197, 94), 0.15);
    border-radius: 24px;
    padding: 32px 40px;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.pricing-guarantee-banner .guarantee-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--secondary_color_rgb, 34, 197, 94), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-guarantee-banner .guarantee-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--secondary_color_rgb, 34, 197, 94), 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-guarantee-banner .guarantee-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    background: linear-gradient(135deg, var(--secondary_color, #22c55e) 0%, color-mix(in srgb, var(--secondary_color, #22c55e) 80%, #000) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(var(--secondary_color_rgb, 34, 197, 94), 0.35);
    position: relative;
    z-index: 1;
}

.pricing-guarantee-banner .guarantee-icon i {
    font-size: 30px;
    color: #fff;
}

.pricing-guarantee-banner .guarantee-text {
    position: relative;
    z-index: 1;
}

.pricing-guarantee-banner .guarantee-text h5 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text_color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-guarantee-banner .guarantee-text h5::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--secondary_color, #22c55e);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.pricing-guarantee-banner .guarantee-text p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pricing-guarantee-banner .guarantee-content {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }
    
    .pricing-guarantee-banner .guarantee-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .pricing-guarantee-banner .guarantee-icon i {
        font-size: 26px;
    }
    
    .pricing-guarantee-banner .guarantee-text h5 {
        font-size: 1.15rem;
        justify-content: center;
    }
    
    .pricing-guarantee-banner .guarantee-text h5::before {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 12px;
    }
    
    .pricing-guarantee-banner .guarantee-text p {
        font-size: 0.95rem;
    }
}

/* Email Selection Dropdown Styles */
.mail-selection {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mail-selection-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  background-color: var(--card-bg);
  border: 1px solid var(--elements-bg);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 0;
}

@media (min-width: 992px) {
  .mail-selection-placeholder {
  min-width: 280px;
  }
}

.mail-selection-placeholder:hover {
  box-shadow: 0 0 0 3px var(--primary-opacity);
}

.mail-selection-drop-icon {
  color: var(--text-muted);
  margin-right: 12px;
  transition: transform 0.2s ease;
}

.mail-selection-placeholder[aria-expanded="true"] .mail-selection-drop-icon {
  transform: rotate(180deg);
}

.mail-selection-placeholder-email {
  flex: 1;
  margin-right: 0;
  min-width: 0;
  padding-right: 0;
}

.mail-selection-placeholder-email .current-email {
  font-size: 1.1rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile S / small screens: force email to truncate with ellipsis, no horizontal scroll */
@media (max-width: 991.98px) {
  .mail-selection-placeholder-email {
    overflow: hidden;
    min-width: 0;
  }
  .mail-selection-placeholder-email .current-email {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.current-email {
  font-weight: 200;
  color: var(--text_color);
  background: transparent;
}

.mail-selection-placeholder-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  color: var(--text_color);
  cursor: pointer;
  transition: color 0.2s ease;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.mail-selection-placeholder-copy svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mail-selection-placeholder-copy:hover {
  color: var(--primary_color);
}

.mail-selection-placeholder-copy:focus,
.mail-selection-placeholder-copy:focus-visible,
.mail-selection-placeholder-copy:active {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Override vendor FontAwesome font-display:block to avoid text/icon render delay */
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/fontawesome/fa-solid-900.woff2") format("woff2"),
       url("/assets/fonts/fontawesome/fa-solid-900.ttf") format("truetype");
}

/* Dropdown Menu */
.dropdown-menu {
  width: 320px;
  padding: 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dropdown-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  text-align: center;
}

.dropdown-header h6 {
  color: white;
  margin-bottom: 5px;
}

.dropdown-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.dropdown-divider {
  margin: 0;
  border-color: #e5e7eb;
}

/* Email Options */
.email-options {
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
}

.email-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.email-option:hover {
  background-color: #f8fafc;
  transform: translateX(4px);
}

.email-option > i {
  display: none;
}

.email-option.selected > i {
  display: block;
}

.email-option .email-option-icon {
  display: inline-block;
  color: var(--primary_color);
  font-size: 0.875rem;
}

.email-option.selected {
  background-color: #eff6ff;
  border-left: 3px solid var(--primary_color);
}

.email-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
}

.email-option .email-option-icon {
  flex-shrink: 0;
}

.email-address {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text_color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-domain {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Bootstrap modals must sit above custom popups (z-index 1060) */
.modal { z-index: 1070 !important; }
.modal-backdrop {
  z-index: 1065 !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.45);
}
.modal-backdrop.show { opacity: 1; }

/* Modal open/focus animation */
.modal.fade .modal-dialog {
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
  transform: scale(0.95) translateY(10px);
}
.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}
.modal .modal-content {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Custom popup backdrops (change-email, history, qrcode, quick-checkout, confirm-delete) */
.change-email-popup-backdrop,
.email-history-popup-backdrop,
.qr-popup-backdrop,
.quick-checkout-popup-backdrop,
.confirm-delete-popup-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Email bottom sheet (mobile only) - above sticky-adlobage (z-index 20) */
.email-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.email-bottom-sheet.show {
  display: flex;
  pointer-events: auto;
}
.email-bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 0;
  transition: background 0.3s ease;
}
.email-bottom-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.email-bottom-sheet.show .email-bottom-sheet-panel {
  transform: translateY(0);
}
.email-bottom-sheet-header {
  flex-shrink: 0;
}
.email-bottom-sheet-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text_color);
}
.email-bottom-sheet-close {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: none;
  color: var(--text_color);
  transition: background 0.2s, color 0.2s;
}
.email-bottom-sheet-close:hover {
  background: #e5e7eb;
  color: var(--text_color);
}
.email-sheet-options {
  max-height: 50vh;
  overflow-y: auto;
  padding: 0;
}
.email-sheet-options .email-option {
  margin-bottom: 8px;
  min-width: 0;
}
.email-sheet-options .email-option .email-info {
  min-width: 0;
  overflow: hidden;
}
.email-sheet-options .email-option .email-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
@media (min-width: 992px) {
  .email-bottom-sheet {
    display: none !important;
  }
}

/* Change email popup: one element, bottom sheet on mobile / centered on desktop */
.change-email-popup {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.change-email-popup.show {
  display: flex;
  pointer-events: auto;
}
.change-email-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 0;
}
.change-email-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.change-email-popup.show .change-email-popup-panel {
  transform: translateY(0);
}
.change-email-popup-header {
  flex-shrink: 0;
}
.change-email-popup-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text_color);
}
.change-email-popup-close {
  width: 40px;
  height: 40px;
  background: var(--elements-bg);
  border: none;
  color: var(--text_color);
  transition: background 0.2s, color 0.2s;
}
.change-email-popup-close:hover {
  background: var(--footer_background_color);
  color: var(--text_color);
}
#random_code {
  background-color: #f3f4f6 !important;
  border-color: #f3f4f6 !important;
  color: #575757;
}
/* Change email notice (info strip) */
.change-email-notice {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 10px;
  background: var(--footer_background_color);
  border-left: 3px solid var(--primary_color);
}
.change-email-notice-icon {
  flex-shrink: 0;
  color: var(--primary_color);
  font-size: 0.875rem;
  margin-top: 1px;
}
.change-email-notice-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}
/* Change email: random button in input group */
.change-email-field .input-group .btn-outline-primary {
  border-color: var(--primary_color);
  color: var(--primary_color);
  background: transparent;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}
.change-email-field .input-group .btn-outline-primary:hover {
  background: var(--primary_color);
  border-color: var(--primary_color);
  color: #fff;
  border-radius: 6px;
  transform: none;
  box-shadow: none !important;
}

/* Lifespan selector — segmented control */
.lifespan-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--footer_background_color, #f3f4f6);
  border-radius: 10px;
  padding: 3px;
}
.lifespan-presets .lifespan-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  color: var(--text-muted, #6b7280);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
}
.lifespan-presets .lifespan-btn:hover:not(.locked):not(.active) {
  color: var(--text_color, #111);
  background: rgba(0,0,0,0.04);
}
.lifespan-presets .lifespan-btn.active {
  background: #fff;
  color: var(--primary_color);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
}
.lifespan-presets .lifespan-btn.locked {
  opacity: 0.4;
  cursor: not-allowed;
  color: var(--text-muted, #9ca3af);
  position: relative;
}
#lifespanField {
  overflow: visible;
  padding-bottom: 4px;
}
.lifespan-presets .lifespan-btn.locked .lifespan-lock {
  font-size: 0.55rem;
  margin-left: 2px;
  vertical-align: 1px;
}
/* CSS tooltip for locked presets (native title doesn't fire on disabled buttons) */
.lifespan-presets .lifespan-btn.locked::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: #fff;
  background: #1e293b;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
}
.lifespan-presets .lifespan-btn.locked:hover::after {
  opacity: 1;
}

/* Premium domains hint chip */
.change-email-premium-hint .smart-cta--sm {
  display: inline-flex;
}
.change-email-premium-hint .smart-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary_color, #22C55E);
  background: color-mix(in srgb, var(--secondary_color, #22C55E) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary_color, #22C55E) 10%, transparent);
  border-radius: 20px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.change-email-premium-hint .smart-cta__link::before {
  content: "\f521";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.625rem;
}
.change-email-premium-hint .smart-cta__link:hover {
  border: 1px solid var(--secondary_color, #22C55E);
}
@media (min-width: 992px) {
  .change-email-popup {
    align-items: center;
  }
  .change-email-popup-panel {
    max-width: 400px;
    max-height: 90vh;
    border-radius: 16px;
    transform: none;
  }
  .change-email-popup.show .change-email-popup-panel {
    transform: none;
  }
}

/* Confirm delete popup: bottom sheet on mobile, centered on desktop (same pattern as change-email) */
.confirm-delete-popup {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.confirm-delete-popup.show {
  display: flex;
  pointer-events: auto;
}
.confirm-delete-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 0;
}
.confirm-delete-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  background: var(--card-bg);
  border-radius: 16px 16px 0 0;
  padding: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.confirm-delete-popup.show .confirm-delete-popup-panel {
  transform: translateY(0);
}
.confirm-delete-popup-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text_color);
}
.confirm-delete-popup-close {
  width: 40px;
  height: 40px;
  background: var(--elements-bg);
  border: none;
  color: var(--text_color);
  transition: background 0.2s, color 0.2s;
}
.confirm-delete-popup-close:hover {
  background: var(--footer_background_color);
  color: var(--text_color);
}
.confirm-delete-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.confirm-delete-popup-actions .btn {
  width: 100%;
}
@media (min-width: 992px) {
  .confirm-delete-popup-actions {
    flex-direction: row;
    justify-content: center;
  }
  .confirm-delete-popup-actions .btn {
    width: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 992px) {
  .confirm-delete-popup {
    align-items: center;
  }
  .confirm-delete-popup-panel {
    max-width: 400px;
    max-height: 90vh;
    border-radius: 16px;
    transform: none;
  }
  .confirm-delete-popup.show .confirm-delete-popup-panel {
    transform: none;
  }
}

/* Email history popup: bottom sheet on mobile, centered on desktop (same pattern as change-email) */
.email-history-popup {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.email-history-popup.show {
  display: flex;
  pointer-events: auto;
}
.email-history-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 0;
}
.email-history-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 16px 16px 0 0;
  padding: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.email-history-popup.show .email-history-popup-panel {
  transform: translateY(0);
}
.email-history-popup-loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.7);
  border-radius: inherit;
  align-items: center;
  justify-content: center;
}
.email-history-popup-loading.active {
  display: flex;
}
.email-history-popup-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 10px;
}
.email-history-popup-header {
  flex-shrink: 0;
}
.email-history-popup-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text_color);
}
.email-history-popup-close {
  width: 40px;
  height: 40px;
  background: var(--elements-bg);
  border: none;
  color: var(--text_color);
  transition: background 0.2s, color 0.2s;
}
.email-history-popup-close:hover {
  background: var(--footer_background_color);
  color: var(--text_color);
}
.email-history-popup-description {
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}
.email-history-popup-search {
  flex-shrink: 0;
  padding-bottom: 0.75rem;
}
.email-history-popup-footer {
  flex-shrink: 0;
  padding-top: 0.75rem;
}
@media (max-width: 991px) {
  .email-history-popup {
    align-items: flex-end;
  }
  .email-history-popup-panel {
    max-height: 80vh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
@media (min-width: 992px) {
  .email-history-popup {
    align-items: center;
  }
  .email-history-popup-panel {
    max-width: 500px;
    max-height: 70vh;
    border-radius: 16px;
    transform: none;
  }
  .email-history-popup.show .email-history-popup-panel {
    transform: none;
  }
}
.email-history-popup .mail-history {
  min-height: 0;
  max-height: none;
}

.history-info {
  padding: 0.5rem 0;
}
.history-info__limit {
  gap: 0.25rem;
}
.history-info__size {
  color: var(--text_color);
}
.history-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  color: var(--text_color);
}
.history-info__icon-svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
}
.history-info__link {
  color: var(--text_color);
  opacity: 0.9;
}
.history-info__link:hover {
  color: var(--text_color);
  opacity: 1;
}

.email-option i {
  color: var(--primary_color);
  font-size: 0.875rem;
}

/* Dropdown Footer */
.dropdown-footer {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  background-color: #f8fafc;
}

.dropdown-footer .btn {
  border-radius: 8px;
  font-weight: 500;
}

/* bu me */
.current-email,
.current-email:focus,
.current-email:focus-visible {
    width: 91%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important; /* for Bootstrap/Chrome shadow */
}

@media (max-width: 991.98px) {
  .current-email,
  .current-email:focus,
  .current-email:focus-visible {
    width: 100% !important;
  }
}



.mail-card.empty .mail-inbox , .mail-card.empty .mail-items-sm{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}



/* Shared empty state flex layout */
.mail-card.empty .mail-inbox .empty,
.mail-card.empty .mail-items-sm .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mail-card.empty .mail-inbox .empty {
    height: 426px;
}

.mail-card.empty .mail-items-sm .empty {
    height: 350px;
}

.mail-card.empty .mail-items-sm .empty .empty-icon .emptyInboxRotation,
.mail-card.empty .mail-inbox .empty .empty-icon .emptyInboxRotation {
    -webkit-animation: rotation 2s linear infinite;
    animation: rotation 2s linear infinite;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.mail-card .mail-inbox .empty {
    display: none;
}

.mail-card .mail-items-sm .empty {
    display: none;
}



.mail-card.empty .mail-items ,
.mail-card.empty #mail-inbox ,
.mail-card.empty .empty-selection {
    display: none;
}

/* No email selected state */
.empty-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 426px;
    width: 100%;
}

.mail-card.loading .empty-selection {
    display: none !important;
}

/* Mail loading bar — subtle progress indicator for polling refreshes */
.mail-loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.mail-loading-bar.active {
    opacity: 1;
}

.mail-loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: var(--primary_color);
    border-radius: 0 3px 3px 0;
    animation: mail-bar-slide 1.2s ease-in-out infinite;
}

@keyframes mail-bar-slide {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* Skeleton loading: hide by default */
#mail-list-skeleton,
#mail-content-skeleton {
    display: none;
}

/* Skeleton loading: show skeletons and hide empty/list when loading */
.mail-card.loading.mail-loading-enabled #mail-list-skeleton,
.mail-card.loading.mail-loading-enabled #mail-content-skeleton {
    display: block;
}

.mail-card.loading.mail-loading-enabled .mail-items-sm .empty,
.mail-card.loading.mail-loading-enabled .mail-inbox .empty {
    display: none !important;
}

.mail-card.loading.mail-loading-enabled .mail-items-sm {
    display: none !important;
}

.mail-card.loading.mail-loading-enabled .mail-items,
.mail-card.loading.mail-loading-enabled #mail-inbox {
    display: none !important;
}

/* Content skeleton when loading a single message (click from sidebar) */
.mail-inbox-v2.content-loading #mail-content-skeleton {
    display: block !important;
}

.mail-inbox-v2.content-loading .empty,
.mail-inbox-v2.content-loading #mail-inbox,
.mail-inbox-v2.content-loading #noEmailSelected {
    display: none !important;
}

/* Skeleton element styles */
.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #e8eaed 25%, #f1f3f4 50%, #e8eaed 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, #e8eaed 25%, #f1f3f4 50%, #e8eaed 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-mail-item {
    padding: 12px 14px;
    border-bottom: 1px solid var(--elements-bg);
}

.skeleton-mail-item .skeleton-from {
    height: 12px;
}

.skeleton-mail-item .skeleton-subject {
    height: 14px;
}

.skeleton-mail-item .skeleton-preview {
    height: 10px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotateL {
    0% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }

    100% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
}

@keyframes rotateL {
    0% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }

    100% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
}

/*
@-webkit-keyframes circleAnimation {}
*/
@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes shapeAnimation {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-40px);
        transform: translateY(-40px);
    }
}

@keyframes shapeAnimation {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-40px);
        transform: translateY(-40px);
    }
}

.btn-icon {
    border: 0;
    background: transparent;
    margin: 0;
    padding: 0;
    color: var(--primary_color);
    display: block;
    font-size: 1em;
}

.btn-icon.v2 {

    color: #fff;

}

.star-icon-color {
    color: #fab005;
}

/* Mail content header: action icons — muted by default, full color on hover */
#mail-inbox .mail-inbox-header .btn-icon {
    opacity: 0.5;
    transition: opacity 0.2s;
    cursor: pointer;
    color: var(--text_color);
}
#mail-inbox .mail-inbox-header .btn-icon:hover {
    opacity: 1;
}

/* Favorited star in mail header stays gold */
#mail-inbox .mail-inbox-header .star-icon-color {
    color: #fab005;
    opacity: 1;
}

#mail-inbox .mail-inbox-header .mail-delete-icon {
    width: 1.25em;
    height: 1.25em;
}

#mail-inbox .mail-inbox-header .mail-heart-icon {
    width: 1.25em;
    height: 1.25em;
}

/* Date and icons stay right, never wrap */
.mail-inbox-header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.mail-inbox-header-date,
.mail-inbox-header-actions {
    flex-shrink: 0;
}

.attachment-file{
    -webkit-transition: .1s;
    -o-transition: .1s;
    transition: .1s;
}

.attachment-file:hover{
    background-color: var(--elements-bg);

}

.card.attachment-file {
    background: var(--elements-bg);
    border-radius: 10px;
}

.mail-inbox-header-back {
    background: var(--active-bg);
    padding: 10px 30px;
    display: block;
    margin-bottom: 10px;
    }

    .mail-inbox-header-back  span{

        cursor: pointer; }






.mail-history {
    border: 1px solid var(--elements-bg);
    max-height: 50vh;
    min-height: 50vh;
    overflow: auto;
}

.mail-history-empty {
    display: flex;
    height: 48vh;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
}


.mail-history .mail-history-day {
    position: relative;
}

.mail-history .mail-history-day .mail-history-day-header {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 0 8px;
    position: sticky;
    top: 0;
    background-color: #f4f5f7;
    padding: 7px 12px;
    color: #555;
    text-transform: uppercase;
    z-index: 11;
}
.mail-history .mail-history-day .mail-history-day-header .form-check {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mail-history .mail-history-day .mail-history-day-header .form-check-input {
    margin: 0;
    float: none;
}
.mail-history .mail-history-day .mail-history-day-header p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #777;
}

/* History item — grid: checkbox | time | email | status */
.mail-history .mail-history-day .mail-history-item {
    display: grid;
    grid-template-columns: 28px 72px 1fr 80px;
    align-items: center;
    gap: 0 8px;
    padding: 9px 12px;
    user-select: none;
    transition: background .2s;
}
.mail-history .mail-history-day .mail-history-item:hover {
    background-color: #f5f5f5;
}

/* Column 1: checkbox */
.mail-history-item .form-check {
    margin: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
}
.mail-history-item .form-check-input {
    margin: 0; float: none;
}

/* Column 2: time */
.mail-history-item > span {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
    line-height: 1.3;
}

/* Column 3: email */
.mail-history-item .email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font-size: 13px;
}

/* Column 4: status (fixed width, right aligned) */
.history-status {
    text-align: right;
    white-space: nowrap;
    position: relative;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Choose button (non-expired, non-current) — show on hover */
.mail-history-item .history-status .btn {
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
}
.mail-history-item:hover .history-status .btn.history_choose_email {
    visibility: visible;
    opacity: 1;
}

/* Current / Active labels */
.label_bluer {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary_color);
}
.label_bluer2 {
    font-size: 11px;
    font-weight: 600;
    color: #b9b9b9;
}

/* ── Expired items ── */
.history-item-expired .email {
    color: #aaa !important;
}
.history-item-expired .badge-expired {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #aaa;
    border: 1px solid #e5e5e5;
    display: inline-block;
}
.history-item-expired .upgrade-expired-btn,
.history-item-expired .restore-email-btn {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
    display: none;
}
.history-item-expired:hover .upgrade-expired-btn,
.history-item-expired:hover .restore-email-btn {
    display: inline-block;
}
.history-item-expired:hover .badge-expired {
    display: none;
}
.history-item-expired .upgrade-expired-btn {
    background: var(--primary_color, #4f46e5);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: opacity .2s;
}
.history-item-expired .upgrade-expired-btn:hover {
    opacity: 0.85;
}




.select2-dropdown {
    border-color: #eee;
}

.select2-container .select2-selection--single {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40.5px;
    border-color: #eee;
    min-width: 135px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: unset;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 38.5px;
}

.select2-container .select2-selection--multiple {
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 40.5px;
    border-color: #eee;
}

.select2-container .select2-selection--multiple:focus {
    border-color: #eee;
}

.select2-container.select2-container--focus .select2-selection--multiple {
    border-color: #eee;
}

.select2-container {
    z-index: 200000000000;
}

.select2-container-custom-span {
    display: block;
    position: relative;
}

.select2-container-custom-span i {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #ffc107;
}


#qrcode img {
    margin: auto;
}

/* QR Popup — mirrors history/change popup pattern */
.qr-popup {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}
.qr-popup.show {
    display: flex;
    pointer-events: auto;
}
.qr-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 0;
}
.qr-popup-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 16px 16px 0 0;
    padding: 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.qr-popup.show .qr-popup-panel {
    transform: translateY(0);
}
.qr-popup-header {
    flex-shrink: 0;
}
.qr-popup-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text_color);
}
.qr-popup-close {
    width: 40px;
    height: 40px;
    background: var(--elements-bg);
    border: none;
    color: var(--text_color);
    transition: background 0.2s, color 0.2s;
}
.qr-popup-close:hover {
    background: var(--footer_background_color);
    color: var(--text_color);
}
.qr-popup-description {
    flex-shrink: 0;
}
.qr-popup-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
@media (max-width: 991px) {
    .qr-popup {
        align-items: flex-end;
    }
    .qr-popup-panel {
        max-height: 80vh;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
}
@media (min-width: 992px) {
    .qr-popup {
        align-items: center;
    }
    .qr-popup-panel {
        max-width: 420px;
        max-height: 90vh;
        border-radius: 16px;
        transform: none;
    }
    .qr-popup.show .qr-popup-panel {
        transform: none;
    }
}


span.select2-selection.select2-selection--single {
    height: 37px !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-radius: 8px !important;
}
/* Merge select2 selection + dropdown as one piece */
.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.select2-container--open.select2-container--above .select2-selection--single {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.select2-dropdown--below {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.select2-dropdown--above {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

span.select2-selection__arrow {
    height: 37px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 37px  !important;
}




/* Plans Item Visibility */
.plans-item{
    display:none;
}

.plans-item.active{
    display:block !important;
}



.sticky-adlobage {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 70px;
    max-height: 200px;
    padding: 5px 0;
    box-shadow: 0 -6px 18px 0 rgba(9, 32, 76, .1);
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fefefe;
    z-index: 20;
}

.sticky-adlobage-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0;
    position: absolute;
    right: 0;
    top: -30px;
    background-color: #fefefe;
    box-shadow: 0 -6px 18px 0 rgba(9, 32, 76, .08);
}

.sticky-adlobage .sticky-adlobage-close svg {
    width: 22px;
    height: 22px;
    fill: #000;
}

.sticky-adlobage .sticky-adlobage-content {
    overflow: hidden;
    display: block;
    position: relative;
    height: 70px;
    width: 100%;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}

.sticky-adlobage .sticky-adlobage-content img {
    height: 100%;
    width: 100%;
}


@media (max-width: 575.98px) {


    .go-up {
        visibility: hidden;
        position: fixed;
        width:40px  !important;
        height: 40px !important;
        bottom: 50px !important;
        right: 16px !important;
    }

}


.go-up {
    visibility: hidden;
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 50px;
    right: 50px;
    background-color: var(--primary_color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    opacity: 0;
    transition: .3s;
    z-index: 2000000;
}

.go-up:hover {
    background-color: var(--secondary_color);
}

.go-up.show {
    visibility: visible;
    opacity: 1;
}


.seen_circle {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--primary_color);
    display: inline-block;
    border-radius: 20px;
    flex-shrink: 0;
}




.viewbox-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    justify-content: center;

}

@media (max-width: 1199.98px) {
    .viewbox-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

.viewbox-container .ad {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.viewbox-container .box-content {
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 850px;

}


.viewbox {
    width: 100%;
    -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 16px;
    overflow: hidden;
}

.viewbox .viewbox-header {
    background-color: var(--primary_color);
    color: #fff;
    padding: 8px 20px;
}


.viewbox .viewbox-body {
    background-color: #fff;
    min-height: 426px;
}

.viewbox-header i {
    margin: 10px;
    font-size: 20px;
}

.viewbox-header .text-muted {
    --bs-text-opacity: 1;
    color: var(--secondary_text_color) !important;
}

.viewbox-attachments {
   padding: 15px 25px;
    position: relative;
    display: none;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.attachment-grid-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.attachment-grid-container::-webkit-scrollbar {
    height: 6px;
}

.attachment-grid-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.attachment-grid-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.attachment-grid-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.attachment-card-compact {
    flex: 0 0 auto;
    min-width: 144px;
    width: 144px;
    height: 128px;
    position: relative;
    background-color: #f3f4f6;
    border-radius: 0.375rem;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    padding-bottom: 0;
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .attachment-card-compact {
        height: 80px;
    }
}

.attachment-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 1;
}

.attachment-card-name {
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text_color);
    font-weight: 500;
}

.attachment-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-bottom: 0.5rem;
    font-size: 0.75rem;
    width: 100%;
}

.attachment-file-ext {
    background-color: #d1d5db;
    padding: 0.25rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.625rem;
    line-height: 1;
    color: var(--text_color);
}

.attachment-file-size {
    color: #6b7280;
    white-space: nowrap;
}

.attachment-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: color-mix(in srgb, var(--bs-gray-dark) 20%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    border-radius: 0.375rem;
}

.attachment-card-compact:hover .attachment-card-overlay {
    opacity: 1;
}

.attachment-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: #fff;
    transition: opacity 0.2s;
}

.attachment-action-btn:hover {
    opacity: 0.7;
    color: #fff;
}


.viewbox-attachments img {
    width: 48px !important;
}

.viewbox-attachments i {
    color: #555;
}

.viewbox-attachments .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.viewbox .text-muted {
    font-size: 12px;
    font-weight: 600;
}

.can_see_attachments {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--active-bg);
    right: 0;
    top: 0;
    z-index: 100;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
}


.bg-white2{
    background-color: var(--footer_background_color) !important;
    color: var(--text_color) !important;

}



/* How It Works – Premium vertical timeline (big-site style) */
.how-section.how-section-timeline {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, var(--background_color) 0%, color-mix(in srgb, var(--primary_color) 4%, transparent) 50%, var(--background_color) 100%);
  position: relative;
  overflow: hidden;
}

.how-timeline-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.how-timeline-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary_color);
    margin-bottom: 16px;
    padding: 8px 18px;
    background: color-mix(in srgb, var(--primary_color) 10%, transparent);
    border-radius: 100px;
}

.how-timeline-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text_color);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.how-timeline-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* Timeline track + items */
.how-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Vertical line (track) */
.how-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        color-mix(in srgb, var(--primary_color) 25%, transparent) 8%,
        color-mix(in srgb, var(--primary_color) 20%, transparent) 92%,
        transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.how-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
    z-index: 1;
}

.how-timeline-item:last-child {
    margin-bottom: 0;
}

/* Node (circle with number) – centered on line */
.how-timeline-node {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    background: var(--background_color);
    border: 3px solid var(--primary_color);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--primary_color) 18%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-timeline-node-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary_color);
    line-height: 1;
}

/* Content block – alternating left/right of center line */
.how-timeline-content {
    width: calc(50% - 96px);
    padding: 26px 30px;
    background: var(--background_color);
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--primary_color) 12%, transparent);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.how-timeline-item:nth-child(odd) .how-timeline-content {
    margin-right: auto;
    padding-left: 40px;
}

.how-timeline-item:nth-child(even) .how-timeline-content {
    margin-left: auto;
    padding-right: 40px;
}

.how-timeline-content:hover {
    box-shadow: 0 12px 40px color-mix(in srgb, var(--primary_color) 12%, transparent);
    transform: translateY(-4px);
}

.how-timeline-step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text_color);
    margin: 0 0 12px;
    line-height: 1.3;
}

.how-timeline-step-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* Even items: flip so content appears on the right of the line */
.how-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Spacer so content doesn't overlap the center node */
.how-timeline-item::before {
    content: '';
    width: 56px;
    min-width: 56px;
    flex-shrink: 0;
}

/* Step illustration – centred in the empty half opposite the content card */
.how-timeline-illustration {
    position: absolute;
    top: 50%;
    width: 180px;
    pointer-events: none;
}

.how-timeline-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

/* Odd items: content is left, illustration centred in right half */
.how-timeline-item:nth-child(odd) .how-timeline-illustration {
    left: 75%;
    transform: translate(-50%, -50%);
}

/* Even items: content is right, illustration centred in left half */
.how-timeline-item:nth-child(even) .how-timeline-illustration {
    left: 25%;
    transform: translate(-50%, -50%);
}

/* Mobile: single column, line on left, content on right */
@media (max-width: 991.98px) {
    .how-timeline-illustration {
        display: none;
    }
    .how-section.how-section-timeline {
        padding: 64px 0 80px;
    }

    .how-timeline-header {
        margin-bottom: 48px;
    }

    .how-timeline::before {
        left: 28px;
        transform: none;
    }

    .how-timeline-item {
        flex-direction: row !important;
        padding-left: 0;
        gap: 24px;
        margin-bottom: 40px;
    }

    .how-timeline-item::before {
        display: none;
    }

    .how-timeline-node {
        position: relative;
        left: 0;
        transform: none;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .how-timeline-node-number {
        font-size: 1.1rem;
    }

    .how-timeline-content {
        width: 100%;
        flex: 1;
        min-width: 0;
        padding: 24px 20px;
        margin: 0 !important;
    }

    .how-timeline-item:nth-child(odd) .how-timeline-content,
    .how-timeline-item:nth-child(even) .how-timeline-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .how-timeline-step-title {
        font-size: 1.2rem;
    }

    .how-timeline-step-description {
        font-size: 0.95rem;
  }
}

.testimonial-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 30px;
  height: 100%;
}
.testimonial-card .testimonial-card-header {
  margin-bottom: 16px;
}
.testimonial-card .testimonial-card-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.testimonial-card .testimonial-card-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text_color);
}
.testimonial-card .testimonial-card-time {
  font-size: 14px;
  color: var(--text-muted);
}
.testimonial-card .testimonial-card-stars {
  margin-bottom: 16px;
  color: #e0e0de;
}
.testimonial-card .testimonial-card-stars .active {
  color: #ffd700;
}
.testimonial-card .testimonial-card-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/* Testimonials Section – Premium */
.testimonials-section-premium {
  padding: 64px 0 72px;
  background: var(--background_color);
}
.testimonials-premium-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.testimonials-premium-header {
  text-align: center;
  margin-bottom: 36px;
}
.testimonials-premium-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary_color);
  margin-bottom: 12px;
  padding: 8px 18px;
  background: color-mix(in srgb, var(--primary_color) 10%, transparent);
  border-radius: 100px;
}
.testimonials-premium-title {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text_color);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.testimonials-premium-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
/* Testimonials grid – only grid on desktop */
.testimonials-premium-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (min-width: 992px) {
  .testimonials-premium-grid.d-lg-block {
    display: grid !important;
  }
}
.testimonial-card-premium {
  background: var(--background_color);
  border: 1px solid color-mix(in srgb, var(--primary_color) 10%, transparent);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}
.testimonial-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--primary_color) 8%, transparent);
  border-color: color-mix(in srgb, var(--primary_color) 18%, transparent);
}
.testimonial-card-premium .testimonial-card-header {
  margin-bottom: 12px;
}
.testimonial-card-premium .testimonial-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--primary_color) 15%, transparent);
}
.testimonial-card-premium .testimonial-images {
  position: relative;
}
.testimonial-card-premium .testimonial-source {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: var(--background_color);
  padding: 2px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.testimonial-card-premium .testimonial-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text_color);
}
.testimonial-card-premium .testimonial-card-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.testimonial-card-premium .testimonial-card-stars {
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #e5e5e5;
}
.testimonial-card-premium .testimonial-card-stars .active {
  color: #f59e0b;
}
.testimonial-card-premium .testimonial-card-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1199.98px) {
  .testimonials-premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 991.98px) {
  .testimonials-section-premium {
    padding: 56px 0 64px;
  }
  .testimonials-premium-header {
    margin-bottom: 32px;
  }
  .testimonials-swiper .testimonial-card-premium {
    height: 100%;
  }
}

/* Testimonials: show more / show less */
.testimonials-more[hidden] {
  display: none !important;
}
.testimonials-show-more-wrap {
  margin-top: 1.5rem;
}
.testimonials-show-more-btn .testimonials-show-more-icon {
  transition: transform 0.2s ease;
}
.testimonials-show-more-btn[aria-expanded="true"] .testimonials-show-more-icon {
  transform: rotate(180deg);
}
.testimonials-section-premium .testimonials-show-more-btn {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid var(--primary_color);
  color: var(--primary_color);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.testimonials-section-premium .testimonials-show-more-btn:hover {
  background: var(--primary_color);
  color: #fff;
}

@media (max-width: 991.98px) {
  /* Hard safety net: never show extra testimonials container on mobile */
  #testimonials-more {
    display: none !important;
  }
}

.accordion.v2 .accordion-collapse ,.accordion.v2 .accordion-button:not(.collapsed) ,.accordion.v2 .collapsed{
    background: var(--primary_color);
    color: #fff !important;
}

.accordion.v2 .accordion-button:not(.collapsed)::after ,.accordion.v2 .accordion-button::after {
    display: none;
}

.accordion.v2 .accordion-body {
    color: #ffffff;
}





.download-btn {
  background-color: #000;
  padding: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}
.download-btn:hover {
  background-color: var(--secondary_color);
  color: #fff;
}
.download-btn i {
  font-size: 24px;
}
.download-btn span {
  font-size: 18px;
}



.posts .post {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.posts .post:not(:last-child) {
    margin-bottom: 16px;
}

.posts .post .post-img {
    border-radius: 10px;
    margin-right: 10px;
    width: 60px;
    height: 60px;
    -o-object-fit: cover;
    object-fit: cover;
}

.posts .post .post-info .post-title {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
}

.post-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.post-meta .post-meta-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #888;
    font-size: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.post-meta .post-meta-item:not(:last-child) {
    margin-right: 10px;
}

.post-meta .post-meta-item:not(:last-child)::after {
    content: '';
    width: 5px;
    height: 5px;
    background-color: #999;
    margin-left: 10px;
    border-radius: 50%;
}

.post-meta .post-meta-item i {
    margin-right: 5px;
}

.comments {
    width: 100%;
}

.comments .comment {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #fafafa;
    padding: 30px 20px;
    border-radius: 10px;
}

.comments .comment .comment-img img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 16px;
}

.comments .comment .comment-text {
    font-size: 15px;
}

.comments .comment:not(:last-child) {
    margin-bottom: 16px;
}


.tag-cloud a {
    background: var(--secondary_color);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    margin: 3px;
}

.tag-cloud {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}



.post-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.post-meta i {
    margin-right: 5px;
}

.meta-item {
    margin-right: 10px;
}

.post-meta i {
    color: #555;
}


.meta-item {
     position: relative;
     padding: 6px 12px;
     z-index: 0;
     color: #fff;
     margin-bottom: 16px;
     text-transform: capitalize;
     font-size: 14px;
     border-radius: 8px;
 }

.meta-item a:hover {
    color: var(--secondary_color);
}



.meta-item i , .meta-item a {
     color: var(--secondary_text_color);
 }

.meta-item::before {
    content: "";
    position: absolute;
    background-color: var(--primary_color);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 8px;
}



.btn-facebook {
    background-color: #3b5998;
    color: white;
  }

  .btn-twitter {
    background-color: #1da1f2;
    color: white;
  }

  .btn-linkedin {
    background-color: #0077b5;
    color: white;
  }

  .btn-whatsapp {
    background-color: #25d366;
    color: white;
  }

  .btn-email {
    background-color: #ea4335;
    color: white;
  }

  .share-btn .btn:hover {
    background: var(--primary_color);
    color: #fff;
}


.page-item.active .page-link {
    background-color: var(--primary_color);
    border-color: var(--primary_color);
}

.page-link {
    color: var(--primary_color);
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.page-link:hover {
    color: var(--primary_color);
}


.card.card-blog .main_img {
    width: 100%;
    max-height: 500px;
    -o-object-fit: cover;
    object-fit: cover;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;

}

.btn-outline-primary {
    padding: 12px 24px;
    border-radius: 6px;
    border-color: var(--primary_color);
}

.btn-outline-primary:hover {
    background: linear-gradient( 135deg, #4C7FFF 0%, #5A86FF 35%, #3F6AF5 70%, #4C7FFF 100% );
    color: #fff;
}

.logo img {
    max-height: 70px;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}



.dark-logo {
    display: none;
}

.nav-sticky .dark-logo {
    display: block !important;
}

.nav-sticky .white-logo {
    display: none !important;
}

/* Slide-out menu has light bg in light mode → show dark logo */
.nav-menu-scroller .dark-logo {
    display: block !important;
}
.nav-menu-scroller .white-logo {
    display: none !important;
}

.swiper.plans-swiper , .swiper.feature-swiper-glass , .swiper.testimonials-swiper , .swiper.blog-swiper{
    padding: 34px 2px !important;
}

/* Plans swiper: styled prev/next nav (same style as feature swiper) */
.plans-swiper {
    position: relative;
}
.plans-swiper-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}
.plans-swiper-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #6b7280;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.plans-swiper-btn:hover:not(:disabled) {
    background: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
}
.plans-swiper-btn:disabled,
.plans-swiper-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.plans-swiper-btn i {
    font-size: 0.875rem;
}

.swiper-pagination-bullet {
    width: 24px !important;
    height: 6px !important;
    border-radius: 4px !important;
    background: #9ca3af !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    width: 36px !important;
    background: #6b7280 !important;
    opacity: 1 !important;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
   bottom: var(--swiper-pagination-bottom, -8px);
}

/* ================================================================
   PUBLIC NAV — USER DROPDOWN (.pub-user-*)
   Mirrors dashboard .nav-user-* pattern from dashboard.css
   ================================================================ */

/* --- Wrapper — positioning context --- */
.pub-user-drop {
    position: relative;
}

/* --- Trigger pill --- */
.pub-user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    color: inherit;
    opacity: 1;
}
.pub-user-trigger:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
    color: inherit;
    opacity: 1;
}

/* --- Avatar (shared: trigger + mobile header) --- */
.pub-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* --- Name in trigger --- */
.pub-user-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--heading_color, #1e293b);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Plan badge pill --- */
.pub-user-plan-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--primary_opacity);
    color: var(--primary_color);
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

/* --- Chevron --- */
.pub-user-chevron {
    font-size: 0.5rem;
    color: var(--text_muted, #9ca3af);
    transition: transform 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}
.pub-user-drop.active .pub-user-chevron {
    transform: rotate(180deg);
}

/* --- Dropdown panel --- */
.pub-user-drop .drop-down-menu.pub-user-dropdown {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: perspective(200px) translateZ(-200px);
    pointer-events: none;
    position: absolute;
    right: 0;
    left: auto !important;
    top: 100% !important;
    margin-top: 8px;
    min-width: 250px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 1050;
    transform-origin: top right;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.pub-user-drop.active .drop-down-menu.pub-user-dropdown {
    visibility: visible;
    opacity: 1;
    transform: perspective(200px) translateZ(0);
    pointer-events: auto;
}

/* --- Dropdown header (avatar + identity) --- */
.pub-user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 8px;
}
.pub-user-dropdown-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.pub-user-dropdown-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pub-user-dropdown-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--heading_color, #1e293b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pub-user-dropdown-email {
    font-size: 0.6875rem;
    color: var(--text_muted, #9ca3af);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Dropdown divider --- */
.pub-user-dropdown .pub-user-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 4px 8px;
    border: none;
}

/* --- Dropdown items --- */
.pub-user-dropdown .pub-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.pub-user-dropdown .pub-user-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #111827;
}
.pub-user-dropdown .pub-user-item i {
    width: 18px;
    font-size: 0.8125rem;
    text-align: center;
    color: #6b7280;
    flex-shrink: 0;
}
.pub-user-dropdown .pub-user-item:hover i {
    color: #374151;
}

/* --- Logout item (red) --- */
.pub-user-dropdown .pub-user-item.pub-user-logout {
    color: #dc2626;
}
.pub-user-dropdown .pub-user-item.pub-user-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}
.pub-user-dropdown .pub-user-item.pub-user-logout i {
    color: #dc2626;
}
.pub-user-dropdown .pub-user-item.pub-user-logout:hover i {
    color: #b91c1c;
}

/* --- Transparent nav state (hero, before scroll) --- */
@media (min-width: 1200px) {
    .nav:not(.nav-sticky) .pub-user-trigger {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.2);
    }
    .nav:not(.nav-sticky) .pub-user-trigger:hover {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.3);
    }
    .nav:not(.nav-sticky) .pub-user-name {
        color: #fff;
    }
    .nav:not(.nav-sticky) .pub-user-chevron {
        color: rgba(255, 255, 255, 0.7);
    }
    .nav:not(.nav-sticky) .pub-user-avatar {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    }
    .nav:not(.nav-sticky) .pub-user-plan-badge {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }
}

/* --- Mobile slide-out user section --- */
.pub-user-mobile {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.pub-user-mobile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0 10px;
}
.pub-user-mobile-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text_color);
}
.pub-user-mobile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.pub-user-mobile-link:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #111827;
}
.pub-user-mobile-link i {
    width: 18px;
    font-size: 0.875rem;
    text-align: center;
    color: #6b7280;
    flex-shrink: 0;
}
.pub-user-mobile-link:hover i {
    color: #374151;
}
.pub-user-mobile-link.pub-user-logout {
    color: #dc2626;
}
.pub-user-mobile-link.pub-user-logout i {
    color: #dc2626;
}
.pub-user-mobile-link.pub-user-logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}
.pub-user-mobile-link.pub-user-logout:hover i {
    color: #b91c1c;
}

.top_left img {
    width: 8%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.top_right img {
    width: 8%;
    position: absolute;
    top: 0px;
    right: 0px;
}

.bottom_left img {
    width: 8%;
    position: absolute;
    bottom: 0px;
    left: 0px;
}
.bottom_right img {
    width: 8%;
    position: absolute;
    bottom: 0px;
    right: 0px;
}


.top_left.v2 img {
    width: 10%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.top_right.v2 img {
    width: 10%;
    position: absolute;
    top: 0px;
    right: 0px;
}

.bottom_left.v2 img {
    width: 10%;
    position: absolute;
    bottom: 0px;
    left: 0px;
}
.bottom_right.v2 img {
    width: 10%;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

/* ========== CTA Section – Premium (motif top-left, decorative bottom-right) ========== */
.cta-section-premium {
    padding: 64px 0 80px;
    background: linear-gradient(180deg, var(--background_color) 0%, color-mix(in srgb, var(--primary_color) 6%, transparent) 100%);
    position: relative;
    overflow: hidden;
}
.cta-premium-card {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 52px 48px 56px;
    background: linear-gradient(135deg, var(--primary_color) 0%, color-mix(in srgb, var(--primary_color) 85%, black) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px color-mix(in srgb, var(--primary_color) 35%, transparent),
                0 4px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid color-mix(in srgb, white 15%, transparent);
    overflow: hidden;
    z-index: 0;
}
/* Motif: top left */
.cta-premium-motif--tl {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}
.cta-premium-motif--tl img {
    width: clamp(80px, 14vw, 140px);
    height: auto;
    opacity: 0.9;
    display: block;
}
/* Decorative: bottom right */
.cta-premium-motif--br {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
.cta-premium-motif--br img {
    width: clamp(70px, 12vw, 120px);
    height: auto;
    opacity: 0.85;
    display: block;
    transform: scaleY(-1);
}
.cta-premium-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.cta-premium-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: color-mix(in srgb, white 90%, transparent);
    margin-bottom: 14px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
}
.cta-premium-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: capitalize;
}
.cta-premium-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 28px;
    line-height: 1.55;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--primary_color) 70%, black);
    background: #fff;
    border: none;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s, background 0.2s;
}
.cta-premium-btn:hover {
    color: color-mix(in srgb, var(--primary_color) 70%, black);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.cta-premium-btn:active {
    transform: translateY(-1px);
}
@media (max-width: 767.98px) {
    .cta-section-premium {
        padding: 48px 0 64px;
    }
    .cta-premium-card {
        padding: 44px 24px 48px;
        border-radius: 20px;
    }
    .cta-premium-motif--tl img {
        width: 70px;
    }
    .cta-premium-motif--br img {
        width: 60px;
    }
    .cta-premium-lead {
        margin-bottom: 24px;
    }
    .cta-premium-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

.key-feature-tab-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.list-group-item.list-group-item-action span {
    display: none;
    color: #fff !important;
}

.active.list-group-item.list-group-item-action span {
    display: block;
}

.list-group-item.list-group-item-action {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.active.list-group-item.list-group-item-action {
    padding: 22px;
    border-radius: 21px;
    background-color: var(--primary_color) !important;
    border: none;
}
@media (max-width: 768px) {
    .header-title {
        font-size: 22px;
        line-height: 30px;
    }
    .header-text.lead {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
}

.section-card {
    padding: 40px;

}

.text-center-mb{
text-align: center;
}
}


/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(var(--primary_color_rgb, 99, 102, 241), 0.1) 0%, rgba(var(--primary_color_rgb, 99, 102, 241), 0.05) 100%);
    color: var(--primary_color, #6366f1);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* FAQ Section Styling */
.faq-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(var(--primary_color_rgb, 99, 102, 241), 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.faq-section .section-inner {
    position: relative;
    z-index: 1;
}

.faq-section .section-header {
    position: sticky;
    top: 120px;
}

.faq-section .section-header .section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.faq-section .section-header .section-description {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.faq-section .section-header .btn-primary-custom {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 12px;
}

.faq-section .section-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    height: 400px;
    background: url('/assets/img/3D/fsqs-temp-mail.webp') center / contain no-repeat;
    opacity: 0.28;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 990px) {
    .faq-section .section-title {
        text-align: center;
    }
    
    .faq-section .section-header {
        position: static;
        margin-bottom: 32px;
    }
    
    .faq-section .section-header .section-title {
        font-size: 1.75rem;
    }
    
    .faq-section .section-header .section-description {
        text-align: center;
    }
    
    .faq-section .section-header .btn-primary-custom {
        display: block;
        width: 100%;
        text-align: center;
    }
}


@media (max-width: 460px) {
    .mail-history-item > span {
        display: none;
    }
    .mail-history .mail-history-day .mail-history-item {
        grid-template-columns: 28px 1fr 72px;
    }
}


.testimonial-images {
    position: relative;
}
.testimonial-source {
    position: absolute;
    bottom: -8px;
    background: #ffffff;
    padding: 2px;
    border-radius: 20px;
    right: -7px;
    width: 28px;
}

.header-app {
    display: flex
;
    justify-content: center;
    min-height: 600px;
    max-width: 1320px; margin: auto}

.ads-h{
    display: none;
}

@media (max-width: 1268px) {
    .header-app , .ads-h{
    display: block;
}

.ads-v{
    display: none;
}

.mail-card {

  width: 100%;
}

}


.btn-history {
    width: 40px !important;
    min-width: 40px !important;
    margin-left: 10px;
    background: var(--elements-bg);
    padding: 7px;
    flex-shrink: 0;
}

/* Mail header row: email + history on same line, responsive */
@media (max-width: 991.98px) {
    .mail-header > .d-flex {
        width: 100%;
    }
    .mail-header .d-flex > .mail-selection {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    .mail-header .d-flex > .btn-history {
        flex-shrink: 0;
    }
    .mail-header .mail-selection-placeholder {
        min-width: 0;
    }
}


@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1320px;
    }
}

/* ========== Intro section – Premium single-column flow (no grid) ========== */
.intro-section.intro-premium {
    padding: 100px 0 88px;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: var(--background_color);
}

.intro-premium .intro-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.intro-premium .intro-bg-orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary_color) 25%, transparent) 0%, transparent 70%);
    top: -120px;
    right: -80px;
}
.intro-premium .intro-bg-orb-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, color-mix(in srgb, var(--secondary_color, #22c55e) 20%, transparent) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
}

.intro-premium .container {
    position: relative;
    z-index: 1;
}

.intro-premium img.intro-illustration {
    display: inline-block;
    vertical-align: middle;
    width: 160px;
    height: auto;
    pointer-events: none;
    margin-left: 8px;
    opacity: 1;
    top: 26px;
    left: 7%;
    position: absolute;
}

.intro-premium .intro-flow {
    max-width: 680px;
    margin: 0 auto;
}

.intro-premium .intro-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: color-mix(in srgb, var(--primary_color) 70%, black);
    margin-bottom: 20px;
    padding: 8px 16px;
    background: color-mix(in srgb, var(--primary_color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary_color) 25%, transparent);
    border-radius: 100px;
}

.intro-premium .intro-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--text_color);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.intro-premium .intro-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0 0 36px;
    font-weight: 450;
    line-height: 1.65;
}

/* Definition: premium pull-quote style block */
.intro-premium .intro-definition {
    position: relative;
    margin: 0 0 40px;
    padding: 32px 36px 32px 44px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary_color) 8%, transparent) 0%, color-mix(in srgb, var(--primary_color) 4%, transparent) 100%);
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--primary_color) 15%, transparent);
    box-shadow: 0 4px 24px color-mix(in srgb, var(--primary_color) 8%, transparent);
}

.intro-premium .intro-definition-quote {
    position: absolute;
    left: 18px;
    top: 18px;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary_color);
    opacity: 0.25;
    font-family: Georgia, serif;
}

.intro-premium .intro-definition p {
    margin: 0;
    color: var(--text_color);
    opacity: 0.70;
    font-size: 1.1rem;
    line-height: 1.75;
    font-weight: 500;
}

.intro-premium .intro-sub {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text_color);
    margin: 0 0 12px;
}

.intro-premium .intro-list {
    margin: 0 0 24px;
    padding-left: 1.4em;
    color: var(--text_color);
    line-height: 1.8;
}

.intro-premium .intro-list li {
    margin-bottom: 10px;
}

.intro-premium .intro-tags {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid color-mix(in srgb, var(--text_color) 12%, transparent);
}

.intro-premium .intro-tags strong {
    color: var(--text_color);
    font-weight: 600;
}

/* Accordion: mobile collapse */
.intro-accordion .intro-sub {
    margin-bottom: 12px;
}
@media (min-width: 768px) {
    .intro-accordion .intro-sub-icon {
        display: none;
    }
}
.intro-accordion .intro-sub::after {
    display: none;
}
.intro-accordion .intro-sub[role="button"] {
    cursor: default;
}
@media (min-width: 768px) {
    .intro-accordion .intro-sub[role="button"] {
        cursor: text;
    }
}

@media (max-width: 1199.98px) {
    .intro-premium img.intro-illustration {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .intro-section.intro-premium {
        padding: 56px 0 64px;
    }
    .intro-premium .intro-flow {
        padding: 0 4px;
    }
    .intro-premium .intro-badge {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    .intro-premium .intro-title {
        margin-bottom: 16px;
    }
    .intro-premium .intro-lead {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .intro-premium .intro-definition {
        padding: 24px 20px 24px 28px;
        margin-bottom: 32px;
    }
    .intro-premium .intro-definition-quote {
        left: 12px;
        top: 12px;
        font-size: 2.5rem;
    }
    .intro-premium .intro-definition p {
        font-size: 1rem;
        line-height: 1.65;
    }
    .intro-accordion .intro-sub {
        font-size: 0.875rem;
        margin-bottom: 0;
        cursor: pointer;
        user-select: none;
        padding-right: 28px;
        position: relative;
    }
    .intro-accordion .intro-sub-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        width: 2em;
        height: 2em;
        font-size: 0.7em;
        vertical-align: middle;
        color: var(--text_color);
        border: 1.5px solid currentColor;
        border-radius: 50%;
        opacity: 0.85;
    }
    .intro-accordion .intro-sub-icon .fa-info {
        font-size: 1em;
        line-height: 1;
    }
    .intro-accordion .intro-sub::after {
        content: '\f078';
        display: block;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        font-size: 0.75rem;
        transition: transform 0.2s ease;
    }
    .intro-accordion.is-open .intro-sub::after {
        transform: translateY(-50%) rotate(180deg);
    }
    .intro-accordion .intro-list {
        margin-bottom: 16px;
        padding-left: 1.2em;
        font-size: 0.875rem;
        line-height: 1.65;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }
    .intro-accordion.is-open .intro-list {
        max-height: 320px;
        opacity: 1;
    }
    .intro-accordion .intro-list li {
        margin-bottom: 6px;
    }
    .intro-premium .intro-tags {
        font-size: 0.8125rem;
        padding-top: 20px;
    }
    /* Blog card description: limit lines on mobile */
    .card-text.blog-post-text.text-muted {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* ========== About section – Compact premium (short height) ========== */
.about-section.about-premium {
    padding: 48px 0 56px;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: var(--background_color);
}

.about-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary_color), transparent);
    opacity: 0.6;
}

.about-premium-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Compact header */
.about-premium-header {
    text-align: center;
    margin-bottom: 28px;
}

.about-premium-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary_color);
    margin-bottom: 8px;
}

.about-premium-title {
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    font-weight: 800;
    color: var(--text_color);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.about-premium-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Single row: pills + content (short height) */
.about-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Horizontal pill tabs – one row, compact */
.about-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.about-nav-btn {
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid color-mix(in srgb, var(--primary_color) 22%, transparent);
    background: color-mix(in srgb, var(--primary_color) 6%, transparent);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    color: var(--text_color);
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.about-nav-btn:hover {
    background: color-mix(in srgb, var(--primary_color) 12%, transparent);
    border-color: color-mix(in srgb, var(--primary_color) 35%, transparent);
    color: var(--primary_color);
}

.about-nav-btn[aria-selected="true"] {
    background: color-mix(in srgb, var(--primary_color) 82%, #000);
    border-color: color-mix(in srgb, var(--primary_color) 82%, #000);
    color: #fff;
}

/* Panel: compact card, limited height so section stays short */
.about-panels {
    min-width: 0;
}

.about-panel {
    display: none;
    padding: 22px 26px;
    background: color-mix(in srgb, var(--primary_color) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary_color) 12%, transparent);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    max-height: 280px;
    overflow-y: auto;
}

.about-panel.active {
    display: block;
    animation: aboutFade 0.25s ease;
}

@keyframes aboutFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.about-panel-content,
.about-panel p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 10px;
}

.about-panel p:last-child,
.about-panel-content > *:last-child {
    margin-bottom: 0;
}

.about-panel h3,
.about-panel h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text_color);
    margin: 0 0 8px;
}

.about-panel ul,
.about-panel ol {
    margin: 0 0 10px;
    padding-left: 1.25em;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.about-panel li {
    margin-bottom: 4px;
}

/* Mobile: hide panels until tab chosen; keep nav as horizontal scroll if many */
@media (max-width: 991.98px) {
    .about-section.about-premium .about-panels {
        display: none;
    }
    .about-section.about-premium.about-section--panels-visible .about-panels {
        display: block;
    }
    .about-section.about-premium {
        padding: 40px 0 48px;
    }
    .about-premium-header {
        margin-bottom: 22px;
    }
    .about-panel {
        max-height: 240px;
        padding: 18px 20px;
    }
}

@media (max-width: 767.98px) {
    .about-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .about-nav-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Mail action buttons: icon on top, text below, always 4 in one row (mobile only) */
@media (max-width: 991.98px) {
    .mail-action-buttons.row {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }
    .mail-action-buttons.row .col {
        flex: 1 1 0;
        min-width: 0;
    }
    .mail-action-buttons .btn {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        width: 100%;
        padding: 8px 4px;
        font-size: 0.7rem;
    }
    .mail-action-buttons .btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        min-width: 0;
    }
    .mail-action-buttons .btn i {
        margin: 0 !important;
        font-size: 1.1rem;
    }
}


/* ============================================
   Contact Premium Section Styles
   ============================================ */

.contact-premium-section {
    padding-block: 60px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Contact Info Card */
.contact-info-card {
    background: #fff;
    border-radius: var(--border-radius, 20px);
    padding: 40px;
    box-shadow: 0 2px 2px #6585d70f, 0 .5px .5px #234d9e0f;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card:hover {
    box-shadow: 0 8px 16px rgba(76, 127, 255, 0.1), 0 2px 4px rgba(35, 77, 158, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .contact-info-card {
        padding: 24px;
        gap: 24px;
    }
}

/* Info Header */
.info-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.badge-soft {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(76, 127, 255, 0.1);
    color: var(--primary_color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.info-title {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: var(--text_color);
    margin: 0;
}

.info-desc {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .info-title {
        font-size: 28px;
    }
    .info-desc {
        font-size: 15px;
    }
}

/* Info Points */
.info-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.point-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    transition: all 0.3s ease;
}

.point-icon.blue {
    background: rgba(76, 127, 255, 0.1);
    color: #4C7FFF;
}

.point-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.point-icon.purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333EA;
}

.point-item:hover .point-icon {
    transform: scale(1.1);
}

.point-item h5 {
    font-weight: 600;
    font-size: 18px;
    color: var(--text_color);
    margin: 0 0 4px 0;
}

.point-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Info Footer (Social Links) */
.info-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.info-footer p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 16px 0;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: var(--primary_color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 127, 255, 0.3);
}

.social-links a:focus {
    outline: 2px solid var(--primary_color);
    outline-offset: 2px;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: var(--border-radius, 20px);
    padding: 40px;
    box-shadow: 0 2px 2px #6585d70f, 0 .5px .5px #234d9e0f;
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 8px 16px rgba(76, 127, 255, 0.1), 0 2px 4px rgba(35, 77, 158, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .contact-form-card {
        padding: 24px;
    }
}

.form-title {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--text_color);
    margin: 0 0 32px 0;
}

@media (max-width: 767px) {
    .form-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

/* Form Group Enhancements */
.contact-form-card .form-group {
    margin-bottom: 0;
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text_color);
    margin-bottom: 8px;
    display: block;
}

.contact-form-card .form-control {
    transition: all 0.3s ease;
    border-width: 1.5px;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary_color);
    box-shadow: 0 0 0 3px rgba(76, 127, 255, 0.1);
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #4C7FFF 0%, #5A86FF 35%, #3F6AF5 70%, #4C7FFF 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(76, 127, 255, 0.3);
    position: relative;
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary_color) 65%, black) 0%, color-mix(in srgb, var(--primary_color) 50%, black) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 127, 255, 0.4);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit i,
.btn-submit .btn-icon {
    color: #fff !important;
    transition: transform 0.3s ease;
}

.btn-submit:hover:not(:disabled) i,
.btn-submit:hover:not(:disabled) .btn-icon {
    transform: translateX(4px);
    color: #fff !important;
}

.btn-submit:disabled i,
.btn-submit:disabled .btn-icon {
    color: #fff !important;
}

.btn-submit .btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit .btn-loader i.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.contact-form-card .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form-card .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .contact-premium-section {
        padding-block: 40px;
    }
    
    .contact-grid {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .contact-premium-section {
        padding-block: 32px;
    }
    
    .contact-grid {
        gap: 20px;
    }
    
    .info-points {
        gap: 20px;
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .point-item h5 {
        font-size: 16px;
    }
    
    .point-item p {
        font-size: 13px;
    }
}

/* Contact Form Validation & Loading States */
.contact-form-card .form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.contact-form-card .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.contact-form-card .invalid-feedback.d-none {
    display: none !important;
}

#contact-form-alert {
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
}

#contact-form-alert.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

#contact-form-alert.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-submit .btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit .btn-loader i {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* File Upload Styles (for Issue Reports) */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover {
    border-color: var(--primary_color);
    background-color: rgba(76, 127, 255, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary_color);
    background-color: rgba(76, 127, 255, 0.1);
    transform: scale(1.02);
}

.file-upload-placeholder {
    pointer-events: none;
    color: var(--text-muted);
}

.file-upload-placeholder i {
    color: var(--primary_color);
    opacity: 0.6;
}

/* File Preview List */
.file-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.file-preview-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.file-preview-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.file-preview-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-preview-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.file-preview-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 127, 255, 0.1);
    border-radius: 6px;
    color: var(--primary_color);
    font-size: 24px;
    flex-shrink: 0;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text_color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.file-preview-size {
    font-size: 11px;
    color: var(--text-muted);
}

.file-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border: none;
    border-radius: 50%;
    color: #dc3545;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.file-remove-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

/* Context Info Display */
.context-info-display {
    background: #f8f9fa;
    border-left: 3px solid var(--primary_color);
    font-size: 13px;
}

.context-info-display .context-value {
    color: var(--text_color);
    font-weight: 500;
}

/* Responsive adjustments for file uploads */
@media (max-width: 767px) {
    .file-preview-list {
        grid-template-columns: 1fr;
    }
    
    .file-preview-content {
        gap: 10px;
    }
    
    .file-preview-thumbnail,
    .file-preview-icon {
        width: 50px;
        height: 50px;
    }
    
    .file-preview-name {
        font-size: 12px;
    }
    
    .file-preview-size {
        font-size: 10px;
    }
}

/* Report Issue Tag - Modern Design */
.report-issue-tag-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.report-issue-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(76, 127, 255, 0.1) 0%, rgba(76, 127, 255, 0.05) 100%);
    border: 1.5px solid rgba(76, 127, 255, 0.2);
    border-radius: 12px;
    color: var(--primary_color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    gap: 8px;
}

.report-issue-tag:hover {
    background: linear-gradient(135deg, rgba(76, 127, 255, 0.15) 0%, rgba(76, 127, 255, 0.1) 100%);
    border-color: rgba(76, 127, 255, 0.4);
    color: var(--primary_color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 127, 255, 0.15);
    text-decoration: none;
}

.report-issue-tag i {
    font-size: 16px;
    color: var(--primary_color);
    flex-shrink: 0;
    margin: 0;
}

/* Text rendered as SVG dynamically - makes it harder for crawlers to scrape */
.report-issue-text {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    height: 18px;
    line-height: 18px;
    flex-shrink: 0;
}

.report-issue-text svg {
    height: 18px;
    width: auto;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    overflow: visible;
}

.report-issue-text svg text {
    fill: var(--primary_color);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Hide from screen readers but keep for accessibility */
.report-issue-tag .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive adjustments for report issue tag */
@media (max-width: 767px) {
    .report-issue-tag {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }
    
    .report-issue-tag i {
        font-size: 14px;
    }
    
    .report-issue-text svg {
        height: 16px;
    }
}

/* ================================================================
   AUTH MODALS
   ================================================================ */
#loginModal .modal-content,
#registerModal .modal-content,
#forgotPasswordModal .modal-content {
    border: none;
    border-radius: var(--border-radius, 20px);
    overflow: hidden;
}
#loginModal .btn-close,
#registerModal .btn-close,
#forgotPasswordModal .btn-close {
    z-index: 10;
}
.auth-modal-alert { margin-bottom: 1rem; }
.auth-modal-alert:empty { margin-bottom: 0; }
.auth-modal-success { text-align: center; padding: 2rem 0; }
.auth-modal-success i { font-size: 3rem; color: var(--secondary_color); margin-bottom: 1rem; display: block; }
.modal .sign-with .sign-with-divider span {
    background-color: #fff;
}

/* Auth form inputs */
.auth-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text_color);
}
.auth-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--border-color, #d1d5db);
  border-radius: 10px;
  background: transparent;
  color: var(--text_color);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.auth-input::placeholder {
  color: var(--text-muted, #9ca3af);
}
.auth-input:hover {
  border-color: var(--bs-gray-400, #adb5bd);
}
.auth-input:focus {
  border-color: var(--secondary_color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary_color) 10%, transparent);
}
.auth-input.is-invalid {
  border-color: var(--bs-danger, #dc3545);
}
.auth-input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .auth-input {
  padding-right: 50px;
}
.auth-input-wrap .password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #6c757d);
  cursor: pointer;
  transition: color 0.2s;
}
.auth-input-wrap .password-toggle:hover {
  color: var(--text_color);
}
.auth-submit-btn {
  height: 48px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
}
.auth-link {
  color: var(--primary_color);
  font-weight: 500;
  text-decoration: none;
}
.auth-link:hover {
  opacity: 0.8;
}

/* ================================================================
   QUICK CHECKOUT POPUP
   ================================================================ */
.quick-checkout-popup {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.quick-checkout-popup.show {
  display: flex;
  pointer-events: auto;
}
.quick-checkout-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 0;
}
.quick-checkout-popup-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 16px 16px 0 0;
  padding: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.quick-checkout-popup.show .quick-checkout-popup-panel {
  transform: translateY(0);
}
.quick-checkout-popup-loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.7);
  border-radius: inherit;
  align-items: center;
  justify-content: center;
}
.quick-checkout-popup-loading.active {
  display: flex;
}
.quick-checkout-popup-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.quick-checkout-popup-header {
  flex-shrink: 0;
}
.quick-checkout-popup-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text_color);
}
.quick-checkout-popup-close {
  width: 40px;
  height: 40px;
  background: var(--elements-bg);
  border: none;
  color: var(--text_color);
  transition: background 0.2s, color 0.2s;
}
.quick-checkout-popup-close:hover {
  background: var(--footer_background_color);
  color: var(--text_color);
}

/* Interval tabs */
.qc-interval-tabs {
  display: flex;
  gap: 0;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: 12px;
  padding: 3px;
  background: var(--bs-gray-100, #f8f9fa);
}
.qc-tab-btn {
  flex: 1;
  padding: 11px 20px;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted, #6c757d);
  cursor: pointer;
  transition: all 0.2s;
}
.qc-tab-btn:hover {
  color: var(--text_color);
}
.qc-tab-btn.active {
  background: var(--primary_color);
  color: #fff;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--secondary_color) 35%, transparent);
}

/* Plan cards */
.qc-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1px;
}
.qc-plan-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qc-plan-card:hover {
  border-color: var(--secondary_color);
}
.qc-plan-card.selected {
  border-color: var(--secondary_color);
  box-shadow: 0 0 0 1px var(--secondary_color);
}
.qc-plan-card.featured {
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.03);
}
.qc-plan-card-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-color, #dee2e6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.qc-plan-card.selected .qc-plan-card-radio {
  border-color: var(--secondary_color);
}
.qc-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}
.qc-plan-card.selected .qc-radio-dot {
  background: var(--secondary_color);
}
.qc-plan-card-info {
  flex: 1;
  min-width: 0;
}
.qc-plan-card-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text_color);
}
.qc-plan-card-price {
  font-size: 0.875rem;
  color: var(--text_color);
  font-weight: 500;
}
.qc-plan-card-save {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bs-success, #198754);
  background: rgba(25, 135, 84, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  align-self: center;
}
.qc-tab-save {
  font-size: 0.6875rem;
  font-weight: 700;
  background: rgba(25, 135, 84, 0.12);
  color: var(--bs-success, #198754);
  padding: 2px 7px;
  border-radius: 8px;
  margin-left: 5px;
  vertical-align: middle;
}
.qc-tab-btn.active .qc-tab-save {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.qc-plan-card-interval {
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.8125rem;
}

/* Order summary */
.qc-summary {
  background: #e9ecefa1;
  border-radius: 10px;
  padding: 12px 14px;
}
.qc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.875rem;
  color: var(--text_color);
}
.qc-summary-total {
  border-top: 1px solid var(--border-color, #dee2e6);
  margin-top: 4px;
  padding-top: 8px;
  font-weight: 600;
}

/* Email input */
.qc-email-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text_color);
}
.qc-email-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--border-color, #d1d5db);
  border-radius: 10px;
  background: transparent;
  color: var(--text_color);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.qc-email-input::placeholder {
  color: var(--text-muted, #9ca3af);
}
.qc-email-input:hover {
  border-color: var(--bs-gray-400, #adb5bd);
}
.qc-email-input:focus {
  border-color: var(--primary_color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary_color) 10%, transparent);
}
.qc-email-input.is-invalid {
  border-color: var(--bs-danger, #dc3545);
}
.qc-email-input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}
.qc-email-footer {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted, #6c757d);
}
.qc-login-link {
  font-weight: 600;
  color: var(--secondary_color);
  text-decoration: none;
}
.qc-login-link:hover {
  text-decoration: underline;
}

/* Gateway cards */
.qc-gateway-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1px;
}
.qc-gateway-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qc-gateway-card:hover {
  border-color: var(--secondary_color);
}
.qc-gateway-card.selected {
  border-color: var(--secondary_color);
  box-shadow: 0 0 0 1px var(--secondary_color);
}
.qc-gateway-card input[type="radio"] {
  display: none;
}
.qc-gateway-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color, #dee2e6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.qc-gateway-card.selected .qc-gateway-radio {
  border-color: var(--secondary_color);
}
.qc-gateway-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s;
}
.qc-gateway-card.selected .qc-gateway-dot {
  background: var(--secondary_color);
}
.qc-gateway-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.qc-gateway-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text_color);
}
.qc-gateway-logo {
  height: 25px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-left: auto;
  opacity: 0.6;
}
.qc-gateway-logo.logo-for-dark {
  display: none;
  margin-left: 0;
}
.qc-gateway-logo.logo-for-light {
  display: block;
}

/* Pay button */
.qc-pay-btn {
  font-size: 1rem;
  padding: 12px 20px;
  font-weight: 600;
}
.qc-pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Policy footer */
.qc-policy,
.qc-policy a {
  color: var(--bs-gray-600, #adb5bd) !important;
  font-weight: 300;
  text-decoration: none;
}

/* Mobile bottom sheet */
@media (max-width: 991px) {
  .quick-checkout-popup {
    align-items: flex-end;
  }
  .quick-checkout-popup-panel {
    max-height: 90vh;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Desktop centered modal */
@media (min-width: 992px) {
  .quick-checkout-popup {
    align-items: center;
  }
  .quick-checkout-popup-panel {
    max-width: 540px;
    max-height: 90vh;
    border-radius: 16px;
    transform: none;
  }
  .quick-checkout-popup.show .quick-checkout-popup-panel {
    transform: none;
  }
}

/* Disable tooltips on touch-only devices — tooltips are a hover pattern */
@media (hover: none) and (pointer: coarse) {
  .tooltip {
    display: none !important;
  }
}

/* ================================================================
   Smart CTA Component
   ================================================================ */
.smart-cta {
  text-align: center;
}
.smart-cta--sm {
  display: inline-block;
  text-align: left;
}
.smart-cta__subtext {
  line-height: 1.3;
}
.smart-cta__appreciation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #92400e;
}
.smart-cta__crown {
  color: #f59e0b;
  font-size: 1rem;
}
.smart-cta__trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-opacity);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary_color);
}
.smart-cta__btn-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}
.smart-cta__btn-wrap > .btn {
  border-radius: 12px;
}
.smart-cta__save-badge {
  position: absolute;
  top: 4px;
  right: -28px;
  z-index: 2;
  display: block;
  padding: 1px 0;
  width: 100px;
  text-align: center;
  transform: rotate(35deg);
  background: #16a34a;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
/* QR code canvas styling */
.qr-popup-canvas {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.qr-popup-canvas canvas {
  border-radius: 12px !important;
}
.qr-popup-link-section {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
}
.qr-popup-link-row {
  display: flex;
  gap: 0.5rem;
}
.qr-popup-link-input {
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--footer_background_color) !important;
  text-overflow: ellipsis;
  cursor: default;
}
.qr-popup-copy-btn {
  flex-shrink: 0;
  min-width: 44px;
}

.smart-cta__link {
  color: var(--primary_color);
}
.smart-cta__urgency {
  animation: subtlePulse 2s ease-in-out infinite;
}

/* Final override guard (prod minified conflicts): keep copy icon inline and borderless */
.mail-selection-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.mail-selection-placeholder-email {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding-right: 0 !important;
}
.mail-selection-placeholder-copy {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 30px !important;
  height: 30px !important;
  color: var(--text_color) !important;
  cursor: pointer !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.mail-selection-placeholder-copy svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}
.mail-selection-placeholder-copy:hover {
  color: var(--primary_color) !important;
}

/* Keep logo ratio intact even with explicit width/height attrs */
.logo img {
  max-height: 70px !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
