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

:root {
  --bg: #f7f8fa;
  --bg-soft: #ffffff;
  --bg-muted: #f1f4f8;
  --bg-accent: #fff5f3;
  --surface-soft: #f8fafc;
  --accent: #2563eb;

  --text: #111827;
  --text-soft: #4b5563;
  --text-muted: #6b7280;

  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --primary: #dc3d2f;
  --primary-dark: #b83227;
  --primary-soft: rgba(220, 61, 47, 0.08);

  --green: #169c53;
  --green-soft: rgba(22, 156, 83, 0.08);

  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.08);

  --purple: #7c3aed;
  --purple-soft: rgba(124, 58, 237, 0.08);

  --shadow-sm: 0 4px 18px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 12px 36px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 64px rgba(17, 24, 39, 0.12);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(to bottom, #fbfcfd 0%, #f7f8fa 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================
   NAV
========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 8px rgba(220, 61, 47, 0.08);
}

.nav-product {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-by {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 10px;
  border-left: 1px solid var(--border);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(220, 61, 47, 0.18);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.96;
  box-shadow: 0 14px 34px rgba(220, 61, 47, 0.22);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 156px 0 112px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 10%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 10%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  height: 620px;
  background: radial-gradient(ellipse, rgba(220, 61, 47, 0.12) 0%, transparent 70%);
  filter: blur(4px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 900px;
  animation: fadeUp 0.6s 0.08s ease both;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 52px;
  animation: fadeUp 0.6s 0.16s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.24s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-div {
  width: 1px;
  height: 44px;
  background: var(--border);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SECTIONS
========================= */
.how,
.preview,
.audit,
.pricing {
  padding: 100px 0;
  border-top: 1px solid rgba(229, 231, 235, 0.75);
}

.section-header {
  margin-bottom: 56px;
  max-width: 760px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

/* =========================
   HOW IT WORKS
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step {
  background: var(--bg-soft);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: fadeUp 0.6s var(--delay) ease both;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.step:hover {
  background: #fff;
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
}

.step-arrow {
  position: absolute;
  top: 34px;
  right: -12px;
  z-index: 2;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.step-arrow.last {
  color: var(--green);
}

/* =========================
   PREVIEW
========================= */
.preview-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.preview-chrome {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.chrome-bar {
  background: #f9fafb;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

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

.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
}

.chrome-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: #ffffff;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-report {
  background: #f7f4ee;
  padding: 28px;
  color: #0f172a;
}

.rp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #0f172a;
}

.rp-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.rp-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.rp-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rp-sub {
  font-size: 12px;
  color: #6b7280;
}

.rp-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rp-metrics {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1px;
  background: #d1d5db;
  border: 1.5px solid #0f172a;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.rp-metric {
  background: #fff;
  padding: 16px;
}

.rp-metric.featured {
  background: #111827;
}

.rp-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.rp-metric.featured .rp-label {
  color: rgba(255, 255, 255, 0.5);
}

.rp-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.rp-metric.featured .rp-val {
  color: #fff;
}

.rp-val.sm {
  font-size: 1.25rem;
}

.rp-val.good,
.rp-val.save {
  color: #15803d;
}

.rp-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 4px;
}

.rp-table-wrap {
  font-size: 12px;
}

.rp-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 8px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  border-bottom: 1.5px solid #0f172a;
}

.rp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 8px;
  align-items: center;
  padding: 10px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
}

.rp-row.bad {
  background: #fff4f2;
}

.rp-row.mid {
  background: #fffaf1;
}

.rp-row.clean {
  background: #f3fbf6;
}

.rp-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rp-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  flex: 1;
}

.rp-bar.mid {
  background: var(--amber);
}

.rp-bar.clean {
  background: #d1d5db;
}

.muted {
  color: #9ca3af;
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 999px;
  margin-right: 4px;
  margin-top: 2px;
}

.tag.red {
  background: #fde8e5;
  color: #a3261d;
}

.tag.amber {
  background: #fff3dd;
  color: #8a4d00;
}

.tag.purple {
  background: #f1eaff;
  color: #5f34b2;
}

.tag.clean {
  background: #e8f8ee;
  color: #166534;
}

/* =========================
   CALLOUTS
========================= */
.preview-callouts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 44px;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.6s var(--delay) ease both;
}

.callout-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.callout-icon.red {
  background: var(--primary-soft);
  color: var(--primary);
}

.callout-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.callout-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.callout strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.callout p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* =========================
   FORM
========================= */
.form-wrap {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 42px;
  max-width: 860px;
  box-shadow: var(--shadow-md);
}

.audit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

.required {
  color: var(--primary);
}

.form-input {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
  appearance: none;
}

.form-input:hover {
  border-color: var(--border-strong);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(220, 61, 47, 0.10);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input.error {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(220, 61, 47, 0.08);
}

.select-wrap {
  position: relative;
}

.form-select {
  cursor: pointer;
  padding-right: 42px;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 12px;
}

.input-prefix-wrap {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}

.form-input.has-prefix {
  padding-left: 30px;
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.field-error {
  font-size: 12px;
  color: var(--primary);
  min-height: 16px;
  font-weight: 500;
}

/* =========================
   FILE DROP
========================= */
.file-drop {
  border: 1.5px dashed var(--border-strong);
  border-radius: 16px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.file-drop:hover,
.file-drop.dragover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.file-drop-inner {
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.file-icon {
  color: var(--text-muted);
}

.file-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.file-text span {
  font-size: 14px;
  color: var(--text-soft);
}

.file-browse {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-body);
  text-decoration: underline;
  padding: 0;
  font-weight: 700;
}

.file-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.file-selected {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.file-sel-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.file-sel-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-sel-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.file-sel-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
  text-align: left;
}

.file-sel-remove:hover {
  color: var(--primary);
}

/* =========================
   BUTTONS
========================= */
.btn-submit {
  width: 100%;
  min-height: 56px;
  padding: 16px 28px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 18px 36px rgba(220, 61, 47, 0.18);
}

.btn-submit:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  font-size: 20px;
  transition: transform 0.18s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(3px);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* =========================
   LOADING STATE
========================= */
.loading-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 52px 0;
  text-align: center;
}

.loading-spinner {
  width: 52px;
  height: 52px;
  border: 3px solid rgba(209, 213, 219, 0.7);
  border-top-color: var(--primary);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

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

.loading-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  min-width: 260px;
}

.loading-step {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  transition: color 0.3s;
}

.loading-step::before {
  content: '○';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  transition: color 0.3s;
}

.loading-step.active {
  color: var(--text);
}

.loading-step.active::before {
  content: '●';
  color: var(--primary);
}

.loading-step.done {
  color: var(--green);
}

.loading-step.done::before {
  content: '✓';
  color: var(--green);
}

/* =========================
   ERROR STATE
========================= */
.error-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 52px 0;
  text-align: center;
}

.error-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.error-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.error-msg {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 460px;
  line-height: 1.7;
}

.btn-retry {
  margin-top: 8px;
  min-height: 44px;
  padding: 0 24px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.btn-retry:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* =========================
   RESULT STATE
========================= */
.result-state {
  display: none;
  padding: 52px 0 12px;
  text-align: center;
}

.result-check {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 800;
}

.result-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
  text-align: left;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.result-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.result-stat-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
}

.result-stat-val.green {
  color: var(--green);
}

.result-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-view,
.btn-download {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.btn-view {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(220, 61, 47, 0.16);
}

.btn-view:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn-download {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-download:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-new {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.btn-new:hover {
  color: var(--text);
}

/* =========================
   PRICING
========================= */
.pricing {
  background: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.price-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: rgba(220, 61, 47, 0.28);
  background: linear-gradient(180deg, rgba(220, 61, 47, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(220, 61, 47, 0.18);
}

.price-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-amount span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-soft);
}

.price-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding-top: 2px;
}

.price-features li {
  font-size: 14px;
  color: var(--text-soft);
  padding-left: 20px;
  position: relative;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.btn-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-align: center;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  background: #fff;
}

.btn-price:hover {
  background: #fafafa;
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn-price.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-price.featured:hover {
  opacity: 0.96;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================
   FOOTER
========================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: transparent;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.footer-product {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.footer-by {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 6px;
  border-left: 1px solid var(--border);
}

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .preview-wrap {
    grid-template-columns: 1fr;
  }

  .preview-callouts {
    padding-top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .callout {
    height: 100%;
  }
}

@media (max-width: 900px) {
  .container,
  .nav-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding: 138px 0 92px;
  }

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

  .step-arrow {
    display: none;
  }

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

  .audit-form {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: 1;
  }

  .form-wrap {
    padding: 30px 24px;
  }

  .result-summary {
    grid-template-columns: 1fr;
  }

  .preview-callouts {
    grid-template-columns: 1fr;
  }

  .rp-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav-inner {
    min-height: 66px;
  }

  .nav-cta {
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 4rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 18px;
  }

  .stat-div {
    display: none;
  }

  .section-header {
    margin-bottom: 42px;
  }

  .how,
  .preview,
  .audit,
  .pricing {
    padding: 82px 0;
  }

  .preview-report {
    padding: 20px;
  }

  .rp-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .rp-table-head,
  .rp-row {
    grid-template-columns: 1.4fr 1fr;
  }

  .rp-table-head span:nth-child(3),
  .rp-table-head span:nth-child(4),
  .rp-row > div:nth-child(3),
  .rp-row > div:nth-child(4) {
    display: none;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-by {
    display: none;
  }

  .hero {
    padding: 124px 0 78px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-sub {
    margin-bottom: 40px;
  }

  .form-wrap {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .file-drop-inner {
    padding: 26px 18px;
  }

  .file-selected {
    padding: 16px 18px;
  }

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

  .btn-view,
  .btn-download {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .price-card {
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-product {
    font-size: 14px;
  }

  .loading-steps {
    min-width: 100%;
  }
}
/* ── PAYMENT MODAL ── */
body.modal-open {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.payment-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.payment-modal-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  color: #111111;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0,0,0,0.06);
}

.payment-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.payment-close:hover {
  color: #111;
}

.payment-modal-header {
  margin-bottom: 24px;
}

.payment-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e53c2e;
  background: rgba(229, 60, 46, 0.08);
  border: 1px solid rgba(229, 60, 46, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.payment-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #111;
}

.payment-sub {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.payment-summary {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 18px 8px;
  background: #fafafa;
  margin-bottom: 20px;
}

.payment-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}

.payment-summary-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.payment-summary-row span {
  color: #666;
}

.payment-summary-row strong,
.payment-summary-row code {
  color: #111;
  font-weight: 700;
}

.payment-summary-row code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 6px;
}

.payment-status {
  font-size: 14px;
  line-height: 1.6;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6f6f6;
  color: #444;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.05);
}

.payment-status.loading {
  background: rgba(232, 144, 10, 0.08);
  color: #7a4b00;
  border-color: rgba(232, 144, 10, 0.15);
}

.payment-status.success {
  background: rgba(29, 184, 99, 0.08);
  color: #116b3b;
  border-color: rgba(29, 184, 99, 0.15);
}

.payment-status.error {
  background: rgba(229, 60, 46, 0.08);
  color: #a52218;
  border-color: rgba(229, 60, 46, 0.15);
}

.payment-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-payment-primary,
.btn-payment-secondary {
  flex: 1;
  min-width: 220px;
  text-align: center;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-payment-primary {
  background: #e53c2e;
  color: #fff;
  border: none;
}

.btn-payment-primary:hover {
  opacity: 0.9;
}

.btn-payment-secondary {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,0.12);
}

.btn-payment-secondary:hover {
  background: #f6f6f6;
}

.payment-note {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ── PAYMENT MODAL RESPONSIVE ── */
@media (max-width: 640px) {
  .payment-modal {
    padding: 16px;
    align-items: end;
  }

  .payment-modal-card {
    padding: 24px 20px;
    border-radius: 18px 18px 0 0;
    max-width: 100%;
  }

  .payment-title {
    font-size: 24px;
  }

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

  .btn-payment-primary,
  .btn-payment-secondary {
    width: 100%;
    min-width: 100%;
  }

  .payment-summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ─────────────────────────────────────────
   SINGLE PRICING CARD LAYOUT
───────────────────────────────────────── */

.pricing-grid-single {
  display: flex;
  justify-content: center;
}

.single-price-card {
  width: 100%;
  max-width: 420px;
}

/* ─────────────────────────────────────────
   RESPONSIVE PAYMENT MODAL
───────────────────────────────────────── */

@media (max-width: 768px) {
  .payment-overlay {
    padding: 16px;
    align-items: flex-end;
  }

  .payment-modal {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 22px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .payment-title {
    font-size: 28px;
  }

  .payment-price {
    font-size: 38px;
  }

  .btn-pay-now {
    padding: 15px 16px;
  }
}

@media (max-width: 520px) {
  .payment-header {
    padding-right: 36px;
  }

  .payment-title {
    font-size: 26px;
  }

  .payment-sub,
  .payment-steps,
  .payment-steps-title {
    font-size: 14px;
  }

  .payment-price-box,
  .payment-steps-box {
    padding: 18px 18px;
  }
}