[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   RESUME REWRITER — BASE STYLES
   Color palette:
     Navy (trust / authority):  #0D1B2A
     Mid navy:                  #1B2D45
     Accent (electric blue):    #3B82F6
     Accent hover:              #2563EB
     Highlight (amber):         #F59E0B
     Surface:                   #F8FAFC
     Border:                    #E2E8F0
     Text primary:              #0F172A
     Text secondary:            #475569
     Text muted:                #94A3B8
     Success:                   #10B981
═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #F8FAFC;
  color: #0F172A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Layout Utilities ──────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid #3B82F6; outline-offset: 3px; }

/* Sizes */
.btn--sm  { padding: 0.45rem 1rem;  font-size: 0.875rem; }
.btn--md  { padding: 0.65rem 1.35rem; font-size: 0.9375rem; }
.btn--lg  { padding: 0.9rem  1.8rem;  font-size: 1.0625rem; }
.btn--full { width: 100%; }

/* Variants */
.btn--primary {
  background: #3B82F6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(59,130,246,0.35);
}
.btn--primary:hover {
  background: #2563EB;
  box-shadow: 0 4px 14px rgba(59,130,246,0.45);
}

.btn--accent {
  background: #0D1B2A;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.btn--accent:hover {
  background: #1B2D45;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.btn--secondary {
  background: #EFF6FF;
  color: #3B82F6;
  border: 1.5px solid #BFDBFE;
}
.btn--secondary:hover { background: #DBEAFE; }

.btn--ghost {
  background: transparent;
  color: #3B82F6;
  border: 1.5px solid #3B82F6;
}
.btn--ghost:hover { background: #EFF6FF; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-mark { color: #3B82F6; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__links .btn--ghost {
  color: #CBD5E1;
  border-color: #334155;
}
.nav__links .btn--ghost:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0D1B2A 0%, #1B2D45 55%, #0D2B45 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero__inner { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }

.badge {
  display: inline-block;
  background: rgba(59,130,246,0.18);
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__subheadline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #94A3B8;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__cta-group { margin-bottom: 1rem; }
.hero__cta-group .btn--lg { font-size: 1.05rem; }

.hero__cta-note {
  margin-top: 0.75rem;
  color: #64748B;
  font-size: 0.875rem;
}

/* Social proof bar */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.social-proof__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-proof__number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.social-proof__label {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 0.25rem;
}

.social-proof__divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.1);
}

/* ── How It Works ──────────────────────────────────────── */
.how-it-works {
  padding: 5rem 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: #64748B;
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.step__number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #3B82F6;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0F172A;
}

.step__desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
}

.step__arrow {
  align-self: center;
  font-size: 1.5rem;
  color: #CBD5E1;
  padding-top: 1rem;
}

/* ── Tool Section ──────────────────────────────────────── */
.tool-section {
  padding: 5rem 0;
  background: #F8FAFC;
}

.tool-form__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.form-label__hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: #94A3B8;
}

.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #0F172A;
  background: #fff;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.65;
}

.form-textarea:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-textarea::placeholder { color: #94A3B8; }

.form-counter {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #94A3B8;
  text-align: right;
}

.tool-form__disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-top: 0.75rem;
}

/* Output panel */
.output-panel {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.output-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94A3B8;
}

.output-empty__icon {
  font-size: 2rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.output-empty__hint {
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

/* Loading */
.output-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #64748B;
  font-size: 0.9375rem;
}

.loading-dots {
  display: flex;
  gap: 0.4rem;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3B82F6;
  animation: bounce 1.2s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0);     opacity: 0.5; }
  40%           { transform: translateY(-8px);  opacity: 1;   }
}

/* Results */
.output-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
}

.output-results__header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
}

.bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.bullets-list__item {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: #0F172A;
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
}

.bullets-list__item::before {
  content: '✓';
  position: absolute;
  left: 0.65rem;
  top: 0.8rem;
  color: #10B981;
  font-size: 0.875rem;
  font-weight: 700;
}

.output-meta {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #475569;
}

.output-meta__keywords { margin-bottom: 0.5rem; line-height: 1.6; }
.output-meta__notes    { color: #64748B; font-style: italic; }

/* Error */
.output-error {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.output-error__msg {
  color: #EF4444;
  font-size: 0.9375rem;
}

/* Spinner button state */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-arc {
  animation: spin 0.8s linear infinite;
  transform-origin: center;
}

/* ── Examples Section ──────────────────────────────────── */
.examples {
  padding: 5rem 0;
  background: #fff;
}

.example-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

.example-col { flex: 1; }

.example-col__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.label--before { background: #FEE2E2; color: #EF4444; }
.label--after  { background: #D1FAE5; color: #059669; }

.example-bullets { display: flex; flex-direction: column; gap: 0.6rem; }

.example-bullets--before li {
  color: #94A3B8;
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}
.example-bullets--before li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #CBD5E1;
}

.example-bullets--after li {
  font-size: 0.9375rem;
  color: #0F172A;
  line-height: 1.6;
  padding: 0.5rem 0.75rem;
  background: #F0FDF4;
  border-left: 3px solid #10B981;
  border-radius: 0 6px 6px 0;
}

.example-arrow {
  font-size: 1.5rem;
  color: #CBD5E1;
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ── Pricing ───────────────────────────────────────────── */
.pricing {
  padding: 5rem 0;
  background: #F8FAFC;
}

.pricing-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  width: 320px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.pricing-card--featured {
  border-color: #3B82F6;
  box-shadow: 0 0 0 1px #3B82F6, 0 8px 24px rgba(59,130,246,0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #3B82F6;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__header { margin-bottom: 1.5rem; }

.pricing-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: 0.9375rem;
  color: #64748B;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #F1F5F9;
}

.pricing-card__features li {
  font-size: 0.9375rem;
  color: #475569;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-card__note {
  text-align: center;
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-top: 0.75rem;
}

.pricing-guarantee {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: #64748B;
}

/* ── Payment Modal ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}
.modal__close:hover { color: #0F172A; }

.modal__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.modal__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.modal__subtitle {
  color: #64748B;
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.modal__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.modal__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-family: inherit;
  position: relative;
}

.modal__option:hover {
  border-color: #3B82F6;
  background: #EFF6FF;
}

.modal__option--featured {
  border-color: #3B82F6;
  background: #EFF6FF;
}

.modal__option-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3B82F6;
  margin-bottom: 0.25rem;
}

.modal__option-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.15rem;
}

.modal__option-price {
  font-size: 0.875rem;
  color: #64748B;
}

.modal__secure {
  font-size: 0.8125rem;
  color: #94A3B8;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: #0D1B2A;
  color: #64748B;
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer .nav__logo { font-size: 1rem; }

.footer__copy { font-size: 0.875rem; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .tool-form__columns  { grid-template-columns: 1fr; }
  .steps               { flex-direction: column; align-items: center; }
  .step__arrow         { transform: rotate(90deg); padding: 0; }
  .example-card        { flex-direction: column; }
  .example-arrow       { transform: rotate(90deg); padding: 0; align-self: center; }
  .social-proof        { gap: 1.25rem; }
  .social-proof__divider { display: none; }
  .pricing-cards       { flex-direction: column; align-items: center; }
  .nav__links .btn--ghost { display: none; }
  .footer__inner       { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero__headline { font-size: 1.75rem; }
  .tool-section, .how-it-works, .examples, .pricing { padding: 3rem 0; }
}

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

/* Utility: visually hide but keep accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
