:root {
  --gs-cyan: #06b6d4;
  --gs-cyan-dark: #0891b2;
  --gs-ink: #0f172a;
  --gs-warm: #d97706;
  --gs-whatsapp: #25d366;
  --gs-nav-break: 768px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1e293b; background: #f8fafc; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* --- Mobile-first site header (checkbox off-canvas; no JS required) --- */
.gs-nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-wrap img { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; object-fit: contain; }
.logo-wrap span { font-size: 1.35rem; font-weight: 800; color: #334155; letter-spacing: -0.02em; }

.nav-main {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0 auto 0 0;
  padding: 0;
}
.nav-main a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}
.nav-main a:hover,
.nav-main a.active { color: #2563eb; font-weight: 600; }

.header-ctas { display: none; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0;
  border: 2px solid #64748b;
  border-radius: 0.625rem;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover { background: #f8fafc; border-color: #475569; }
.nav-burger__line {
  display: block;
  width: 1.35rem;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.gs-nav-check:checked ~ .site-header .nav-burger__line:nth-child(1),
.gs-site-nav:has(.gs-nav-check:checked) .nav-burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gs-nav-check:checked ~ .site-header .nav-burger__line:nth-child(2),
.gs-site-nav:has(.gs-nav-check:checked) .nav-burger__line:nth-child(2) { opacity: 0; }
.gs-nav-check:checked ~ .site-header .nav-burger__line:nth-child(3),
.gs-site-nav:has(.gs-nav-check:checked) .nav-burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-scrim {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: min(20rem, 88vw);
  height: 100%;
  max-height: 100dvh;
  background: #fff;
  box-shadow: 4px 0 24px rgb(0 0 0 / 0.18);
  padding: 4.5rem 1.25rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  visibility: hidden;
}

.gs-nav-check:checked ~ .nav-scrim,
.gs-site-nav:has(.gs-nav-check:checked) .nav-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gs-nav-check:checked ~ .nav-drawer,
.gs-site-nav:has(.gs-nav-check:checked) .nav-drawer {
  transform: translateX(0);
  visibility: visible;
}

body:has(.gs-nav-check:checked) { overflow: hidden; }

.nav-drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-drawer__links li { border-bottom: 1px solid #e2e8f0; }
.nav-drawer__links a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
}
.nav-drawer__links a:hover,
.nav-drawer__links a.active { color: #2563eb; font-weight: 600; }
.nav-drawer__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-drawer__cta .btn-dashboard-header { width: 100%; justify-content: center; }

@media (min-width: 768px) {
  .site-header-inner { justify-content: space-between; }
  .nav-main { display: flex; margin: 0; }
  .header-ctas { display: flex; }
  .nav-burger,
  .nav-scrim,
  .nav-drawer,
  .gs-nav-check {
    display: none !important;
  }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gs-ink); color: #fff; }
.btn-cyan { background: var(--gs-cyan-dark); color: #fff; }
.btn-outline { background: #fff; border: 2px solid #e2e8f0; color: #334155; }
.btn-gradient { background: linear-gradient(135deg, #93c5fd, #2563eb); color: #fff; box-shadow: 0 4px 14px rgb(37 99 235 / 0.35); }
.btn-whatsapp { border: 2px solid var(--gs-whatsapp); color: #15803d; background: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-dashboard-header {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 1.15rem; font-size: 0.875rem; font-weight: 700;
  background: linear-gradient(135deg, #1e40af, #2563eb); color: #fff; border: none; border-radius: 1rem;
  text-decoration: none; box-shadow: 0 8px 24px rgb(37 99 235 / 0.4);
  transition: transform .15s, box-shadow .15s;
}
.btn-dashboard-header:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgb(37 99 235 / 0.5); color: #fff; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

.gs-stat-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; padding: 1rem 0; }
.gs-stat-pill { background: #fff; border: 1px solid #e2e8f0; border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.gs-stat-pill strong { color: var(--gs-ink); }

.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; overflow: hidden; }
.card-pad { padding: 1.25rem; }

.auction-mini { border-left: 4px solid #10b981; }
.auction-mini.amber { border-left-color: #fbbf24; }
.badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 9999px; display: inline-block; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-rera { background: #d1fae5; color: #047857; }

.gs-chip { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 9999px; background: #f1f5f9; font-size: 0.8125rem; font-weight: 600; color: #475569; text-decoration: none; }
.gs-chip:hover { background: #e0f2fe; color: var(--gs-cyan-dark); }

.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  padding: 0.75rem 1rem; background: #fff; border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 0.08);
}
.mobile-sticky-cta .btn { width: 100%; }

@media (max-width: 767px) {
  .mobile-sticky-cta { display: flex; gap: 0.5rem; }
  .mobile-sticky-cta .btn { flex: 1; }
  body.has-mobile-cta { padding-bottom: 4.5rem; }
}

.gs-live-footer { background: #0f172a; color: #94a3b8; font-size: 0.875rem; }
.gs-live-footer .support-bar {
  background: linear-gradient(90deg, #1e3a5f, #0f172a); border-bottom: 1px solid #334155;
  padding: 1.25rem 0; text-align: center;
}
.gs-live-footer .support-bar a { color: #67e8f9; text-decoration: none; font-weight: 600; margin: 0 1rem; }
.gs-live-footer .support-bar a:hover { color: #fff; }
.gs-live-footer .footer-grid { display: grid; gap: 2rem; padding: 2.5rem 0; }
@media (min-width: 768px) { .gs-live-footer .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gs-live-footer .footer-grid { grid-template-columns: 1fr 1.2fr; } }
.gs-live-footer h3 { color: #fff; font-size: 0.9375rem; font-weight: 700; margin: 0 0 1rem; }
.gs-live-footer .about { font-size: 0.8125rem; line-height: 1.65; color: #94a3b8; max-width: 52rem; }
.gs-live-footer .legal { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding: 1.25rem 0; border-top: 1px solid #334155; font-size: 0.8125rem; }
.gs-live-footer .legal a { color: #cbd5e1; text-decoration: none; }
.gs-live-footer .legal a:hover { color: #fff; }
.gs-live-footer .disclaimer { font-size: 0.75rem; color: #64748b; line-height: 1.55; padding: 1rem 0 1.5rem; border-top: 1px solid #1e293b; }
.gs-live-footer .copyright { text-align: center; font-size: 0.8125rem; color: #64748b; padding-bottom: 2rem; }
.hidden { display: none !important; }
