/* =================== BASE =================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #0b1020, #02040a 55%, #020617 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: #e5e7eb;
}

/* =================== APP SHELL =================== */

.app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 40px;
}

/* =================== TOP NAV =================== */

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #38bdf8, #1d4ed8);
  box-shadow:
    0 0 0 1px rgba(191, 219, 254, 0.35),
    0 10px 30px rgba(15, 23, 42, 0.9);
  font-size: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #9ca3af;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.86rem;
  color: #cbd5f5;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* Nav button support */
.nav-links button {
  background: none;
  border: none;
  font: inherit;
  color: #cbd5f5;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s ease;
}

.nav-links button:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.nav-links button.nav-pill {
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.6);
  padding-inline: 14px;
  font-weight: 600;
}

.nav-links button.nav-pill:hover {
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  border-color: transparent;
  color: #f9fafb;
}

/* Account dropdown */

.account-menu {
  position: absolute;
  top: 56px;
  right: 18px;
  min-width: 220px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.9);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.96);
  padding: 8px 8px 10px;
  z-index: 30;
}

.account-menu[hidden] {
  display: none;
}

.account-menu-email {
  padding: 8px 10px;
  font-size: 0.8rem;
  color: #e5e7eb;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 64, 175, 0.75);
  margin-bottom: 6px;
}

.account-menu-item {
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: #cbd5f5;
  cursor: pointer;
}

.account-menu-item:hover {
  background: rgba(15, 23, 42, 0.9);
}

.account-menu-item-danger {
  color: #fecaca;
}

/* =================== HERO LAYOUT =================== */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: flex-start;
}

.hero-copy {
  padding-right: 8px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93c5fd;
  margin-bottom: 8px;
}

.hero-headline {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero-highlight {
  color: #60a5fa;
}

.hero-subtext {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 540px;
}

.hero-subtext-strong {
  color: #e5e7eb;
  font-weight: 500;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.trust-chip {
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.92);
}

.hero-footnote {
  margin-top: 16px;
  font-size: 0.84rem;
  color: #9ca3af;
}

.hero-footnote span {
  color: #e5e7eb;
}

/* =================== SCAN PANEL =================== */

.scan-panel {
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(30, 64, 175, 0.9);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.95);
  position: relative;
  overflow: hidden;
}

.scan-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% -20%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 120% 0%, rgba(37, 99, 235, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.scan-panel > * {
  position: relative;
  z-index: 1;
}

.input-section {
  border-radius: 16px;
  padding: 14px 14px 16px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(30, 64, 175, 0.6);
}

.panel-header {
  margin-bottom: 8px;
}

.panel-title {
  margin: 0;
  font-size: 1rem;
}

.panel-subtitle {
  margin: 2px 0 8px;
  font-size: 0.82rem;
  color: #9ca3af;
}

/* PLAN PILL */
.plan-pill {
  margin-top: 6px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(
    circle at 0 0,
    rgba(56, 189, 248, 0.08),
    rgba(15, 23, 42, 0.96)
  );
  font-size: 0.75rem;
  color: #cbd5f5;
  margin-bottom: 4px;
}

.plan-pill span {
  color: #60a5fa;
  font-weight: 600;
}

.input-label {
  display: block;
  font-size: 0.8rem;
  margin-top: 6px;
  margin-bottom: 6px;
  color: #cbd5f5;
}

#content-input {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  border-radius: 12px;
  padding: 10px 11px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.9rem;
  outline: none;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

#content-input::placeholder {
  color: #6b7280;
}

#content-input:focus {
  border-color: #60a5fa;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.7),
    0 10px 30px rgba(15, 23, 42, 0.9);
}

/* Mode row */

.mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.mode-label {
  font-size: 0.82rem;
  color: #9ca3af;
}

.mode-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mode-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.96);
  cursor: pointer;
  font-size: 0.78rem;
  color: #cbd5f5;
  user-select: none;
}

.mode-pill input {
  display: none;
}

.mode-pill span {
  position: relative;
  z-index: 1;
}

.mode-pill input:checked + span {
  color: #f9fafb;
}

.mode-pill input:checked ~ span {
  color: #f9fafb;
}

.mode-pill input:checked ~ span,
.mode-pill input:checked + span {
  font-weight: 500;
}

.mode-pill:has(input:checked) {
  border-color: #2563eb;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.5),
    0 10px 24px rgba(15, 23, 42, 0.9);
}

/* Primary button */

.primary-btn {
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #f9fafb;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.6),
    0 0 0 1px rgba(191, 219, 254, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* Secondary btn (account page) */

.secondary-btn {
  width: 100%;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  cursor: pointer;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary-btn:hover {
  border-color: #60a5fa;
}

/* OCR */

.ocr-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ocr-button {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  font-size: 0.82rem;
  cursor: pointer;
}

.ocr-button:hover {
  border-style: solid;
  border-color: #60a5fa;
}

.drop-zone {
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  padding: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
}

.drop-zone.dragover {
  border-style: solid;
  border-color: #60a5fa;
  background: rgba(15, 23, 42, 0.96);
}

.status {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #38bdf8;
  min-height: 16px;
}

/* =================== RESULTS =================== */

.result-section {
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.result-header h2 {
  margin: 0;
  font-size: 0.96rem;
}

.verdict-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

.verdict-safe {
  border-color: rgba(22, 163, 74, 0.9);
  background: rgba(22, 163, 74, 0.15);
  color: #bbf7d0;
}

.verdict-suspicious {
  border-color: rgba(234, 179, 8, 0.9);
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
}

.verdict-dangerous {
  border-color: rgba(248, 113, 113, 0.9);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.result-explanation {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.reason-block {
  margin-top: 8px;
}

.reason-title {
  margin: 0 0 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.reasons-list {
  padding-left: 18px;
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.reasons-list li + li {
  margin-top: 3px;
}

.details-json {
  margin-top: 10px;
  font-size: 0.78rem;
  background: #020617;
  color: #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  overflow-x: auto;
}

.result-disclaimer {
  margin-top: 10px;
  font-size: 0.76rem;
  color: #6b7280;
}

/* =================== HOW IT WORKS =================== */

.how-it-works {
  margin-top: 40px;
}

.how-it-works h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

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

.work-box {
  border-radius: 16px;
  padding: 12px 12px 14px;
  background: radial-gradient(circle at top left, #020617, #020617 60%, #020617);
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.work-box h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
}

.work-box p {
  margin: 0;
  font-size: 0.84rem;
  color: #cbd5f5;
}

/* =================== FOOTER =================== */

.app-footer {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 12px;
}

.legal-links {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.legal-links a {
  color: #9ca3af;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

/* =================== AUTH MODAL =================== */

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.auth-modal[hidden] {
  display: none;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: radial-gradient(circle at top left, #020617, #020617 60%, #020617 100%);
  border-radius: 22px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(30, 64, 175, 0.9);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  position: relative;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.1rem;
}

.auth-close:hover {
  color: #e5e7eb;
}

.auth-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.6);
  color: #93c5fd;
  margin-bottom: 10px;
}

.auth-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 0.86rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.auth-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.8);
  margin-bottom: 14px;
}

.auth-tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 0.78rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-tab-active {
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
  color: #f9fafb;
}

.google-btn-container {
  margin-bottom: 10px;
}

.auth-divider {
  margin: 8px 0 10px;
  font-size: 0.75rem;
  text-align: center;
  color: #64748b;
}

.auth-divider span {
  position: relative;
}

.auth-divider span::before,
.auth-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: rgba(51, 65, 85, 0.9);
}

.auth-divider span::before {
  right: 110%;
}

.auth-divider span::after {
  left: 110%;
}

.auth-form label {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.auth-form input {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  background: #020617;
  border-radius: 10px;
  border: 1px solid #1e293b;
  color: #e5e7eb;
  font-size: 0.86rem;
}

.auth-form input:focus {
  border-color: #60a5fa;
  outline: none;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.6),
    0 10px 30px rgba(15, 23, 42, 0.9);
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.auth-hint {
  margin-top: 10px;
  font-size: 0.76rem;
  color: #9ca3af;
}

.auth-status {
  margin-top: 6px;
  font-size: 0.78rem;
  min-height: 18px;
}

.auth-status--error {
  color: #fecaca;
}

.auth-status--success {
  color: #bbf7d0;
}

/* =================== PRICING / SUBSCRIBE =================== */

.pricing-page {
  margin-top: 20px;
}

.pricing-header {
  margin-bottom: 18px;
}

.pricing-status {
  min-height: 18px;
  font-size: 0.88rem;
  color: #e5e7eb;
}

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

.pricing-card {
  border-radius: 18px;
  padding: 16px;
  background: radial-gradient(circle at top left, #020617, #020617 60%, #020617);
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85);
}

.pricing-card h2 {
  margin: 6px 0;
  font-size: 1.2rem;
}

.pricing-subtitle {
  margin: 4px 0 10px;
  color: #9ca3af;
  font-size: 0.9rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #cbd5f5;
  font-size: 0.9rem;
}

.pricing-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(51, 65, 85, 0.7);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.pricing-badge-premium {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 6px;
}

.pricing-price-main {
  font-size: 1.8rem;
  font-weight: 700;
}

.pricing-price-note {
  font-size: 0.9rem;
  color: #9ca3af;
}

.pricing-price-main-small {
  font-size: 1.2rem;
  font-weight: 600;
}

.pricing-footer {
  margin-top: 12px;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
}

.pricing-alt {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pricing-card-free {
  border-color: rgba(148, 163, 184, 0.3);
}

.pricing-card-premium {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 24px 60px rgba(16, 185, 129, 0.25);
}

/* =================== ACCOUNT PAGE =================== */

.account-main {
  margin-top: 34px;
}

.account-heading {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 6px;
}

.account-subtitle {
  font-size: 0.96rem;
  color: #9ca3af;
  margin-bottom: 18px;
  max-width: 540px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 16px;
  margin-bottom: 16px;
}

.account-grid-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 16px;
  margin-top: 10px;
}

.account-card {
  border-radius: 20px;
  padding: 16px 16px 18px;
  background: radial-gradient(circle at top left, #020617, #020617 60%, #020617);
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
}

.account-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}

.account-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  margin: 2px 0;
}

.account-label {
  color: #9ca3af;
}

.account-value {
  color: #e5e7eb;
  font-weight: 500;
  margin-left: 8px;
}

.account-hint {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #9ca3af;
}

.account-form label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.account-form input {
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.84rem;
}

.account-form input:focus {
  border-color: #60a5fa;
  outline: none;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.6),
    0 10px 30px rgba(15, 23, 42, 0.9);
}

.account-btn {
  margin-top: 12px;
  justify-content: center;
}

.account-card-danger {
  border-color: rgba(248, 113, 113, 0.8);
}

.account-btn-danger {
  border-color: rgba(248, 113, 113, 0.9);
  color: #fecaca;
}

.account-status {
  margin-top: 8px;
  font-size: 0.78rem;
  min-height: 16px;
}

.account-status-success {
  color: #bbf7d0;
}

.account-status-danger {
  color: #fecaca;
}

.account-locked {
  border: 1px dashed rgba(96, 165, 250, 0.4);
  border-radius: 20px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.5);
  margin-bottom: 20px;
  text-align: left;
}

#account-content[hidden] {
  display: none;
}

.account-card-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
}

.account-pill-safe {
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.account-pill-suspicious {
  border-color: rgba(251, 191, 36, 0.6);
  color: #fcd34d;
}

.account-pill-dangerous {
  border-color: rgba(248, 113, 113, 0.7);
  color: #fecaca;
}

.account-chip {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.account-meter {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.8);
  overflow: hidden;
  margin: 10px 0 6px;
}

.account-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  width: 0%;
  transition: width 0.4s ease;
}

.account-meter-label {
  font-size: 0.82rem;
  color: #cbd5f5;
  margin-bottom: 8px;
}

.account-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 0.84rem;
}

.account-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(51, 65, 85, 0.8);
}

.account-list li span:last-child {
  color: #e5e7eb;
  font-weight: 500;
}

.account-empty {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #94a3b8;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.account-flagged-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.account-flagged-list li {
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(2, 6, 23, 0.6);
}

.account-flagged-list li h3 {
  margin: 0 0 6px;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.account-flagged-snippet {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

.account-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(30, 41, 59, 0.9);
  background: rgba(2, 6, 23, 0.6);
  margin-top: 10px;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.account-table th,
.account-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.7);
}

.account-table th {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-table tbody tr:last-child td {
  border-bottom: none;
}

.account-card-wide {
  margin: 18px 0;
}

.ghost-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5f5;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.ghost-btn:hover {
  border-color: rgba(148, 163, 184, 0.7);
}

.account-grid-insights {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

/* =================== RESPONSIVE =================== */

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .scan-panel {
    margin-top: 16px;
  }

  .account-grid,
  .account-grid-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-grid-insights {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-table th,
  .account-table td {
    white-space: nowrap;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .app {
    padding-inline: 14px;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .auth-card {
    margin: 0 14px;
    padding: 20px 18px 18px;
  }

  .account-menu {
    right: 14px;
  }
}
