/* ==========================================================================
   GREYSTAR DESIGN SYSTEM - DESIGN TOKENS & STYLES
   Strictly adheres to claude-code-restyle-prompt.md spec & visual reference
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --color-ink:        #0A2245; /* main text + all headings (deep navy) */
  --color-ink-2:      #3B4E6A; /* secondary text */
  --color-muted:      #6A778B; /* captions, small labels, meta text */
  --color-bg:         #FFFFFF; /* page background */
  --color-surface:    #F4F4F4; /* light grey surface */
  --color-cream:      #F5EBDC; /* warm feature section background */
  --color-primary:    #0077D4; /* links, buttons, focus ring */
  --color-primary-dk: #00477F; /* gradient end / hover */
  --color-blue-2:     #3860BE; /* outlines, accents */
  --color-blue-3:     #6AAAE4;
  --color-tint-1:     #CCE4F6; /* pale blue tints */
  --color-tint-2:     #E6F1FB;
  --color-accent:     #FFD972; /* yellow: search / key action button only */
  --color-footer:     #27455C; /* dark slate footer */
  --color-border:     #CED3DA; /* borders, dividers */
  --color-border-2:   #9DA7B5;
  --glass:            rgba(255, 255, 255, 0.92); /* frosted panels, sticky header */

  /* Radii */
  --radius-card:  24px;
  --radius-group: 32px;
  --radius-btn:   12px;
  --radius-pill:  9999px;
  --radius-sm:    2px;

  /* Shadows */
  --shadow-card:  0 0 4px rgba(24, 25, 26, .16), 0 0 .5px rgba(24, 25, 26, .12);
  --shadow-raise: 0 0 8px rgba(24, 25, 26, .16), 0 0 1px rgba(24, 25, 26, .12);
  --shadow-floating: 0 12px 32px rgba(10, 34, 69, 0.12);

  /* Fonts */
  --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Newsreader', 'Source Serif 4', Georgia, serif;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  overflow-x: hidden;
}

/* Typography scale per spec */
h1, .h1 {
  font-family: var(--font-heading);
  font-size: 46px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -0.92px;
  color: var(--color-ink);
  margin-top: 0;
  text-transform: none;
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.32px;
  color: var(--color-ink);
  margin-top: 0;
  text-transform: none;
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--color-ink);
  margin-top: 0;
  text-transform: none;
}

.h3-feature {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.55px;
  color: var(--color-ink);
}

.h3-card {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--color-ink);
}

h4, h5, h6, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--color-ink);
  text-transform: none;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-ink-2);
}

.text-small {
  font-size: 14px;
  line-height: 20px;
}

.text-caption {
  font-size: 12px;
  line-height: 14px;
  color: var(--color-muted);
}

.section-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  margin-bottom: 8px;
  font-weight: 400;
}

a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: var(--color-primary-dk);
}

a:not(.btn):not([class*="btn"]):not(.theme-btn):not([role="button"]):not(.gs-crystal-nav-item):not(.gs-light-nav-item):not(.gs-bubble-item):not(.gs-notch-item):not(.gs-exact-nav-item):hover {
  text-decoration: underline;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.gs-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.gs-section {
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}

/* ==========================================================================
   Buttons & Links per spec + Universal RGB Glow & Anti-Underline
   ========================================================================== */
@keyframes gsBtnRgbGlow {
  0% {
    box-shadow: 0 0 16px rgba(0, 119, 212, 0.75), 0 0 30px rgba(121, 40, 202, 0.45), 0 4px 14px rgba(10, 34, 69, 0.2);
    border-color: rgba(0, 119, 212, 0.8) !important;
  }
  33% {
    box-shadow: 0 0 18px rgba(121, 40, 202, 0.75), 0 0 32px rgba(0, 229, 255, 0.5), 0 4px 14px rgba(10, 34, 69, 0.2);
    border-color: rgba(121, 40, 202, 0.8) !important;
  }
  66% {
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.75), 0 0 32px rgba(0, 119, 212, 0.55), 0 4px 14px rgba(10, 34, 69, 0.2);
    border-color: rgba(0, 229, 255, 0.8) !important;
  }
  100% {
    box-shadow: 0 0 16px rgba(0, 119, 212, 0.75), 0 0 30px rgba(121, 40, 202, 0.45), 0 4px 14px rgba(10, 34, 69, 0.2);
    border-color: rgba(0, 119, 212, 0.8) !important;
  }
}

/* Eliminate underline and smooth transition on ALL buttons */
.btn,
a.btn,
button.btn,
button:not(.btn-close),
input[type="button"],
input[type="submit"],
.theme-btn,
.btn-primary-line,
.btn-white-line,
.btn-primary-gs,
.btn-accent-gs,
.btn-outline-gs,
.gs-btn-hero-cta,
.gs-btn-generate-glow,
.gs-btn-warning-glow,
.gs-auth-submit-btn,
a[class*="btn-"],
a[class*=" btn-"] {
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.2s ease, border-color 0.25s ease !important;
}

/* Eye-catching RGB glow effect on hover & focus */
.btn:hover,
.btn:focus,
a.btn:hover,
a.btn:focus,
button.btn:hover,
button.btn:focus,
button:not(.btn-close):hover,
button:not(.btn-close):focus,
input[type="button"]:hover,
input[type="submit"]:hover,
.theme-btn:hover,
.theme-btn:focus,
.btn-primary-line:hover,
.btn-primary-line:focus,
.btn-white-line:hover,
.btn-white-line:focus,
.btn-primary-gs:hover,
.btn-primary-gs:focus,
.btn-accent-gs:hover,
.btn-accent-gs:focus,
.btn-outline-gs:hover,
.btn-outline-gs:focus,
.gs-btn-hero-cta:hover,
.gs-btn-hero-cta:focus,
.gs-btn-generate-glow:hover,
.gs-btn-warning-glow:hover,
.gs-auth-submit-btn:hover,
.gs-auth-submit-btn:focus,
a[class*="btn-"]:hover,
a[class*="btn-"]:focus,
a[class*=" btn-"]:hover,
a[class*=" btn-"]:focus {
  text-decoration: none !important;
  transform: translateY(-2px);
  animation: gsBtnRgbGlow 2.8s linear infinite !important;
}

.btn:active,
a.btn:active,
button:active,
input[type="submit"]:active {
  transform: translateY(0px) scale(0.98) !important;
}

/* Exceptions: disabled states & close buttons */
.btn:disabled,
.btn.disabled,
button:disabled,
[disabled],
.gs-btn-disabled,
.gs-btn-disabled:hover,
.btn-close,
.btn-close:hover {
  animation: none !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed !important;
  text-decoration: none !important;
}

.btn-primary-gs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(to right, #0077D4 0%, #0077D4 50%, #00477F 100%);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 24px;
  height: 48px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary-gs:hover {
  filter: brightness(0.92);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.btn-primary-gs:active {
  transform: translateY(1px);
}

.btn-pill-gs {
  border-radius: var(--radius-pill);
}

.btn-accent-gs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-ink);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-accent-gs:hover {
  filter: brightness(0.95);
  color: var(--color-ink);
  text-decoration: none;
}

.btn-outline-gs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 8px 18px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-gs:hover {
  background: var(--color-surface);
  border-color: var(--color-ink);
  text-decoration: none;
}

/* ==========================================================================
   Header Component (Sticky & Frosted Glass)
   ========================================================================== */
.gs-header {
  height: 72px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.gs-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(206, 211, 218, 0.4);
  box-shadow: 0 4px 20px rgba(10, 34, 69, 0.04);
}

.gs-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gs-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.gs-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.gs-desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.gs-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-nav-link {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.gs-nav-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.gs-nav-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.gs-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gs-heart-counter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.gs-heart-counter-btn:hover {
  background: rgba(10, 34, 69, 0.05);
}

.gs-heart-counter-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-ink);
}

.gs-hamburger-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 2px solid var(--color-primary, #0077D4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(10, 34, 69, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gs-hamburger-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 119, 212, 0.25);
}

.gs-hamburger-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-ink);
}

/* ==========================================================================
   Greystar Signature Circular Menu Button & Floating Navbar Popover
   ========================================================================== */
.gs-floating-nav-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Circular Menu Button (matches screenshot 1) */
.gs-circle-menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-primary, #0077D4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none;
  position: relative;
  z-index: 99995 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(10, 34, 69, 0.08);
}

.gs-circle-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 119, 212, 0.25);
}

.gs-circle-menu-btn .gs-btn-icon-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 20px;
}

.gs-circle-menu-btn .gs-btn-icon-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-ink, #0A2245);
  transition: all 0.25s ease;
}

.gs-circle-menu-btn .gs-btn-icon-close {
  display: none;
  width: 20px;
  height: 20px;
  stroke: var(--color-ink, #0A2245);
}

/* Open State on Circular Button (matches screenshot 2) */
.gs-circle-menu-btn.is-open {
  background: #FFFFFF;
  border-color: rgba(10, 34, 69, 0.15);
  box-shadow: 0 4px 16px rgba(10, 34, 69, 0.12);
}

.gs-circle-menu-btn.is-open .gs-btn-icon-hamburger {
  display: none;
}

.gs-circle-menu-btn.is-open .gs-btn-icon-close {
  display: block;
}

/* Floating Navbar Popover Card (matches screenshot 2) */
.gs-floating-menu-card {
  position: fixed !important;
  top: 76px !important;
  right: 20px !important;
  width: 320px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 96px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #FFFFFF !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 50px rgba(10, 34, 69, 0.22), 0 4px 16px rgba(10, 34, 69, 0.08) !important;
  border: 1px solid rgba(10, 34, 69, 0.1) !important;
  padding: 24px 20px 20px 20px !important;
  z-index: 99999 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.gs-floating-menu-card::-webkit-scrollbar {
  width: 5px;
}

.gs-floating-menu-card::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.gs-floating-menu-card.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* Links inside Floating Menu - Modern Hover, NO Underline */
.gs-floating-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gs-float-link {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink, #0A2245);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.gs-float-link:hover {
  background: #F1F5F9;
  color: var(--color-primary, #0077D4) !important;
  transform: translateX(3px);
  text-decoration: none !important;
}

.gs-float-link.active {
  background: #EFF6FF;
  color: var(--color-primary, #0077D4) !important;
  font-weight: 700;
}

.gs-float-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-float-link-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #64748B;
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-align: center;
}

.gs-float-link:hover .gs-float-link-icon,
.gs-float-link.active .gs-float-link-icon {
  color: var(--color-primary, #0077D4);
  transform: scale(1.12);
}

.gs-float-link-arrow {
  font-size: 12px;
  color: #94A3B8;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.gs-float-link:hover .gs-float-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-primary, #0077D4);
}

/* Capsule Pill for Submenu / Accordion - NO Underline */
.gs-float-capsule-btn {
  border: 1.5px solid var(--color-primary, #0077D4);
  border-radius: var(--radius-pill, 9999px);
  padding: 9px 16px;
  color: var(--color-ink, #0A2245);
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #FFFFFF;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 119, 212, 0.08);
  margin: 3px 0;
}

.gs-float-capsule-btn:hover,
.gs-float-capsule-btn.is-active {
  background: #EFF6FF;
  color: var(--color-primary, #0077D4);
  border-color: var(--color-primary, #0077D4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 212, 0.15);
  text-decoration: none !important;
}

.gs-float-capsule-btn svg {
  transition: transform 0.25s ease;
}

.gs-float-capsule-btn.is-active svg {
  transform: rotate(180deg);
}

/* Collapsible sub-links under capsule - NO Underline */
.gs-float-subnav {
  display: none;
  flex-direction: column;
  gap: 3px;
  padding: 6px 4px 4px 12px;
  border-left: 2px solid rgba(0, 119, 212, 0.25);
  margin-left: 14px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.gs-float-subnav.is-open {
  display: flex;
}

.gs-float-sublink {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  padding: 7px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.gs-float-sublink:hover,
.gs-float-sublink.active {
  background: #EFF6FF;
  color: var(--color-primary, #0077D4);
  transform: translateX(3px);
  text-decoration: none !important;
}

/* Subtle Divider */
.gs-float-divider {
  border: none;
  border-top: 1px solid rgba(10, 34, 69, 0.08);
  margin: 10px 0;
}

/* Floating Backdrop for click-outside */
.gs-floating-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(10, 34, 69, 0.4) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  z-index: 99990 !important;
  display: none !important;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gs-floating-backdrop.is-open {
  display: block !important;
  opacity: 1 !important;
}

/* ==========================================================================
   Slide-in Menu Drawer (as shown in screenshot)
   ========================================================================== */
.gs-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 34, 69, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gs-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.gs-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 325px;
  max-width: 90vw;
  background: #FFFFFF;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 24px rgba(10, 34, 69, 0.12);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.gs-drawer-overlay.is-active .gs-drawer-panel {
  transform: translateX(0);
}

.gs-drawer-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--color-border);
}

.gs-drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--color-ink);
  cursor: pointer;
  padding: 4px;
}

.gs-drawer-nav {
  padding: 24px 28px;
  flex: 1;
}

.gs-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gs-drawer-link {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 24px;
  color: var(--color-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.gs-drawer-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.gs-accordion-trigger {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: inherit;
}

.gs-accordion-content {
  display: none;
  padding-left: 14px;
  margin-top: 10px;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid var(--color-tint-1);
}

.gs-accordion-content.is-open {
  display: flex;
}

.gs-accordion-content a {
  font-size: 15px;
  color: var(--color-ink-2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.gs-hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
  margin-top: -72px; /* flow under sticky transparent header */
  padding-top: 140px;
}

.gs-hero-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-floating);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.gs-hero-card h1 {
  font-size: 46px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -0.92px;
  margin-bottom: 12px;
}

.gs-hero-card .subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 26px;
  color: var(--color-ink-2);
  margin-bottom: 28px;
}

.gs-search-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  height: 56px;
  padding: 4px 6px 4px 24px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(10, 34, 69, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gs-search-bar:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 212, 0.15);
}

.gs-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
}

.gs-search-input::placeholder {
  color: var(--color-muted);
}

.gs-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.gs-search-btn:hover {
  filter: brightness(0.95);
  transform: scale(1.03);
}

.gs-search-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--color-ink);
}

/* ==========================================================================
   Section: Discover Greystar Communities
   ========================================================================== */
.gs-communities-box {
  background: #F4F8FD;
  border-radius: var(--radius-group);
  padding: 56px 40px;
  margin: 40px auto 80px;
}

.gs-section-header {
  margin-bottom: 32px;
}

.gs-info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  margin-top: 8px;
}

.gs-info-line svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-muted);
  flex-shrink: 0;
}

.gs-card-slider-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.gs-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gs-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.gs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raise);
}

.gs-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.gs-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gs-card:hover .gs-card-media img {
  transform: scale(1.04);
}

.gs-card-fav-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.gs-card-fav-btn:hover {
  background: #FFFFFF;
  transform: scale(1.08);
}

.gs-card-fav-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-ink);
  fill: transparent;
  transition: fill 0.2s ease;
}

.gs-card-fav-btn.is-active svg {
  fill: #E63946;
  stroke: #E63946;
}

.gs-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gs-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.gs-card-address {
  font-size: 13px;
  line-height: 18px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.gs-card-price-row {
  margin-top: auto;
  text-align: right;
  border-top: 1px solid var(--color-surface);
  padding-top: 12px;
}

.gs-price-label {
  font-size: 12px;
  line-height: 14px;
  color: var(--color-muted);
  display: block;
}

.gs-price-val {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--color-ink);
}

.gs-price-sub {
  font-size: 11px;
  line-height: 14px;
  color: var(--color-muted);
  display: block;
  margin-top: 2px;
}

/* Slider Controls */
.gs-slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.gs-slider-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-ink);
  transition: all 0.2s ease;
}

.gs-slider-arrow:hover {
  border-color: var(--color-ink);
  background: var(--color-surface);
}

.gs-slider-arrow.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.gs-slider-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.gs-slider-dots-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
}

/* ==========================================================================
   Section: Why rent with us
   ========================================================================== */
.gs-why-rent-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  padding: 48px;
}

.gs-why-rent-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 380px;
  box-shadow: 0 8px 24px rgba(10, 34, 69, 0.08);
}

.gs-kicker-green {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #1F7A4D;
  margin-bottom: 12px;
  display: inline-block;
  line-height: 18px;
}

.gs-why-rent-card p {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 24px;
}

/* ==========================================================================
   Section: Our difference is in details
   ========================================================================== */
.gs-details-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.gs-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.gs-detail-card-wide {
  grid-column: 1 / -1;
  max-width: 580px;
}

.gs-detail-item {
  display: flex;
  flex-direction: column;
}

.gs-detail-item-img {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 20px;
}

.gs-detail-item h3 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.55px;
  margin-bottom: 8px;
}

.gs-detail-item p {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-ink-2);
}

/* ==========================================================================
   Section: See yourself somewhere new (Cream background)
   ========================================================================== */
.gs-cream-section {
  background-color: var(--color-cream);
  border-radius: var(--radius-group) var(--radius-group) 0 0;
  padding: 88px 0;
}

.gs-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 24px;
}

.gs-city-card {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gs-city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raise);
}

.gs-city-media {
  height: 200px;
  overflow: hidden;
}

.gs-city-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gs-city-card:hover .gs-city-media img {
  transform: scale(1.04);
}

.gs-city-body {
  padding: 20px 20px 24px;
}

.gs-city-title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.gs-city-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-ink-2);
  margin: 0;
}

/* ==========================================================================
   Section: Advice on moving, renting, and more
   ========================================================================== */
.gs-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.gs-advice-card {
  display: flex;
  flex-direction: column;
}

.gs-advice-media {
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
}

.gs-advice-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gs-advice-card:hover .gs-advice-media img {
  transform: scale(1.03);
}

.gs-advice-title {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.gs-advice-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-ink-2);
}

/* ==========================================================================
   Section: A partner you can trust (2 cols + yellow curve accent)
   ========================================================================== */
.gs-partner-section {
  padding: 88px 0;
}

.gs-partner-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gs-partner-content h2 {
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 20px;
}

.gs-partner-content p {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-ink-2);
  margin-bottom: 32px;
}

.gs-partner-image-wrapper {
  position: relative;
  border-radius: 28px;
  padding: 6px;
}

.gs-partner-image-wrapper::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 70%;
  height: 70%;
  border-bottom: 10px solid var(--color-accent);
  border-right: 10px solid var(--color-accent);
  border-bottom-right-radius: 36px;
  z-index: 1;
  pointer-events: none;
}

.gs-partner-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(10, 34, 69, 0.1);
}

/* ==========================================================================
   Section: SEO Links Block
   ========================================================================== */
.gs-seo-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--color-border);
}

.gs-seo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.gs-seo-col h4 {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 14px;
}

.gs-seo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gs-seo-list li a {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 18px;
  color: var(--color-ink);
  font-weight: 400;
}

.gs-seo-list li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.gs-see-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px !important;
  color: var(--color-primary) !important;
  font-weight: 500 !important;
  margin-top: 4px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.gs-footer {
  background-color: var(--color-footer);
  color: #FFFFFF;
  padding-top: 72px;
  padding-bottom: 40px;
}

.gs-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.gs-footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.gs-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gs-footer-links li a {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gs-footer-links li a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.gs-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 32px 0 24px;
}

.gs-footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.gs-footer-logo-svg {
  height: 32px;
  width: auto;
}

.gs-footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gs-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #FFFFFF;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.gs-footer-social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  text-decoration: none;
}

.gs-footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gs-footer-copyright {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.gs-footer-interest {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.gs-footer-interest a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.gs-footer-disclaimer-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 12px;
  line-height: 17px;
  color: rgba(255, 255, 255, 0.65);
}

.gs-equal-housing-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: #FFFFFF;
  opacity: 0.85;
  margin-top: 2px;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.gs-cookie-bar {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
  font-size: 13px;
  line-height: 18px;
  color: var(--color-ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 100;
}

.gs-cookie-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-settings {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  cursor: pointer;
}

.btn-cookie-accept {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #FFFFFF;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  cursor: pointer;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .gs-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gs-city-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gs-seo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gs-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gs-partner-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  h1, .h1 {
    font-size: 32px;
    line-height: 38px;
  }

  h2, .h2 {
    font-size: 26px;
    line-height: 32px;
  }

  .gs-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .gs-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gs-desktop-nav .gs-nav-links {
    display: none;
  }

  .gs-hero {
    min-height: 520px;
    padding-top: 100px;
  }

  .gs-hero-card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .gs-hero-card h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .gs-card-grid-4 {
    grid-template-columns: 1fr;
  }

  .gs-communities-box {
    padding: 36px 18px;
    border-radius: 24px;
    margin: 24px 0 52px;
  }

  .gs-why-rent-banner {
    padding: 24px;
    min-height: 400px;
  }

  .gs-details-grid {
    grid-template-columns: 1fr;
  }

  .gs-city-grid {
    grid-template-columns: 1fr;
  }

  .gs-advice-grid {
    grid-template-columns: 1fr;
  }

  .gs-seo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gs-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gs-cookie-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Site-wide overrides for existing inner pages */
.theme-creote body,
.theme-creote {
  font-family: var(--font-body) !important;
  color: var(--color-ink-2) !important;
}

.theme-creote h1, .theme-creote h2, .theme-creote h3, .theme-creote h4, .theme-creote h5, .theme-creote h6 {
  font-family: var(--font-heading) !important;
  color: var(--color-ink) !important;
}

.theme-creote .theme-btn.one,
.theme-creote .theme-btn {
  background: linear-gradient(to right, #0077D4 0%, #0077D4 50%, #00477F 100%) !important;
  border-radius: var(--radius-btn) !important;
  font-family: var(--font-body) !important;
}

.theme-creote .bg_dark_2,
.theme-creote .footer_widgets_wrap {
  background-color: var(--color-footer) !important;
}

.theme-creote .bg_dark_3,
.theme-creote .creote-footer-copyright {
  background-color: #1c3243 !important;
}

.theme-creote .top_bar.style_one {
  background-color: var(--color-surface) !important;
  color: var(--color-ink-2) !important;
}

.theme-creote .header.style_one {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   GREYSTAR PORTAL HEADER & PORTAL SYSTEM (For Logged-in User Experience)
   ========================================================================== */

.gs-portal-header {
  height: 72px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9995 !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 34, 69, 0.08);
  box-shadow: 0 4px 20px rgba(10, 34, 69, 0.04);
}

.gs-portal-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.gs-portal-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gs-portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-portal-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.gs-portal-logo-img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.gs-portal-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 119, 212, 0.1);
  color: #0077D4;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.gs-portal-desktop-nav {
  display: flex;
  align-items: center;
}

.gs-portal-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-portal-nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.gs-portal-nav-link:hover {
  background: #EFF6FF;
  color: #0077D4;
}

.gs-portal-nav-link.active {
  background: #0077D4;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 119, 212, 0.25);
}

.gs-portal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-user-capsule-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid rgba(10, 34, 69, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px 14px 4px 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #0A2245;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.gs-user-capsule-btn:hover {
  background: #EFF6FF;
  border-color: #0077D4;
}

.gs-user-capsule-btn.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 0.15em;
  color: #64748B;
  transition: transform 0.2s ease;
}

.gs-user-dropdown.show .gs-user-capsule-btn.dropdown-toggle::after,
.gs-user-capsule-btn.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.gs-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A2245 0%, #0077D4 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 119, 212, 0.25);
}

.gs-user-dropdown-menu {
  border-radius: 16px !important;
  min-width: 210px;
  box-shadow: 0 14px 36px rgba(10, 34, 69, 0.12) !important;
  border: 1px solid rgba(10, 34, 69, 0.08) !important;
  padding: 8px 0;
  margin-top: 8px !important;
}

.gs-user-dropdown-menu .dropdown-item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  padding: 10px 18px;
  transition: all 0.15s ease;
}

.gs-user-dropdown-menu .dropdown-item:hover {
  background: #F1F5F9;
  color: #0077D4;
}

.gs-portal-hamburger-btn {
  background: #F8FAFC;
  border: 1px solid rgba(10, 34, 69, 0.1);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0A2245;
  transition: all 0.2s ease;
}

.gs-portal-hamburger-btn:hover {
  background: #EFF6FF;
  color: #0077D4;
}

/* Mobile Portal Drawer */
.gs-portal-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 34, 69, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gs-portal-drawer-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.gs-portal-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 1051;
  box-shadow: -8px 0 32px rgba(10, 34, 69, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.gs-portal-drawer-panel.is-open {
  transform: translateX(0);
}

.gs-portal-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 34, 69, 0.08);
}

.gs-portal-drawer-close {
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 16px;
  cursor: pointer;
}

.gs-drawer-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.gs-drawer-link:hover,
.gs-drawer-link.active {
  background: #EFF6FF;
  color: #0077D4 !important;
}

/* ==========================================================================
   PORTAL INNER PAGE BANNER (.page .cover)
   ========================================================================== */

.page .cover {
  background: linear-gradient(135deg, #0A2245 0%, #1A365D 50%, #0077D4 100%) !important;
  padding: 56px 0 44px 0 !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.page .cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 217, 114, 0.12), transparent 40%);
  pointer-events: none;
}

.page .cover .page-top {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page .cover .page-top h1 {
  font-family: var(--font-heading) !important;
  font-size: 36px !important;
  line-height: 44px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 12px !important;
}

.page .cover .breadcrumb {
  background: transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 18px !important;
  margin: 0 !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px) !important;
}

.page .cover .breadcrumb li {
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.page .cover .breadcrumb li a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.page .cover .breadcrumb li a:hover {
  color: #ffffff !important;
}

.page .cover .breadcrumb li.active {
  color: #FFD972 !important;
  font-weight: 700 !important;
}

.page-bottom {
  padding-top: 48px;
  padding-bottom: 72px;
  background-color: #F8FAFC;
  min-height: 600px;
}

/* Responsive portal queries */
@media (max-width: 991px) {
  .gs-portal-desktop-nav {
    display: none;
  }
}

/* ==========================================================================
   Portal Components, Preset Buttons & Metric Card Helpers
   ========================================================================== */
.amount-preset-btn {
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  border: 1.5px solid rgba(0, 119, 212, 0.3) !important;
  color: var(--color-primary, #0077D4) !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

.amount-preset-btn:hover,
.amount-preset-btn:focus,
.amount-preset-btn.active {
  background: var(--color-primary, #0077D4) !important;
  color: #ffffff !important;
  border-color: var(--color-primary, #0077D4) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 212, 0.25) !important;
}

.gs-metric-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(10, 34, 69, 0.08);
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(10, 34, 69, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.gs-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 34, 69, 0.08);
}

.gs-metric-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.gs-metric-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  margin-bottom: 4px;
}

.gs-metric-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-ink, #0A2245);
  line-height: 1.2;
}

/* ==========================================================================
   Properties Optimization Cockpit Page Styles
   ========================================================================== */
.gs-opt-page {
  background-color: #F8FAFC;
  min-height: calc(100vh - 72px - 380px);
  padding: 36px 0 72px 0;
}

.gs-opt-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.gs-opt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 6px;
}

.gs-opt-breadcrumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gs-opt-breadcrumb a:hover {
  color: var(--color-primary, #0077D4);
}

.gs-opt-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-ink, #0A2245);
  margin: 0;
  letter-spacing: -0.02em;
}

.gs-opt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gs-opt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: gs-pulse 2s infinite ease-in-out;
}

@keyframes gs-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Hero Action Card */
.gs-opt-hero-card {
  background: linear-gradient(135deg, #0A2245 0%, #07172E 50%, #003B73 100%);
  border-radius: 28px;
  padding: 36px 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 34, 69, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-opt-hero-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 119, 212, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.gs-opt-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFD972;
  margin-bottom: 16px;
}

.gs-opt-hero-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.25;
}

.gs-opt-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  max-width: 620px;
}

.gs-opt-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.gs-opt-spec-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.gs-opt-spec-item strong {
  color: #FFFFFF;
}

.gs-opt-btn-generate {
  background: linear-gradient(135deg, #0077D4 0%, #0098FF 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-pill);
  padding: 14px 38px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 119, 212, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gs-opt-btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 119, 212, 0.6);
  color: #FFFFFF !important;
  filter: brightness(1.05);
}

/* Quota Card */
.gs-opt-quota-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 32px 28px;
  border: 1px solid rgba(10, 34, 69, 0.08);
  box-shadow: 0 12px 32px rgba(10, 34, 69, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Metric Bento Tiles */
.gs-opt-tile {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(10, 34, 69, 0.08);
  box-shadow: 0 4px 16px rgba(10, 34, 69, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.gs-opt-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 34, 69, 0.08);
  border-color: rgba(0, 119, 212, 0.2);
}

.gs-opt-tile-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.gs-opt-tile-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 4px;
}

.gs-opt-tile-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-ink, #0A2245);
  margin-bottom: 4px;
  line-height: 1.2;
}

.gs-opt-tile-sub {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
}

/* Property Showcase Cards */
.gs-opt-prop-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 34, 69, 0.08);
  box-shadow: 0 4px 16px rgba(10, 34, 69, 0.04);
  transition: all 0.2s ease;
  height: 100%;
}

.gs-opt-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 34, 69, 0.1);
}

.gs-opt-prop-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.gs-opt-prop-body {
  padding: 20px;
}

@media (max-width: 768px) {
  .gs-opt-hero-card {
    padding: 28px 24px;
  }
  .gs-opt-hero-title {
    font-size: 24px;
  }
}

/* ==========================================================================
   Chat Widget Elevated Placement (Avoid overlapping floating mobile navbar)
   ========================================================================== */
.woot-widget-bubble,
.woot--bubble-holder,
iframe.woot-widget-bubble,
div.woot-widget-bubble,
.woot-elements--right {
  bottom: 28px !important;
  right: 24px !important;
}

.woot-widget-holder,
iframe.woot-widget-holder,
div.woot-widget-holder {
  bottom: 28px !important;
  right: 24px !important;
}

@media (max-width: 768px) {
  .woot-widget-bubble,
  .woot--bubble-holder,
  iframe.woot-widget-bubble,
  div.woot-widget-bubble,
  .woot-elements--right {
    bottom: 94px !important;
    right: 16px !important;
    z-index: 99998 !important;
  }

  .woot-widget-holder,
  iframe.woot-widget-holder,
  div.woot-widget-holder {
    bottom: 94px !important;
    right: 16px !important;
    max-height: calc(100vh - 110px) !important;
    z-index: 99998 !important;
  }
}





/* Wallet dashboard body global mobile rules */
body.wallet-dashboard-body { overflow-x: hidden !important; max-width: 100vw !important; width: 100% !important; }
body.wallet-dashboard-body .gs-footer,
body.wallet-dashboard-body footer,
body.wallet-dashboard-body .gs-portal-minimal-footer {
  display: none !important;
}

/* Ensure mobile navbar header elements scale gracefully */
@media (max-width: 576px) {
  .gs-portal-header-inner {
    padding: 0 4px;
    gap: 8px;
  }
  .gs-portal-logo-img {
    max-width: 115px !important;
    height: 24px !important;
  }
  .gs-user-name {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }
  .gs-user-capsule-btn {
    padding: 3px 8px 3px 4px !important;
    font-size: 12.5px !important;
  }
  .gs-circle-menu-btn {
    width: 42px !important;
    height: 42px !important;
  }
  .gs-floating-menu-card {
    position: fixed !important;
    top: 74px !important;
    right: 14px !important;
    width: calc(100vw - 28px) !important;
    max-width: 330px !important;
    max-height: calc(100vh - 90px) !important;
  }
}

details[open] summary svg { transform: rotate(180deg); }

/* ==========================================================================
   Modern App Floating Toast & Notification Styles
   Transforms basic alerts into sleek, elevated iOS/Fintech mobile cards
   ========================================================================== */
.gs-modern-toast,
.alert.gs-app-alert {
  position: relative !important;
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 14px 16px !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(10, 34, 69, 0.08) !important;
  box-shadow: 0 10px 25px -4px rgba(10, 34, 69, 0.08), 0 4px 12px -2px rgba(10, 34, 69, 0.04) !important;
  color: #0A2245 !important;
  overflow: hidden;
  animation: gsToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gsToastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gs-toast-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gs-toast-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gs-toast-content {
  flex: 1;
  min-width: 0;
}

.gs-toast-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.gs-toast-msg {
  font-size: 13.5px;
  font-weight: 700;
  color: #0A2245;
  line-height: 1.35;
  word-break: break-word;
}

.gs-toast-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid rgba(10, 34, 69, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.15s ease;
}

.gs-toast-close:hover {
  background: #E2E8F0;
  color: #0A2245;
  transform: scale(1.05);
}

/* Variant: Success */
.gs-toast-success,
.alert.gs-app-alert.gs-alert-success {
  border-color: rgba(16, 185, 129, 0.28) !important;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.18), 0 4px 10px rgba(10, 34, 69, 0.04) !important;
}
.gs-toast-success .gs-toast-icon-wrap,
.alert.gs-app-alert.gs-alert-success .gs-toast-icon-wrap {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}
.gs-toast-success .gs-toast-kicker,
.alert.gs-app-alert.gs-alert-success .gs-toast-kicker {
  color: #059669 !important;
}

/* Variant: Danger / Error */
.gs-toast-danger,
.alert.gs-app-alert.gs-alert-danger {
  border-color: rgba(239, 68, 68, 0.28) !important;
  box-shadow: 0 10px 25px -4px rgba(239, 68, 68, 0.18), 0 4px 10px rgba(10, 34, 69, 0.04) !important;
}
.gs-toast-danger .gs-toast-icon-wrap,
.alert.gs-app-alert.gs-alert-danger .gs-toast-icon-wrap {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35) !important;
}
.gs-toast-danger .gs-toast-kicker,
.alert.gs-app-alert.gs-alert-danger .gs-toast-kicker {
  color: #DC2626 !important;
}

/* Variant: Info */
.gs-toast-info,
.alert.gs-app-alert.gs-alert-info {
  border-color: rgba(0, 119, 212, 0.28) !important;
  box-shadow: 0 10px 25px -4px rgba(0, 119, 212, 0.18), 0 4px 10px rgba(10, 34, 69, 0.04) !important;
}
.gs-toast-info .gs-toast-icon-wrap,
.alert.gs-app-alert.gs-alert-info .gs-toast-icon-wrap {
  background: linear-gradient(135deg, #0077D4 0%, #0A2245 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 119, 212, 0.35) !important;
}
.gs-toast-info .gs-toast-kicker,
.alert.gs-app-alert.gs-alert-info .gs-toast-kicker {
  color: #0077D4 !important;
}

/* Variant: Warning */
.gs-toast-warning,
.alert.gs-app-alert.gs-alert-warning {
  border-color: rgba(245, 158, 11, 0.28) !important;
  box-shadow: 0 10px 25px -4px rgba(245, 158, 11, 0.18), 0 4px 10px rgba(10, 34, 69, 0.04) !important;
}
.gs-toast-warning .gs-toast-icon-wrap,
.alert.gs-app-alert.gs-alert-warning .gs-toast-icon-wrap {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35) !important;
}
.gs-toast-warning .gs-toast-kicker,
.alert.gs-app-alert.gs-alert-warning .gs-toast-kicker {
  color: #D97706 !important;
}



