/* =========================================================================
   FinNomy Bank Statement Analyzer - Stylesheet (Full-Width Edge-to-Edge)
   Strict Brand Match: #0B63D8 (Blue), #00B37E (Green), #0F2A4A (Dark Navy)
   Typography: Poppins / Inter / Plus Jakarta Sans / Slate Text (#0F172A, #64748B)
   ========================================================================= */

:root {
  --blue: #0B63D8;
  --blue-hover: #0952B3;
  --blue-light: #EEF4FE;
  --blue-border: #CFE0FA;
  --green: #00B37E;
  --green-hover: #00996B;
  --green-light: #E6F8F2;
  --green-border: #BFE8D9;
  --navy: #0F2A4A;
  --dark-slate: #0F172A;
  --slate: #1E293B;
  --grey: #64748B;
  --grey-light: #94A3B8;
  --bg: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --border-subtle: #EDF2F7;
  --warn: #DC2626;
  --warn-light: #FEF2F2;
  --warn-border: #FECACA;
  --amber: #D97706;
  --amber-light: #FFFDF5;
  --amber-border: #FCD34D;
  --text: #1E293B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 24px rgba(11, 99, 216, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: none !important;
  height: auto !important;
}

/* Full-Width Section Containers */
.landing-section-full {
  width: 100%;
  margin: 0;
  padding: 40px 0;
}

.section-white {
  background: #FFFFFF;
}

.section-grey {
  background: #F8FAFC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-tool {
  background: #F1F5F9;
  border-top: 1px solid var(--border);
  padding: 44px 0 40px;
}

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

/* =========================================================================
   1. HERO SECTION (MATCHING HOMEPAGE)
   ========================================================================= */
.hero-section {
  background-color: #FFFFFF;
  padding: 130px 0 36px 0;
  width: 100%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}

/* Left Column Content */
.hero-eyebrow {
  font-family: var(--font-display, 'Poppins', 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00B37E; /* Brand Green */
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display, 'Poppins', 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.35rem, 3.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0F172A;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #0B63D8;
  color: #FFFFFF;
  font-family: var(--font-display, 'Poppins', 'Plus Jakarta Sans', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(11, 99, 216, 0.25);
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-hero-primary:hover {
  background: #094eb0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 99, 216, 0.35);
}

.btn-hero-secondary {
  background: #FFFFFF;
  color: #0F172A;
  font-family: var(--font-display, 'Poppins', 'Plus Jakarta Sans', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #CBD5E1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0B63D8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748B;
  flex-wrap: wrap;
}

/* Right Column Visual (No Box, No Card Shadow) */
.hero-visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important; /* No white rectangle background */
  box-shadow: none !important;        /* No card drop shadow */
  border: none !important;
  padding: 0 !important;
}

.hero-visual-wrap img,
.hero-visual-wrap svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 580px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* =========================================================================
   SECTION HEADERS
   ========================================================================= */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue);
  margin-bottom: 6px;
}

.section-main-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.section-main-subtitle {
  font-size: 15px;
  color: var(--grey);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================================
   2. REVEAL GRID (6 CARDS)
   ========================================================================= */
.reveal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reveal-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.reveal-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
}

.reveal-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.reveal-card-desc {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}

/* =========================================================================
   3. WORKFLOW STEPS (SEAMLESS ZIG-ZAG 5-STEP LAYOUT)
   ========================================================================= */
.zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.zigzag-step {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0;
  box-shadow: none;
  transition: none;
}

.zigzag-step:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.zigzag-step.flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.zigzag-step.flip .zigzag-text {
  order: 2;
}

.zigzag-step.flip .zigzag-visual {
  order: 1;
}

/* Step 03: Review & Regroup - Keep prominent highlighted accent card styling */
.zigzag-step.step-highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF8 100%);
  border: 2px solid var(--green);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(0, 179, 126, 0.12);
  transition: all 0.25s ease;
}

.zigzag-step.step-highlight:hover {
  box-shadow: 0 14px 36px rgba(0, 179, 126, 0.18);
  transform: translateY(-2px);
}

.step-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.step-tag-pill.pill-green {
  color: #065F46;
  background: var(--green-light);
  border: 1px solid var(--green-border);
}

.step-heading, .zigzag-title {
  font-family: var(--font-display, 'Poppins', 'Plus Jakarta Sans', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.step-heading .step-num, .zigzag-title .step-num {
  color: #0B63D8;
  margin-right: 8px;
}

.zigzag-desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0 0 16px;
}

.zigzag-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.8px;
  color: var(--slate);
  font-weight: 500;
}

.zigzag-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.zigzag-visual-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 22px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(15, 42, 74, 0.04);
}

/* =========================================================================
   4. DASHBOARD VISUAL MOCKUP (EXACT MATCH WITH FINNOMY REPORT DRAFT OUTPUT)
   ========================================================================= */
.mockup-outer-frame {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}

.mockup-window-header {
  background: #0F172A;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-window-title {
  color: #94A3B8;
  font-size: 12.5px;
  font-weight: 500;
}

.mockup-body {
  padding: 28px;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Money DNA Score Centerpiece */
.mockup-dna-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.mockup-dna-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--grey);
  margin-bottom: 4px;
}

.mockup-dna-score {
  font-size: 48px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin: 4px 0;
}

.mockup-dna-score span {
  font-size: 20px;
  color: var(--grey);
  font-weight: 600;
}

.mockup-dna-badge {
  display: inline-block;
  background: #FFF3CD;
  color: #8A5423;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.mockup-callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
  margin-top: 14px;
}

.mockup-callout-item {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.mockup-callout-label {
  font-size: 11.5px;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 2px;
}

.mockup-callout-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
}

.mockup-callout-sub {
  font-size: 11.5px;
  color: var(--grey);
}

/* Overview Summary Table */
.mockup-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.mockup-card-head {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mockup-overview-table th {
  background: #0F2A4A;
  color: #FFFFFF;
  padding: 8px 12px;
  font-size: 12px;
  text-align: left;
}

.mockup-overview-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
}

.mockup-overview-table tr:last-child td {
  border-bottom: none;
}

/* Split Row: Charts & Progress */
.mockup-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mockup-panel {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.mockup-panel-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.css-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 130px;
  padding-top: 16px;
  border-bottom: 1.5px solid var(--border);
  gap: 12px;
}

.css-bar-group {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  flex: 1;
  justify-content: center;
  height: 100%;
}

.css-bar {
  width: 20px;
  border-radius: 4px 4px 0 0;
}

.bar-inflow { background: var(--green); }
.bar-outflow { background: var(--blue); }

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--grey);
  font-weight: 600;
}

.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--grey);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.cat-progress-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-progress-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
}

.cat-progress-track {
  height: 7px;
  background: var(--bg-subtle);
  border-radius: 9999px;
  overflow: hidden;
}

.cat-progress-fill {
  height: 100%;
  border-radius: 9999px;
}

.mockup-regroup-demo {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-tx-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.demo-pill-interactive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px dashed var(--blue);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* =========================================================================
   5. WHY CHOOSE FINNOMY (4 CARDS)
   ========================================================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.advantage-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  gap: 16px;
  transition: all 0.2s ease;
}

.advantage-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.advantage-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.advantage-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.advantage-desc {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.55;
  margin: 0;
}

/* =========================================================================
   6. UPLOAD & ANALYZE TOOL SECTION (RELOCATED TO DEDICATED CONTAINER)
   ========================================================================= */
#analyzer-tool-section,
#analyzer-section {
  scroll-margin-top: 80px;
}

.tool-card-container {
  max-width: 820px;
  margin: 0 auto;
}

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

#upload-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(15, 42, 74, 0.07);
}

.account-mode-wrapper {
  margin-bottom: 20px;
  text-align: left;
}

.account-mode-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
}

#accountModeToggle {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
  width: 100%;
}

.mode-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

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

.mode-btn-active {
  background: #FFFFFF;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(11, 99, 216, 0.12);
  border: 1px solid rgba(11, 99, 216, 0.15);
}

.upload-zone {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background: #FAFCFF;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.upload-zone:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}

.upload-zone.dragover {
  border-color: var(--blue);
  background: #E1EEFE;
}

.upload-zone input {
  display: none;
}

.upload-icon-svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--blue);
  display: block;
}

.upload-primary-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}

.upload-sub-text {
  color: var(--grey);
  font-size: 13px;
}

#pdfEngineStatus {
  font-size: 12px;
  color: var(--grey-light);
  margin-top: 6px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
}

.file-chip button {
  background: rgba(11, 99, 216, 0.1);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

#pdfPasswordHolder {
  text-align: left;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 16px;
}

#pdfPasswordHolder label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  display: block;
}

#pdfPasswordInput {
  width: 100%;
  max-width: 360px;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px;
  font-family: inherit;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 99, 216, 0.25);
}

.btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 99, 216, 0.35);
}

.btn.secondary {
  background: #FFFFFF;
  color: var(--blue);
  border: 1.5px solid var(--blue-border);
  box-shadow: var(--shadow-sm);
}

.btn.secondary:hover {
  background: var(--blue-light);
}

.btn.ghost {
  background: transparent;
  color: var(--grey);
  border: 1px solid var(--border);
  font-weight: 500;
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--bg-subtle);
  color: var(--navy);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.hero-trust-bar {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
}

.error-box {
  background: var(--warn-light);
  border: 1px solid var(--warn-border);
  color: #991B1B;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13.5px;
  margin-top: 18px;
  text-align: left;
  line-height: 1.5;
}

.loading {
  display: none;
  text-align: center;
  padding: 36px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 20px auto;
  max-width: 820px;
  box-shadow: var(--shadow-md);
}

.loading-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 14px;
}

.loading-subtext {
  font-size: 13px;
  color: var(--grey);
  margin-top: 4px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3.5px solid #E2E8F0;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

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

/* =========================================================================
   7. FINAL CALL-TO-ACTION (CTA)
   ========================================================================= */
.final-cta-full {
  background: #0F172A;
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
  width: 100%;
}

.final-cta-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.final-cta-desc {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.btn-cta-scroll {
  background: var(--green);
  color: #FFFFFF;
  padding: 16px 38px;
  font-size: 16.5px;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 179, 126, 0.4);
}

.btn-cta-scroll:hover {
  background: #00CC8F;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 179, 126, 0.5);
}

.final-cta-subtext {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* =========================================================================
   REPORT & ACTION-REQUIRED REVIEW TABLE STYLES
   ========================================================================= */
#report {
  display: none;
  max-width: 1040px;
  margin: 30px auto 0;
}

.action-card-alert {
  background: #FFFDF5;
  border: 2px solid #F59E0B;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.1);
}

.action-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.action-card-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #92400E;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-card-subtitle {
  font-size: 13.5px;
  color: #B45309;
  margin: 4px 0 0;
}

.review-table-container {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

.review-table-container table {
  margin: 0;
}

.review-table-container th {
  background: #FEF3C7;
  color: #78350F;
  position: sticky;
  top: 0;
  z-index: 10;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}

.section-num {
  color: var(--green);
  margin-right: 6px;
}

.body-text {
  font-size: 14px;
  color: #334155;
  margin: 0 0 14px;
  line-height: 1.55;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 8px;
}

th {
  background: var(--navy);
  color: #FFFFFF;
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 12.5px;
}

td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.healthy {
  background: var(--green-light);
  color: #065F46;
}

.pill.moderate, .pill.tight {
  background: #FEF3C7;
  color: #92400E;
}

.pill.deficit {
  background: var(--warn-light);
  color: #991B1B;
}

.pill.unknown {
  background: #F1F5F9;
  color: #475569;
}

.cat-edit {
  cursor: pointer;
  border-bottom: 1px dashed var(--grey);
  padding-bottom: 1px;
}

.cat-edit:hover {
  border-bottom-color: var(--blue);
  color: var(--blue);
}

.cat-edit-icon {
  font-size: 11px;
  opacity: 0.6;
}

.cat-edit-select {
  font-size: 12.5px;
  padding: 4px 6px;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  max-width: 220px;
  font-family: inherit;
  background: #FFFFFF;
}

.cat-changed {
  animation: catFlash 1.2s ease-out;
}

@keyframes catFlash {
  0% { background: #FEF3C7; }
  100% { background: transparent; }
}

.chart-box {
  max-width: 100%;
  margin: 14px 0 6px;
}

canvas {
  max-width: 100%;
}

.foot-disclaimer {
  font-size: 12px;
  color: var(--grey);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 28px;
  line-height: 1.5;
}

.muted {
  color: var(--grey);
  font-size: 13px;
}

.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */
@media (max-width: 900px) {
  .hero-section {
    padding: 72px 0 24px 0;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 0 20px;
  }
  .hero-title {
    font-size: clamp(1.9rem, 5vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    margin: 0 auto 20px auto;
  }
  .hero-btn-group, .hero-trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-visual-wrap img {
    max-width: 360px;
    margin: 0 auto;
  }
  .zigzag-step, .zigzag-step.flip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px 0;
  }
  .zigzag-step.flip .zigzag-text {
    order: 1;
  }
  .zigzag-step.flip .zigzag-visual {
    order: 2;
  }
  .reveal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-callout-grid {
    grid-template-columns: 1fr;
  }
  .mockup-split-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .landing-section-full {
    padding: 28px 0;
  }
  .section-container {
    padding: 0 16px;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .section-header .section-main-title {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
  }
  .section-header .section-main-subtitle {
    font-size: 13.5px;
  }
  .hero-section {
    padding-top: 110px;
    padding-bottom: 24px;
  }
  .hero-container {
    padding: 0 16px;
  }
  .card, #upload-card {
    padding: 18px 14px;
    border-radius: 12px;
  }
  #dropzone {
    padding: 24px 14px;
  }
  .upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
  }
  .reveal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .step-heading {
    font-size: clamp(1.25rem, 3.8vw, 1.5rem);
  }
  .zigzag-step, .zigzag-step.flip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 14px;
  }
  .zigzag-step.step-highlight {
    padding: 18px 14px;
  }
  .mockup-body {
    padding: 16px 12px;
  }
  .mockup-dna-score {
    font-size: 36px;
  }
  .mockup-table-card {
    padding: 14px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mockup-overview-table {
    font-size: 11.5px;
    min-width: 280px;
  }
  .mockup-overview-table th, .mockup-overview-table td {
    padding: 6px 8px;
  }
  .col-2 {
    grid-template-columns: 1fr;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .password-input-row {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .password-input-row input {
    width: 100%;
    box-sizing: border-box;
  }
  .password-input-row button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-btn-group .btn-hero-primary,
  .hero-btn-group .btn-hero-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 18px;
  }
  .hero-trust-badges {
    font-size: 11px;
    gap: 4px;
  }
  .hero-visual-wrap img {
    max-width: 280px;
  }
}