/* Nico homepage & guest pages — aligned with user dashboard (theme-default) */
.nico-home,
.nico-guest {
  --nico-bg: #f5f7fb;
  --nico-surface: #ffffff;
  --nico-border: rgba(2, 24, 76, 0.1);
  --nico-text: #0a0a0a;
  --nico-muted: #495057;
  --nico-primary: #02184c;
  --nico-accent: #467fcf;
  --nico-panel-bg: linear-gradient(135deg, #02184c 0%, #1a3d72 52%, #467fcf 100%);
  --nico-panel-border: rgba(70, 127, 207, 0.28);
  --nico-panel-shadow: 0 16px 48px rgba(2, 24, 76, 0.2);
  --nico-gradient: linear-gradient(135deg, #02184c 0%, #467fcf 100%);
  --nico-glow: 0 12px 40px rgba(2, 24, 76, 0.14);
  --nico-radius: 16px;
  --nico-nav-max: 1320px;
  --nico-home-nav-clearance: 4.5rem;
  --nico-home-nav-gap: 1rem;
  font-family: "Poppins", "Noto Sans TC", "Inter", sans-serif;
  color: var(--nico-text);
  background: var(--nico-bg);
  overflow-x: hidden;
}

.nico-guest .footer {
  background: transparent !important;
}

.nico-home.nico-home--dark,
.nico-guest.nico-home--dark {
  --nico-bg: #0f172a;
  --nico-surface: #1e293b;
  --nico-border: rgba(70, 127, 207, 0.18);
  --nico-text: #f5f7fb;
  --nico-muted: #adb5bd;
  --nico-panel-bg: linear-gradient(135deg, #151e2e 0%, #1e3a5f 55%, #2a5298 100%);
  --nico-panel-border: rgba(70, 127, 207, 0.22);
  --nico-panel-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  --nico-glow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nico-home h1,
.nico-home h2,
.nico-home h3,
.nico-home h4,
.nico-home p {
  color: inherit;
}

.nico-home .spinner-wrapper {
  background: var(--nico-bg);
}

/* Floating nav — rounded on all four corners */
.nico-home__nav-shell,
.nico-home__nav-shell.top-nav-collapse {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem clamp(1rem, 3vw, 2.5rem) 0;
  pointer-events: none;
  background: transparent !important;
  box-shadow: none !important;
}

.nico-home__nav-shell header {
  background: transparent;
  margin: 0;
  padding: 0;
}

.nico-home .nico-home__nav-float,
.nico-home .nico-home__nav-float.top-nav-collapse,
.nico-guest .nico-home__nav-float,
.nico-guest .nico-home__nav-float.top-nav-collapse {
  pointer-events: auto;
  max-width: var(--nico-nav-max);
  width: 100%;
  margin: 0 auto;
  border-radius: var(--nico-radius);
  background: var(--nico-panel-bg) !important;
  border: 1px solid var(--nico-panel-border);
  box-shadow: var(--nico-panel-shadow) !important;
  backdrop-filter: blur(12px);
  padding: 0.55rem 1.25rem !important;
  position: relative !important;
  top: auto !important;
  font-family: "Poppins", "Noto Sans TC", sans-serif;
  font-weight: 500;
}

@media (min-width: 992px) {
  .nico-home .navbar-custom.nico-home__nav-float,
  .nico-home .navbar-custom.nico-home__nav-float.top-nav-collapse {
    padding: 0.55rem 1.25rem !important;
    background: var(--nico-panel-bg) !important;
    box-shadow: var(--nico-panel-shadow) !important;
  }
}

.nico-home__nav-container {
  max-width: 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.nico-home .navbar-custom .nav-link,
.nico-guest .navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nico-home .navbar-custom .nav-link:hover,
.nico-home .navbar-custom .nav-link.active,
.nico-guest .navbar-custom .nav-link:hover,
.nico-guest .navbar-custom .nav-link.active {
  color: #b8d4ff !important;
}

.nico-home .btn-login {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  border-radius: 10px;
  padding: 0.45rem 1.1rem;
  background: transparent;
}

.nico-home .btn-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.nico-home .nico-home__nav-float .btn-getstarted,
.nico-home .nico-home__nav-float .btn-primary.btn-getstarted {
  background: #fff !important;
  color: var(--nico-primary) !important;
  border: 1px solid #fff !important;
  border-radius: 10px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  box-shadow: none;
}

.nico-home .nico-home__nav-float .btn-getstarted:hover,
.nico-home .nico-home__nav-float .btn-primary.btn-getstarted:hover {
  background: #eef2f8 !important;
  border-color: #eef2f8 !important;
  color: var(--nico-primary) !important;
}

.nico-home__hero .btn-getstarted,
.nico-home__hero .btn-primary.btn-getstarted {
  background: var(--nico-primary) !important;
  color: #fff !important;
  border: 1px solid var(--nico-primary) !important;
}

.nico-home__hero .btn-getstarted:hover,
.nico-home__hero .btn-primary.btn-getstarted:hover {
  background: #032a6e !important;
  border-color: #032a6e !important;
}

/* Hero — extended vertical space; content clears floating nav */
.nico-home__hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 7rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.nico-home__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(70, 127, 207, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 5%, rgba(2, 24, 76, 0.08), transparent 50%),
    linear-gradient(180deg, var(--nico-bg) 0%, #eef2f8 100%);
  z-index: 0;
}

.nico-home.nico-home--dark .nico-home__hero-bg {
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(70, 127, 207, 0.15), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 5%, rgba(2, 24, 76, 0.25), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #151e2e 100%);
}

.nico-home__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 24, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 24, 76, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 25%, transparent 92%);
  z-index: 0;
}

.nico-home.nico-home--dark .nico-home__grid {
  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);
}

.nico-home__hero .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.nico-home__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--nico-border);
  background: var(--nico-surface);
  color: var(--nico-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(2, 24, 76, 0.06);
}

.nico-home__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45cb85;
  box-shadow: 0 0 8px rgba(69, 203, 133, 0.6);
  animation: nico-pulse 2s infinite;
}

@keyframes nico-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.nico-home__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: none;
}

.nico-home__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--nico-muted);
  max-width: 56ch;
  margin-bottom: 2.25rem;
}

.nico-home__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.nico-home__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--nico-border);
  background: var(--nico-surface);
  color: var(--nico-primary);
  text-decoration: none !important;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nico-home__btn-ghost:hover {
  border-color: var(--nico-accent);
  box-shadow: var(--nico-glow);
  color: var(--nico-primary);
}

.nico-home__hero-visual {
  position: relative;
}

.nico-home__hero-card {
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  border-radius: var(--nico-radius);
  padding: 1.5rem;
  box-shadow: var(--nico-glow);
}

.nico-home__hero-card img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.nico-home__float {
  position: absolute;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nico-primary);
  box-shadow: var(--nico-glow);
}

.nico-home__float--tl {
  top: -12px;
  left: -12px;
}

.nico-home__float--br {
  bottom: 20px;
  right: -8px;
  color: var(--nico-accent);
}

/* Sections — extended length */
.nico-home__section {
  padding: 7rem 0;
  position: relative;
}

.nico-home__section .container {
  max-width: 1320px;
}

.nico-home__section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.nico-home__section-kicker {
  color: var(--nico-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.nico-home__section-heading {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nico-home__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.nico-home__stat {
  padding: 1.75rem 1.5rem;
  border-radius: var(--nico-radius);
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.nico-home__stat:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 127, 207, 0.35);
  box-shadow: var(--nico-glow);
}

.nico-home__stat i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--nico-accent);
}

.nico-home__stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--nico-primary);
}

.nico-home__stat-label {
  color: var(--nico-muted);
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.nico-home__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.nico-home__feature {
  padding: 1.75rem 1.5rem;
  border-radius: var(--nico-radius);
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  height: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nico-home__feature:hover {
  border-color: rgba(70, 127, 207, 0.35);
  box-shadow: var(--nico-glow);
}

.nico-home__feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nico-primary);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.nico-home__feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--nico-primary);
}

.nico-home__feature p {
  color: var(--nico-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.nico-home__platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.nico-home__platform {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nico-home__platform:hover {
  border-color: var(--nico-accent);
  box-shadow: var(--nico-glow);
}

.nico-home__platform i {
  font-size: 1.35rem;
  color: var(--nico-accent);
}

/* Payment methods — 4 per row */
.nico-home__payments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.nico-home__payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 108px;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nico-home__payment:hover {
  border-color: var(--nico-accent);
  box-shadow: var(--nico-glow);
  transform: translateY(-2px);
}

.nico-home__payment-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(2, 24, 76, 0.06), rgba(70, 127, 207, 0.12));
  color: var(--nico-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nico-home__payment-icon--img {
  background: #fff;
  border: 1px solid rgba(70, 127, 207, 0.1);
  padding: 4px;
}

.nico-home__payment-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nico-home__payment-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nico-primary);
  line-height: 1.25;
  word-break: keep-all;
}

.nico-home main > .container {
  max-width: 1320px;
}

.nico-home__cta-band {
  margin: 0 0 7rem;
  padding: 3.5rem 2.5rem;
  border-radius: var(--nico-radius);
  text-align: center;
  background: var(--nico-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--nico-glow);
}

.nico-home__cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.nico-home__cta-band h2,
.nico-home__cta-band p,
.nico-home__cta-band .btn {
  position: relative;
  z-index: 1;
}

.nico-home__cta-band h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.nico-home__cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.nico-home__cta-band .btn {
  display: inline-block;
  background: #fff !important;
  color: var(--nico-primary) !important;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.65rem 1.5rem;
  pointer-events: auto;
  cursor: pointer;
}

/* Footer — same floating rounded panel as nav */
.nico-home__footer,
.nico-guest .footer.nico-home__footer {
  display: block !important;
  visibility: visible !important;
  background: transparent !important;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 2.5rem;
  margin-top: 2rem;
  font-size: 14px;
  position: relative;
  z-index: 5;
}

.nico-home__footer-panel {
  max-width: var(--nico-nav-max);
  margin: 0 auto;
  background: linear-gradient(135deg, #02184c 0%, #1a3d72 52%, #467fcf 100%);
  background: var(--nico-panel-bg);
  border-radius: var(--nico-radius);
  border: 1px solid var(--nico-panel-border);
  box-shadow: var(--nico-panel-shadow);
  padding: 2.5rem 2rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.nico-guest .footer p,
.nico-guest .footer .copyrights,
.nico-guest .footer .quick-link a {
  color: rgba(255, 255, 255, 0.72);
}

.nico-home__footer .footer-top {
  padding: 0 0 1.5rem;
}

.nico-home__footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nico-home__footer .footer-info .logo img {
  max-height: 40px;
  -webkit-filter: none;
  filter: none;
}

.nico-home__footer-title {
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.nico-home__footer-list {
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0;
  line-height: 1.85;
}

.nico-home__footer .icon-container {
  margin-top: 1rem;
}

.nico-home__footer .fa-stack .fa-stack-2x {
  color: rgba(255, 255, 255, 0.12);
}

.nico-home__footer .fa-stack .fa-stack-1x {
  color: #fff;
}

.nico-home__footer .fa-stack:hover .fa-stack-2x {
  color: var(--nico-accent);
}

.nico-home__footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.nico-home__footer .copyrights p {
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.nico-home__footer-links ul a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

.nico-home__footer-links ul a:hover {
  color: #fff;
}

.nico-guest .nico-home__footer .footer-bottom .footer-links {
  margin-bottom: 0;
}

.nico-guest .nico-home__footer .footer-menu ul {
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0;
  margin: 0;
}

.nico-guest .nico-home__footer .footer-menu ul li {
  padding: 0;
}

.nico-home__footer .footer-lang-selector select,
.nico-home__footer .footer-lang-selector .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
}

@media (max-width: 1199px) {
  .nico-home__stats,
  .nico-home__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .nico-home {
    --nico-home-nav-clearance: 3.5rem;
    --nico-home-nav-gap: 0.75rem;
  }

  .nico-home__nav-shell {
    padding: 0.55rem 0.65rem 0;
  }

  .nico-home .nico-home__nav-float {
    border-radius: 16px;
    padding: 0.45rem 0.85rem !important;
  }

  .nico-home .navbar-custom .navbar-nav {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .nico-home__hero {
    padding: calc(var(--nico-home-nav-clearance) + var(--nico-home-nav-gap)) 0 2rem;
    min-height: auto;
  }

  .nico-home__section#stats {
    padding: 2rem 0 2.75rem;
  }

  .nico-home__section#stats .nico-home__section-title {
    margin-bottom: 1.35rem;
  }

  .nico-home__hero .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nico-home__hero .row > .col-lg-6:first-child {
    text-align: center;
  }

  .nico-home__title {
    font-size: clamp(1.65rem, 6vw, 2.15rem);
    margin-bottom: 1rem;
  }

  .nico-home__lead {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .nico-home__cta-row {
    justify-content: center;
  }

  .nico-home__hero-visual {
    margin-top: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .nico-home__hero-card {
    padding: 1rem;
  }

  .nico-home__float {
    display: none;
  }

  .nico-home__section {
    padding: 3.5rem 0;
  }

  .nico-home__section .container,
  .nico-home main > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nico-home__section-title {
    margin-bottom: 2rem;
  }

  .nico-home__section-heading {
    font-size: clamp(1.45rem, 5vw, 1.85rem);
  }

  .nico-home__platforms {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .nico-home__cta-band {
    margin-bottom: 3rem;
    padding: 2rem 1.25rem;
    border-radius: 14px;
  }

  .nico-home__cta-band p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .nico-home__footer {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 1.5rem;
  }

  .nico-home__footer-brand {
    justify-content: center;
    text-align: center;
  }

  .nico-home__footer-contact {
    text-align: center;
    margin-top: 0.5rem;
  }

  .nico-home__footer .icon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .nico-home__footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .nico-home__footer-links ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
  }
}

@media (max-width: 575px) {
  .nico-home {
    --nico-home-nav-clearance: 3.15rem;
    --nico-home-nav-gap: 0.55rem;
  }

  .nico-home__badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.85rem;
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .nico-home__title {
    font-size: 1.65rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
  }

  .nico-home__lead {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
    color: var(--nico-muted);
  }

  .nico-home__cta-row {
    flex-direction: row;
    width: 100%;
    gap: 0.55rem;
  }

  .nico-home__cta-row .btn,
  .nico-home__cta-row .nico-home__btn-ghost {
    flex: 1;
    min-height: 46px;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.88rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    white-space: nowrap;
  }

  .nico-home__cta-row .btn i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
  }

  .nico-home__btn-ghost {
    border-width: 1.5px;
  }

  .nico-home__hero-visual {
    margin-top: 1.5rem;
  }

  .nico-home__section#stats {
    padding: 1.5rem 0 2.25rem;
  }

  .nico-home__section#stats .nico-home__section-kicker {
    font-size: 0.72rem;
    margin-bottom: 0.4rem;
  }

  .nico-home__section#stats .nico-home__section-heading {
    font-size: 1.35rem;
  }

  .nico-home__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .nico-home__stat {
    padding: 0.9rem 0.6rem;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(2, 24, 76, 0.06);
  }

  .nico-home__stat::before {
    display: none;
  }

  .nico-home__stat i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(70, 127, 207, 0.12);
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
  }

  .nico-home__stat-value {
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .nico-home__stat-label {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 0.25rem;
  }

  .nico-home__features {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .nico-home__feature {
    padding: 1.25rem 1.1rem;
  }

  .nico-home__platform {
    padding: 0.7rem 0.75rem;
    font-size: 0.82rem;
    gap: 0.5rem;
  }

  .nico-home__platform i {
    font-size: 1.15rem;
  }

  .nico-home__section {
    padding: 2.75rem 0;
  }

  .nico-home__section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .nico-home__cta-band {
    margin-bottom: 2.25rem;
    padding: 1.65rem 1rem;
  }

  .nico-home__cta-band h2 {
    font-size: 1.35rem;
  }

  .nico-home__cta-band .btn {
    width: 100%;
  }

  .nico-home__footer-panel {
    padding: 1.65rem 1rem 1rem;
    border-radius: 14px;
  }

  .nico-home__footer-title {
    font-size: 1rem;
  }

  .nico-home__footer-list {
    font-size: 0.88rem;
  }
}

/* Guest inner pages — services, faq, blog, api, terms */
.nico-guest {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  --nico-guest-nav-clearance: 5.5rem;
  --nico-guest-nav-gap: 1.75rem;
}

.nico-guest__main {
  flex: 1 0 auto;
  padding: calc(var(--nico-guest-nav-clearance) + var(--nico-guest-nav-gap)) clamp(1rem, 3vw, 2.5rem) 1.5rem;
  background: var(--nico-bg);
  min-height: 0;
}

.nico-guest__container {
  max-width: var(--nico-nav-max);
  padding-left: 0;
  padding-right: 0;
}

.nico-guest section.page-title {
  margin: 0 0 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  border-radius: var(--nico-radius);
  box-shadow: var(--nico-glow);
  font-size: inherit;
  font-weight: inherit;
  line-height: normal;
}

.nico-guest section.page-title h1.page-title,
.nico-guest .page-header h1.page-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--nico-primary);
}

.nico-guest .page-header {
  margin: 0 0 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  border-radius: var(--nico-radius);
  box-shadow: var(--nico-glow);
}

.nico-guest section.page-title .form-group {
  margin-bottom: 0;
}

.nico-guest .row.m-t-5,
.nico-guest .page-header + .row,
.nico-guest #result_ajaxSearch.row {
  margin-top: 1rem !important;
  margin-left: 0;
  margin-right: 0;
  padding: 1.25rem;
  background: var(--nico-surface);
  border: 1px solid var(--nico-border);
  border-radius: var(--nico-radius);
  box-shadow: var(--nico-glow);
  overflow: hidden;
}

.nico-guest .row.m-t-5 > [class*="col-"],
.nico-guest .page-header + .row > [class*="col-"],
.nico-guest #result_ajaxSearch.row > [class*="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.nico-guest .row.m-t-5 .card,
.nico-guest .page-header + .row .card,
.nico-guest #result_ajaxSearch.row .card {
  box-shadow: none;
  border: 1px solid var(--nico-border);
}

.nico-guest .row.m-t-5 .card:last-child,
.nico-guest .page-header + .row .card:last-child,
.nico-guest #result_ajaxSearch.row .card:last-child {
  margin-bottom: 0;
}

.nico-guest .card {
  border-radius: var(--nico-radius);
  border: 1px solid var(--nico-border);
  box-shadow: var(--nico-glow);
}

.nico-guest .card-header {
  background: var(--nico-surface);
  border-bottom: 1px solid var(--nico-border);
  font-weight: 600;
  color: var(--nico-primary);
}

.nico-guest .btn-primary {
  background: var(--nico-primary) !important;
  border-color: var(--nico-primary) !important;
  border-radius: 10px;
}

.nico-guest .btn-primary:hover {
  background: #032a6e !important;
  border-color: #032a6e !important;
}

.nico-guest .text-primary {
  color: var(--nico-accent) !important;
}

.nico-guest .page-title,
.nico-guest h1,
.nico-guest h2.h3,
.nico-guest .content h1 {
  color: var(--nico-primary);
}

.nico-guest .table thead th {
  background: rgba(2, 24, 76, 0.04);
  color: var(--nico-primary);
  border-color: var(--nico-border);
}

.nico-guest .table td,
.nico-guest .table th {
  border-color: var(--nico-border);
}

.nico-guest .navbar-custom .navbar-toggler {
  color: #fff;
  border: none;
}

.nico-guest .navbar-custom button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-times {
  display: none;
}

.nico-guest .navbar-custom button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-bars {
  display: inline-block;
}

.nico-guest .navbar-custom button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-bars {
  display: none;
}

.nico-guest .navbar-custom button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-times {
  display: inline-block;
}

@media (max-width: 991px) {
  .nico-guest {
    --nico-guest-nav-clearance: 5.25rem;
    --nico-guest-nav-gap: 1.25rem;
  }

  .nico-guest section.page-title .row > [class*="col-md-"] {
    margin-top: 0.75rem;
  }

  .nico-guest section.page-title .row > [class*="col-md-"]:first-child {
    margin-top: 0;
  }
}

/* Guest/blog overrides — must load after blog.css & dark.css */
body.nico-guest {
  background: var(--nico-bg) !important;
}

.nico-home .nico-home__footer,
.nico-guest .nico-home__footer,
.nico-guest footer.footer.nico-home__footer {
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  box-shadow: none !important;
}

.nico-home .nico-home__footer .footer-top,
.nico-guest .nico-home__footer .footer-top {
  border: none !important;
}

.nico-home .nico-home__footer .footer-bottom,
.nico-home .nico-home__footer .wrapper.footer-bottom,
.nico-home .nico-home__footer .nico-home__footer-bottom,
.nico-guest .nico-home__footer .footer-bottom,
.nico-guest .nico-home__footer .wrapper.footer-bottom,
.nico-guest .nico-home__footer .nico-home__footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.nico-guest .nico-home__footer .copyrights,
.nico-guest .nico-home__footer .copyrights p {
  color: rgba(255, 255, 255, 0.55) !important;
}

.nico-guest section.blog,
.nico-guest section.blog-single {
  background: transparent;
}

