:root {
  --bg-primary: #0f1117;
  --bg-secondary: #181b26;
  --bg-card: #202433;
  --bg-input: #131620;
  --border-color: #2e344a;
  --accent-red: #ff3b5c;
  --accent-red-glow: rgba(255, 59, 92, 0.25);
  --accent-amber: #ff9f1c;
  --accent-cyan: #00e5ff;
  --text-main: #f0f2f8;
  --text-muted: #9ba3be;
  --text-dim: #656d8a;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Nav */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-badge {
  background: var(--accent-red);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--accent-red-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-report {
  background: linear-gradient(135deg, #ff3b5c, #e60039);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px var(--accent-red-glow);
}

.btn-report:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 59, 92, 0.4);
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

/* Featured Header Subbanner */
.featured-banner {
  background: linear-gradient(90deg, #181b26, #1f1624);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-divider {
  color: var(--text-dim);
}

.banner-btn {
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.banner-btn.red { background: var(--accent-red); }
.banner-btn.gold { background: #e0a96d; color: #000; }

/* Stats Ribbon */
.stats-ribbon {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.stat-val.red { color: var(--accent-red); }
.stat-val.amber { color: var(--accent-amber); }
.stat-val.cyan { color: var(--accent-cyan); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hero & Search Section */
.hero {
  padding: 3rem 2rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent-red);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.search-box-container {
  display: flex;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s;
}

.search-box-container:focus-within {
  border-color: var(--accent-red);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.2rem;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
}

.search-btn {
  background: var(--accent-red);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Filter Controls */
.controls-container {
  max-width: 1200px;
  margin: 1.5rem auto 1rem;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pill-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 600;
}

.pill.active, .pill:hover {
  background: var(--bg-card);
  color: #fff;
  border-color: var(--accent-red);
}

/* Main Cards Grid */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
  width: 100%;
}

.grid-businesses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.biz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.biz-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-red);
}

.biz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.biz-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.biz-industry {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.biz-location {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.badges-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.badge-threat {
  background: rgba(255, 59, 92, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 59, 92, 0.4);
}

.badge-lost {
  background: rgba(255, 159, 28, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(255, 159, 28, 0.4);
}

.badge-reviews {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.review-snippet-box {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-red);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.biz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

.btn-view {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-view:hover {
  text-decoration: underline;
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 2rem auto 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-red);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-red);
}

.alert-banner {
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid var(--accent-red);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* 🍆 Dick-O-Meter Point Chart & Dramatic Sizing Scale */
.dick-meter-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  transition: transform 0.15s ease;
}

.box-colossal {
  border: 2px solid #ff003c;
  background: rgba(255, 0, 60, 0.08);
  padding: 0.5rem 1rem;
}

.box-huge {
  border: 2px solid #ff3b5c;
  background: rgba(255, 59, 92, 0.08);
  padding: 0.45rem 0.9rem;
}

.box-big {
  border: 2px solid #f97316;
  background: rgba(249, 115, 22, 0.08);
}

.box-medium {
  border: 1px solid #a855f7;
  background: rgba(168, 85, 247, 0.08);
}

.box-little {
  border: 1px solid #06b6d4;
  background: rgba(6, 182, 212, 0.08);
}

.eggplant-icon {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.size-little { font-size: 1rem; }
.size-medium { font-size: 1.5rem; }
.size-big { font-size: 2.2rem; }
.size-huge { font-size: 3.1rem; }
.size-colossal { font-size: 4.2rem; }

.dick-meter-label {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.dick-lvl-colossal { color: #ff003c; font-size: 0.95rem; }
.dick-lvl-huge { color: #ff3b5c; font-size: 0.9rem; }
.dick-lvl-big { color: #f97316; }
.dick-lvl-medium { color: #a855f7; }
.dick-lvl-little { color: #06b6d4; }

/* 🛡️ Mission Statement Hero Banner */
.mission-statement-card {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.12), rgba(32, 36, 51, 0.9));
  border: 2px solid var(--accent-red);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 850px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mission-statement-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mission-statement-card p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0;
}

/* 🛡️ Verify Dick Size Badge & Button */
.btn-verify-size {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--accent-cyan);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-verify-size:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--accent-cyan);
}

.verified-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Connect With Victims Banner */
.victim-connect-box {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.15), rgba(147, 51, 234, 0.15));
  border: 1px solid rgba(255, 59, 92, 0.4);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-connect-victims {
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn-connect-victims:hover {
  background: #e60039;
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.point-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.point-chip {
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.point-chart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.point-chart-table th, .point-chart-table td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.point-chart-table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* 🔗 Direct Source / Citation Button */
.btn-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.5);
  color: var(--accent-cyan);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.15);
}

.btn-source-link:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

/* 📋 Embedded Review Quote Styling */
.review-embed-card {
  border-left: 4px solid var(--accent-red);
  position: relative;
}

.review-embed-body {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem 1.5rem 1.25rem 2.75rem;
  margin: 0.75rem 0;
}

.quote-icon {
  position: absolute;
  top: 0.5rem;
  left: 0.85rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-red);
  font-family: Georgia, serif;
  opacity: 0.8;
}

footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==============================================================================
   📱 MOBILE RESPONSIVENESS OVERHAUL (Screens <= 768px and <= 480px)
   ============================================================================== */

@media (max-width: 768px) {
  /* Navigation */
  .header {
    padding: 0.75rem 1rem;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .brand-logo {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .brand-logo img {
    width: 28px !important;
    height: 28px !important;
  }

  .brand-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }

  .nav-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.6rem;
    font-size: 0.85rem;
  }

  .btn-report {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  .mobile-only {
    display: inline !important;
  }

  .desktop-only {
    display: none !important;
  }

  .featured-banner {
    padding: 0.5rem 0.75rem;
    gap: 0.4rem;
    font-size: 0.78rem;
    flex-direction: column;
    text-align: center;
  }

  .banner-divider {
    display: none;
  }

  /* Hero & Search */
  .hero {
    padding: 1.75rem 1rem 1.25rem;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .search-box-container {
    flex-direction: column;
    padding: 0.4rem;
    gap: 0.4rem;
  }

  .search-input {
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
    width: 100%;
  }

  .search-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  /* Stats Ribbon: Clean 2x2 Grid */
  .stats-ribbon {
    padding: 0.85rem 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.65rem 0.5rem;
    text-align: center;
  }

  .stat-val {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* Filter Controls: Horizontal Scrollable Pills */
  .controls-container {
    padding: 0 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .pill-group {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 0.4rem;
    width: 100%;
    scrollbar-width: none;
  }

  .pill-group::-webkit-scrollbar {
    display: none;
  }

  .pill {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    flex-shrink: 0;
  }

  /* Main Business Cards Grid: Full Width */
  .main-container {
    padding: 0.75rem 1rem 3rem;
  }

  .grid-businesses {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .biz-card {
    padding: 1.15rem;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .gauge-wrap {
    align-self: center;
    margin: 0.5rem 0;
  }

  /* Modal Details */
  .modal-content {
    width: 95% !important;
    max-height: 92vh !important;
    padding: 1.25rem 1rem !important;
    border-radius: 12px !important;
  }

  .review-embed-body {
    padding: 1rem 1rem 1rem 2rem;
    font-size: 0.88rem;
  }

  .quote-icon {
    font-size: 1.5rem;
    left: 0.5rem;
    top: 0.35rem;
  }

  .point-breakdown-box {
    padding: 0.85rem !important;
  }

  .point-item {
    font-size: 0.8rem;
  }

  /* Form containers on mobile */
  .form-container {
    padding: 1.25rem 1rem !important;
    margin: 1rem auto 3rem !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .stat-val {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .form-container {
    padding: 1rem 0.75rem !important;
  }
}

