/**
 * Landing / website — màu cố định, không đọc theme Cài đặt (khác portal-app).
 */
:root {
  --landing-brand: #f4f1ea;
  --landing-brand-rgb: 244, 241, 234;
  --landing-accent: #e8952a;
  --landing-accent-rgb: 232, 149, 42;
  --landing-teal: #1f9e96;
  --landing-teal-rgb: 31, 158, 150;
  --landing-muted: #9aa4b2;
  --landing-surface: #0c1218;
  --landing-surface-2: #141c26;
  --landing-border: rgba(255, 255, 255, 0.09);
  --landing-display: "Inter", "Segoe UI", sans-serif;
  --landing-sans: "Inter", "Segoe UI", sans-serif;
  --portal-ui-font: var(--landing-sans);
  --bs-font-sans-serif: var(--landing-sans);
  --bs-body-font-family: var(--landing-sans);
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: var(--landing-sans);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body.portal-landing {
  margin-bottom: 60px;
  padding-top: 72px;
  font-family: var(--landing-sans);
  color-scheme: dark;
  background:
    radial-gradient(ellipse 70% 50% at 88% -10%, rgba(var(--landing-accent-rgb), 0.2), transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 20%, rgba(var(--landing-teal-rgb), 0.12), transparent 50%),
    linear-gradient(165deg, #070b10 0%, #0c1218 42%, #101820 100%);
  color: #e8edf5;
  overflow-x: hidden;
}

.landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1020;
  border-bottom: 1px solid var(--landing-border) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  background: rgba(7, 11, 16, 0.88) !important;
  backdrop-filter: blur(10px);
}

.portal-landing .landing-navbar .navbar-brand {
  color: #fff !important;
  font-family: var(--landing-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.portal-landing .landing-navbar .nav-link {
  color: var(--landing-muted);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.portal-landing .landing-navbar .nav-link:hover,
.portal-landing .landing-navbar .nav-link:focus {
  color: #fff !important;
}

.portal-landing .landing-navbar .nav-link {
  position: relative;
}

.portal-landing .landing-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  background: var(--landing-accent);
}

.landing-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.55rem;
}

.landing-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(var(--landing-accent-rgb), 0.3);
}

.landing-toggler-icon {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  border-radius: 999px;
}

.landing-toggler-icon::before,
.landing-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.landing-toggler-icon::before {
  top: -6px;
}

.landing-toggler-icon::after {
  top: 6px;
}

.portal-landing .landing-navbar .nav-link:hover::after,
.portal-landing .landing-navbar .nav-link:focus::after {
  transform: scaleX(1);
}

.portal-landing a:not(.btn):not(.navbar-brand):not(.nav-link):not(.page-link):not(.dropdown-item) {
  color: var(--landing-accent);
  text-decoration: none;
}

.portal-landing a:not(.btn):not(.navbar-brand):not(.nav-link):not(.page-link):not(.dropdown-item):hover {
  text-decoration: underline;
}

.portal-landing .btn-primary {
  color: #1a1208;
  background-color: var(--landing-accent);
  border-color: var(--landing-accent);
  font-weight: 700;
}

.crm-circle-btn {
  min-width: 132px;
  height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  border: 1px solid transparent;
}

.crm-btn-register {
  background: #ff9a2f;
  border-color: #ff9a2f;
}

.crm-btn-register:hover,
.crm-btn-register:focus {
  background: #f18a1d;
  border-color: #f18a1d;
  color: #fff;
}

.crm-btn-login {
  background: #e8952a;
  border-color: #e8952a;
  color: #1a1208;
}

.crm-btn-login:hover,
.crm-btn-login:focus {
  background: #d4841f;
  border-color: #d4841f;
  color: #1a1208;
}

.crm-btn-dashboard {
  background: #1f9e96;
  border-color: #1f9e96;
}

.crm-btn-dashboard:hover,
.crm-btn-dashboard:focus {
  background: #178780;
  border-color: #178780;
  color: #fff;
}

.portal-landing .btn-primary:hover,
.portal-landing .btn-primary:focus {
  color: #1a1208;
  background-color: color-mix(in srgb, var(--landing-accent) 88%, white);
  border-color: color-mix(in srgb, var(--landing-accent) 88%, white);
}

.portal-landing .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #e8edf5;
}

.portal-landing .btn-outline-secondary:hover,
.portal-landing .btn-outline-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.portal-landing .form-control,
.portal-landing .form-select {
  background-color: rgba(5, 8, 12, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8edf5;
}

.portal-landing .form-control::placeholder {
  color: rgba(232, 237, 245, 0.42);
}

.portal-landing .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e8edf5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 14px 10px;
}

.portal-landing .form-control:-webkit-autofill,
.portal-landing .form-control:-webkit-autofill:hover,
.portal-landing .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #e8edf5;
  caret-color: #e8edf5;
  box-shadow: 0 0 0 1000px rgba(5, 8, 12, 0.65) inset !important;
}

.portal-landing .form-control:focus,
.portal-landing .form-select:focus,
.portal-landing .form-check-input:focus {
  background-color: rgba(5, 8, 12, 0.68);
  border-color: rgba(var(--landing-accent-rgb), 0.55);
  color: #f2f5fa;
  box-shadow: 0 0 0 0.2rem rgba(var(--landing-accent-rgb), 0.18);
}

.portal-landing .landing-login-form .landing-login-field .form-control {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  min-height: 2.85rem;
}

.portal-landing .landing-login-form .landing-login-field {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.portal-landing .form-check-input {
  background-color: rgba(5, 8, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.portal-landing .form-check-input:checked {
  background-color: var(--landing-accent);
  border-color: var(--landing-accent);
}

.portal-landing .form-check-input[type="checkbox"]:indeterminate {
  background-color: var(--landing-accent);
  border-color: var(--landing-accent);
}

.landing-footer {
  border-top: 1px solid var(--landing-border) !important;
  background: rgba(7, 11, 16, 0.72);
}

/* ——— Hero (full-bleed, no cards) ——— */
.landing-hero-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
  scroll-margin-top: 72px;
}

.landing-hero-full__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 72% 48%, rgba(var(--landing-teal-rgb), 0.16), transparent 62%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(var(--landing-accent-rgb), 0.1), transparent 55%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.2) 0%, rgba(7, 11, 16, 0.85) 100%);
  pointer-events: none;
}

.landing-hero-full__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 65% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.landing-hero-full__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .landing-hero-full__content {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.landing-brand-mark {
  font-family: var(--landing-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 1rem;
}

.landing-hero-full__title {
  font-family: var(--landing-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f7f4ee;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.landing-hero-full__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #b8c2d0;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.landing-hero-full__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.landing-hero-visual {
  display: flex;
  justify-content: center;
}

.gate-scene {
  width: min(100%, 420px);
}

.gate-scene__frame {
  position: relative;
  height: 280px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(20, 28, 38, 0.9), rgba(10, 14, 20, 0.95)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.gate-scene__pillar {
  position: absolute;
  top: 12%;
  bottom: 10%;
  width: 28px;
  background: linear-gradient(180deg, #2a3544, #151b24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gate-scene__pillar--left {
  left: 18%;
}

.gate-scene__pillar--right {
  right: 18%;
}

.gate-scene__beam {
  position: absolute;
  top: 38%;
  left: 22%;
  right: 22%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--landing-teal-rgb), 0.15),
    rgba(var(--landing-teal-rgb), 0.95),
    rgba(var(--landing-teal-rgb), 0.15),
    transparent
  );
  box-shadow: 0 0 18px rgba(var(--landing-teal-rgb), 0.45);
  animation: gate-scan 2.8s ease-in-out infinite;
}

.gate-scene__arm {
  position: absolute;
  top: 42%;
  left: calc(18% + 28px);
  width: 42%;
  height: 10px;
  transform-origin: left center;
  background: linear-gradient(90deg, #e8952a, #f0b35a);
  border-radius: 2px;
  animation: gate-arm 4.2s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(var(--landing-accent-rgb), 0.35);
}

.gate-scene__reader {
  position: absolute;
  top: 22%;
  right: calc(18% + 36px);
  width: 36px;
  height: 52px;
  border-radius: 4px;
  background: #0a0e14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.gate-scene__reader-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--landing-teal);
  box-shadow: 0 0 10px rgba(var(--landing-teal-rgb), 0.8);
  animation: gate-led 4.2s ease-in-out infinite;
}

.gate-scene__ticket {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 40px;
  border-radius: 3px;
  background: #f4f1ea;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  animation: ticket-float 4.2s ease-in-out infinite;
}

.gate-scene__ticket span {
  display: block;
  height: 3px;
  background: rgba(12, 18, 24, 0.35);
  border-radius: 1px;
}

.gate-scene__ticket span:nth-child(2) {
  width: 70%;
}

.gate-scene__ticket span:nth-child(3) {
  width: 45%;
}

.gate-scene__caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(184, 194, 208, 0.75);
  font-weight: 600;
}

@keyframes gate-scan {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@keyframes gate-arm {
  0%,
  28% {
    transform: rotate(0deg);
  }
  42%,
  68% {
    transform: rotate(-78deg);
  }
  82%,
  100% {
    transform: rotate(0deg);
  }
}

@keyframes gate-led {
  0%,
  28% {
    background: #c45c3a;
    box-shadow: 0 0 8px rgba(196, 92, 58, 0.55);
  }
  42%,
  68% {
    background: var(--landing-teal);
    box-shadow: 0 0 12px rgba(var(--landing-teal-rgb), 0.85);
  }
  82%,
  100% {
    background: #c45c3a;
    box-shadow: 0 0 8px rgba(196, 92, 58, 0.55);
  }
}

@keyframes ticket-float {
  0%,
  28% {
    opacity: 0.35;
    transform: translate(-50%, 8px);
  }
  42%,
  55% {
    opacity: 1;
    transform: translate(-50%, -18px);
  }
  68%,
  100% {
    opacity: 0.2;
    transform: translate(-50%, -40px);
  }
}

.landing-section {
  scroll-margin-top: 86px;
  margin-bottom: 2.75rem;
  padding-top: 0.5rem;
}

.landing-section-heading {
  font-family: var(--landing-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #fff;
  margin-bottom: 0.65rem;
}

.landing-section-lead {
  color: #b8c2d0;
  max-width: 52ch;
  line-height: 1.55;
}

.landing-story {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .landing-story {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }
}

.landing-story__media {
  position: relative;
  min-height: 220px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(var(--landing-teal-rgb), 0.18), transparent 55%),
    linear-gradient(180deg, #16202b, #0c1218);
}

.landing-story__orb {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  right: 12%;
  top: 18%;
  background: radial-gradient(circle at 35% 30%, rgba(var(--landing-accent-rgb), 0.55), transparent 65%);
  filter: blur(2px);
  animation: orb-drift 7s ease-in-out infinite;
}

.landing-story__lanes {
  position: absolute;
  inset: 20% 10% 18% 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.landing-story__lanes span {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform-origin: left;
  animation: lane-draw 3.6s ease-in-out infinite;
}

.landing-story__lanes span:nth-child(2) {
  animation-delay: 0.35s;
}

.landing-story__lanes span:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-12px, 10px);
  }
}

@keyframes lane-draw {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleX(0.55);
  }
  50% {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

.landing-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .landing-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .landing-flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-flow__step {
  padding-top: 0.35rem;
  border-top: 2px solid rgba(var(--landing-accent-rgb), 0.55);
}

.landing-flow__num {
  display: block;
  font-family: var(--landing-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--landing-accent);
  margin-bottom: 0.55rem;
}

.landing-flow__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.landing-flow__body {
  color: #b8c2d0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.landing-quotes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .landing-quotes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.landing-quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.landing-quote p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #d5dde8;
  margin-bottom: 1rem;
}

.landing-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.landing-quote footer strong {
  color: #fff;
  font-size: 0.9rem;
}

.landing-quote footer span {
  color: var(--landing-muted);
  font-size: 0.8rem;
}

.landing-teams {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .landing-teams {
    grid-template-columns: repeat(3, 1fr);
  }
}

.landing-team {
  padding: 1.35rem 0 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .landing-team {
    padding: 1.5rem 1.5rem 0.25rem 0;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .landing-team:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .landing-team:not(:first-child) {
    padding-left: 1.5rem;
  }
}

.landing-team__title {
  font-family: var(--landing-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--landing-accent);
  margin-bottom: 0.55rem;
}

.landing-team__body {
  color: #b8c2d0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.landing-section--contact {
  padding-bottom: 1rem;
}

.landing-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.landing-reveal--delay {
  transition-delay: 0.12s;
}

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

@media (prefers-reduced-motion: reduce) {
  .landing-reveal,
  .landing-reveal--delay {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gate-scene__beam,
  .gate-scene__arm,
  .gate-scene__reader-led,
  .gate-scene__ticket,
  .landing-story__orb,
  .landing-story__lanes span,
  .client-slider-track {
    animation: none !important;
  }
}

.landing-hero {
  padding: 2rem 0 1rem;
}

@media (min-width: 768px) {
  body.portal-landing {
    padding-top: 78px;
  }

  .landing-hero-full {
    min-height: calc(100vh - 78px);
    padding: 3rem 0 3.5rem;
  }

  .landing-section {
    margin-bottom: 3.25rem;
  }
}

@media (max-width: 991.98px) {
  .landing-navbar .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .landing-navbar .navbar-collapse {
    flex-basis: 100%;
  }

  #navLanding {
    margin-top: 0.6rem;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    background: rgba(20, 28, 38, 0.96);
    padding: 0.6rem;
  }

  #navLanding:not(.show) {
    display: none !important;
  }

  #navLanding .nav-link {
    padding: 0.55rem 0.75rem;
  }

  #navLanding .nav-item .btn {
    width: 100%;
    margin-top: 0.25rem;
  }

  #navLanding .nav-item .crm-circle-btn {
    width: 100%;
    min-width: 0;
    height: 40px;
    margin-top: 0.35rem;
  }
}

.landing-hero__title {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.landing-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--landing-accent);
}

.landing-card {
  background: linear-gradient(180deg, var(--landing-surface-2), var(--landing-surface));
  border-radius: 14px;
  border: 1px solid var(--landing-border);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  max-width: 100%;
}

.portal-landing .login-tenant-modal .modal-content.login-tenant-modal__content {
  background: linear-gradient(180deg, var(--landing-surface-2), var(--landing-surface));
  border: 1px solid var(--landing-border);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  color: #e8edf5;
}

.portal-landing .login-tenant-modal .modal-header {
  border-bottom: none;
}

.portal-landing .login-tenant-modal .modal-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.portal-landing .login-tenant-modal .login-tenant-modal__lead {
  color: #e8edf5;
}

.portal-landing .login-tenant-modal .btn-close--landing {
  filter: invert(1);
  opacity: 0.65;
}

.portal-landing .login-tenant-modal .btn-close--landing:hover {
  opacity: 1;
}

.portal-landing .login-tenant-modal .landing-tenant-hint {
  border-color: rgba(var(--landing-accent-rgb), 0.28) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #cdd6e2 !important;
}

.portal-landing .login-tenant-modal .login-tenant-card {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(var(--landing-accent-rgb), 0.22),
    rgba(var(--landing-accent-rgb), 0.06)
  );
  border: 1px solid rgba(var(--landing-accent-rgb), 0.5);
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.portal-landing .login-tenant-modal .login-tenant-card:hover,
.portal-landing .login-tenant-modal .login-tenant-card:focus {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(var(--landing-accent-rgb), 0.42),
    rgba(var(--landing-accent-rgb), 0.14)
  );
  border-color: rgba(var(--landing-accent-rgb), 0.85);
  box-shadow: 0 10px 28px rgba(var(--landing-accent-rgb), 0.25);
  transform: translateY(-1px);
}

.portal-landing .login-tenant-modal .login-tenant-card:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 2px;
}

.portal-landing .login-tenant-modal .login-tenant-card__icon {
  background: rgba(var(--landing-accent-rgb), 0.25);
  color: var(--landing-accent);
}

.portal-landing .login-tenant-modal .login-tenant-card__chevron {
  color: var(--landing-muted);
  opacity: 0.9;
}

.portal-landing .login-tenant-modal__loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  background: rgba(11, 16, 22, 0.82);
  backdrop-filter: blur(4px);
  border-radius: 0 0 12px 12px;
}

.portal-landing .login-tenant-modal__loading-overlay[hidden] {
  display: none !important;
}

.portal-landing .login-tenant-modal__spinner {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--landing-accent);
  border-width: 0.2em;
}

.portal-landing .login-tenant-modal__loading-text {
  color: rgba(232, 237, 245, 0.92);
  font-weight: 600;
}

.portal-landing .login-tenant-modal .login-tenant-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.portal-landing .login-tenant-modal .btn-close--landing:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.landing-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.metric-pill {
  border: 1px solid rgba(var(--landing-accent-rgb), 0.38);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(var(--landing-accent-rgb), 0.1);
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.76rem;
}

.metric-pill strong {
  color: var(--landing-brand);
}

.metric-pill span {
  color: #cdd6e2;
}

.landing-side-note {
  border-radius: 14px;
  border: 1px dashed rgba(var(--landing-accent-rgb), 0.32);
  background: rgba(255, 255, 255, 0.03);
}

.section-title {
  letter-spacing: -0.02em;
}

.pricing-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-block {
  border: 1px solid rgba(var(--landing-accent-rgb), 0.22);
}

.client-slider-wrap {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-slider-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: client-marquee 28s linear infinite;
}

.client-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.55rem 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #f1f5fb;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.testimonial-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.org-box {
  border: 1px solid rgba(var(--landing-accent-rgb), 0.22);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.service-code {
  font-size: 0.72rem;
  color: #ffb789;
  border: 1px solid rgba(var(--landing-accent-rgb), 0.25);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  white-space: nowrap;
}

.package-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-specs > div {
  gap: 0.75rem;
  padding: 0.15rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.package-specs > div:last-child {
  border-bottom: 0;
}

.package-features {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #d9e1ea;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.pricing-lines strong {
  color: #dce5ef;
}

.price-badge {
  background: rgba(var(--landing-accent-rgb), 0.1);
  color: #ffb789;
  border: 1px solid rgba(var(--landing-accent-rgb), 0.25);
  border-radius: 999px;
  padding: 0.08rem 0.55rem;
  font-weight: 600;
  white-space: nowrap;
}

.portal-landing .text-muted {
  color: inherit !important;
}

.landing-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.landing-media-block {
  min-height: 280px;
  border-radius: 14px;
  border: 1px solid var(--landing-border);
  background:
    linear-gradient(35deg, rgba(var(--landing-accent-rgb), 0.22), transparent 50%),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #1a2230 0%, #10151e 100%);
  box-shadow: inset 0 -50px 80px rgba(0, 0, 0, 0.36);
  position: relative;
  overflow: hidden;
}

.landing-media-block::after {
  content: "CREATIVE";
  position: absolute;
  right: 0.9rem;
  bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 992px) {
  .landing-navbar .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .landing-split {
    grid-template-columns: 1.15fr 1fr;
  }
}

@media (max-width: 575.98px) {
  body.portal-landing {
    padding-top: 68px;
  }

  .landing-navbar .container,
  .portal-landing .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .landing-hero-full {
    min-height: auto;
    padding: 1.5rem 0 2.25rem;
  }

  .landing-hero-full__title {
    max-width: none;
  }

  .gate-scene__frame {
    height: 220px;
  }

  .landing-hero {
    padding-top: 1.25rem;
  }

  .landing-hero__title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .landing-card {
    border-radius: 12px;
  }

  .landing-card.p-4,
  .landing-card.p-md-5 {
    padding: 1rem !important;
  }

  .landing-metrics {
    gap: 0.4rem;
  }

  .metric-pill {
    width: 100%;
    justify-content: space-between;
  }

  .pricing-lines > div {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .price-badge {
    white-space: normal;
    word-break: break-word;
  }

  .landing-media-block {
    min-height: 200px;
  }
}

@keyframes client-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.portal-landing .language-selector .language-btn {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  white-space: nowrap;
  text-decoration: none;
}
.portal-landing .language-selector .language-btn:hover {
  color: #fff;
}
.portal-landing .language-selector .language-btn:focus,
.portal-landing .language-selector .language-btn:focus-visible {
  color: #fff;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--landing-accent-rgb), 0.32);
}
.portal-landing .language-selector .current-lang {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--landing-accent);
}

.portal-landing .language-selector .dropdown-item.language-option:hover,
.portal-landing .language-selector .dropdown-item.language-option:focus {
  color: var(--landing-surface);
  background-color: rgba(var(--landing-accent-rgb), 0.2);
}

.portal-landing .language-selector .dropdown-item.language-option.active,
.portal-landing .language-selector .dropdown-item.language-option:active {
  color: var(--landing-surface);
  background-color: rgba(var(--landing-accent-rgb), 0.42);
  font-weight: 600;
}

.portal-landing .language-selector .dropdown-item.language-option.active:hover,
.portal-landing .language-selector .dropdown-item.language-option.active:focus {
  color: var(--landing-surface);
  background-color: rgba(var(--landing-accent-rgb), 0.52);
}

.portal-landing .language-selector .flag-icon {
  width: 20px;
  height: auto;
  max-height: 14px;
  object-fit: cover;
  border-radius: 2px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.portal-landing .language-selector .language-option {
  display: flex;
  align-items: center;
}
