/* ═══════════════════════════════════════════════
   VentureSEA — GTM Analyzer Styles
   ═══════════════════════════════════════════════ */

:root {
  --navy: #1D3260;
  --navy-light: #243d78;
  --blue-mid: #045DE9;
  --blue-bright: #09C6F9;
  --orange: #FF9122;
  --orange-light: #FFBA49;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }
body { background: var(--navy); color: var(--white); min-height: 100vh; overflow-x: hidden; }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(9,198,249,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(255,145,34,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(4,93,233,0.05) 0%, transparent 70%);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px; background: rgba(29,50,96,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(9,198,249,0.1);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.logo-venture { color: #d0daf5; }
.logo-sea { color: var(--orange); }
.nav-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue-bright); border: 1px solid rgba(9,198,249,0.3);
  padding: 4px 12px; border-radius: 20px;
}

/* ── HERO ── */
#hero {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 100px 24px 60px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 32px; height: 1px; background: var(--orange); opacity: 0.5;
}
.hero-title {
  font-size: clamp(36px, 5vw, 68px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; max-width: 900px;
}
.hero-title .accent-blue { color: var(--blue-bright); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.65);
  max-width: 580px; line-height: 1.7; margin-bottom: 48px;
}

/* ── UPLOAD CARD ── */
.upload-card {
  background: rgba(255,255,255,0.04); border: 1.5px dashed rgba(9,198,249,0.35);
  border-radius: 20px; padding: 48px; width: 100%; max-width: 680px;
  text-align: center; transition: border-color 0.3s, background 0.3s; cursor: pointer;
}
.upload-card:hover, .upload-card.drag-over {
  border-color: var(--orange); background: rgba(255,145,34,0.04);
}
.upload-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(4,93,233,0.2), rgba(9,198,249,0.1));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(9,198,249,0.2);
}
.upload-icon svg { width: 28px; height: 28px; stroke: var(--blue-bright); }
.upload-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.upload-sub { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
#file-input { display: none; }

/* ── FILE PREVIEW ── */
.file-preview {
  display: none; align-items: center; gap: 12px;
  background: rgba(9,198,249,0.08); border: 1px solid rgba(9,198,249,0.2);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; text-align: left;
}
.file-preview.visible { display: flex; }
.file-preview-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.file-preview-name { font-size: 13px; font-weight: 600; flex: 1; }
.file-preview-size { font-size: 12px; color: rgba(255,255,255,0.5); }
.btn-remove { background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer; font-size: 18px; }

/* ── FORM CONTROLS ── */
.country-select-row { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.country-select-row label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); display: block; margin-bottom: 6px; text-align: left; }
.field-group { flex: 1; min-width: 200px; }
select {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(9,198,249,0.2);
  border-radius: 10px; color: white; font-family: 'Poppins', sans-serif;
  font-size: 14px; padding: 11px 14px; outline: none; transition: border-color 0.2s;
}
select option { background: #1D3260; }
select:focus { border-color: var(--blue-bright); }

/* ── BUTTONS ── */
.btn-analyze {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 15px;
  font-weight: 700; border: none; border-radius: 12px; padding: 14px 36px;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 24px rgba(255,145,34,0.35);
}
.btn-analyze:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,145,34,0.5); }
.btn-analyze:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; border: none; border-radius: 10px; padding: 12px 24px; cursor: pointer; }
.btn-secondary { background: rgba(255,255,255,0.08); color: white; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 12px 24px; cursor: pointer; }
.btn-new-analysis { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); border-radius: 10px; padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer; margin-bottom: 24px; }

/* ── FEATURES & MISC ── */
.features-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; padding: 0 24px; }
.feature-pill {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; padding: 6px 14px;
}
.feature-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.error-msg { display: none; color: #f87171; font-size: 13px; margin-top: 12px; }
.error-msg.visible { display: block; }
.disclaimer { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 16px; }

/* ── JOURNEY STEPS ── */
.journey-steps {
  position: relative; z-index: 1; display: flex; gap: 0;
  max-width: 1100px; margin: 0 auto; padding: 0 24px 60px;
}
.journey-step {
  flex: 1; padding: 24px 20px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; margin: 0 6px; background: rgba(255,255,255,0.02);
}
.journey-step.active { border-color: rgba(255,145,34,0.3); background: rgba(255,145,34,0.04); }
.step-num { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.step-soon { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 600; color: var(--blue-bright); }

/* ── LOADING ── */
#loading-section { display: none; position: relative; z-index: 1; padding: 80px 24px; text-align: center; }
#loading-section.visible { display: block; }
.loading-card { max-width: 560px; margin: 0 auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(9,198,249,0.15); border-radius: 20px; padding: 48px; }
.loading-spinner { width: 64px; height: 64px; margin: 0 auto 24px; position: relative; }
.spinner-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.spinner-ring:nth-child(1) { border-top-color: var(--orange); animation: spin 1s linear infinite; }
.spinner-ring:nth-child(2) { border-right-color: var(--blue-bright); animation: spin 1.5s linear infinite reverse; inset: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.loading-step { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.4s; }
.loading-step.active { color: var(--white); }
.loading-step.done { color: rgba(255,255,255,0.4); }
.step-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; background: rgba(255,255,255,0.06); flex-shrink: 0; transition: background 0.4s; }
.loading-step.active .step-icon { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: var(--navy); font-weight: 700; }
.loading-step.done .step-icon { background: rgba(9,198,249,0.15); color: var(--blue-bright); }

/* ── REPORT ── */
#report-section { display: none; position: relative; z-index: 1; padding: 88px 40px 80px; }
#report-section.visible { display: block; }
.report-wrapper { max-width: 1200px; margin: 0 auto; }
.report-header { background: linear-gradient(135deg, rgba(29,50,96,0.8), rgba(4,93,233,0.15)); border: 1px solid rgba(9,198,249,0.2); border-radius: 20px; padding: 36px 44px; margin-bottom: 24px; display: flex; align-items: stretch; gap: 32px; flex-wrap: wrap; }
.report-meta { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.report-title { font-size: 28px; font-weight: 800; line-height: 1.2; }
.report-title span { color: var(--blue-bright); }
.report-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.badge-navy { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.badge-orange { background: rgba(255,145,34,0.15); color: var(--orange); border: 1px solid rgba(255,145,34,0.3); }
.badge-blue { background: rgba(9,198,249,0.1); color: var(--blue-bright); border: 1px solid rgba(9,198,249,0.25); }
.report-header-left { flex: 0 0 auto; max-width: 380px; display: flex; flex-direction: column; justify-content: center; }
.header-right { flex: 1; display: flex; align-items: center; gap: 24px; min-width: 0; border-left: 1px solid rgba(255,255,255,0.08); padding-left: 32px; }
.report-score { display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px 28px; flex-shrink: 0; min-width: 140px; }
.score-emoji { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.score-number { font-size: 60px; font-weight: 900; line-height: 1; }
.score-go .score-number { color: #22c55e; }
.score-caution .score-number { color: var(--orange); }
.score-nogo .score-number { color: #ef4444; }
.score-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 5px; }
.score-verdict { font-size: 17px; font-weight: 800; margin-top: 8px; }
.score-go .score-verdict { color: #22c55e; }
.score-caution .score-verdict { color: var(--orange); }
.score-nogo .score-verdict { color: #ef4444; }
.header-assessment { flex: 1; min-width: 0; }
.header-assessment-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.header-assessment-text { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.8; }

/* ── VERDICT BANNER ── */
.verdict-banner { display: flex; align-items: center; gap: 16px; border-radius: 14px; padding: 18px 24px; margin-bottom: 24px; border: 1px solid; }
.verdict-banner.go { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.verdict-banner.caution { background: rgba(255,145,34,0.08); border-color: rgba(255,145,34,0.25); }
.verdict-banner.hold { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.25); }
.verdict-icon { font-size: 24px; flex-shrink: 0; }
.verdict-chip { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); white-space: nowrap; }
.verdict-text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* ── REPORT GRID & CARDS ── */
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.report-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; }
.report-card.full-width { grid-column: 1 / -1; }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.icon-orange { background: rgba(255,145,34,0.15); }
.icon-blue { background: rgba(9,198,249,0.12); }
.icon-navy { background: rgba(255,255,255,0.08); }
.card-title { font-size: 17px; font-weight: 700; }
.market-analysis-body { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.75; }

/* ── STATS & SIZING ── */
.key-stat { text-align: center; padding: 16px; background: rgba(255,255,255,0.04); border-radius: 12px; flex: 1; }
.key-stat-value { font-size: 22px; font-weight: 800; color: var(--orange-light); }
.key-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.sizing-bar { margin-bottom: 16px; }
.sizing-bar-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.sizing-bar-label span:first-child { font-weight: 600; }
.sizing-bar-label span:last-child { font-weight: 800; color: var(--orange-light); }
.sizing-bar-track { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.sizing-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue-mid), var(--blue-bright)); border-radius: 4px; }

/* ── COMPETITORS ── */
.competitor-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.competitor-row:last-child { border-bottom: none; }
.competitor-rank { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.competitor-name { font-size: 14px; font-weight: 700; }
.competitor-hq { font-size: 12px; color: rgba(255,255,255,0.45); }
.competitor-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-top: 4px; }
.competitor-weakness { font-size: 12px; color: var(--blue-bright); margin-top: 4px; }
.threat-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.threat-High { background: rgba(239,68,68,0.2); color: #f87171; }
.threat-Medium { background: rgba(255,145,34,0.2); color: var(--orange-light); }
.threat-Low { background: rgba(34,197,94,0.2); color: #86efac; }

/* ── REGULATORY ── */
.reg-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.reg-item:last-child { border-bottom: none; }
.reg-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.reg-critical { background: #ef4444; }
.reg-medium { background: var(--orange); }
.reg-low { background: #22c55e; }
.reg-agency { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; }
.reg-title { font-size: 14px; font-weight: 700; margin: 2px 0; }
.reg-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── TRENDS / RISKS / OPPORTUNITIES ── */
.trend-item { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.trend-item::before { content: '→'; color: var(--blue-bright); flex-shrink: 0; margin-top: 1px; }
.risk-item { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.risk-item::before { content: '⚠'; flex-shrink: 0; }
.opp-item { padding: 14px; background: rgba(255,255,255,0.03); border-radius: 10px; margin-bottom: 10px; }
.opp-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--orange-light); }
.opp-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ── GTM SCORE BREAKDOWN ── */
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: nowrap;
}
.breakdown-label {
  width: 160px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.breakdown-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  min-width: 0;
}
.breakdown-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s ease;
}
.breakdown-score {
  font-size: 13px;
  font-weight: 800;
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}
.breakdown-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex: 1;
  min-width: 0;
}


.gtm-phases { display: flex; gap: 16px; }
.phase-item-wrapper { flex: 1; }
.phase-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.phase-dot-1 { background: rgba(255,145,34,0.3); color: var(--orange); }
.phase-dot-2 { background: rgba(9,198,249,0.2); color: var(--blue-bright); }
.phase-dot-3 { background: rgba(34,197,94,0.2); color: #86efac; }
.phase-connector { width: 2px; height: 20px; background: rgba(255,255,255,0.1); margin: 4px auto; }
.phase-timing { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.phase-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.phase-item { font-size: 13px; color: rgba(255,255,255,0.65); padding: 4px 0; padding-left: 12px; position: relative; }
.phase-item::before { content: '·'; position: absolute; left: 0; color: var(--blue-bright); }

/* ── CTA ── */
.report-cta { background: linear-gradient(135deg, rgba(255,145,34,0.12), rgba(4,93,233,0.12)); border: 1px solid rgba(255,145,34,0.2); border-radius: 20px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.cta-content h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.cta-content p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 480px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ── RESPONSIVE ── */
/* ── TABLET (≤960px) ── */
@media (max-width: 960px) {
  .journey-steps { flex-wrap: wrap; }
  .journey-step { flex: 1 1 calc(50% - 16px); min-width: 220px; }

  .report-cta { flex-direction: column; align-items: flex-start; }
  .cta-buttons { width: 100%; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary { flex: 1; text-align: center; }
}

/* ── MOBILE (≤720px) ── */
@media (max-width: 720px) {

  /* NAV */
  nav { padding: 12px 16px; }
  .nav-tag { display: none; }

  /* HERO */
  #hero { padding: 88px 16px 48px; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-eyebrow { font-size: 11px; }

  /* UPLOAD CARD */
  .upload-card { padding: 28px 20px; }
  .features-row { gap: 8px; padding: 0 16px; }
  .feature-pill { font-size: 11px; padding: 5px 10px; }

  /* FORM CONTROLS */
  .country-select-row { flex-direction: column; gap: 10px; }
  .field-group { min-width: unset; width: 100%; }
  .btn-analyze { width: 100%; justify-content: center; }

  /* JOURNEY */
  .journey-steps { flex-direction: column; padding: 0 16px 48px; }
  .journey-step { min-width: unset; margin: 0 0 8px; }

  /* LOADING */
  .loading-card { padding: 32px 20px; }

  /* REPORT SECTION */
  #report-section { padding: 72px 16px 60px; }
  .report-header { flex-direction: column; padding: 20px; gap: 20px; }
  .report-header-left { max-width: 100%; }
  .header-right {
    border-left: none; padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
    flex-direction: column; align-items: flex-start; width: 100%;
  }
  .report-score { width: 100%; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px; }
  .score-number { font-size: 44px; }
  .score-emoji { font-size: 24px; margin-bottom: 0; }
  .report-title { font-size: 22px; }
  .header-assessment { width: 100%; }

  /* REPORT GRID */
  .report-grid { grid-template-columns: 1fr; gap: 12px; }
  .report-card { padding: 18px 16px; }

  /* GTM PHASES */
  .gtm-phases { flex-direction: column; gap: 12px; }

  /* CTA */
  .report-cta { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary { width: 100%; text-align: center; }

  /* FOOTER */
  footer { padding: 20px 16px; flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }

  /* SCORE BREAKDOWN — reflow on mobile */
  .breakdown-row {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }
  .breakdown-label {
    width: 100%;
    font-size: 13px;
  }
  .breakdown-bar-wrap { flex: 1; }
  .breakdown-score    { flex-shrink: 0; }
  .breakdown-note {
    width: 100%;
    flex: none;
    margin-top: 2px;
    font-size: 12px;
  }
}

/* ── SMALL MOBILE (≤400px) ── */
@media (max-width: 400px) {
  .hero-title { font-size: 30px; letter-spacing: -1px; }
  .upload-card { padding: 20px 14px; }
  .report-score { flex-direction: column; align-items: center; }
  .score-number { font-size: 52px; }
  .report-cta { padding: 20px 14px; }
  .loading-card { padding: 24px 14px; }
}

/* ── LEAD MODAL — mobile ── */
@media (max-width: 720px) {
  #lead-modal > div {
    padding: 28px 20px !important;
    width: 95% !important;
    max-height: 90vh;
    overflow-y: auto;
  }
}


.print-page-header, .print-page-footer { display: none; }
@page { size: A4; margin: 0; }

@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; color-adjust: exact !important; }
  html { background: #1D3260 !important; }
  body { background: #1D3260 !important; color: white !important; margin: 0 !important; padding: 0 !important; }
  body::before { display: none !important; }
  nav, #hero, #loading-section, .journey-steps, .btn-new-analysis,
  .report-cta, footer, #faq-list, #privacy, .features-row, #lead-modal { display: none !important; }

  .print-page-header {
    display: flex !important; position: fixed;
    top: 0; left: 0; right: 0; height: 58px;
    background: #1D3260 !important; align-items: center; justify-content: space-between;
    padding: 0 28px; border-bottom: 3px solid #FF9122; box-sizing: border-box; z-index: 9999;
  }
  .print-page-footer {
    display: flex !important; position: fixed;
    bottom: 0; left: 0; right: 0; height: 34px;
    background: #1D3260 !important; align-items: center; justify-content: space-between;
    padding: 0 28px; border-top: 1px solid rgba(9,198,249,0.3); box-sizing: border-box; z-index: 9999;
  }
  .print-page-num::after { content: counter(page); }
  #report-section { display: block !important; padding: 74px 28px 50px !important; }
  .report-wrapper { max-width: 100% !important; padding: 0 !important; }
  .report-header { background: #243d78 !important; border: 1px solid rgba(9,198,249,0.3) !important; border-radius: 12px !important; padding: 20px 24px !important; margin-bottom: 14px !important; break-inside: avoid !important; page-break-inside: avoid !important; }
  .report-header-left { max-width: 360px !important; }
  .header-right { border-left: 1px solid rgba(255,255,255,0.12) !important; padding-left: 20px !important; }
  .report-card { background: #1e3460 !important; border: 1px solid rgba(255,255,255,0.15) !important; border-radius: 12px !important; margin-bottom: 12px !important; padding: 20px 22px !important; break-inside: avoid !important; page-break-inside: avoid !important; }
  .report-grid { display: block !important; }
  .report-score { background: #243d78 !important; border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 12px !important; padding: 14px 20px !important; }
  .verdict-banner { border-radius: 10px !important; padding: 14px !important; margin-bottom: 14px !important; break-inside: avoid !important; }
  .verdict-banner.go    { background: rgba(34,197,94,0.2)  !important; border: 1px solid rgba(34,197,94,0.4)  !important; }
  .verdict-banner.caution { background: rgba(255,145,34,0.2) !important; border: 1px solid rgba(255,145,34,0.4) !important; }
  .verdict-banner.hold  { background: rgba(239,68,68,0.2)   !important; border: 1px solid rgba(239,68,68,0.4)   !important; }
  .report-meta  { color: #FF9122 !important; }
  .report-title { color: white   !important; }
  .report-title span  { color: #09C6F9 !important; }
  .card-title         { color: white   !important; }
  .badge-orange { background: rgba(255,145,34,0.3) !important; color: #FF9122 !important; }
  .badge-blue   { background: rgba(9,198,249,0.2)  !important; color: #09C6F9 !important; }
  .badge-navy   { background: rgba(255,255,255,0.15) !important; color: rgba(255,255,255,0.8) !important; }
  .score-go .score-number      { color: #22c55e !important; }
  .score-caution .score-number { color: #FF9122 !important; }
  .score-nogo .score-number    { color: #ef4444 !important; }
  .score-go .score-verdict     { color: #22c55e !important; }
  .score-caution .score-verdict{ color: #FF9122 !important; }
  .score-nogo .score-verdict   { color: #ef4444 !important; }
  .key-stat          { background: #243d78 !important; border-radius: 10px !important; }
  .key-stat-value    { color: #FFBA49  !important; }
  .opp-title         { color: #FFBA49  !important; }
  .opp-item          { background: rgba(255,255,255,0.06) !important; border-radius: 8px !important; }
  .competitor-weakness { color: #09C6F9 !important; }
  .trend-item::before  { color: #09C6F9 !important; }
  .sizing-bar-fill   { background: linear-gradient(90deg, #045DE9, #09C6F9) !important; }
  .sizing-bar-track  { background: rgba(255,255,255,0.15) !important; }
  .reg-critical { background: #ef4444 !important; }
  .reg-medium   { background: #FF9122 !important; }
  .reg-low      { background: #22c55e !important; }
  .phase-dot-1 { background: rgba(255,145,34,0.4) !important; color: #FF9122 !important; }
  .phase-dot-2 { background: rgba(9,198,249,0.3)  !important; color: #09C6F9 !important; }
  .phase-dot-3 { background: rgba(34,197,94,0.3)  !important; color: #86efac !important; }
  .gtm-phases  { flex-direction: column !important; gap: 10px !important; }
  .phase-item-wrapper { break-inside: avoid !important; }
  .threat-High   { background: rgba(239,68,68,0.3)  !important; color: #f87171 !important; }
  .threat-Medium { background: rgba(255,145,34,0.3) !important; color: #FFBA49 !important; }
  .threat-Low    { background: rgba(34,197,94,0.3)  !important; color: #86efac !important; }
}
/* ── TOAST ANIMATION ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px) translateX(-50%); }
  to   { opacity: 1; transform: translateY(0)    translateX(-50%); }
}

/* ── URL EXTRA FIELDS ── */
#url-extra-fields textarea,
#url-extra-fields input,
#url-extra-fields select {
  transition: border-color .2s;
}
#url-extra-fields textarea:focus,
#url-extra-fields input:focus,
#url-extra-fields select:focus {
  border-color: #FF9122 !important;
  outline: none;
}

/* ── SAVE MODAL TEXTAREA ── */
textarea {
  color: white;
}

/* ── NAV FLEX FIX for dashboard link ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Cross-browser touch fix */
button, a, [onclick] { touch-action: manipulation; }

/* Respect reduced motion (accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}