/* ============================================================
   Cleaning Business Launch Kit — Global Styles
   ============================================================ */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-mid: #bfdbfe;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #ecfdf5;
  --emerald-mid: #a7f3d0;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12), 0 6px 12px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', Arial, sans-serif;
  --nav-height: 68px;
}

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

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { color: var(--gray-600); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}
.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-brand-icon svg { width: 20px; height: 20px; fill: white; }
.nav-brand-text { font-weight: 700; font-size: 0.95rem; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-brand-text span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-light); text-decoration: none; }
.nav-links a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 8px 16px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }
.nav-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-mobile { display: none; background: var(--white); border-top: 1px solid var(--gray-200); padding: 12px 24px 16px; }
.nav-mobile a {
  display: block;
  padding: 10px 0;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--blue); text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-emerald { background: var(--emerald); color: var(--white); }
.btn-emerald:hover { background: var(--emerald-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-ghost { background: var(--gray-100); color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-200); color: var(--gray-800); }
.btn-sm { padding: 8px 16px; font-size: 0.825rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-icon { padding: 10px; width: 40px; height: 40px; justify-content: center; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-p { padding: 24px; }
.card-lg { padding: 32px; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  line-height: 1.5;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-error { font-size: 0.8rem; color: #ef4444; margin-top: 4px; display: none; }
.form-control.error { border-color: #ef4444; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-emerald { background: var(--emerald-light); color: var(--emerald-dark); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ── Score bars ── */
.score-bar-wrap { margin-top: 4px; }
.score-bar-track { height: 6px; background: var(--gray-200); border-radius: 99px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--emerald)); transition: width 0.5s ease; }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; background: var(--gray-100); border-radius: var(--radius-sm); padding: 4px; }
.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.tab-btn.active { background: var(--white); color: var(--blue); font-weight: 600; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Steps ── */
.steps { display: flex; gap: 0; margin-bottom: 32px; }
.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.step:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.step + .step { border-left: none; }
.step.active { background: var(--blue-light); border-color: var(--blue); z-index: 1; }
.step.completed { background: var(--emerald-light); border-color: var(--emerald); }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step.active .step-num { background: var(--blue); }
.step.completed .step-num { background: var(--emerald); }
.step-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-600); }
.step.active .step-label { color: var(--blue); }
.step.completed .step-label { color: var(--emerald-dark); }
.step-panel { display: none; }
.step-panel.active { display: block; }

/* ── Checkbox & Radio ── */
.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  user-select: none;
}
.check-item:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
.check-item.selected { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
.check-item input[type="checkbox"] { display: none; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  user-select: none;
}
.radio-item:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
.radio-item.selected { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
.radio-item input[type="radio"] { display: none; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { background: var(--gray-50); color: var(--gray-600); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 16px; text-align: left; border-bottom: 1.5px solid var(--gray-200); }
td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }

/* ── Invoice items ── */
.invoice-items-list { border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.invoice-item-row {
  display: grid;
  grid-template-columns: 1fr 80px 100px 100px 40px;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
}
.invoice-item-row:last-child { border-bottom: none; }
.invoice-item-row.header { background: var(--gray-50); font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.invoice-item-row .form-control { padding: 8px 10px; font-size: 0.875rem; }
.item-amount { font-weight: 600; color: var(--gray-800); font-size: 0.9rem; }

/* ── Preview panel ── */
.preview-panel {
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  gap: 12px;
  flex-wrap: wrap;
}
.preview-toolbar-title { font-weight: 600; font-size: 0.9rem; color: var(--gray-700); }
.preview-toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.preview-iframe-wrap { background: var(--white); padding: 24px; min-height: 500px; }
.preview-iframe-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: var(--radius-sm);
}
.preview-placeholder {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px;
  text-align: center;
}
.preview-placeholder-icon { font-size: 3rem; opacity: 0.3; }
.preview-placeholder h4 { color: var(--gray-600); font-weight: 600; }
.preview-placeholder p { color: var(--gray-400); font-size: 0.9rem; max-width: 320px; }

/* ── Loading spinner ── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.spinner-dark {
  border-color: rgba(37,99,235,0.2);
  border-top-color: var(--blue);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Hero ── */
.hero {
  position: relative;
  background: #0a1628;
  color: white;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Animated mesh orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  top: -120px; left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0f766e, transparent 70%);
  bottom: -80px; right: 30%;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: 40%; right: 10%;
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-24px) scale(1.04); }
  66% { transform: translateY(12px) scale(0.97); }
}

/* Inner layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

/* Left content */
.hero-content {
  animation: heroFadeUp 0.7s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}
.hero-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.1); }
}

.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: white;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero-highlight {
  background: linear-gradient(90deg, #34d399, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}
.hero-cta-primary {
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: ctaPulse 3s ease-in-out 1.5s infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(16,185,129,0.3); }
  50% { box-shadow: 0 4px 40px rgba(16,185,129,0.55); }
}
.hero-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.hero-ghost-btn:hover { color: white; gap: 10px; }

/* Ebook Download Card */
.ebook-download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(16,185,129,0.5);
  border-radius: 16px;
  padding: 14px 18px;
  text-decoration: none;
  color: white;
  margin-bottom: 20px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.3);
  animation: ebookPulse 2.5s ease-in-out infinite;
}
.ebook-download-card:hover {
  background: rgba(16,185,129,0.15);
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.25);
  animation: none;
}
@keyframes ebookPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.ebook-download-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.ebook-download-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ebook-download-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #10b981;
}
.ebook-download-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.ebook-download-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ebook-download-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s;
}
.ebook-download-card:hover .ebook-download-btn {
  background: #059669;
}
@media (max-width: 480px) {
  .ebook-download-sub { display: none; }
  .ebook-download-btn { padding: 8px 10px; font-size: 0.75rem; }
  .ebook-download-card { padding: 12px 14px; }
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.hero-trust-item svg { color: #10b981; flex-shrink: 0; }

/* Right: Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: heroFadeUp 0.7s ease 0.2s both;
}

.hero-phone {
  width: 260px;
  background: #111827;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 32px 80px rgba(0,0,0,0.6),
    0 8px 24px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}
.hero-phone-notch {
  width: 80px;
  height: 22px;
  background: #111827;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
}
.hero-phone-screen {
  background: #f8fafc;
  border-radius: 26px;
  overflow: hidden;
  padding: 14px 12px;
  min-height: 440px;
}

/* App screen internals */
.hps-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.hps-header-icon {
  width: 24px; height: 24px;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.hps-header span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  flex: 1;
}
.hps-notif {
  background: #ef4444;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.hps-greeting {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.hps-subgreeting {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 12px;
}

.hps-progress-card {
  background: linear-gradient(135deg, #2563eb, #0f766e);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.hps-progress-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hps-progress-bar {
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  height: 5px;
  margin-bottom: 6px;
  overflow: hidden;
}
.hps-progress-fill {
  height: 100%;
  width: 25%;
  background: white;
  border-radius: 999px;
  animation: progressGrow 1.4s ease 0.8s both;
}
@keyframes progressGrow {
  from { width: 0; }
  to { width: 25%; }
}
.hps-progress-pct {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.hps-tools {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hps-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid #f1f5f9;
  cursor: default;
  transition: transform 0.15s;
}
.hps-tool-active {
  border-color: #bfdbfe;
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
}
.hps-tool-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hps-tool-icon.blue { background: linear-gradient(135deg,#2563eb,#3b82f6); }
.hps-tool-icon.emerald { background: linear-gradient(135deg,#0f766e,#10b981); }
.hps-tool-icon.purple { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.hps-tool-icon.orange { background: linear-gradient(135deg,#d97706,#f59e0b); }
.hps-tool-info { flex: 1; min-width: 0; }
.hps-tool-name { font-size: 0.68rem; font-weight: 700; color: #1e293b; }
.hps-tool-status { font-size: 0.6rem; color: #94a3b8; margin-top: 1px; }
.hps-tool-status.done { color: #10b981; }
.hps-tool-status.active { color: #2563eb; }
.hps-tool-arrow { font-size: 0.9rem; color: #cbd5e1; }

/* Floating badges */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1);
  white-space: nowrap;
  animation: floatBob 4s ease-in-out infinite;
}
.hero-float-1 { bottom: 60px; left: -40px; animation-delay: 0s; }
.hero-float-2 { top: 30px; right: -30px; animation-delay: -1.5s; }
.hero-float-3 { bottom: 20px; right: -20px; animation-delay: -3s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Mobile hero */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-pill { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
}

/* ── Module cards on homepage ── */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.module-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 28px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}
.module-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.module-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.module-card-icon.blue { background: var(--blue-light); }
.module-card-icon.emerald { background: var(--emerald-light); }
.module-card-icon.purple { background: #f3e8ff; }
.module-card-icon.orange { background: #fff7ed; }
.module-card h3 { font-size: 1.05rem; color: var(--gray-900); margin-bottom: 8px; }
.module-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 16px; }
.module-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.module-card-arrow { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--blue); margin-top: 16px; }

/* ── Page header ── */
.page-header {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--emerald-light) 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--gray-200);
}
.page-header-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.825rem; color: var(--gray-500); margin-bottom: 12px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb-sep { color: var(--gray-400); }
.page-header h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--gray-900); margin-bottom: 8px; }
.page-header p { color: var(--gray-600); font-size: 1rem; max-width: 560px; }

/* ── Dashboard ── */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 24px;
  transition: all 0.18s;
  text-decoration: none;
  display: block;
}
.dash-card:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
.dash-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dash-card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.dash-card-count { font-size: 0.8rem; font-weight: 600; color: var(--gray-400); }
.dash-card h4 { font-size: 1rem; color: var(--gray-800); margin-bottom: 4px; }
.dash-card p { font-size: 0.85rem; color: var(--gray-500); }
.dash-card-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gray-100); font-size: 0.8rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; }

/* ── Saved names result card ── */
.name-result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.name-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 20px;
  transition: all 0.18s;
  position: relative;
}
.name-card:hover { border-color: var(--blue-mid); box-shadow: var(--shadow); }
.name-card.saved { border-color: var(--emerald); background: var(--emerald-light); }
.name-card-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; padding-right: 40px; }
.name-card-tagline { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 14px; font-style: italic; }
.name-card-scores { display: flex; gap: 16px; margin-bottom: 14px; }
.name-card-score { flex: 1; }
.name-card-score-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin-bottom: 4px; }
.name-card-score-val { font-size: 0.85rem; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.name-card-actions { display: flex; gap: 8px; }
.name-card-save-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s;
  line-height: 1;
  font-size: 1.2rem;
}
.name-card-save-btn:hover { color: var(--emerald); }
.name-card.saved .name-card-save-btn { color: var(--emerald); }

/* ── Totals box ── */
.totals-box { background: var(--gray-50); border-radius: var(--radius); border: 1.5px solid var(--gray-200); padding: 24px; }
.totals-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.9rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.totals-row:last-child { border-bottom: none; }
.totals-row.total { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--gray-300); }
.totals-row.balance { font-size: 1.15rem; font-weight: 800; color: var(--blue); }

/* ── Alert / notice ── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.875rem; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.alert-blue { background: var(--blue-light); color: #1e40af; border: 1px solid var(--blue-mid); }
.alert-emerald { background: var(--emerald-light); color: #065f46; border: 1px solid var(--emerald-mid); }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-icon { flex-shrink: 0; font-size: 1rem; }

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { }
.footer-brand-name { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 10px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; }
.footer-col h5 { font-size: 0.85rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; }
.footer-powered { font-size: 0.8rem; }
.footer-powered a { color: rgba(255,255,255,0.5); font-weight: 300; }
.footer-powered a:hover { color: rgba(255,255,255,0.8); }

/* ── Promotional toast ── */
.promo-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  padding: 12px 14px 12px 12px;
  max-width: 290px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.promo-toast-logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}
.promo-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.promo-toast-body {
  flex: 1;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--gray-500);
}
.promo-toast-body a {
  color: var(--blue-600, #2563eb);
  font-weight: 500;
  text-decoration: none;
}
.promo-toast-body a:hover { text-decoration: underline; }
.promo-toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  margin-top: 1px;
  transition: color 0.15s;
}
.promo-toast-close:hover { color: var(--gray-600); }

/* ── SEO content sections ── */
.seo-section { background: var(--gray-50); padding: 64px 0; }
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}
.faq-q:hover { color: var(--blue); }
.faq-q-icon { flex-shrink: 0; font-size: 1.25rem; color: var(--gray-400); transition: transform 0.2s; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 18px; color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── Tool section layout ── */
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: flex-start; }
.tool-layout.wide-preview { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 900px) { .tool-layout, .tool-layout.wide-preview { grid-template-columns: 1fr; } }

/* ── Empty state ── */
.empty-state { padding: 60px 24px; text-align: center; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { color: var(--gray-700); margin-bottom: 8px; font-size: 1.1rem; }
.empty-state p { color: var(--gray-400); font-size: 0.9rem; max-width: 300px; margin: 0 auto 20px; }

/* ── Recent docs list ── */
.recent-docs { }
.recent-doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: all 0.15s;
  background: var(--white);
}
.recent-doc-item:hover { border-color: var(--blue); background: var(--blue-light); }
.recent-doc-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.recent-doc-info { flex: 1; min-width: 0; }
.recent-doc-title { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-doc-meta { font-size: 0.8rem; color: var(--gray-400); }
.recent-doc-actions { display: flex; gap: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .step:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .step + .step { border-left: 1.5px solid var(--gray-200); border-top: none; }
  .step.active + .step { border-top: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tabs { flex-direction: column; }
  .invoice-item-row { grid-template-columns: 1fr 60px 80px 80px 36px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .module-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .invoice-item-row { grid-template-columns: 1fr; }
  .invoice-item-row.header { display: none; }
  .promo-toast { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
  .name-result-grid { grid-template-columns: 1fr; }
}

/* ── VibeOtter Promo Modal ── */
.vo-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.vo-promo-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.vo-promo-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 40px 36px 36px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  transform: scale(0.88) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.vo-promo-overlay.show .vo-promo-modal {
  transform: scale(1) translateY(0);
}
.vo-promo-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.vo-promo-close:hover { color: #374151; background: #f3f4f6; }
.vo-promo-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.vo-promo-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.vo-promo-modal h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin: 0 0 10px;
}
.vo-promo-modal p {
  font-size: 0.97rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 28px;
}
.vo-promo-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 20px rgba(16,185,129,0.4);
  letter-spacing: 0.01em;
}
.vo-promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,185,129,0.5);
}
.vo-promo-sub {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #9ca3af;
}
@media (max-width: 480px) {
  .vo-promo-modal { padding: 32px 24px 28px; }
  .vo-promo-modal h2 { font-size: 1.3rem; }
}
