/* ========================================
   BG BLACKBOOK - Master Stylesheet
   ======================================== */

/* Reset & Base */
* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #0a0f1c 0%, #0f1629 50%, #0a0f1c 100%);
  min-height: 100vh;
  color: #ffffff;
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

.pb-8 {
  padding-bottom: 2rem;
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 1rem;
  background: rgba(15, 22, 41, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.header-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

@media (min-width: 640px) {
  .header-logo {
    width: 3rem;
    height: 3rem;
  }
}

.header-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #d4af37;
}

@media (min-width: 640px) {
  .header-title {
    font-size: 1.5rem;
  }
}

.header-subtitle {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #5a6a8a;
}

/* ========================================
   NAVIGATION TABS
   ======================================== */

.nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  background: rgba(15, 22, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .nav {
    top: 80px;
  }
}

.nav-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.75rem;
  background: rgba(30, 42, 74, 0.5);
}

@media (min-width: 640px) {
  .nav-tabs {
    gap: 0.5rem;
  }
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.75rem;
  color: #8b9dc3;
  text-decoration: none;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .nav-tab {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

.nav-tab:hover {
  color: #d4af37;
}

.nav-tab-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7c9c;
}

.nav-tab:hover .nav-tab-icon {
  color: #d4af37;
}

/* Active Tab State */
.nav-tab.active {
  background: linear-gradient(135deg, #d4af37, #aa8c2c);
  color: #0f1629;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.nav-tab.active .nav-tab-icon {
  color: #0f1629;
}

/* ========================================
   CONCIERGE BANNER
   ======================================== */

.concierge-banner {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 0.75rem 0;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(170, 140, 44, 0.1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.concierge-banner:hover {
  transform: scale(1.01);
}

.concierge-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.concierge-banner-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.concierge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #d4af37, #aa8c2c);
}

.concierge-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.concierge-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #d4af37;

margin: 0;
  line-height: 1.2;
  text-align: left;
}

@media (min-width: 640px) {
  .concierge-title {
    font-size: 1.25rem;
  }
}

.concierge-subtitle {
  font-size: 0.75rem;
  color: #8b9dc3;

margin: 0;
  line-height: 1.2;
  text-align: left;
}

@media (min-width: 640px) {
  .concierge-subtitle {
    font-size: 0.875rem;
  }
}

.concierge-banner-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.concierge-price {
  font-weight: 700;
  font-size: 2.125rem;
  color: #10b981;
}

.concierge-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: #d4af37;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main {
  padding: 1.25rem 1rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
}

.section-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: #5a6a8a;
}

/* ========================================
   TAG FILTERS
   ======================================== */

.tag-filter-section {
  margin-bottom: 1.25rem;
}

.tag-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tag-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b9dc3;
}

.tag-filter-clear {
  font-size: 0.75rem;
  font-weight: 500;
  color: #d4af37;
  background: none;
  border: none;
  cursor: pointer;
}

.tag-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-filter-btn {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(139, 157, 195, 0.1);
  color: #8b9dc3;
  border: 1px solid rgba(139, 157, 195, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-filter-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.3);
}

.tag-filter-btn.active {
  background: linear-gradient(135deg, #d4af37, #aa8c2c);
  color: #0f1629;
  border: none;
}

/* ========================================
   PROVIDER CARDS GRID
   ======================================== */

.providers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   PROVIDER CARD
   ======================================== */

.provider-card {
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #1e2a4a 0%, #0f1629 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

@media (min-width: 640px) {
  .provider-card {
    padding: 1.25rem;
  }
}

.provider-card.verified {
  background: linear-gradient(145deg, #2a2a1a 0%, #1a1a0f 100%);
  border-color: rgba(212, 175, 55, 0.35);
}

/* Card Background Star */
.provider-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  margin-right: -2rem;
  margin-top: -2rem;
  opacity: 0.05;
  pointer-events: none;
  color: currentColor;
}

/* Rank Badge */
.provider-rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: linear-gradient(135deg, #d4af37, #aa8c2c);
  color: #0f1629;
}

/* Card Content */
.provider-content {
  position: relative;
}

.provider-header {
  margin-bottom: 0.75rem;
}

.provider-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  padding-right: 2.5rem;
}

@media (min-width: 640px) {
  .provider-name {
    font-size: 1.125rem;
  }
}

/* Status Badges */
.status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

.badge-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.badge-verified {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
  color: #1a1a2e;
}

.badge-community {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #10b981 100%);
  color: #ffffff;
}

.badge-data {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
  color: #ffffff;
}

/* Provider Quote */
.provider-quote {
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(59, 130, 246, 0.4);
}

.provider-card.verified .provider-quote {
  border-left-color: rgba(212, 175, 55, 0.6);
}

.provider-quote p {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.625;
  font-style: italic;
  margin: 0;
}

/* Provider Tags */
.provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.provider-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Provider Buttons */
.provider-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .provider-buttons {
    flex-direction: row;
  }
}

.btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

.btn-call {
  background: transparent;
  color: #10b981;
  border: 2px solid #10b981;
}

.btn-call:hover {
  background: rgba(16, 185, 129, 0.1);
}

.btn-call.revealed {
  background: #10b981;
  color: #ffffff;
  border: 2px solid #10b981;
}

.btn-website {
  background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
  color: #0f1629;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35), 0 2px 8px rgba(212, 175, 55, 0.2);
}

.btn-website:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4), 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* ========================================
   MODAL
   ======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #1e2a4a 0%, #0f1629 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(15, 22, 41, 0.97);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #d4af37, #aa8c2c);
}

.modal-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #d4af37;
  margin: 0;
}

.modal-subtitle {
  font-size: 0.75rem;
  color: #8b9dc3;
  margin: 0;
}

.modal-close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.modal-body iframe {
  width: 100%;
  min-height: 600px;
  background: #ffffff;
  border: none;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  text-align: center;
}

.footer-info {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: #5a6a8a;
  margin-bottom: 1.5rem;
}

.footer-info-icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-legal {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-copyright {
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 0.75rem 0;
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.625;
  color: #666;
  max-width: 48rem;
  margin: 0 auto;
}

.footer-disclaimer strong {
  color: #888;
}

/* ========================================
   INDEX PAGE - LANDING
   ======================================== */

.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.landing-logo {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .landing-logo {
    width: 8rem;
    height: 8rem;
  }
}

.landing-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #d4af37;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

@media (min-width: 640px) {
  .landing-title {
    font-size: 3rem;
  }
}

.landing-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #5a6a8a;
  margin: 0 0 3rem 0;
  text-align: center;
}

.landing-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 20rem;
}

.landing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.landing-btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #aa8c2c 100%);
  color: #0f1629;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4);
}

.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5);
}

.landing-btn-disabled {
  background: rgba(139, 157, 195, 0.1);
  color: #5a6a8a;
  border: 1px solid rgba(139, 157, 195, 0.2);
  cursor: not-allowed;
}

.landing-btn-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.landing-btn-badge {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(139, 157, 195, 0.2);
  color: #8b9dc3;
  margin-left: 0.5rem;
}

.landing-footer {
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* ========================================
   EMPTY STATE
   ======================================== */

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 1rem;
  background: rgba(30, 42, 74, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.empty-state-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  color: #5a6a8a;
}

.empty-state-text {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 0.75rem 0;
}

.empty-state-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4af37;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}