html {
  font-size: 14px;
  height: 100%;
}

:root {
  --ui-scale: 1;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #020617 0, #020617 45%, #000 100%);
  color: #e5e7eb;
  font-size: calc(1rem * var(--ui-scale));
  transition: background .35s ease, color .25s ease, font-size .2s ease;
}

body.ui-theme-sunset {
  background: radial-gradient(circle at 10% 0%, #3f1d38 0, #331832 30%, #1f203f 65%, #0a0f20 100%);
}

body.ui-theme-ocean {
  background: radial-gradient(circle at 20% -10%, #0a6a78 0, #0f3f5b 35%, #0b243e 70%, #040a16 100%);
}

body.ui-theme-mono {
  background: linear-gradient(180deg, #131313 0, #0a0a0a 100%);
}

body.ui-compact .app-navbar {
  margin-bottom: .55rem !important;
}

body.ui-compact .card-body {
  padding: .85rem;
}

body.ui-compact .home-hero {
  padding-top: 1.6rem;
}

body.ui-fx-glass .card,
body.ui-fx-glass .app-navbar {
  backdrop-filter: blur(14px);
  background: rgba(12, 18, 35, 0.7);
  border-color: rgba(148, 163, 184, .42);
}

body.ui-fx-glow .app-logo-dot {
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2), 0 0 20px rgba(34, 197, 94, .45);
}

body.ui-fx-glow .card {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.6), 0 0 24px rgba(56, 189, 248, .18);
  border-color: rgba(56, 189, 248, .45);
}

body.ui-fx-glow .app-navbar-brand,
body.ui-fx-glow .h1,
body.ui-fx-glow h1,
body.ui-fx-glow h2,
body.ui-fx-glow h3 {
  text-shadow: 0 0 14px rgba(59, 130, 246, .35);
}

.container {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Home page tweaks */

.home-hero {
  padding: 3.35rem 0 1.3rem;
  animation: heroFadeUp 0.7s ease-out both;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 2.2rem;
}

.home-hero-content {
  text-align: left;
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .72rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, .28);
  background: rgba(15, 23, 42, .66);
  color: #bfdbfe;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero-art {
  width: 100%;
  height: 250px;
  margin: 0;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.6), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(236, 72, 153, 0.5), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.home-hero-illustration {
  width: 100%;
  height: 100%;
  display: block;
  transform: translateY(2px);
  animation: heroFloat 7s ease-in-out infinite;
}

.home-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .65;
  pointer-events: none;
}

.home-hero-orb-a {
  width: 110px;
  height: 110px;
  top: 14%;
  left: 10%;
  background: rgba(59, 130, 246, .28);
  animation: orbDrift 9s ease-in-out infinite;
}

.home-hero-orb-b {
  width: 130px;
  height: 130px;
  right: 9%;
  bottom: 10%;
  background: rgba(236, 72, 153, .22);
  animation: orbDrift 11s ease-in-out infinite reverse;
}

.home-hero-chip {
  position: absolute;
  z-index: 2;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, .16);
  background: rgba(15, 23, 42, .7);
  color: #f8fafc;
  font-size: .76rem;
  box-shadow: 0 10px 25px rgba(2, 6, 23, .34);
}

.home-hero-chip-a {
  top: 1rem;
  right: 1rem;
  animation: chipFloat 8s ease-in-out infinite;
}

.home-hero-chip-b {
  left: 1rem;
  bottom: 1rem;
  animation: chipFloat 8s ease-in-out infinite reverse;
}

.home-hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

.home-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.25rem;
}

.home-hero-metric {
  padding: .85rem .95rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .52);
  box-shadow: 0 16px 34px rgba(2, 6, 23, .25);
}

.home-hero-metric strong {
  display: block;
  color: #f8fafc;
  font-size: 1rem;
  margin-bottom: .2rem;
}

.home-hero-metric span {
  display: block;
  color: #94a3b8;
  font-size: .86rem;
}

@media (max-width: 991px) {
  .home-hero-layout {
    grid-template-columns: 1fr;
  }
  .home-hero-content {
    text-align: center;
  }
  .home-hero-art {
    max-width: 520px;
    margin: 0 auto;
  }
  .home-hero-actions {
    justify-content: center;
  }
  .home-hero-metrics {
    grid-template-columns: 1fr;
  }
}

.home-list {
  padding-left: 1.3rem;
}

.home-note {
  font-size: 0.9rem;
  color: #9ca3af;
}

.home-search-section {
  max-width: 960px;
  margin: 0 auto 1.4rem;
}

.home-search-card {
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, .18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(34, 197, 94, .18), transparent 50%),
    rgba(10, 18, 32, .76);
  box-shadow: 0 18px 42px rgba(2, 6, 23, .55);
}

.home-search-card,
.story-card,
.guide-card,
.pricing-card,
.faq-list details,
.contact-cards .guide-card,
.card.h-100 {
  animation: cardFadeUp .65s ease both;
}

.story-card:nth-child(2),
.guide-card:nth-child(2),
.pricing-card:nth-child(2) {
  animation-delay: .08s;
}

.story-card:nth-child(3),
.guide-card:nth-child(3),
.pricing-card:nth-child(3) {
  animation-delay: .14s;
}

.gs-search-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.gs-search-bar-lg {
  gap: .75rem;
}

.gs-search-input {
  flex: 1 1 220px;
  min-width: 200px;
  background: rgba(8, 15, 28, .9);
  border: 1px solid rgba(148, 163, 184, .35);
  color: #e5e7eb;
  border-radius: .75rem;
}

.gs-search-input:focus {
  border-color: rgba(96, 165, 250, .7);
  box-shadow: 0 0 0 .15rem rgba(59, 130, 246, .2);
}

.gs-search-btn {
  border-radius: .75rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

/* Navbar */

.app-navbar {
  background-color: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.app-navbar-toggler {
  border-color: rgba(148, 163, 184, 0.6);
}

.app-navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(96, 165, 250, 0.35);
}

.app-navbar-toggler .navbar-toggler-icon {
  filter: invert(1) brightness(1.1);
}

.app-navbar-brand {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.app-navbar-collapse {
  margin-top: .75rem;
}

.app-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(2, 6, 23, 0.55);
}

.app-navbar-links {
  gap: .35rem;
}

.app-navbar-links .nav-link {
  color: #d1d5db;
  border-radius: .6rem;
  padding: .5rem .8rem;
}

.app-navbar-links .nav-link:hover {
  color: #f8fafc;
  background: rgba(148, 163, 184, 0.16);
}

.app-navbar-actions {
  margin-top: .8rem;
  flex-direction: column;
  position: relative;
}

.gs-notify-toggle .badge {
  margin-left: 0 !important;
}

.app-nav-btn {
  min-height: 40px;
  font-size: .95rem;
  font-weight: 500;
}

.app-user-email {
  color: #e5e7eb;
  align-self: center;
  white-space: nowrap;
}

.app-settings-btn {
  padding: .35rem .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-settings-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.ui-settings-menu {
  position: fixed;
  right: 1rem;
  top: 4.65rem;
  width: min(280px, calc(100vw - 1.6rem));
  z-index: 2000;
  padding: .85rem;
  border-radius: .85rem;
  border: 1px solid rgba(148, 163, 184, .28);
  background: rgba(6, 12, 24, .94);
  box-shadow: 0 20px 60px rgba(2, 6, 23, .75);
}

.ui-settings-title {
  font-weight: 700;
  margin-bottom: .45rem;
}

.ui-settings-label {
  font-size: .82rem;
  color: #cbd5f5;
  margin-bottom: .25rem;
}

.ui-settings-hint {
  font-size: .75rem;
  color: #a5b4fc;
  line-height: 1.35;
}

.ui-scale-value {
  font-size: .78rem;
  text-align: right;
  color: #cbd5f5;
  margin-top: .15rem;
}

@media (min-width: 992px) {
  .app-navbar-collapse {
    margin-top: 0;
  }

  .app-navbar-links {
    margin-left: 1rem;
  }

  .app-navbar-actions {
    margin-left: auto;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
  }
}

/* Cards + buttons */

.card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.6);
  animation: cardFadeUp 0.6s ease-out both;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

.btn {
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

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

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-8px); }
}

@keyframes orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8px, -10px, 0) scale(1.06); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Publish status */

.publish-status {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  animation: cardFadeUp 0.4s ease-out both;
}

.publish-status.is-success {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 0 24px rgba(34, 197, 94, 0.2);
}

.publish-status.is-error {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2), 0 0 24px rgba(239, 68, 68, 0.2);
}

.publish-status.is-muted {
  opacity: 0.8;
}

.publish-status-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.publish-status-link {
  display: inline-block;
  color: #60a5fa;
  text-decoration: none;
  word-break: break-all;
}

.publish-status-link:hover {
  text-decoration: underline;
}

.publish-status-note {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* Better contrast on dark theme */
.text-muted,
.form-text {
  color: #b8c0ce !important;
}

.card,
.card-body,
.card-title,
.card-text,
th,
td,
label,
p,
li {
  color: #e5e7eb;
}

.table {
  --bs-table-color: #e5e7eb;
  --bs-table-bg: transparent;
  --bs-table-striped-color: #e5e7eb;
  --bs-table-striped-bg: rgba(148, 163, 184, 0.08);
  --bs-table-hover-color: #f8fafc;
  --bs-table-hover-bg: rgba(96, 165, 250, 0.12);
}

.app-footer {
  border-top: 1px solid rgba(148, 163, 184, .22);
  margin-top: 1rem;
  padding-top: 1rem;
  text-align: center;
}

.app-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem .95rem;
  justify-content: center;
}

.app-footer-copy {
  margin-top: .5rem;
  font-size: .84rem;
  color: #93a0b7;
}

.content-page {
  max-width: 860px;
  margin: 0 auto 1.2rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: .9rem;
  background: rgba(10, 18, 32, .72);
}

.content-page h1 {
  margin-bottom: .75rem;
}

.story-hero {
  margin: .4rem auto 1.2rem;
  max-width: 920px;
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 197, 94, .25), transparent 42%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, .25), transparent 45%),
    linear-gradient(145deg, rgba(17, 24, 39, .95), rgba(3, 7, 18, .96));
  border: 1px solid rgba(148, 163, 184, .25);
}

.story-kicker {
  display: inline-block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #93c5fd;
  margin-bottom: .35rem;
}

.story-grid,
.guide-grid,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .9rem;
  margin-bottom: 1rem;
}

.story-card,
.guide-card {
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: .85rem;
  padding: .95rem 1rem;
  background: rgba(10, 18, 32, .75);
}

.story-card h3,
.guide-card h3 {
  font-size: 1.02rem;
  margin-bottom: .45rem;
}

.faq-list details {
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: .75rem;
  padding: .65rem .8rem;
  margin-bottom: .6rem;
  background: rgba(10, 18, 32, .7);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: .55rem 0 0;
}

.pricing-section {
  margin-top: .5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .95rem;
}

.pricing-card {
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: .95rem;
  padding: 1rem;
  background: rgba(10, 18, 32, .72);
  position: relative;
  overflow: hidden;
}

.pricing-visual {
  width: 108px;
  height: 72px;
  border-radius: 22px;
  margin: .15rem auto .75rem;
  transform: rotate(-14deg);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45);
}

.pricing-visual-free {
  background: linear-gradient(140deg, #374151, #111827);
}

.pricing-visual-basic {
  background: linear-gradient(140deg, #0b3270, #031a45);
}

.pricing-visual-pro {
  background: linear-gradient(140deg, #facc15, #eab308 45%, #a16207);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, .55), 0 18px 34px rgba(234, 179, 8, .45);
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  pointer-events: none;
  opacity: .18;
  filter: blur(4px);
}

.pricing-card-free::after {
  background: radial-gradient(circle, rgba(96, 165, 250, .95), transparent 68%);
}

.pricing-card-basic::after {
  background: radial-gradient(circle, rgba(52, 211, 153, .95), transparent 68%);
}

.pricing-card-pro::after {
  background: radial-gradient(circle, rgba(250, 204, 21, .98), transparent 70%);
}

.pricing-card-glow {
  box-shadow: 0 16px 34px rgba(2, 6, 23, .46);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pricing-card-glow:hover {
  transform: translateY(-4px);
}

.pricing-card-free.pricing-card-glow:hover {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, .35), 0 18px 35px rgba(96, 165, 250, .24);
}

.pricing-card-basic.pricing-card-glow:hover {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, .35), 0 18px 35px rgba(52, 211, 153, .24);
}

.pricing-card-pro.pricing-card-glow:hover {
  box-shadow: 0 0 0 1px rgba(250, 204, 21, .5), 0 20px 42px rgba(250, 204, 21, .25);
}

.pricing-card-best {
  border-color: rgba(250, 204, 21, .58);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, .32), 0 18px 42px rgba(234, 179, 8, .32);
}

.pricing-card-badge {
  display: inline-block;
  padding: .22rem .58rem;
  border-radius: 999px;
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .6rem;
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, .38);
  background: rgba(30, 41, 59, .65);
}

.pricing-card-badge-best {
  color: #1f2937;
  border-color: rgba(250, 204, 21, .8);
  background: linear-gradient(135deg, #facc15, #fde68a);
  box-shadow: 0 0 20px rgba(250, 204, 21, .45);
}

.pricing-card-highlight {
  border-color: rgba(56, 189, 248, .45);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, .22), 0 12px 30px rgba(2, 6, 23, .42);
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .55rem;
}

.pricing-card ul {
  margin: 0 0 .9rem;
  padding-left: 1.1rem;
}

.notfound-wrap {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 1rem 0;
}

.notfound-card {
  width: min(640px, 100%);
  text-align: center;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  background:
    radial-gradient(circle at 25% 18%, rgba(56, 189, 248, .18), transparent 45%),
    radial-gradient(circle at 78% 82%, rgba(34, 197, 94, .16), transparent 50%),
    rgba(10, 18, 32, .8);
  box-shadow: 0 20px 50px rgba(2, 6, 23, .55);
}

.notfound-kicker {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .45rem;
}

.notfound-text {
  color: #cbd5e1;
  max-width: 520px;
  margin: .65rem auto 1rem;
}

.notfound-actions {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.gs-page-head {
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: .9rem;
  background: rgba(10, 18, 32, .62);
  padding: .85rem 1rem;
}

.gs-site-card {
  position: relative;
}

.public-site-hero {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0 0.6rem;
}

.public-site-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.public-site-copy,
.public-site-preview-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(8, 15, 29, .97), rgba(13, 21, 36, .9));
  box-shadow: 0 26px 64px rgba(2, 6, 23, .38);
  animation: cardFadeUp .6s ease both;
}

.public-site-copy {
  padding: 1.5rem;
}

.public-site-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .85rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, .22);
  background: rgba(15, 23, 42, .7);
}

.public-site-copy h1 {
  margin: 0 0 .7rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .96;
}

.public-site-lead {
  color: #cbd5e1;
  font-size: 1.02rem;
  max-width: 62ch;
  margin-bottom: 1.1rem;
}

.public-site-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1.2rem;
}

.public-site-meta span {
  padding: .5rem .72rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .7);
  border: 1px solid rgba(148, 163, 184, .18);
  color: #cbd5e1;
  font-size: .88rem;
}

.public-site-meta strong {
  color: #f8fafc;
  font-weight: 600;
  margin-right: .28rem;
}

.public-site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .9rem;
}

.public-site-open-btn {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  padding-inline: 1.15rem 1.35rem;
}

.public-site-open-plus {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.public-site-url-note {
  color: #94a3b8;
  font-size: .9rem;
  word-break: break-word;
}

.public-site-back-link {
  margin-top: .7rem;
  font-size: .92rem;
}

.public-site-back-link a {
  color: #93c5fd;
  text-decoration: none;
}

.public-site-back-link a:hover {
  text-decoration: underline;
}

.public-site-preview-card {
  padding: 1rem;
  overflow: hidden;
}

.public-site-preview-frame {
  position: relative;
  min-height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  overflow: hidden;
}

.public-site-preview-top {
  display: flex;
  gap: .42rem;
  padding: .85rem 1rem;
}

.public-site-preview-top span {
  width: .62rem;
  height: .62rem;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.public-site-preview-body {
  padding: .8rem 1rem 1rem;
}

.public-site-preview-badge {
  display: inline-flex;
  margin-bottom: .9rem;
  padding: .32rem .58rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, .18);
  color: #86efac;
  font-size: .72rem;
  letter-spacing: .16em;
}

.public-site-preview-title,
.public-site-preview-line,
.public-site-preview-cta,
.public-site-preview-cardlet {
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

.public-site-preview-title {
  width: 58%;
  height: 16px;
  margin-bottom: .65rem;
}

.public-site-preview-line {
  height: 8px;
  margin-bottom: .45rem;
}

.public-site-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0;
}

.public-site-preview-cardlet {
  height: 88px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(125, 211, 252, .22), rgba(255,255,255,.08));
}

.public-site-preview-cta {
  width: 42%;
  height: 34px;
  background: linear-gradient(135deg, rgba(56, 189, 248, .4), rgba(34, 197, 94, .28));
}

.public-site-hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(58px);
  opacity: .48;
  pointer-events: none;
}

.public-site-hero-glow-a {
  width: 220px;
  height: 220px;
  top: 0;
  left: -70px;
  background: rgba(56, 189, 248, .22);
}

.public-site-hero-glow-b {
  width: 260px;
  height: 260px;
  right: -80px;
  top: 50px;
  background: rgba(34, 197, 94, .14);
}

.public-site-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, .7);
  backdrop-filter: blur(10px);
  z-index: 1080;
  opacity: 0;
  transition: opacity .22s ease;
}

.public-site-loader.is-visible {
  opacity: 1;
}

.public-site-loader-card {
  position: relative;
  width: min(92vw, 360px);
  padding: 1.5rem 1.3rem;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(125, 211, 252, .2);
  background: linear-gradient(160deg, rgba(9, 15, 29, .95), rgba(15, 23, 42, .92));
  box-shadow: 0 24px 60px rgba(2, 6, 23, .45);
}

.public-site-loader-ring,
.public-site-loader-core {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 999px;
}

.public-site-loader-ring {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(125, 211, 252, .28);
  animation: orbitSpin 2.4s linear infinite;
}

.public-site-loader-core {
  width: 26px;
  height: 26px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.95), rgba(56, 189, 248, .3) 65%, rgba(34,197,94,.12));
  top: 1.42rem;
  box-shadow: 0 0 26px rgba(56, 189, 248, .28);
}

.public-site-loader-title {
  color: #f8fafc;
  font-weight: 700;
  margin-top: 5rem;
  margin-bottom: .45rem;
}

.public-site-loader-text {
  color: #cbd5e1;
  font-size: .92rem;
}

@media (max-width: 991px) {
  .public-site-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .public-site-copy,
  .public-site-preview-card {
    border-radius: 22px;
  }

  .public-site-copy {
    padding: 1.15rem;
  }

  .public-site-actions {
    flex-direction: column;
  }

  .public-site-actions .btn {
    width: 100%;
  }

  .public-site-preview-grid {
    grid-template-columns: 1fr;
  }
}

.gs-card-status {
  border: 1px solid rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .45);
  border-radius: 999px;
  padding: .18rem .55rem;
  display: inline-flex;
  width: fit-content;
}

.gs-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, .78);
  backdrop-filter: blur(6px);
}

.gs-success-modal {
  width: min(560px, calc(100vw - 1.4rem));
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(34, 197, 94, .3), transparent 44%),
    radial-gradient(circle at 80% 12%, rgba(250, 204, 21, .3), transparent 45%),
    rgba(10, 18, 32, .95);
  border: 1px solid rgba(250, 204, 21, .45);
  box-shadow: 0 25px 70px rgba(2, 6, 23, .75);
  animation: gsPopIn .4s ease-out both;
}

.gs-success-modal-pro {
  border-color: rgba(250, 204, 21, .45);
}

.gs-success-modal-basic {
  border-color: rgba(56, 189, 248, .45);
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, .28), transparent 44%),
    radial-gradient(circle at 80% 12%, rgba(125, 211, 252, .25), transparent 45%),
    rgba(10, 18, 32, .95);
}

.gs-success-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 28%, rgba(250, 204, 21, .75) 0 2px, transparent 3px),
    radial-gradient(circle at 26% 12%, rgba(255, 255, 255, .85) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 22%, rgba(250, 204, 21, .65) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 40%, rgba(255, 255, 255, .8) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 18%, rgba(250, 204, 21, .6) 0 2px, transparent 3px);
  opacity: .85;
  animation: gsSparkle 1.4s ease-in-out infinite alternate;
}

.gs-success-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #1f2937;
  background: linear-gradient(135deg, #fde047, #facc15);
  margin-bottom: .45rem;
  box-shadow: 0 0 18px rgba(250, 204, 21, .45);
}

.gs-success-badge-pro {
  color: #1f2937;
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 0 18px rgba(250, 204, 21, .45);
}

.gs-success-badge-basic {
  color: #082f49;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
  box-shadow: 0 0 18px rgba(56, 189, 248, .45);
}

.gs-success-modal ul {
  margin: 0;
  padding-left: 1.1rem;
}

@keyframes gsPopIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gsSparkle {
  from {
    transform: translateY(0);
    opacity: .45;
  }
  to {
    transform: translateY(-4px);
    opacity: .95;
  }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: .85rem;
  transform: translateX(-50%);
  width: min(780px, calc(100vw - 1rem));
  z-index: 2500;
  padding: .8rem .9rem;
  border-radius: .9rem;
  border: 1px solid rgba(148, 163, 184, .35);
  background: rgba(6, 12, 24, .96);
  box-shadow: 0 20px 60px rgba(2, 6, 23, .72);
}

.cookie-banner-title {
  font-weight: 700;
  margin-bottom: .2rem;
}

.cookie-banner-text {
  color: #cbd5e1;
  font-size: .9rem;
  margin-bottom: .55rem;
}

.cookie-banner-actions {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.cookie-manage-btn {
  position: fixed;
  left: .85rem;
  right: auto;
  bottom: .85rem;
  z-index: 2400;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, .78);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.cookie-manage-icon {
  font-size: 1rem;
  line-height: 1;
}

.gs-tips {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 9999;
    background: rgba(10, 16, 28, 0.95);
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 12px;
    padding: .75rem .9rem;
    max-width: 320px;
    color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .35);
}

.gs-tips-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .35rem;
}

.gs-tips-text {
    font-size: .9rem;
    line-height: 1.35;
    color: #cbd5e1;
}
