:root {
  --primary: #0066ff;
  --primary-deep: #0052cc;
  --purple: #7c4dff;
  --orange: #ff6d00;
  --green: #00c853;
  --teal: #00bfa5;
  --yellow: #ffd600;
  --red: #d32f2f;
  --text-strong: #1a1a1a;
  --text: #2a2d33;
  --muted: #666;
  --bg: #f5f7fb;
  --surface: #fff;
  --border: #dfe6f2;
  --shadow: 0 10px 30px rgba(12, 29, 74, 0.09);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 74px;
  }
}

.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

.section {
  margin-top: 22px;
}

.hero-section {
  min-height: 100dvh;
  border-radius: 0 0 24px 24px;
  padding: 16px 18px 22px;
  background: linear-gradient(135deg, #0066ff 0%, #7c4dff 50%, #ff6d00 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(18, 35, 82, 0.22);
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title {
  margin: 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.78rem;
  opacity: 0.92;
}

.hero-logo-wrap {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  backdrop-filter: blur(5px);
}

.hero-logo-canvas {
  width: 48px;
  height: 48px;
  display: block;
}

.chip-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  min-height: 40px;
}

.hero-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.resume-mock {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
  padding: 12px;
  backdrop-filter: blur(4px);
  position: relative;
  min-height: 180px;
}

.resume-mock.after {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 25px rgba(255, 255, 255, 0.28);
}

.mock-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.95;
}

.mock-sheet {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 10px;
  color: #1f2937;
}

.sheet-line {
  height: 7px;
  border-radius: 999px;
  background: #dbe3ef;
  margin-bottom: 7px;
}

.sheet-line.green {
  background: #b9edcb;
}

.sheet-line.long {
  width: 100%;
}

.sheet-line.short {
  width: 64%;
}

.sheet-x,
.sheet-ok {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
}

.sheet-x {
  color: var(--red);
}

.sheet-ok {
  color: #15803d;
}

.mock-score {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 800;
}

.mock-score.bad {
  background: #fee2e2;
  color: #991b1b;
}

.mock-score.good {
  background: #dcfce7;
  color: #166534;
}

.offer-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--yellow);
  color: #111827;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

h1 {
  margin: 10px 0 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.75rem, 7.8vw, 3.5rem);
  line-height: 1.12;
}

.hero-subheadline {
  margin: 10px auto 0;
  max-width: 48ch;
  font-size: 0.93rem;
  line-height: 1.45;
  opacity: 0.95;
}

.hero-btn {
  margin-top: 13px;
  animation: pulse-glow 2s infinite;
}

.floating-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.floating-badges span {
  padding: 6px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.23);
  border: 1px solid rgba(255, 255, 255, 0.32);
  animation: float 3s ease-in-out infinite;
}

.floating-badges span:nth-child(2) {
  animation-delay: 0.6s;
}

.floating-badges span:nth-child(3) {
  animation-delay: 1.2s;
}

.trust-row {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.logo-strip span {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.trust-row p {
  margin: 8px 0 0;
  font-size: 0.82rem;
}

.rating {
  font-weight: 700;
}

.ticker-section {
  margin-top: 14px;
  background: #0f2f83;
  border-radius: var(--radius-md);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ticker-window {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 34px;
  padding: 10px 16px;
  animation: ticker-scroll 26s linear infinite;
}

.ticker-track span {
  font-size: 0.84rem;
  font-weight: 600;
}

.counter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 10px 14px;
}

.counter-row p {
  margin: 0;
  font-size: 0.82rem;
}

.upload-section,
.score-reveal-card,
.report-section,
.builder-head,
.builder-form,
.preview-section,
.pay-grid,
.success-card,
.issue-progress,
.benchmark-card,
.testimonial-rotator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.upload-section,
#scoreSection,
#reportSection,
#builderSection,
#previewSection,
#paySection,
#successSection {
  scroll-margin-top: 14px;
}

.upload-section {
  padding: 18px 14px;
}

.section-head {
  text-align: center;
}

.section-icon {
  margin: 0;
  font-size: 1.9rem;
}

h2 {
  margin: 8px 0 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  line-height: 1.2;
  color: var(--text-strong);
}

.upload-box {
  margin-top: 14px;
  min-height: 260px;
  border: 2px dashed transparent;
  border-radius: var(--radius-md);
  background:
    linear-gradient(#f9fafb, #f9fafb) padding-box,
    linear-gradient(120deg, #0066ff, #7c4dff) border-box;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  padding: 18px 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.upload-box:hover,
.upload-box.dragover,
.upload-box:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 83, 204, 0.16);
  outline: none;
}

.upload-rocket {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: #e8f1ff;
  color: #1d4ed8;
  animation: hover-lift 2.6s ease-in-out infinite;
}

.upload-title {
  margin: 14px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-strong);
}

.upload-hint {
  margin: 7px 0 0;
  color: #475569;
  font-size: 0.92rem;
}

.file-name {
  margin: 10px 0 0;
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 700;
  word-break: break-word;
}

.upload-checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 0.88rem;
}

.security-chip {
  margin: 12px auto 0;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: 0;
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.primary-btn {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.primary-btn:hover {
  background: var(--primary-deep);
  transform: scale(1.02);
}

.secondary-btn {
  color: var(--primary);
  background: #f0f7ff;
  border: 2px solid #b6d4ff;
}

.secondary-btn:hover {
  background: #e5f1ff;
  transform: translateY(-1px);
}

.ghost-btn {
  color: #374151;
  background: #fff;
  border: 1px solid #d4deed;
}

.ghost-btn:hover {
  transform: translateY(-1px);
}

.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active {
  transform: scale(0.97);
}

.primary-btn:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.wide-btn {
  margin-top: 12px;
}

#scoreSection,
#reportSection,
#builderSection,
#previewSection,
#paySection,
#successSection {
  padding-top: 6px;
}

.score-reveal-card {
  padding: 18px 14px;
  text-align: center;
}

.countdown-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1e40af;
  min-height: 1.2em;
}

.gauge-wrap {
  margin: 12px auto 0;
  width: min(260px, 90vw);
  height: min(260px, 90vw);
  position: relative;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 16;
}

.gauge-arc {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 553;
  stroke-dashoffset: 553;
  transition: stroke 0.3s ease;
}

.gauge-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

#scoreGaugeValue {
  margin: 0;
  font-size: clamp(2.7rem, 16vw, 4.4rem);
  line-height: 0.9;
  font-weight: 900;
  color: #111827;
}

#scoreLabel {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.score-headline {
  margin: 10px 0 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.score-sub {
  margin: 8px auto 0;
  max-width: 50ch;
  color: #4b5563;
  font-size: 0.92rem;
}

.comparison-widget {
  margin-top: 12px;
  border-radius: var(--radius-md);
  border: 1px solid #dbe4f2;
  background: #f8fbff;
  padding: 12px;
  text-align: left;
}

.comparison-widget p {
  margin: 0;
  font-weight: 700;
  font-size: 0.86rem;
}

.curve-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: #475569;
  font-weight: 700;
}

.curve-bars {
  margin-top: 8px;
  height: 12px;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.curve-bars .bar {
  position: absolute;
  top: 0;
  height: 100%;
}

.curve-bars .avg {
  left: 0;
  width: 55%;
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.curve-bars .yours {
  left: 0;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  z-index: 2;
  opacity: 0.88;
  transition: width 1s ease;
}

.curve-bars .top {
  left: 0;
  width: 92%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  z-index: 1;
  opacity: 0.28;
}

.report-head,
.builder-head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  box-shadow: var(--shadow);
}

.tabs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.tab-btn {
  border: 1px solid #d2deef;
  background: #fff;
  border-radius: 10px;
  min-height: 44px;
  padding: 9px 10px;
  text-align: left;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  border-color: #a8c3ff;
  background: #edf3ff;
  color: #1e3a8a;
}

.issue-progress {
  margin-top: 12px;
  padding: 12px;
}

.issue-progress p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.progress-track {
  margin-top: 8px;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width 0.8s ease;
}

.issue-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.issue-card {
  border-radius: var(--radius-md);
  border: 1px solid #dce4f3;
  border-left-width: 4px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.issue-card.critical {
  border-left-color: var(--red);
}

.issue-card.improvement {
  border-left-color: var(--orange);
}

.issue-card.good {
  border-left-color: var(--green);
}

.issue-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.issue-impact {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.before-after {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
}

.before-after .bad {
  color: #991b1b;
}

.before-after .good {
  color: #166534;
}

.issue-tip {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #334155;
}

.quick-fix-btn {
  margin-top: 10px;
  border: 1px solid #bcd1ff;
  background: #ecf4ff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.benchmark-card {
  margin-top: 12px;
  padding: 12px;
}

.benchmark-card h3 {
  margin: 0;
  font-size: 1rem;
}

.benchmark-row {
  margin-top: 9px;
  display: grid;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
}

.bench-track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.bench-fill {
  height: 100%;
  border-radius: inherit;
}

.bench-fill.you {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.bench-fill.avg {
  background: #94a3b8;
}

.bench-fill.top {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.builder-head {
  position: sticky;
  top: 8px;
  z-index: 5;
}

.builder-head h2 {
  margin-top: 0;
}

#builderStepText {
  margin: 8px 0 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.stepper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #bfd0ec;
  background: #fff;
}

.step-dot.active,
.step-dot.done {
  border-color: var(--primary);
  background: var(--primary);
}

.builder-quote {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #475569;
}

.builder-form {
  margin-top: 10px;
  padding: 14px;
}

.builder-panel {
  display: grid;
  gap: 10px;
}

.builder-panel h3 {
  margin: 0;
  font-size: 1.08rem;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: #334155;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: #111827;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.panel-note {
  margin: 0;
  font-size: 0.8rem;
  color: #475569;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-row p {
  margin: 0;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 700;
}

.example-box {
  border: 1px solid #dbe4f2;
  background: #f8fbff;
  border-radius: 10px;
  padding: 10px;
}

.example-box p {
  margin: 0 0 6px;
  font-size: 0.82rem;
}

.example-box p:last-child {
  margin-bottom: 0;
}

.skill-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.skill-chips,
.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip,
.suggestion-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.skill-chip {
  background: #e8f1ff;
  color: #1e40af;
  border: 1px solid #bfd3fb;
}

.skill-chip button {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
  cursor: pointer;
}

.suggestion-chip {
  background: #f8fafc;
  border: 1px solid #d8e2f1;
  color: #334155;
  cursor: pointer;
}

.micro-score-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.8rem;
  color: #475569;
  display: grid;
  gap: 4px;
}

.form-error {
  margin: 10px 0 0;
  min-height: 1.1em;
  color: #b91c1c;
  font-size: 0.82rem;
}

.builder-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

#previewSection {
  padding: 14px;
}

#previewSection h2 {
  margin-top: 0;
}

.transform-score {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.transform-score strong {
  color: #0f172a;
}

.congrats {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #166534;
  font-weight: 700;
}

.impact-cards {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.impact-cards article {
  border: 1px solid #dce4f2;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.impact-cards p {
  margin: 0;
  font-size: 0.84rem;
}

.compare-wrap {
  margin-top: 12px;
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8e2f4;
  background: #f8fbff;
}

.compare-pane {
  position: absolute;
  inset: 0;
}

.compare-pane.before {
  background: #fff;
}

.compare-pane.after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.2s ease;
  border-left: 1px solid rgba(30, 64, 175, 0.24);
}

.resume-preview-box {
  height: 100%;
  overflow: auto;
  padding: 12px;
}

.compare-slider {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  width: calc(100% - 20px);
}

.resume-template {
  border: 1px solid #dce5f3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.resume-template.preview-theme-muted {
  opacity: 0.8;
  filter: grayscale(0.22);
}

.resume-template.preview-theme-strong {
  box-shadow: 0 8px 22px rgba(30, 64, 175, 0.14);
}

.resume-template .template-header {
  background: linear-gradient(135deg, #0b57d0, #2556d8);
  color: #fff;
  padding: 12px 11px;
}

.resume-template .template-header h3 {
  margin: 0;
  font-size: 0.96rem;
}

.resume-template .template-header p {
  margin: 4px 0 0;
  font-size: 0.74rem;
}

.resume-template .template-block {
  padding: 10px 11px;
  border-top: 1px solid #eef2f8;
}

.resume-template .template-title {
  margin: 0 0 5px;
  color: #1e3a8a;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.resume-template .template-block p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #1f2937;
}

.resume-template .template-block ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 4px;
}

.resume-template .template-block li {
  font-size: 0.76rem;
  color: #1f2937;
  line-height: 1.35;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: #334155;
}

.center {
  text-align: center;
}

#paySection h2 {
  margin-top: 0;
}

.pay-grid {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pay-card {
  border: 1px solid #d8e2f4;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.pay-card.green {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.pay-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 900;
}

.price {
  margin: 10px 0 0;
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
}

.price span {
  margin-left: 8px;
  font-size: 1rem;
  text-decoration: line-through;
  color: #94a3b8;
}

.offer {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: #334155;
  font-weight: 700;
}

.pay-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  font-size: 0.84rem;
}

.pay-meta {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: #475569;
}

.or-divider {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  border: 1px solid #c6d9ff;
}

.razorpay-box {
  margin-top: 10px;
  border: 1px solid #d7e2f6;
  border-radius: 10px;
  padding: 8px;
  overflow: hidden;
}

.razorpay-box form,
.razorpay-box iframe,
.razorpay-box .razorpay-payment-button {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
}

.testimonial-rotator {
  margin-top: 12px;
  padding: 12px;
  text-align: center;
}

.testimonial-rotator p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3a8a;
}

.value-frame {
  margin: 10px auto 0;
  text-align: center;
  color: #475569;
  font-size: 0.82rem;
  max-width: 70ch;
}

.success-card {
  padding: 18px 14px;
  text-align: center;
}

.success-card h2 {
  margin-top: 0;
}

.download-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.checklist {
  margin-top: 12px;
  border: 1px solid #dce5f3;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
}

.checklist h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  margin-top: 6px;
}

.checklist input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.referral-box {
  margin-top: 12px;
  border: 1px solid #dce5f3;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
}

.referral-box h3 {
  margin: 0;
  font-size: 1rem;
}

.ref-link {
  margin: 8px 0 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px dashed #b8cae8;
  background: #f8fbff;
  font-size: 0.82rem;
  word-break: break-all;
}

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.8), rgba(38, 82, 187, 0.8));
  backdrop-filter: blur(5px);
}

.analysis-card {
  width: min(95%, 520px);
  background: #fff;
  border-radius: 20px;
  border: 1px solid #dce5f6;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
  padding: 18px 14px;
  text-align: center;
}

.analysis-badge {
  margin: 0;
  display: inline-block;
  background: #e8f1ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.78rem;
}

.analysis-circle {
  margin: 14px auto 0;
  width: 190px;
  height: 190px;
  position: relative;
}

.analysis-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.analysis-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 12;
}

.analysis-progress {
  fill: none;
  stroke: url(#analysisGradient);
  stroke: #2563eb;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 452;
  stroke-dashoffset: 452;
  transition: stroke-dashoffset 0.35s ease;
}

.analysis-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

#analysisPercent {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
}

#analysisStage {
  margin: 10px 0 0;
  color: #1e3a8a;
  font-size: 0.96rem;
  font-weight: 700;
}

#analysisSub {
  margin: 8px 0 0;
  color: #475569;
  font-size: 0.86rem;
}

.analysis-quote {
  margin: 8px 0 0;
  color: #1d4ed8;
  min-height: 2.6em;
  font-size: 0.85rem;
  transition: opacity 0.2s ease;
}

.analysis-steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.analysis-steps li {
  border-radius: 999px;
  border: 1px solid #d8e2f3;
  background: #f8fbff;
  color: #64748b;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.analysis-steps li.active {
  color: #1d4ed8;
  border-color: #aac3ff;
  background: #edf3ff;
}

.analysis-steps li.done {
  color: #166534;
  border-color: #86efac;
  background: #ecfdf3;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.56);
  display: grid;
  place-items: center;
  padding: 12px;
}

.modal-card {
  width: min(96%, 520px);
  background: #fff;
  border: 1px solid #dce5f6;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.modal-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: #1e3a8a;
}

.share-links {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.share-btn {
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  font-weight: 800;
}

.share-btn.linkedin {
  background: #0a66c2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.instagram {
  background: linear-gradient(90deg, #f97316, #ec4899);
}

#shareCaption {
  margin-top: 10px;
  width: 100%;
  min-height: 78px;
  border-radius: 10px;
  border: 1px solid #d4deed;
  padding: 10px;
  font: inherit;
  font-size: 0.84rem;
  color: #1f2937;
  resize: none;
  background: #f8fafc;
}

.share-confirm {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #334155;
}

.share-confirm input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: calc(100vw - 24px);
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.88rem;
  text-align: center;
}

.mobile-sticky-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 25;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: #0066ff;
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 102, 255, 0.35);
}

.hidden {
  display: none !important;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-55%);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.28);
  }
  50% {
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.45);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes hover-lift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (min-width: 768px) {
  .page-shell {
    padding: 0 24px 70px;
  }

  .hero-section {
    padding: 22px 26px 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1.25fr 1fr;
    align-items: stretch;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .counter-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .builder-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .builder-actions .primary-btn.hidden {
    display: none !important;
  }

  .skill-input-row {
    grid-template-columns: 1fr 170px;
  }

  .impact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .pay-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
  }

  .or-divider {
    align-self: center;
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .section {
    margin-top: 28px;
  }

  .upload-section,
  .score-reveal-card,
  .report-head,
  .builder-head,
  .builder-form,
  #previewSection,
  .pay-grid,
  .success-card,
  .issue-progress,
  .benchmark-card,
  .testimonial-rotator {
    padding: 22px;
  }

  .hero-subheadline {
    font-size: 1.02rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    border-radius: 0 0 18px 18px;
    padding: 12px 12px 16px;
  }

  .section {
    margin-top: 14px;
  }

  .upload-section,
  .score-reveal-card,
  .report-head,
  .builder-head,
  .builder-form,
  #previewSection,
  .pay-grid,
  .success-card,
  .issue-progress,
  .benchmark-card,
  .testimonial-rotator {
    padding: 12px;
  }

  .upload-box {
    min-height: 220px;
  }

  .analysis-card {
    padding: 14px 12px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 0 8px 28px;
  }

  .hero-section {
    padding: 10px 10px 14px;
  }

  .hero-logo-wrap {
    width: 54px;
    height: 54px;
  }

  .hero-logo-canvas {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 0.94rem;
  }

  h1 {
    font-size: clamp(1.45rem, 8.2vw, 1.95rem);
  }

  .hero-subheadline {
    font-size: 0.86rem;
  }

  .upload-title {
    font-size: 1.05rem;
  }

  .upload-checks,
  .feature-list,
  .issue-tip,
  .curve-row {
    font-size: 0.78rem;
  }

  .analysis-circle {
    width: 170px;
    height: 170px;
  }

  #analysisPercent {
    font-size: 1.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .particle-canvas,
  .hero-logo-canvas {
    display: none;
  }
}
