:root {
  --gt-pref-bg: rgba(15, 23, 42, 0.92);
  --gt-pref-border: rgba(255, 255, 255, 0.12);
  --gt-pref-text: #f8fafc;
  --gt-pref-muted: rgba(248, 250, 252, 0.72);
  --gt-pref-accent: linear-gradient(135deg, #60a5fa, #a78bfa);
  --gt-page-bg: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
  --gt-page-text: #ffffff;
}

html.gt-theme-light {
  --gt-pref-bg: rgba(255, 255, 255, 0.96);
  --gt-pref-border: rgba(15, 23, 42, 0.12);
  --gt-pref-text: #0f172a;
  --gt-pref-muted: rgba(15, 23, 42, 0.64);
  --gt-pref-accent: linear-gradient(135deg, #2563eb, #7c3aed);
  --gt-page-bg: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
  --gt-page-text: #0f172a;
}

html.gt-theme-light body,
body.gt-theme-light {
  background: var(--gt-page-bg) !important;
  color: var(--gt-page-text) !important;
}

html.gt-theme-light body::before,
body.gt-theme-light::before {
  opacity: 0.22 !important;
}

html.gt-theme-light .glass-card,
body.gt-theme-light .glass-card,
html.gt-theme-light .server-card,
body.gt-theme-light .server-card,
html.gt-theme-light .promo-hero,
body.gt-theme-light .promo-hero,
html.gt-theme-light .promo-card,
body.gt-theme-light .promo-card,
html.gt-theme-light .pricing-card,
body.gt-theme-light .pricing-card,
html.gt-theme-light .gt-card,
body.gt-theme-light .gt-card,
html.gt-theme-light .gt-panel,
body.gt-theme-light .gt-panel,
html.gt-theme-light .modal-content,
body.gt-theme-light .modal-content,
html.gt-theme-light .modal-card,
body.gt-theme-light .modal-card,
html.gt-theme-light .bg-dark-900,
body.gt-theme-light .bg-dark-900,
html.gt-theme-light .bg-dark-800,
body.gt-theme-light .bg-dark-800,
html.gt-theme-light .bg-dark-700,
body.gt-theme-light .bg-dark-700,
html.gt-theme-light .bg-slate-950,
body.gt-theme-light .bg-slate-950,
html.gt-theme-light .bg-slate-900,
body.gt-theme-light .bg-slate-900,
html.gt-theme-light .bg-slate-800,
body.gt-theme-light .bg-slate-800,
html.gt-theme-light .bg-black\/20,
body.gt-theme-light .bg-black\/20,
html.gt-theme-light .bg-black\/30,
body.gt-theme-light .bg-black\/30,
html.gt-theme-light .bg-white\/5,
body.gt-theme-light .bg-white\/5,
html.gt-theme-light .bg-white\/10,
body.gt-theme-light .bg-white\/10,
html.gt-theme-light [class*="backdrop-blur"],
body.gt-theme-light [class*="backdrop-blur"] {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
}

html.gt-theme-light .text-white,
body.gt-theme-light .text-white,
html.gt-theme-light .text-white\/90,
body.gt-theme-light .text-white\/90,
html.gt-theme-light .text-white\/80,
body.gt-theme-light .text-white\/80,
html.gt-theme-light .text-white\/70,
body.gt-theme-light .text-white\/70,
html.gt-theme-light .text-white\/60,
body.gt-theme-light .text-white\/60,
html.gt-theme-light .text-white\/50,
body.gt-theme-light .text-white\/50,
html.gt-theme-light .text-slate-100,
body.gt-theme-light .text-slate-100,
html.gt-theme-light .text-slate-200,
body.gt-theme-light .text-slate-200,
html.gt-theme-light .text-slate-300,
body.gt-theme-light .text-slate-300,
html.gt-theme-light .text-slate-400,
body.gt-theme-light .text-slate-400,
html.gt-theme-light .navbar,
body.gt-theme-light .navbar,
html.gt-theme-light .navbar-brand,
body.gt-theme-light .navbar-brand,
html.gt-theme-light .nav-link,
body.gt-theme-light .nav-link,
html.gt-theme-light p,
body.gt-theme-light p,
html.gt-theme-light h1,
body.gt-theme-light h1,
html.gt-theme-light h2,
body.gt-theme-light h2,
html.gt-theme-light h3,
body.gt-theme-light h3,
html.gt-theme-light h4,
body.gt-theme-light h4,
html.gt-theme-light h5,
body.gt-theme-light h5,
html.gt-theme-light h6,
body.gt-theme-light h6,
html.gt-theme-light label,
body.gt-theme-light label,
html.gt-theme-light span,
body.gt-theme-light span,
html.gt-theme-light strong,
body.gt-theme-light strong,
html.gt-theme-light td,
body.gt-theme-light td,
html.gt-theme-light th,
body.gt-theme-light th,
html.gt-theme-light li,
body.gt-theme-light li,
html.gt-theme-light a:not(.btn-17):not(.promo-btn),
body.gt-theme-light a:not(.btn-17):not(.promo-btn) {
  color: #0f172a !important;
}

html.gt-theme-light input,
body.gt-theme-light input,
html.gt-theme-light select,
body.gt-theme-light select,
html.gt-theme-light textarea,
body.gt-theme-light textarea {
  background: rgba(255,255,255,0.95) !important;
  color: #0f172a !important;
  border-color: rgba(15,23,42,0.14) !important;
}

html.gt-theme-light input::placeholder,
body.gt-theme-light input::placeholder,
html.gt-theme-light textarea::placeholder,
body.gt-theme-light textarea::placeholder {
  color: rgba(15,23,42,0.45) !important;
}

html.gt-theme-light table,
body.gt-theme-light table {
  color: #0f172a !important;
}

html.gt-theme-light .nav-link::after,
body.gt-theme-light .nav-link::after {
  background: linear-gradient(90deg, #2563eb, #7c3aed) !important;
}


html.gt-theme-light nav.glass-card,
body.gt-theme-light nav.glass-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

html.gt-theme-light .btn-17,
html.gt-theme-light .btn-17 *,
body.gt-theme-light .btn-17,
body.gt-theme-light .btn-17 * {
  color: #ffffff !important;
}

html.gt-theme-light .promo-hero,
body.gt-theme-light .promo-hero {
  background:
    radial-gradient(900px 280px at 18% 10%, rgba(124, 58, 237, 0.12), transparent 60%),
    radial-gradient(820px 240px at 86% 0%, rgba(37, 99, 235, 0.10), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(239,246,255,0.94)) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08) !important;
}

html.gt-theme-light .promo-hero::before,
body.gt-theme-light .promo-hero::before {
  opacity: 0.16 !important;
  filter: blur(22px) !important;
}

html.gt-theme-light .promo-kicker,
html.gt-theme-light .promo-title,
html.gt-theme-light .promo-rot,
html.gt-theme-light .promo-slogan,
body.gt-theme-light .promo-kicker,
body.gt-theme-light .promo-title,
body.gt-theme-light .promo-rot,
body.gt-theme-light .promo-slogan {
  color: #475569 !important;
}

html.gt-theme-light .promo-title,
body.gt-theme-light .promo-title {
  color: #0f172a !important;
}

html.gt-theme-light .promo-dns,
body.gt-theme-light .promo-dns {
  background: linear-gradient(90deg, #8b5cf6, #2563eb, #06b6d4) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
}

html.gt-theme-light #promoHero [style*="color:rgba(255,255,255,.65)"],
body.gt-theme-light #promoHero [style*="color:rgba(255,255,255,.65)"] {
  color: #64748b !important;
}

html.gt-theme-light #promoConnectText,
body.gt-theme-light #promoConnectText {
  color: #0f172a !important;
}

html.gt-theme-light .promo-btn.ghost,
body.gt-theme-light .promo-btn.ghost {
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
}

html.gt-theme-light .promo-btn.ghost:hover,
body.gt-theme-light .promo-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.92) !important;
}

html.gt-theme-light .promo-card,
body.gt-theme-light .promo-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(239,246,255,0.94)) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45), 0 16px 40px rgba(15, 23, 42, 0.08) !important;
}

html.gt-theme-light .promo-scanline,
body.gt-theme-light .promo-scanline {
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.05), transparent) !important;
  opacity: 0.18 !important;
}

html.gt-theme-light .promo-shine,
body.gt-theme-light .promo-shine {
  opacity: 0.14 !important;
  filter: blur(22px) !important;
}

html.gt-theme-light .promo-badge,
html.gt-theme-light .promo-chip,
body.gt-theme-light .promo-badge,
body.gt-theme-light .promo-chip {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #334155 !important;
}

html.gt-theme-light .promo-big,
html.gt-theme-light .promo-mini-v,
body.gt-theme-light .promo-big,
body.gt-theme-light .promo-mini-v {
  color: #0f172a !important;
}

html.gt-theme-light .promo-mini-k,
html.gt-theme-light .promo-footer,
html.gt-theme-light .promo-footnote,
body.gt-theme-light .promo-mini-k,
body.gt-theme-light .promo-footer,
body.gt-theme-light .promo-footnote {
  color: #64748b !important;
}

html.gt-theme-light .promo-footer,
body.gt-theme-light .promo-footer {
  border-top-color: rgba(148, 163, 184, 0.22) !important;
}

.gt-pref-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gt-pref-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 0;
}

.gt-pref-wrap.gt-pref-inline {
  margin-left: 0.5rem;
}

.gt-pref-wrap.gt-pref-fixed {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
  margin-left: 0;
}

.gt-pref-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--gt-pref-border);
  background: var(--gt-pref-bg);
  color: var(--gt-pref-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.16);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.gt-pref-btn:hover {
  transform: translateY(-1px);
}

.gt-pref-icon {
  width: 18px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.gt-pref-icon::before,
.gt-pref-icon::after,
.gt-pref-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.gt-pref-icon::before { top: 0; }
.gt-pref-icon span { top: 6px; }
.gt-pref-icon::after { top: 12px; }

.gt-pref-wrap.is-open .gt-pref-icon::before {
  transform: translateY(6px) rotate(45deg);
}
.gt-pref-wrap.is-open .gt-pref-icon span {
  opacity: 0;
}
.gt-pref-wrap.is-open .gt-pref-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.gt-pref-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  border-radius: 18px;
  padding: 1rem;
  background: var(--gt-pref-bg);
  color: var(--gt-pref-text);
  border: 1px solid var(--gt-pref-border);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gt-pref-panel[hidden] {
  display: none !important;
}

.gt-pref-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.gt-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.gt-pref-row + .gt-pref-row {
  border-top: 1px solid var(--gt-pref-border);
}

.gt-pref-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.gt-pref-label {
  font-weight: 600;
  font-size: 0.94rem;
}

.gt-pref-sub {
  font-size: 0.78rem;
  color: var(--gt-pref-muted);
}

.gt-switch {
  position: relative;
  width: 54px;
  height: 30px;
  display: inline-flex;
  flex-shrink: 0;
}

.gt-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.gt-switch-track {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid var(--gt-pref-border);
  background: rgba(148, 163, 184, 0.25);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.gt-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transition: transform 0.18s ease;
}

.gt-switch input:checked + .gt-switch-track {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: transparent;
}

.gt-switch input:checked + .gt-switch-track + .gt-switch-thumb {
  transform: translateX(24px);
}

.gt-pref-note {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--gt-pref-muted);
}

@media (max-width: 768px) {
  .gt-pref-wrap {
    margin-left: auto;
  }

  .gt-pref-wrap.gt-pref-fixed {
    top: 12px;
    right: 12px;
  }
}


html.gt-theme-light .card,
body.gt-theme-light .card,
html.gt-theme-light .list-group-item,
body.gt-theme-light .list-group-item,
html.gt-theme-light .offcanvas,
body.gt-theme-light .offcanvas,
html.gt-theme-light .dropdown-menu,
body.gt-theme-light .dropdown-menu,
html.gt-theme-light .accordion-item,
body.gt-theme-light .accordion-item,
html.gt-theme-light .modal-content,
body.gt-theme-light .modal-content,
html.gt-theme-light .gtr-card,
body.gt-theme-light .gtr-card,
html.gt-theme-light .gtr-nav,
body.gt-theme-light .gtr-nav,
html.gt-theme-light .gtr-side,
body.gt-theme-light .gtr-side {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
}

html.gt-theme-light .alert,
body.gt-theme-light .alert {
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html.gt-theme-light .alert-danger,
body.gt-theme-light .alert-danger {
  background: rgba(254, 242, 242, 0.96) !important;
  color: #991b1b !important;
}

html.gt-theme-light .alert-success,
body.gt-theme-light .alert-success {
  background: rgba(240, 253, 244, 0.96) !important;
  color: #166534 !important;
}

html.gt-theme-light .alert-warning,
body.gt-theme-light .alert-warning {
  background: rgba(255, 251, 235, 0.96) !important;
  color: #92400e !important;
}

html.gt-theme-light .alert-info,
body.gt-theme-light .alert-info {
  background: rgba(239, 246, 255, 0.96) !important;
  color: #1d4ed8 !important;
}

html.gt-theme-light .btn-outline-light,
body.gt-theme-light .btn-outline-light {
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
}

html.gt-theme-light .btn-dark,
body.gt-theme-light .btn-dark,
html.gt-theme-light .bg-dark,
body.gt-theme-light .bg-dark,
html.gt-theme-light .bg-black,
body.gt-theme-light .bg-black,
html.gt-theme-light .text-bg-dark,
body.gt-theme-light .text-bg-dark {
  background-color: rgba(241, 245, 249, 0.92) !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html.gt-theme-light .text-light,
body.gt-theme-light .text-light,
html.gt-theme-light .text-white,
body.gt-theme-light .text-white {
  color: #0f172a !important;
}

html.gt-theme-light .text-secondary,
body.gt-theme-light .text-secondary,
html.gt-theme-light .text-muted,
body.gt-theme-light .text-muted,
html.gt-theme-light .opacity-75,
body.gt-theme-light .opacity-75 {
  color: #64748b !important;
  opacity: 1 !important;
}

html.gt-theme-light .form-control,
body.gt-theme-light .form-control,
html.gt-theme-light .form-select,
body.gt-theme-light .form-select,
html.gt-theme-light .input-group-text,
body.gt-theme-light .input-group-text {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
}

html.gt-theme-light .form-control:focus,
body.gt-theme-light .form-control:focus,
html.gt-theme-light .form-select:focus,
body.gt-theme-light .form-select:focus {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12) !important;
}

html.gt-theme-light .list-group-item-action:hover,
body.gt-theme-light .list-group-item-action:hover,
html.gt-theme-light .table-hover tbody tr:hover,
body.gt-theme-light .table-hover tbody tr:hover {
  background: rgba(59, 130, 246, 0.06) !important;
}

html.gt-theme-light .table,
body.gt-theme-light .table,
html.gt-theme-light .table > :not(caption) > * > *,
body.gt-theme-light .table > :not(caption) > * > * {
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html.gt-theme-light .navbar-toggler,
body.gt-theme-light .navbar-toggler {
  border-color: rgba(15, 23, 42, 0.14) !important;
}

html.gt-theme-light .navbar-toggler-icon,
body.gt-theme-light .navbar-toggler-icon {
  filter: invert(1) saturate(0) brightness(0.35) !important;
}

html.gt-theme-light .badge.text-bg-secondary,
body.gt-theme-light .badge.text-bg-secondary {
  background: rgba(148, 163, 184, 0.18) !important;
  color: #475569 !important;
}

html.gt-theme-light code,
body.gt-theme-light code {
  color: #7c3aed !important;
}
