/* ================================================================
   ScamSignal — Design System
   Brand: Navy (#0F172A) + Amber (#F59E0B) + White (#FFFFFF)
   Accents: Emerald (#10B981) + Orange (#F97316) + Red (#EF4444)
   Typography: Inter (headings bold, body regular)
   ================================================================ */

/* --- Tokens (copied from hub — this is a standalone file) --- */
:root {
  /* Brand */
  --navy: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-500: #64748B;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --amber-light: #FCD34D;
  --amber-50: #FFFBEB;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-50: #ECFDF5;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --orange-50: #FFF7ED;
  --red: #EF4444;
  --red-dark: #DC2626;
  --red-50: #FEF2F2;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 24px rgba(15,23,42,0.12);
  --shadow-xl: 0 16px 48px rgba(15,23,42,0.16);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;
  --duration-slow: 0.4s;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section { padding: var(--sp-16) 0; }
.section--lg { padding: var(--sp-24) 0; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.header--scrolled {
  border-bottom-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__back {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-500);
  transition: color var(--duration) var(--ease);
}

.header__back:hover { color: var(--navy); }

.header__back svg {
  width: 16px;
  height: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

.logo svg { width: 28px; height: 28px; }

.nav { display: flex; align-items: center; gap: var(--sp-6); }

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--duration) var(--ease);
}

.nav__link:hover { color: var(--navy); }

.nav__link--active {
  color: var(--navy);
  font-weight: 600;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  min-height: 44px;
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--amber-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--slate-50);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  min-height: 52px;
}

.btn--full { width: 100%; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ================================================================
   HERO / INPUT SECTION
   ================================================================ */
.hero {
  position: relative;
  padding: var(--sp-16) 0 var(--sp-10);
  text-align: center;
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.hero__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--slate-600);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto var(--sp-10);
}

/* ================================================================
   TABS
   ================================================================ */
.tabs {
  display: flex;
  gap: var(--sp-1);
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: var(--sp-1);
  margin-bottom: var(--sp-6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  flex: 1;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-500);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  text-align: center;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.tab:hover {
  color: var(--navy);
}

.tab--active {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ================================================================
   INPUT AREA
   ================================================================ */
.input-area {
  max-width: 720px;
  margin: 0 auto;
}

.input-panel {
  display: none;
}

.input-panel--active {
  display: block;
}

.textarea-wrapper {
  position: relative;
  margin-bottom: var(--sp-3);
}

.textarea {
  width: 100%;
  min-height: 200px;
  padding: var(--sp-5);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  resize: vertical;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.textarea::placeholder { color: var(--slate-400); }

.textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.1);
}

.url-input,
.phone-input {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font);
  font-size: var(--text-lg);
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  min-height: 56px;
}

.url-input::placeholder,
.phone-input::placeholder { color: var(--slate-400); }

.url-input:focus,
.phone-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.1);
}

.char-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-bottom: var(--sp-4);
}

.char-counter__hint {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.char-counter__hint svg {
  width: 14px;
  height: 14px;
}

.input-hint {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.analyse-btn {
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-3);
}

.privacy-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ================================================================
   LOADING SPINNER
   ================================================================ */
.loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-12) 0;
}

.loading--active { display: flex; }

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--slate-200);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading__text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate-600);
}

/* ================================================================
   RESULTS SECTION
   ================================================================ */
.results {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding-top: var(--sp-8);
}

.results--visible { display: block; }

/* --- Verdict Banner --- */
.verdict {
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  text-align: center;
  margin-bottom: var(--sp-8);
  animation: fadeUp 0.4s var(--ease) both;
}

.verdict--safe {
  background: var(--emerald-50);
  border: 2px solid var(--emerald);
}

.verdict--suspicious {
  background: var(--amber-50);
  border: 2px solid var(--amber);
}

.verdict--probable_scam {
  background: var(--orange-50);
  border: 2px solid var(--orange);
}

.verdict--scam {
  background: var(--red-50);
  border: 2px solid var(--red);
}

.verdict__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.verdict--safe .verdict__icon { background: var(--emerald); color: var(--white); }
.verdict--suspicious .verdict__icon { background: var(--amber); color: var(--navy); }
.verdict--probable_scam .verdict__icon { background: var(--orange); color: var(--white); }
.verdict--scam .verdict__icon { background: var(--red); color: var(--white); }

.verdict__icon svg {
  width: 32px;
  height: 32px;
}

.verdict__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.verdict--safe .verdict__title { color: var(--emerald-dark); }
.verdict--suspicious .verdict__title { color: var(--amber-dark); }
.verdict--probable_scam .verdict__title { color: var(--orange-dark); }
.verdict--scam .verdict__title { color: var(--red-dark); }

.verdict__score {
  font-size: var(--text-sm);
  color: var(--slate-600);
  margin-bottom: var(--sp-2);
}

.verdict__confidence {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 9999px;
  background: rgba(15,23,42,0.06);
  color: var(--slate-600);
}

/* --- Findings --- */
.findings {
  margin-bottom: var(--sp-8);
}

.findings__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.finding-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  animation: fadeUp 0.3s var(--ease) both;
}

.finding-card:nth-child(2) { animation-delay: 0.05s; }
.finding-card:nth-child(3) { animation-delay: 0.10s; }
.finding-card:nth-child(4) { animation-delay: 0.15s; }
.finding-card:nth-child(5) { animation-delay: 0.20s; }
.finding-card:nth-child(6) { animation-delay: 0.25s; }
.finding-card:nth-child(7) { animation-delay: 0.30s; }

.finding-card--info { border-left: 3px solid var(--emerald); }
.finding-card--warning { border-left: 3px solid var(--amber); }
.finding-card--danger { border-left: 3px solid var(--red); }

.finding-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.finding-card--info .finding-card__icon { background: var(--emerald-50); color: var(--emerald-dark); }
.finding-card--warning .finding-card__icon { background: var(--amber-50); color: var(--amber-dark); }
.finding-card--danger .finding-card__icon { background: var(--red-50); color: var(--red-dark); }

.finding-card__icon svg {
  width: 18px;
  height: 18px;
}

.finding-card__content { flex: 1; }

.finding-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.finding-card__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.5;
}

.finding-card__points {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--slate-400);
  margin-top: var(--sp-1);
}

/* --- Action Advice --- */
.advice {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  animation: fadeUp 0.4s var(--ease) 0.2s both;
}

.advice__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.advice__title svg {
  width: 20px;
  height: 20px;
  color: var(--amber-dark);
}

.advice__text {
  font-size: var(--text-base);
  color: var(--slate-700);
  line-height: 1.7;
}

/* --- Affiliate Cards --- */
.affiliate-section {
  margin-bottom: var(--sp-8);
}

.affiliate-section__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.affiliate-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.affiliate-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.affiliate-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  color: var(--slate-600);
}

.affiliate-card__icon svg {
  width: 24px;
  height: 24px;
}

.affiliate-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.affiliate-card__desc {
  font-size: var(--text-xs);
  color: var(--slate-500);
  margin-bottom: var(--sp-3);
  line-height: 1.4;
}

.affiliate-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  background: var(--amber-50);
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}

.affiliate-card__btn:hover {
  background: var(--amber-light);
}

.affiliate-disclosure {
  font-size: var(--text-xs);
  color: var(--slate-400);
  text-align: center;
  margin-top: var(--sp-4);
  line-height: 1.5;
}

/* --- Result Actions --- */
.result-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--slate-200);
  margin-top: var(--sp-8);
}

/* ================================================================
   SCAM TYPES PAGE — Card Grid
   ================================================================ */
.scam-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.scam-type-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--duration) var(--ease);
}

.scam-type-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.scam-type-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-50);
  border-radius: var(--radius-md);
  color: var(--amber-dark);
  margin-bottom: var(--sp-4);
}

.scam-type-card__icon svg {
  width: 24px;
  height: 24px;
}

.scam-type-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.scam-type-card__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   REPORT FORM
   ================================================================ */
.report-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease);
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

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

/* ================================================================
   HOW IT WORKS — Flow Diagram Steps
   ================================================================ */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.how-step {
  display: flex;
  gap: var(--sp-5);
  position: relative;
  padding-bottom: var(--sp-8);
}

.how-step:last-child { padding-bottom: 0; }

.how-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--navy);
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

/* Connector line */
.how-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  bottom: 0;
  background: var(--slate-200);
}

.how-step__content {
  flex: 1;
  padding-top: var(--sp-2);
}

.how-step__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.how-step__desc {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   GET ALERTS — Email Capture
   ================================================================ */
.alerts-section {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
}

.alerts-section__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.alerts-section__text {
  color: var(--slate-300);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.email-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 420px;
  margin: 0 auto var(--sp-4);
}

.email-form__input {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  font-family: var(--font);
  border: 1px solid var(--navy-600);
  border-radius: var(--radius-md);
  background: var(--navy-800);
  color: var(--white);
  min-height: 44px;
}

.email-form__input::placeholder { color: var(--slate-400); }
.email-form__input:focus { border-color: var(--amber); outline: none; }

.alerts-section__privacy {
  font-size: var(--text-xs);
  color: var(--slate-400);
}

/* ================================================================
   PAGE HEADER (subpages)
   ================================================================ */
.page-header {
  max-width: 720px;
  margin-bottom: var(--sp-10);
}

.page-header__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.page-header__subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--slate-500);
  line-height: 1.5;
}

/* ================================================================
   REPORT PAGE — Enhanced Form
   ================================================================ */
.report-container {
  max-width: 640px;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 640px;
}

.form-required {
  color: var(--red);
  font-weight: 700;
}

.form-optional {
  color: var(--slate-400);
  font-weight: 400;
}

.form-textarea--short {
  min-height: 90px;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-1);
}

.form-error-message {
  font-size: var(--text-sm);
  color: var(--red);
  font-weight: 500;
  padding: var(--sp-3) var(--sp-4);
  background: var(--red-50);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-2);
}

.form-privacy svg {
  flex-shrink: 0;
}

/* --- Thank You Card --- */
.thank-you-card {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--emerald-50);
  border-radius: 50%;
  color: var(--emerald);
  margin-bottom: var(--sp-6);
}

.thank-you-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.thank-you-text {
  font-size: var(--text-lg);
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-subtext {
  font-size: var(--text-sm);
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Info Cards (why report) --- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.info-card {
  padding: var(--sp-6);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
}

.info-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-50);
  border-radius: var(--radius-md);
  color: var(--amber-dark);
  margin-bottom: var(--sp-4);
}

.info-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.info-card__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   HOW IT WORKS — Score Levels
   ================================================================ */
.score-levels {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.score-level {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease);
}

.score-level:hover {
  border-color: var(--slate-300);
}

.score-level__indicator {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 4px;
}

.score-level--safe .score-level__indicator { background: var(--emerald); }
.score-level--suspicious .score-level__indicator { background: var(--amber); }
.score-level--probable .score-level__indicator { background: var(--orange); }
.score-level--scam .score-level__indicator { background: var(--red); }

.score-level--safe { border-left: 4px solid var(--emerald); }
.score-level--suspicious { border-left: 4px solid var(--amber); }
.score-level--probable { border-left: 4px solid var(--orange); }
.score-level--scam { border-left: 4px solid var(--red); }

.score-level__content { flex: 1; }

.score-level__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.score-level__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.6;
}

/* ================================================================
   SCAM TYPES PAGE — Detail Cards (full-width with examples)
   ================================================================ */
.scam-types-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.scam-detail-card {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-8);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.scam-detail-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.scam-detail-card__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--amber);
  font-size: var(--text-lg);
  font-weight: 800;
  border-radius: var(--radius-md);
}

.scam-detail-card__body {
  flex: 1;
  min-width: 0;
}

.scam-detail-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.scam-detail-card__what {
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.scam-detail-card__what strong {
  color: var(--navy);
  font-weight: 600;
}

.scam-detail-card__example {
  background: var(--slate-50);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}

.scam-detail-card__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2);
}

.scam-detail-card__label--example { color: var(--amber-dark); }
.scam-detail-card__label--flags { color: var(--red); }

.scam-detail-card__example p {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.7;
}

.scam-detail-card__example em {
  color: var(--navy);
  font-style: italic;
}

.scam-detail-card__example strong {
  color: var(--navy);
  font-weight: 600;
}

.scam-detail-card__flags {
  margin-bottom: var(--sp-5);
}

.scam-detail-card__flags ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.scam-detail-card__flags li {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.5;
  padding-left: var(--sp-5);
  position: relative;
}

.scam-detail-card__flags li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.scam-detail-card__action {
  font-size: var(--text-sm);
  color: var(--slate-600);
  line-height: 1.7;
  padding: var(--sp-4) var(--sp-5);
  background: var(--emerald-50);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
}

.scam-detail-card__action strong {
  color: var(--emerald-dark);
  font-weight: 600;
}

.scam-detail-card__action a {
  color: var(--amber-dark);
  text-decoration: underline;
  font-weight: 500;
}

.scam-detail-card__action a:hover {
  color: var(--navy);
}

/* ================================================================
   GET ALERTS PAGE — Hero Layout
   ================================================================ */
.alerts-hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--sp-12);
  align-items: start;
}

.alerts-hero__content {
  padding-top: var(--sp-4);
}

.alerts-benefits {
  margin-top: var(--sp-8);
}

.alerts-benefits__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.alerts-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--slate-600);
  line-height: 1.5;
}

.alerts-benefits__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--emerald);
}

/* --- Signup Card --- */
.alerts-signup__card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}

.alerts-signup__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.alerts-signup__subtitle {
  font-size: var(--text-sm);
  color: var(--slate-300);
  margin-bottom: var(--sp-6);
}

.alerts-signup__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.alerts-signup__input {
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--white);
  background: var(--navy-800);
  border: 1.5px solid var(--navy-600);
  border-radius: var(--radius-md);
  min-height: 48px;
  transition: border-color var(--duration) var(--ease);
}

.alerts-signup__input::placeholder {
  color: var(--slate-400);
}

.alerts-signup__input:focus {
  outline: none;
  border-color: var(--amber);
}

.alerts-signup__privacy {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-3);
}

.alerts-signup__privacy svg {
  flex-shrink: 0;
}

/* --- Alert Previews --- */
.alert-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.alert-preview {
  padding: var(--sp-6);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--duration) var(--ease);
}

.alert-preview:hover {
  border-color: var(--slate-300);
}

.alert-preview__date {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-dark);
}

.alert-preview__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.alert-preview__excerpt {
  font-size: var(--text-sm);
  color: var(--slate-500);
  line-height: 1.6;
  flex: 1;
}

.alert-preview__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.alert-preview__link--disabled {
  color: var(--slate-400);
  cursor: default;
}

/* --- Social Proof --- */
.social-proof {
  display: flex;
  justify-content: center;
  gap: var(--sp-16);
  padding: var(--sp-8) 0;
}

.social-proof__stat {
  text-align: center;
}

.social-proof__number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.social-proof__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-top: var(--sp-1);
}

/* ================================================================
   CONTENT ARTICLE LAYOUT (SEO pages)
   ================================================================ */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--sp-12) 0;
}

.article__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.article__meta {
  font-size: var(--text-sm);
  color: var(--slate-500);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--slate-200);
}

.article h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.article h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.article p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--slate-700);
  margin-bottom: var(--sp-5);
}

.article ul,
.article ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
  list-style: disc;
}

.article ol { list-style: decimal; }

.article li {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: var(--sp-2);
}

.article blockquote {
  border-left: 3px solid var(--amber);
  padding-left: var(--sp-5);
  margin: var(--sp-6) 0;
  color: var(--slate-600);
  font-style: italic;
}

.article a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article a:hover { color: var(--navy); }

.article img {
  border-radius: var(--radius-lg);
  margin: var(--sp-6) 0;
}

/* ================================================================
   BADGE
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

.badge--amber {
  background: var(--amber);
  color: var(--navy);
}

.badge--slate {
  background: var(--slate-200);
  color: var(--slate-600);
}

/* ================================================================
   SECTION HEADINGS
   ================================================================ */
.section__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--slate-500);
  margin-bottom: var(--sp-10);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  border-top: 1px solid var(--slate-200);
  padding: var(--sp-10) 0 var(--sp-8);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.footer__brand svg {
  width: 20px;
  height: 20px;
}

.footer__links {
  display: flex;
  gap: var(--sp-6);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--slate-500);
  transition: color var(--duration) var(--ease);
}

.footer__link:hover { color: var(--navy); }

.footer__copy {
  font-size: var(--text-xs);
  color: var(--slate-400);
  width: 100%;
  text-align: center;
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--slate-100);
}

/* ================================================================
   HAMBURGER / MOBILE NAV
   ================================================================ */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.hamburger svg { width: 24px; height: 24px; color: var(--navy); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav--open { display: flex; }

.mobile-nav__panel {
  margin-left: auto;
  width: 280px;
  background: var(--white);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  box-shadow: var(--shadow-xl);
}

.mobile-nav__close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav__link {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy);
  padding: var(--sp-2) 0;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.5s var(--ease) both;
}

.animate-in--d1 { animation-delay: 0.1s; }
.animate-in--d2 { animation-delay: 0.2s; }
.animate-in--d3 { animation-delay: 0.3s; }

/* ================================================================
   USER-SELECT PROTECTION
   ================================================================ */
.protected { -webkit-user-select: none; user-select: none; }
.protected a, .protected button, .protected input, .protected textarea, .protected select { -webkit-user-select: auto; user-select: auto; }

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .header,
  .hamburger,
  .mobile-nav,
  .nav,
  .footer,
  .analyse-btn,
  .result-actions,
  .affiliate-section,
  .affiliate-disclosure,
  .privacy-note,
  .tabs {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .container { max-width: 100%; padding: 0; }
  .section, .section--lg { padding: 1rem 0; }

  .verdict {
    border: 2px solid #000;
    break-inside: avoid;
  }

  .finding-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .article a::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* ================================================================
   RESPONSIVE — Tablet (768px)
   ================================================================ */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: var(--sp-12) 0 var(--sp-8); }

  .tabs {
    max-width: 100%;
  }

  .textarea { min-height: 160px; }

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

  .scam-types-grid { grid-template-columns: 1fr; }

  .info-cards { grid-template-columns: 1fr; }

  .scam-detail-card {
    flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-6);
  }

  .scam-detail-card__number {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .alerts-hero {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .alert-previews {
    grid-template-columns: 1fr;
  }

  .social-proof {
    gap: var(--sp-8);
  }

  .social-proof__number {
    font-size: var(--text-2xl);
  }

  .how-step { gap: var(--sp-4); }

  .email-form { flex-direction: column; }

  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }

  .section { padding: var(--sp-10) 0; }
  .section--lg { padding: var(--sp-16) 0; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }

  .article { padding: var(--sp-8) 0; }
}

/* ================================================================
   RESPONSIVE — Small (480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero__title { font-size: var(--text-3xl); }

  .tabs { flex-direction: column; }
  .tab { justify-content: flex-start; }

  .textarea { min-height: 140px; padding: var(--sp-4); }

  .verdict { padding: var(--sp-5); }
  .verdict__title { font-size: var(--text-xl); }

  .finding-card { flex-direction: column; gap: var(--sp-3); }

  .how-step__number { width: 40px; height: 40px; font-size: var(--text-base); }
  .how-step:not(:last-child)::before { left: 19px; }

  .alerts-section { padding: var(--sp-8) var(--sp-5); }

  .scam-detail-card__example {
    padding: var(--sp-3) var(--sp-4);
  }

  .scam-detail-card__action {
    padding: var(--sp-3) var(--sp-4);
  }

  .social-proof {
    flex-direction: column;
    gap: var(--sp-6);
    align-items: center;
  }
}

/* ================================================================
   Sprint F3 — Detection Modes, Upload Zones, File Previews
   ================================================================ */

/* Detection mode toggles */
.detection-modes {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin: var(--sp-3) 0;
}

.detection-modes__label {
  font-size: var(--text-xs);
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: var(--sp-1);
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  font-size: var(--text-xs);
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.toggle-pill:hover {
  background: var(--slate-200);
}

.toggle-pill:has(input:checked) {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  font-weight: 600;
}

.toggle-pill input { display: none; }

/* Upload zones */
.upload-zone {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.upload-zone:hover {
  border-color: var(--amber);
  background: var(--amber-50);
}

.upload-zone__icon {
  margin-bottom: var(--sp-2);
  color: var(--slate-400);
}

.upload-zone:hover .upload-zone__icon { color: var(--amber-dark); }

.upload-zone__text {
  font-size: var(--text-sm);
  color: var(--slate-600);
  font-weight: 500;
}

.upload-zone__formats {
  font-size: var(--text-xs);
  color: var(--slate-400);
  margin-top: var(--sp-1);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* File preview */
.file-preview {
  min-height: 1px;
}

.file-preview img {
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.file-preview audio {
  width: 100%;
  margin-top: var(--sp-2);
}
