/* Core theme variables */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --card: #f8fafc;
  --border: #e2e8f0;
  --accent-start: #6366f1;
  --accent-end: #3b82f6;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --transition: all 180ms ease;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.4px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--card);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(99, 102, 241, 0.25);
  opacity: 0.95;
}

.ghost-btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}

.ghost-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(59, 130, 246, 0.12));
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 14px 0 12px;
}

.hero p {
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.mock-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.mock-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(59, 130, 246, 0.08));
  opacity: 0.6;
  pointer-events: none;
}

.mock-chart {
  background: #0f172a;
  border-radius: 12px;
  height: 260px;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.mock-chart::before,
.mock-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.35), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(59, 130, 246, 0.28), transparent 28%);
  filter: blur(12px);
}

.mock-chart .chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.15);
  font-size: 0.85rem;
}

.chart-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  align-items: center;
}

.chart-lines {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 160px;
}

.chart-lines span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.75), rgba(59, 130, 246, 0.45));
  animation: float 3s ease-in-out infinite;
}

.chart-insights {
  display: grid;
  gap: 8px;
}

.chart-insights .row {
  display: flex;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-header {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-header h2 {
  font-size: 1.8rem;
  letter-spacing: -0.6px;
}

.section-header p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.18));
  display: grid;
  place-items: center;
  color: var(--accent-start);
  font-weight: 700;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.muted {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-placeholder,
.pricing-preview,
.demo-steps {
  display: grid;
  gap: 12px;
}

.pricing-preview .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

/* Footer */
.footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

/* Scanner Page */
.scanner-page {
  background: #0b1222;
  color: #e2e8f0;
}

.scanner-nav {
  background: rgba(11, 18, 34, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.scanner-header {
  padding: 60px 0 40px;
  text-align: center;
}

.scanner-header h1 {
  font-size: 2.5rem;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.scanner-header p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.scanner-section {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* Upload Container */
.upload-container {
  margin-bottom: 40px;
}

.upload-area {
  border: 2px dashed rgba(148, 163, 184, 0.4);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.upload-area:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.upload-area.dragover {
  border-color: rgba(99, 102, 241, 0.8);
  background: rgba(99, 102, 241, 0.08);
  transform: scale(1.01);
}

.upload-area input {
  display: none;
}

.upload-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: rgba(99, 102, 241, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.upload-subtext {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.upload-hint {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 16px;
}

/* Preview Container */
.preview-container {
  margin-top: 24px;
}

.preview-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

.preview-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

.remove-preview {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.remove-preview:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

/* Error Message */
.error-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.95rem;
}

/* Loading Panel */
.loading-panel {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.06), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
}

.loading-stage {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.loading-stage.active {
  opacity: 1;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.loading-stage.completed {
  opacity: 0.7;
}

.loading-stage.completed .stage-icon .spinner {
  display: none;
}

.loading-stage.completed .stage-icon::after {
  content: '✓';
  color: #10b981;
  font-size: 20px;
  font-weight: 700;
}

.stage-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stage-content {
  flex: 1;
}

.stage-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.stage-content p {
  font-size: 0.95rem;
  color: #94a3b8;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(99, 102, 241, 0.25);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Report Container */
.report-container {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.06), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  padding: 32px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.report-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.report-content {
  overflow-y: auto;
  flex: 1;
  padding-right: 8px;
}

.report-content::-webkit-scrollbar {
  width: 8px;
}

.report-content::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 4px;
}

.report-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
}

.report-content::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

.report-section-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.3);
  letter-spacing: -0.3px;
}

.report-section-header:first-child {
  margin-top: 0;
}

.report-subsection-header {
  font-size: 1.2rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.report-paragraph {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

.report-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  gap: 10px;
}

.report-list li {
  color: #cbd5e1;
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
  font-size: 1rem;
}

.report-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: rgba(99, 102, 241, 0.7);
  font-weight: 700;
  font-size: 1.2rem;
}

.report-warning {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid rgba(239, 68, 68, 0.8);
  color: #fca5a5;
  padding: 16px 20px;
  border-radius: 10px;
  margin: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
}

.tagline {
  color: #94a3b8;
  text-align: center;
  padding: 40px 20px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.plan {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.15);
}

.plan.popular {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), #fff);
  transform: scale(1.05);
}

.plan.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.plan .pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.plan h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
  margin: 8px 0;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.scan-limit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-start);
  margin: -8px 0 8px;
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin: 16px 0;
  padding: 0;
}

.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.plan ul li::before {
  content: '✓';
  color: var(--accent-start);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-select-btn {
  margin-top: 8px;
  width: 100%;
  justify-self: stretch;
}

/* Forms */
.auth-page {
  background: #f8fafc;
}

.auth-wrapper {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.auth-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.auth-card h1 {
  font-size: 1.6rem;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
}

.field input {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  transition: var(--transition);
}

.field input:focus {
  outline: none;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: #fff;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* OAuth Buttons */
.oauth-buttons {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.oauth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.oauth-btn svg {
  flex-shrink: 0;
}

.oauth-google {
  border-color: #dadce0;
}

.oauth-google:hover {
  border-color: #4285f4;
  background: #f8f9fa;
}

.oauth-facebook {
  border-color: #dadce0;
  color: #1877f2;
}

.oauth-facebook:hover {
  border-color: #1877f2;
  background: #f0f4ff;
}

.oauth-twitter {
  border-color: #dadce0;
  color: #1da1f2;
}

.oauth-twitter:hover {
  border-color: #1da1f2;
  background: #f0f9ff;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  padding: 0 8px;
}

/* Scan Counter */
.scan-counter {
  margin-top: 20px;
  padding: 12px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  display: inline-block;
}

.scan-counter-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scan-counter-label {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.scan-counter-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
}

.scan-counter.scan-limit-low .scan-counter-value {
  color: #fbbf24;
}

.scan-counter.scan-limit-reached {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.scan-counter.scan-limit-reached .scan-counter-value {
  color: #fca5a5;
}

.scan-counter.scan-free-tier {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}

.scan-counter.scan-free-tier .scan-counter-label {
  color: #6ee7b7;
}

.scan-counter.scan-free-tier .scan-counter-value {
  color: #6ee7b7;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 34, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.1), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  color: #e2e8f0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.modal-body {
  padding: 24px;
}

.modal-body p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-actions .primary-btn,
.modal-actions .ghost-btn {
  min-width: 120px;
}

/* Responsive */
@media (max-width: 700px) {
  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero {
    padding-top: 50px;
  }

  .chart-body {
    grid-template-columns: 1fr;
  }

  .scanner-header {
    padding: 40px 0 30px;
  }

  .scanner-header h1 {
    font-size: 1.8rem;
  }

  .upload-area {
    padding: 40px 24px;
  }

  .upload-icon {
    width: 60px;
    height: 60px;
  }

  .upload-text {
    font-size: 1.1rem;
  }

  .loading-panel {
    padding: 24px 16px;
  }

  .loading-stage {
    padding: 16px;
    gap: 16px;
  }

  .report-container {
    padding: 24px 16px;
    max-height: 70vh;
  }

  .report-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .report-section-header {
    font-size: 1.3rem;
  }

  .report-subsection-header {
    font-size: 1.1rem;
  }

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

  .plan.popular {
    transform: scale(1);
  }

  .plan.popular:hover {
    transform: translateY(-4px);
  }

  .scan-counter {
    display: block;
    width: 100%;
    text-align: center;
  }

  .modal-content {
    margin: 20px;
  }

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

  .modal-actions .primary-btn,
  .modal-actions .ghost-btn {
    width: 100%;
  }
}

