/* ============================================================
   GDI INTELLIGENCE — GLOBAL DESIGN SYSTEM
   Quiet Luxury B2B · Institutional Authority · Premium Craft
   ============================================================ */
:root {
  /* ── Quiet Luxury Palette ── */
  --bg-main: #0B0F1A;
  --bg-card: #111827;
  --bg-card-hover: #1A2235;
  --bg-elevated: #151C2E;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(197, 181, 148, 0.15);

  --text-main: #E8E6E1;
  --text-muted: #8B95A8;
  --text-light: #F1F0EC;

  /* ── Accent: Champagne Gold (Quiet Authority) ── */
  --gold: #C5B594;
  --gold-muted: rgba(197, 181, 148, 0.12);
  --gold-hover: #D4C5A0;

  /* ── Signal Colors (Live Data Indicators) ── */
  --signal-live: #34D399;
  --signal-live-muted: rgba(52, 211, 153, 0.10);
  --signal-warn: #FBBF24;
  --signal-warn-muted: rgba(251, 191, 36, 0.10);
  --signal-danger: #F87171;
  --signal-danger-muted: rgba(248, 113, 113, 0.10);

  /* ── Corporate Signal Colors ── */
  --c-email: #60A5FA;
  --c-phone: #34D399;
  --c-linkedin: #38BDF8;
  --c-twitter: #94A3B8;
  --c-facebook: #818CF8;
  --c-whatsapp: #34D399;
  --c-instagram: #F472B6;
  --c-tiktok: #F87171;
  --c-advertiser: #A78BFA;
  --c-publisher: #60A5FA;

  --primary: #C5B594;
  --primary-hover: #D4C5A0;

  /* ── Typography ── */
  --font-sans: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(197, 181, 148, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(52, 211, 153, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  padding-bottom: 50px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ── HEADER ───────────────────────────────────────────── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.title-group h1 {
  font-family: var(--font-display);
  font-size: 32px;
  white-space: normal;
  word-wrap: break-word;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.title-group p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.global-stats {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.stat-item .value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

/* ── TABS & PROGRESS ───────────────────────────────────────────── */
.tabs-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.tabs {
  display: flex;
  gap: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.tab-btn:hover:not(.active) {
  color: var(--text-main);
  background: rgba(255,255,255,0.05);
}

.progress-group {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
}

.progress-bar {
  width: 150px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 54.24%;
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* ── SEARCH & FILTER ───────────────────────────────────────────── */
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 50;
}

.filter-panel.main-panel {
  z-index: 60;
}

.filter-panel.secondary-panel {
  grid-template-columns: repeat(2, 1fr);
  z-index: 50;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.input-group label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

/* Custom Select CSS */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.custom-select:hover {
  border-color: var(--primary);
}

.custom-select-trigger {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 10px;
}

.arrow-down {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.custom-select-wrapper.open .arrow-down {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #111827; /* Darker dropdown background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  z-index: 100;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  flex-direction: column;
}

.custom-select-wrapper.open .custom-select-options {
  display: flex;
}

.custom-select-search {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-select-search input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  color: var(--text-light);
  font-size: 13px;
}

.custom-select-search input:focus {
  outline: none;
  border-color: var(--primary);
}

.custom-select-list {
  max-height: 250px;
  overflow-y: auto;
  padding: 5px 0;
}

.custom-select-list::-webkit-scrollbar {
  width: 6px;
}

.custom-select-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.custom-option {
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.custom-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.custom-option input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.btn-search {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  height: 43px;
}

.btn-search:hover {
  background: var(--primary-hover);
}

.btn-search:active {
  transform: scale(0.98);
}

/* ── RESULTS HEADER & PURCHASE FLOW ───────────────────────────────────────────── */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.results-info {
  font-size: 14px;
  color: var(--text-muted);
}

.results-info strong {
  color: var(--text-main);
  font-weight: 600;
}

.purchase-group {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 10px 20px;
  border-radius: 12px;
}

.purchase-info {
  font-size: 14px;
  color: #A78BFA;
}

.purchase-info strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
}

.btn-buy {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
  text-decoration: none;
}

.btn-buy:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* ── TABLE ───────────────────────────────────────────── */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  padding: 12px 15px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

th:nth-child(1) {
  width: 30%;
}

td {
  padding: 12px 15px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255,255,255,0.06);
}

.company-name {
  font-weight: 600;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.company-domain {
  color: var(--c-phone);
  font-size: 12px;
  text-decoration: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--font-mono, monospace);
  white-space: nowrap;
}

.status-badge.available {
  color: var(--c-phone);
  background: rgba(16, 185, 129, 0.1);
}

.status-badge.missing {
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.s-icon {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}

.s-in { color: var(--c-linkedin); }
.s-tw { color: var(--c-twitter); }
.s-fb { color: var(--c-facebook); }
.s-ig { color: var(--c-instagram); }

.zero-data-notice {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.zero-data-notice strong {
  color: var(--primary);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 10px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.package-selector {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.package-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.package-row:last-child {
  margin-bottom: 0;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
}

.pkg-label { font-weight: 600; }
.pkg-val { font-family: var(--font-display); font-size: 18px; color: var(--primary); }
.pkg-total { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #10B981; }

.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-checkout:hover { background: var(--primary-hover); }

@media (max-width: 1024px) {
  .filter-panel.main-panel { grid-template-columns: 1fr 1fr; }
  .global-stats { flex-wrap: wrap; }
}

@media (max-width: 1024px) {
  .header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .global-stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .title-group h1 { font-size: 32px; }
  .tabs-panel { flex-direction: column; gap: 16px; align-items: flex-start; }
  .tabs { flex-wrap: wrap; width: 100%; }
  .tab-btn { flex: 1; text-align: center; }
  .progress-group { width: 100%; flex-wrap: wrap; }
  .filter-panel.main-panel { grid-template-columns: 1fr; }
  .filter-panel.secondary-panel { grid-template-columns: 1fr; }
  
  .top-navbar .btn-demo-nav,
  .top-navbar .btn-outline-nav { display: none !important; }
  .mobile-only-link { display: block !important; color: var(--gold) !important; font-weight: 700 !important; border-top: 1px solid var(--border-color); }
  p, h1, h2, h3, h4, span, div { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto; }
  .results-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .purchase-group { width: 100%; justify-content: space-between; flex-direction: column; align-items: stretch; gap: 12px; }
  .purchase-info { text-align: center; }
  .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 800px; }
  .stat-item .value { font-size: 20px; }
}

@media (max-width: 480px) {
  .global-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  margin-top: 60px;
  padding: 48px 24px 36px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-column h3 {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── CORPORATE SUBPAGES ───────────────────────────────────────────── */
.subpage-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-top: 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 30px;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--text-main);
}

.subpage-container h1 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.subpage-content {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.subpage-content p {
  margin-bottom: 16px;
}

.subpage-content h2 {
  color: var(--text-main);
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.subpage-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.subpage-content li {
  margin-bottom: 8px;
}

/* ── CONTACT FORM ───────────────────────────────────────────── */
.contact-form-container {
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.gdi-contact-form .form-group {
  margin-bottom: 24px;
}

.gdi-contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.gdi-contact-form input[type="text"],
.gdi-contact-form input[type="email"],
.gdi-contact-form select,
.gdi-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.3s;
}

.gdi-contact-form select option {
  background: var(--bg-main);
  color: var(--text-main);
}

.gdi-contact-form input:focus,
.gdi-contact-form select:focus,
.gdi-contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.gdi-contact-form small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-submit-secure {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-sans);
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

.btn-submit-secure:hover {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

/* ── TOAST NOTIFICATION ─────────────────────────────────────── */
.gdi-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  background: rgba(18, 24, 38, 0.98);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 32px 48px;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  backdrop-filter: blur(20px);
  max-width: 600px;
  text-align: center;
  line-height: 1.6;
}

.gdi-toast.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.gdi-toast.success {
  border: 2px solid #10B981;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
}

.gdi-toast.error {
  border: 2px solid #EF4444;
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.2);
}

.gdi-toast.validation {
  border: 2px solid #F59E0B;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
}

.gdi-toast-icon {
  font-size: 48px;
}

/* ── TOP NAV MENU ───────────────────────────────────────────── */
.top-nav-menu {
  position: relative;
}

.nav-menu-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s;
  padding: 0;
}

.nav-menu-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.nav-menu-btn svg {
  width: 24px;
  height: 24px;
}

.nav-menu-content {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: rgba(11, 15, 26, 0.98);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  width: 220px;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 999;
  backdrop-filter: blur(24px);
}

.nav-menu-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-content a {
  padding: 11px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.nav-menu-content a:hover {
  background: rgba(197, 181, 148, 0.06);
  color: var(--gold);
}

.nav-menu-content a.contact-link {
  border-top: 1px solid var(--border-color);
  color: var(--gold);
}

.nav-menu-content a.contact-link:hover {
  color: var(--gold-hover);
  background: var(--gold-muted);
}

.mobile-only-link {
  display: none;
}

/* ── COMPETITIVE INTELLIGENCE ADDITIONS ────────────────────── */
.locked-field {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
  display: inline-block;
}

.locked-field.unlocked {
  filter: none;
  user-select: text;
  pointer-events: auto;
  opacity: 1;
}

.unlock-btn {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.unlock-btn:hover {
  background: linear-gradient(135deg, #1D4ED8, #1E40AF);
  transform: translateY(-1px);
}

/* Blurry / Filtered low quality row */
.filtered-spam {
  opacity: 0.45;
  filter: grayscale(80%) blur(1px);
  background-color: rgba(241, 245, 249, 0.5) !important;
  pointer-events: none;
}

.filtered-spam td {
  border-bottom: 1px dashed #CBD5E1;
}

.spam-badge {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: line-through;
}

/* Quality tier badges */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.tier-badge.tier-1 {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FCD34D;
}

.tier-badge.tier-standard {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.tier-badge.tier-low {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

/* User credit nav widget */
.user-credits-widget {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-credits-widget span.count {
  color: #2563EB;
  background: #FFFFFF;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #DBEAFE;
}

/* Popular analyses container styling */
.popular-analyses {
  margin-top: 40px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
}

.popular-analyses h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
  color: #0F172A;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

.analysis-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s;
  cursor: pointer;
}

.analysis-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.analysis-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1E293B;
}

.analysis-card p {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

