/* ============================================
   LocalHQ GBP Auditor Pro - Main Styles
   Version: 2.1.0
   ============================================ */

:root {
  --lhq-primary: #EA2CB3;
  --lhq-secondary: #3f78fe;
  --lhq-tertiary: #a855f7;
  --lhq-success: #22c55e;
  --lhq-warning: #f59e0b;
  --lhq-danger: #dc2626;
  --lhq-text: #6b6c6c;
  --lhq-surface: #ffffff;
  --lhq-border: rgba(0,0,0,0.08);
  --lhq-shadow: rgba(0,0,0,0.08);
  --lhq-radius: 16px;
  --lhq-radius-sm: 12px;
  --lhq-radius-lg: 24px;
}

/* ============================================
   BASE WRAPPER & CONTAINER
   ============================================ */
.lhq-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--lhq-text);
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.lhq-card {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 auto;
}

/* ============================================
   SEARCH FIELD & DROPDOWN
   ============================================ */
.lhq-field {
  margin-bottom: 20px;
  position: relative;
}

.lhq-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.lhq-input {
  width: 100%;
  background: var(--lhq-surface);
  border: 2px solid var(--lhq-border);
  border-radius: var(--lhq-radius);
  padding: 16px 20px;
  font-size: 16px;
  color: #1f2937;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.lhq-input:focus {
  border-color: var(--lhq-secondary);
  box-shadow: 0 0 0 4px rgba(63, 120, 254, 0.12);
}

.lhq-input::placeholder {
  color: #9ca3af;
}

.lhq-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: var(--lhq-radius);
  overflow: hidden;
  display: none;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  max-height: 320px;
  overflow-y: auto;
}

.lhq-dropdown.is-open {
  display: block;
  animation: lhq-slideDown 0.2s ease;
}

@keyframes lhq-slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lhq-dd-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--lhq-text);
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--lhq-border);
  transition: all 0.15s ease;
}

.lhq-dd-item:last-child {
  border-bottom: none;
}

.lhq-dd-item:hover {
  background: rgba(63, 120, 254, 0.06);
  color: var(--lhq-secondary);
}

.lhq-dd-item strong {
  color: #1f2937;
  font-weight: 600;
}

/* ============================================
   REPORT CONTAINER
   ============================================ */
.lhq-report {
  margin-top: 20px;
}

.lhq-empty {
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: var(--lhq-radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.lhq-selected {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--lhq-secondary);
}

.lhq-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lhq-text);
}

.lhq-report-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================
   EMAIL CAPTURE MODAL
   ============================================ */
.lhq-email-capture {
  background: linear-gradient(135deg, rgba(63, 120, 254, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 2px dashed rgba(63, 120, 254, 0.3);
  border-radius: var(--lhq-radius);
  padding: 28px;
}

.lhq-email-capture-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px;
  text-align: center;
}

.lhq-email-capture-subtitle {
  font-size: 14px;
  color: var(--lhq-text);
  margin: 0 0 24px;
  text-align: center;
}

.lhq-email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.lhq-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lhq-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.lhq-form-input {
  padding: 12px 16px;
  border: 2px solid var(--lhq-border);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.lhq-form-input:focus {
  outline: none;
  border-color: var(--lhq-secondary);
  box-shadow: 0 0 0 3px rgba(63, 120, 254, 0.12);
}

.lhq-email-capture-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.lhq-email-capture-actions .lhq-btn {
  flex: 1;
}

.lhq-email-success {
  text-align: center;
  padding: 20px;
}

.lhq-email-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.lhq-email-success h4 {
  font-size: 18px;
  color: #1f2937;
  margin: 0 0 8px;
}

.lhq-email-success p {
  font-size: 14px;
  color: var(--lhq-text);
  margin: 0;
}

/* ============================================
   SHAREABLE LINK SECTION (TOP)
   ============================================ */
.lhq-share-section {
  background: linear-gradient(135deg, rgba(63, 120, 254, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 2px dashed rgba(63, 120, 254, 0.3);
  border-radius: var(--lhq-radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lhq-share-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.lhq-share-icon {
  width: 48px;
  height: 48px;
  background: var(--lhq-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.lhq-share-text h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.lhq-share-text p {
  margin: 0;
  font-size: 13px;
  color: var(--lhq-text);
}

.lhq-share-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lhq-share-link-display {
  display: none;
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: var(--lhq-radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
  width: 100%;
}

.lhq-share-link-display.is-visible {
  display: block;
  animation: lhq-fadeIn 0.3s ease;
}

.lhq-link-box {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lhq-link-input {
  flex: 1;
  background: #f9fafb;
  border: 1px solid var(--lhq-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  font-family: monospace;
  word-break: break-all;
}

/* ============================================
   HERO SECTION
   ============================================ */
.lhq-hero {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: var(--lhq-radius-lg);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.lhq-hero-left {
  flex: 1;
  min-width: 0;
}

.lhq-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.3;
}

.lhq-hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--lhq-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.lhq-hero-cat::before {
  content: '🏷️';
}

.lhq-hero-details {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lhq-text);
}

.lhq-hero-details a {
  color: var(--lhq-secondary);
  text-decoration: none;
}

.lhq-hero-details a:hover {
  text-decoration: underline;
}

.lhq-dot {
  margin: 0 8px;
  color: #d1d5db;
}

.lhq-hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 160px;
}

/* ============================================
   SCORE DISPLAY (SIMPLIFIED - NO GRADE)
   ============================================ */
.lhq-score {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.lhq-score-num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.lhq-score-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
  text-align: center;
  padding: 0 10px;
}

/* Score Colors */
.lhq-score.lhq-score-red {
  border-color: #dc2626;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
}
.lhq-score.lhq-score-red .lhq-score-num,
.lhq-score.lhq-score-red .lhq-score-label { color: #dc2626; }

.lhq-score.lhq-score-orange {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
}
.lhq-score.lhq-score-orange .lhq-score-num,
.lhq-score.lhq-score-orange .lhq-score-label { color: #d97706; }

.lhq-score.lhq-score-yellow-dark {
  border-color: #ca8a04;
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.15) 0%, rgba(202, 138, 4, 0.05) 100%);
}
.lhq-score.lhq-score-yellow-dark .lhq-score-num,
.lhq-score.lhq-score-yellow-dark .lhq-score-label { color: #a16207; }

.lhq-score.lhq-score-green-light {
  border-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
}
.lhq-score.lhq-score-green-light .lhq-score-num,
.lhq-score.lhq-score-green-light .lhq-score-label { color: #16a34a; }

.lhq-score.lhq-score-green-dark {
  border-color: #15803d;
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.15) 0%, rgba(21, 128, 61, 0.05) 100%);
}
.lhq-score.lhq-score-green-dark .lhq-score-num,
.lhq-score.lhq-score-green-dark .lhq-score-label { color: #14532d; }

/* ============================================
   BUTTONS
   ============================================ */
.lhq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lhq-secondary);
  color: #fff;
  border: none;
  border-radius: var(--lhq-radius-sm);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(63, 120, 254, 0.3);
}

.lhq-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(63, 120, 254, 0.4);
}

.lhq-btn:active {
  transform: translateY(0);
}

.lhq-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.lhq-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lhq-btn-secondary:hover {
  background: #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lhq-btn-outline {
  background: transparent;
  color: var(--lhq-secondary);
  border: 2px solid var(--lhq-secondary);
  box-shadow: none;
}

.lhq-btn-outline:hover {
  background: rgba(63, 120, 254, 0.08);
}

.lhq-btn-sm {
  padding: 10px 16px;
  font-size: 13px;
}

.lhq-btn-success {
  background: var(--lhq-success);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.lhq-btn-success:hover {
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

/* ============================================
   SECTIONS
   ============================================ */
.lhq-section {
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: var(--lhq-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.lhq-section-head {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 18px 24px;
  border-bottom: 1px solid var(--lhq-border);
}

.lhq-section-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lhq-section-body {
  padding: 24px;
}

/* ============================================
   SCORE BREAKDOWN GRID WITH COLOR-CODED VALUES
   ============================================ */
.lhq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 24px;
}

.lhq-score-card {
  background: #f9fafb;
  border-radius: var(--lhq-radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.lhq-score-card:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.lhq-score-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lhq-score-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Color-coded score values based on percentage */
.lhq-score-card-value {
  font-size: 20px;
  font-weight: 700;
}

/* Perfect score (100%) */
.lhq-score-card-value.score-perfect {
  color: #15803d;
}

/* Excellent (80-99%) */
.lhq-score-card-value.score-excellent {
  color: #22c55e;
}

/* Good (60-79%) */
.lhq-score-card-value.score-good {
  color: #ca8a04;
}

/* Fair (40-59%) */
.lhq-score-card-value.score-fair {
  color: #f59e0b;
}

/* Poor (1-39%) */
.lhq-score-card-value.score-poor {
  color: #dc2626;
}

/* Zero (0%) */
.lhq-score-card-value.score-zero {
  color: #991b1b;
}

.lhq-score-card-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.lhq-score-card-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--lhq-secondary) 0%, var(--lhq-tertiary) 100%);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.lhq-score-card-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* ============================================
   METRICS & PROGRESS BARS
   ============================================ */
.lhq-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.lhq-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lhq-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lhq-metric-title {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.lhq-metric-score {
  font-size: 14px;
  font-weight: 600;
  color: var(--lhq-secondary);
}

.lhq-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
}

.lhq-bar-in {
  height: 100%;
  background: linear-gradient(90deg, var(--lhq-secondary) 0%, var(--lhq-tertiary) 100%);
  border-radius: 5px;
  transition: width 0.6s ease;
}

/* ============================================
   ISSUES LIST
   ============================================ */
.lhq-issues {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lhq-issue {
  background: #f9fafb;
  border-radius: var(--lhq-radius-sm);
  padding: 18px 20px;
  border-left: 4px solid var(--lhq-warning);
  transition: all 0.2s ease;
}

.lhq-issue:hover {
  background: #f3f4f6;
}

.lhq-issue.severity-critical {
  border-left-color: #7f1d1d;
  background: rgba(220, 38, 38, 0.06);
}

.lhq-issue.severity-high {
  border-left-color: var(--lhq-danger);
}

.lhq-issue.severity-medium {
  border-left-color: var(--lhq-warning);
}

.lhq-issue.severity-low {
  border-left-color: #6b7280;
}

.lhq-issue-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.lhq-issue-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.lhq-issue-detail {
  font-size: 14px;
  color: var(--lhq-text);
  line-height: 1.6;
}

/* ============================================
   STRENGTHS LIST
   ============================================ */
.lhq-strengths {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lhq-strength {
  background: rgba(34, 197, 94, 0.08);
  border-radius: var(--lhq-radius-sm);
  padding: 18px 20px;
  border-left: 4px solid var(--lhq-success);
}

.lhq-strength-title {
  font-size: 15px;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.lhq-strength-title::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--lhq-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.lhq-strength-detail {
  font-size: 14px;
  color: #15803d;
  line-height: 1.6;
  padding-left: 30px;
}

/* ============================================
   PILLS / BADGES
   ============================================ */
.lhq-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.lhq-pill.lhq-bad {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.lhq-pill.lhq-warn {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.lhq-pill.lhq-mid {
  background: rgba(234, 44, 179, 0.12);
  color: #c026d3;
}

.lhq-pill.lhq-low {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}

/* ============================================
   DETAILS / ACCORDION
   ============================================ */
.lhq-details {
  background: var(--lhq-surface);
  border: 1px solid var(--lhq-border);
  border-radius: var(--lhq-radius);
  overflow: hidden;
}

.lhq-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
  padding: 18px 24px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.lhq-details summary:hover {
  background: #f9fafb;
}

.lhq-details summary::-webkit-details-marker {
  display: none;
}

.lhq-details summary::after {
  content: '+';
  font-size: 20px;
  color: var(--lhq-secondary);
  transition: transform 0.2s ease;
}

.lhq-details[open] summary::after {
  content: '−';
}

.lhq-details-body {
  padding: 0 24px 24px;
}

.lhq-breakdown {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
  color: var(--lhq-text);
}

.lhq-breakdown li {
  padding: 8px 0;
  border-bottom: 1px solid var(--lhq-border);
  display: flex;
  justify-content: space-between;
}

.lhq-breakdown li:last-child {
  border-bottom: none;
}

.lhq-breakdown strong {
  color: #374151;
}

/* ============================================
   HOURS DISPLAY
   ============================================ */
.lhq-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  padding: 20px 24px;
}

.lhq-hours-line {
  font-size: 14px;
  color: var(--lhq-text);
  padding: 10px 14px;
  background: #f9fafb;
  border-radius: 8px;
}

/* ============================================
   REVIEWS
   ============================================ */
.lhq-reviews {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lhq-review {
  background: #f9fafb;
  border-radius: var(--lhq-radius-sm);
  padding: 18px 20px;
}

.lhq-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lhq-review-author {
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.lhq-review-rating {
  color: #f59e0b;
  font-size: 14px;
}

.lhq-review-text {
  font-size: 14px;
  color: var(--lhq-text);
  line-height: 1.6;
}

.lhq-review-time {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.lhq-skeleton {
  padding: 24px;
}

.lhq-skel-line {
  height: 20px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  animation: lhq-shimmer 1.5s infinite;
}

.lhq-skel-line:nth-child(2) {
  width: 70%;
}

.lhq-skel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.lhq-skel-card {
  height: 100px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  border-radius: var(--lhq-radius-sm);
  animation: lhq-shimmer 1.5s infinite;
}

@keyframes lhq-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   MODAL - LIMIT REACHED
   ============================================ */
.lhq-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lhq-modal.is-open {
  display: flex;
}

.lhq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.lhq-modal-panel {
  position: relative;
  background: var(--lhq-surface);
  border-radius: var(--lhq-radius-lg);
  padding: 0;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  animation: lhq-modalIn 0.3s ease;
}

@keyframes lhq-modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Limit Modal Specific Styles */
.lhq-limit-modal-header {
  background: linear-gradient(135deg, #3f78fe 0%, #a855f7 100%);
  padding: 32px;
  text-align: center;
  color: white;
}

.lhq-limit-modal-header h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.lhq-limit-modal-header p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.lhq-limit-modal-body {
  padding: 32px;
}

.lhq-limit-modal-body > p {
  font-size: 15px;
  color: var(--lhq-text);
  margin: 0 0 20px;
  line-height: 1.6;
}

.lhq-limit-features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.lhq-limit-features li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 15px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}

.lhq-limit-features li:last-child {
  border-bottom: none;
}

.lhq-limit-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.lhq-limit-promo {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.lhq-limit-promo-code {
  display: inline-block;
  background: #1f2937;
  color: #fbbf24;
  padding: 6px 16px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
}

.lhq-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lhq-modal-actions .lhq-btn {
  flex: 1;
  min-width: 140px;
}

/* ============================================
   FLOATING CTA - BOTTOM POSITIONED
   ============================================ */
.lhq-floating-cta {
  position: fixed;
  bottom: 20px;
  z-index: 999;
  --cta-bg: #3f78fe;
  --cta-text: #ffffff;
  --cta-icon-color: #ffffff;
}

.lhq-floating-cta-bottom-right {
  right: 20px;
}

.lhq-floating-cta-bottom-left {
  left: 20px;
}

/* Close X Button */
.lhq-floating-cta-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  line-height: 1;
}

.lhq-floating-cta-close:hover {
  color: #ffffff;
}

/* ============================================
   FLOATING CTA - EXPANDED STATE
   ============================================ */
.lhq-floating-cta-expanded {
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 20px 24px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border-radius: 16px;
  position: relative;
  max-width: 280px;
  animation: lhq-cta-slide-up 0.3s ease;
}

@keyframes lhq-cta-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lhq-floating-cta-expanded .lhq-floating-cta-icon {
  font-size: 32px;
  color: var(--cta-icon-color);
  line-height: 1;
}

.lhq-floating-cta-content {
  text-align: center;
}

.lhq-floating-cta-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.lhq-floating-cta-subtitle {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.4;
}

.lhq-floating-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: var(--cta-text);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  width: 100%;
}

.lhq-floating-cta-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ============================================
   FLOATING CTA - COLLAPSED/MINIMIZED STATE
   ============================================ */
.lhq-floating-cta-collapsed {
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 12px 18px;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  animation: lhq-cta-slide-up 0.3s ease;
}

.lhq-floating-cta-collapsed:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

.lhq-floating-cta-collapsed-icon {
  font-size: 20px;
  color: var(--cta-icon-color);
  flex-shrink: 0;
  line-height: 1;
}

.lhq-floating-cta-collapsed-text {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}

/* ============================================
   FLOATING CTA - MOBILE STYLES
   ============================================ */
@media (max-width: 480px) {
  .lhq-floating-cta {
    bottom: 16px;
  }
  
  .lhq-floating-cta-bottom-right {
    right: 16px;
  }
  
  .lhq-floating-cta-bottom-left {
    left: 16px;
  }
  
  /* Mobile collapsed - show as floating circle with icon only */
  .lhq-floating-cta-collapsed {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lhq-floating-cta-collapsed-icon {
    font-size: 24px;
  }
  
  .lhq-floating-cta-collapsed-text {
    display: none;
  }
  
  /* Mobile expanded - full width from bottom */
  .lhq-floating-cta-expanded {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 24px 20px;
    margin: 0;
    z-index: 1000;
  }
  
  .lhq-floating-cta-expanded .lhq-floating-cta-close {
    top: 12px;
    right: 16px;
    font-size: 20px;
  }
}

/* ============================================
   SCORE CALCULATION INFO
   ============================================ */
.lhq-calc-info {
  background: #f9fafb;
  border-radius: var(--lhq-radius-sm);
  padding: 20px 24px;
  margin-top: 16px;
}

.lhq-calc-info h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.lhq-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.lhq-calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: white;
  border-radius: 8px;
  font-size: 14px;
}

.lhq-calc-item-name {
  color: var(--lhq-text);
}

.lhq-calc-item-value {
  font-weight: 600;
  color: var(--lhq-secondary);
}

/* ============================================
   SOCIAL SHARING
   ============================================ */
.lhq-social-share {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.lhq-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.lhq-social-btn:hover {
  transform: translateY(-3px);
}

.lhq-social-btn.twitter {
  background: #1da1f2;
  color: white;
}

.lhq-social-btn.facebook {
  background: #4267b2;
  color: white;
}

.lhq-social-btn.linkedin {
  background: #0077b5;
  color: white;
}

.lhq-social-btn.email {
  background: #ea4335;
  color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .lhq-wrap {
    padding: 12px;
  }

  .lhq-hero {
    flex-direction: column;
    padding: 20px;
  }

  .lhq-hero-right {
    align-items: flex-start;
    width: 100%;
  }

  .lhq-score {
    width: 120px;
    height: 120px;
  }

  .lhq-score-num {
    font-size: 42px;
  }

  .lhq-share-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .lhq-share-actions {
    width: 100%;
  }

  .lhq-grid {
    grid-template-columns: 1fr;
  }

  .lhq-modal-panel {
    margin: 12px;
  }

  .lhq-limit-modal-header,
  .lhq-limit-modal-body {
    padding: 24px;
  }

  .lhq-modal-actions {
    flex-direction: column;
  }

  .lhq-btn {
    width: 100%;
  }

  .lhq-email-capture-actions {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .lhq-hero-title {
    font-size: 20px;
  }

  .lhq-section-head h3 {
    font-size: 15px;
  }

  .lhq-hours {
    grid-template-columns: 1fr;
  }

  .lhq-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes lhq-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lhq-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lhq-animate-in {
  animation: lhq-slideUp 0.4s ease forwards;
}

/* Utility classes */
.lhq-text-center { text-align: center; }
.lhq-mt-0 { margin-top: 0; }
.lhq-mb-0 { margin-bottom: 0; }
.lhq-hidden { display: none !important; }
