:root {
  --bg: #f3f4f6;
  --bg-soft: #ffffff;
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.07);
  --accent-strong: rgba(129, 140, 248, 0.18);
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --danger: #ef4444;
  --success: #22c55e;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0e7ff 0, #f9fafb 40%, #f3f4f6 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(249,250,251,0.96), rgba(249,250,251,0.9), rgba(249,250,251,0));
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

/* =========================
   Brand / Header Logo Safety
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  max-height: 64px; /* hard ceiling for header row */
}

.brand-logo {
  display: flex;
  align-items: center;
  max-height: 48px;   /* visual ceiling */
  max-width: 160px;   /* prevents ultra-wide logos */
  overflow: hidden;
}

:root {
  --logo-height: 64px;  /* 👈 change this only */
  --logo-max-width: 200px;
}

.brand-logo img {
  max-height: var(--logo-height);
  max-width: var(--logo-max-width);
  width: auto;
  height: auto;
  object-fit: contain;
}


/* Optional text next to logo */
.brand-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

/* Tighten on smaller screens */
@media (max-width: 768px) {
  .brand-logo {
    max-width: 120px;
    max-height: 32px;
  }

  .brand-logo img {
    max-height: 32px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    display: none;
  }
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text-main); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  border-color: rgba(129, 140, 248, 0.7);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.55);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text-muted);
  border-color: #d1d5db;
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: #9ca3af;
  background: #f9fafb;
}

main { padding: 2.5rem 0 4rem; }

.hero { padding: 3rem 0 2.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(129, 140, 248, 0.4);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #020617;
}

.hero-accent {
  background: linear-gradient(135deg, #a855f7, #6366f1, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

.hero-right { position: relative; }

.preview-card {
  background: radial-gradient(circle at top left, rgba(191, 219, 254, 0.55) 0, #ffffff 50%, #e5e7eb 100%);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.preview-pill {
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(255,255,255,0.85);
}

.preview-resume {
  background: #f9fafb;
  border-radius: 16px;
  padding: 0.9rem 0.9rem 1rem;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.preview-blur-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(249,250,251,0) 0, rgba(249,250,251,0.5) 45%, rgba(249,250,251,0.9) 80%, rgba(249,250,251,1) 100%);
  backdrop-filter: blur(3px);
}

.preview-name {
  font-weight: 700;
  margin-bottom: 0.1rem;
  font-size: 0.96rem;
  color: #111827;
}

.preview-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.preview-section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.4rem;
  margin-bottom: 0.2rem;
}

.preview-line {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(148,163,184,0.3), rgba(148,163,184,0.8));
  margin-bottom: 0.2rem;
}

.preview-tag {
  position: absolute;
  bottom: 0.7rem;
  right: 0.9rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.preview-badge {
  position: absolute;
  top: -0.5rem;
  right: 1.3rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-strong);
  border: 1px solid rgba(129, 140, 248, 0.8);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #312e81;
}

.section {
  padding: 2.5rem 0;
}

.section-header {
  text-align: left;
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  color: #111827;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 40px rgba(148,163,184,0.18);
  font-size: 0.9rem;
}

.step-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #111827;
}

.step-extra {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.7rem;
  align-items: start;
}

.ba-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--card-border);
  font-size: 0.85rem;
  box-shadow: 0 14px 40px rgba(148,163,184,0.18);
}

.ba-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.ba-list {
  list-style: none;
  padding-left: 0;
}

.ba-list li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.4rem;
  color: #111827;
}

.ba-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148,163,184,0.9);
}

.ba-slider {
  max-width: 720px;
  margin: 0 auto;
}

.ba-slider-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* 1200x900ish; adjust as needed */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(148, 163, 184, 0.35);
  background: #e5e7eb;
}

.ba-slider-before,
.ba-slider-after {
  position: absolute;
  inset: 0;
}

.ba-slider-before img,
.ba-slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Only show a portion of the AFTER image; JS will update this width */
.ba-slider-after {
  width: 50%;
  overflow: hidden;
}

/* Handle line + knob */
.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-slider-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    -1px 0 0 rgba(0,0,0,0.1),
    1px 0 0 rgba(0,0,0,0.1);
}

.ba-slider-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transform: translate(-50%, -50%);
}

/* Range input */
.ba-slider-input {
  width: 100%;
  margin-top: 0.75rem;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

/* Track */
.ba-slider-input::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}
.ba-slider-input::-moz-range-track {
  height: 4px;
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

/* Thumb */
.ba-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.9);
  box-shadow: 0 4px 12px rgba(15,23,42,0.35);
  margin-top: -7px; /* center on track */
}
.ba-slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.9);
  box-shadow: 0 4px 12px rgba(15,23,42,0.35);
}

.ba-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}


.explain-card {
  background: linear-gradient(135deg, #ecfdf3, #ffffff);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid rgba(52,211,153,0.7);
  font-size: 0.88rem;
  max-width: 34rem;
  box-shadow: 0 18px 55px rgba(74, 222, 128, 0.25);
}

.explain-title {
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #166534;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.theme-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--card-border);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 32px rgba(148,163,184,0.18);
}

.theme-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.theme-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: #111827;
}

.theme-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: radial-gradient(circle at top, rgba(191, 219, 254, 0.55) 0, #ffffff 50%);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.price-card.secondary {
  background: #ffffff;
  border-color: var(--card-border);
  box-shadow: 0 16px 45px rgba(148,163,184,0.25);
}

.price-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.price-value {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: #111827;
}

.price-frequency {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.1rem;
  font-size: 0.86rem;
}

.price-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
  color: #111827;
}

.price-list li::before {
  content: "✓";
  font-size: 0.75rem;
  margin-top: 0.1rem;
  color: #16a34a;
}

.price-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
}

.pill {
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  color: var(--text-muted);
  background: #f9fafb;
}

.testimonials-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.86rem;
}

.testimonial {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.95rem 1rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 40px rgba(148,163,184,0.25);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.84rem;
  margin-top: 0.5rem;
  color: #111827;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.trust-tag {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.88rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.95rem 1rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 36px rgba(148,163,184,0.18);
}

.faq-q {
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #111827;
}

.faq-a {
  color: var(--text-muted);
}

.cta-final {
  text-align: center;
  padding: 2.8rem 0 2.4rem;
}

.cta-final h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
  color: #111827;
}

.cta-final p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1.4rem;
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.4rem 0 1.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f9fafb;
  margin-top: 1rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover { color: var(--text-main); }

/* RESPONSIVE QUERIES */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-right { order: -1; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .themes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .testimonials-row { grid-template-columns: minmax(0, 1fr); }
  .testimonials-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .nav-links { display: none; }
  .hero { padding-top: 2.3rem; }
  .section { padding: 2rem 0; }
  .themes-grid { grid-template-columns: minmax(0, 1fr); }
}

.preview-resume-image {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.before-after-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: nowrap;           /* keep them in a single row */
}

.ba-item {
  flex: 1 1 0;
  max-width: min(360px, 45vw); /* auto-resize on smaller screens */
  text-align: center;
}

.ba-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ba-label.before {
  color: #dc2626; /* red-ish */
}

.ba-label.after {
  color: #16a34a; /* green-ish */
}

.ba-image {
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
}

.ba-arrow {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #475569;
  align-self: center;
  flex: 0 0 auto;
  user-select: none;
}

/* Optional: if screen is REALLY tiny, allow horizontal scroll instead of stacking */
@media (max-width: 480px) {
  .before-after-row {
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
}

/* Field wrapper */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

/* Label style */
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Inputs, selects, textareas */
.field input,
.field select,
.field textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.6rem 0.9rem;
  font: inherit;
  outline: none;
  background:
    radial-gradient(circle at top left, rgba(191, 219, 254, 0.6), #ffffff 55%);
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.25);
  transition:
    border-color 0.12s ease-out,
    box-shadow 0.12s ease-out,
    transform 0.12s ease-out,
    background 0.12s ease-out;
}

/* Textarea needs different radius and min height */
.field textarea {
  border-radius: 18px;
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

/* Focus state to match accent */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #4f46e5;
  box-shadow:
    0 0 0 1px rgba(79, 70, 229, 0.4),
    0 14px 30px rgba(79, 70, 229, 0.35);
  background:
    radial-gradient(circle at top left, rgba(167, 139, 250, 0.35), #ffffff 55%);
  transform: translateY(-1px);
}

/* Hint text under fields */
.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Checkbox field */
.checkbox-field {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.checkbox-field label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: #111827;
}

/* Custom checkbox */
.checkbox-field input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #cbd5f5;
  background: #f9fafb;
  display: inline-block;
  position: relative;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(148, 163, 184, 0.6);
}

.checkbox-field input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  border-color: #4f46e5;
}

.checkbox-field input[type="checkbox"]:checked::after {
  content: "✓";
  color: #ffffff;
  font-size: 11px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}

/* Service choice pills */
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.choice-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(249, 250, 251, 0.95);
  cursor: pointer;
  font-size: 0.86rem;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.25);
  transition:
    border-color 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.12s ease-out,
    transform 0.12s ease-out;
}

.choice-pill input {
  margin-top: 0.15rem;
  accent-color: #4f46e5;
}

.choice-pill span strong {
  display: block;
  font-size: 0.9rem;
  color: #111827;
}

.choice-pill span small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hover / active feel */
.choice-pill:hover {
  border-color: #4f46e5;
  background: rgba(238, 242, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.35);
}

/* More compact input heights */
.field input,
.field select {
  height: 42px; /* shorter fields */
  padding: 0 0.85rem;
  border-radius: 14px; 
}

/* Shorter choice pills */
.choice-pill {
  padding: 0.55rem 0.75rem;
}

/* More compact textarea */
.field textarea {
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
}

/* Constrain the width of form fields (but NOT checkboxes) */
.order-main .field input:not([type="checkbox"]):not([type="radio"]),
.order-main .field select,
.order-main .field textarea {
  max-width: 420px;   /* adjust to taste */
  width: 100%;
}


.order-main .form-card {
  max-width: 500px;  /* prevents ultra-wide cards */
}

/* Keep the "no resume" checkbox the same width as other fields */
.order-main .checkbox-field {
  max-width: 420px;   /* matches your field width */
  width: 100%;
  align-items: flex-start; /* better alignment when text wraps */
}

/* Let the label text wrap nicely and not feel too wide */
.checkbox-field label {
  flex-wrap: wrap;
  line-height: 1.4;
}

/* ===========================
   Theme picker on order page
=========================== */

.form-block {
  margin-top: 1.8rem;
}

.form-block-title {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.3rem;
}

.form-block-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 0.8rem;
}

/* Grid of theme options */
.theme-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* On wider screens, show up to 4 across */
@media (min-width: 1024px) {
  .theme-picker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Clickable label wrapper */
.theme-option {
  cursor: pointer;
  display: block;
}

/* Hide the raw radio */
.theme-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Visual card */
.theme-visual {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 32px rgba(148,163,184,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.12s ease-out,
    box-shadow 0.12s ease-out,
    transform 0.12s ease-out,
    background 0.12s ease-out;
}

/* Thumbnail image */
.theme-thumb {
  width: 100%;
  display: block;
  border-bottom: 1px solid #e5e7eb;
}

/* Meta section inside card */
.theme-meta {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
}

/* Slightly reuse your existing theme styles */
.theme-meta .theme-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.theme-meta .theme-name {
  font-weight: 600;
  color: #111827;
}

.theme-meta .theme-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hover + selected states */
.theme-option:hover .theme-visual {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(148,163,184,0.28);
}

.theme-option input:checked + .theme-visual {
  border-color: #4f46e5;
  box-shadow: 0 18px 45px rgba(79,70,229,0.35);
  background: radial-gradient(circle at top, var(--accent-soft), #ffffff 55%);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-reassurance {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.8),
    rgba(249, 250, 251, 0.95)
  );
  max-width: 480px;
}

/* ============
   ORDER SUMMARY
   ============ */

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 360px;
}

/* Summary cards */
.summary-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: 0 14px 40px rgba(148,163,184,0.18);
  font-size: 0.9rem;
  color: var(--text-main);
}

.summary-card.subtle {
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border-color: rgba(209, 213, 219, 0.7);
  box-shadow: 0 10px 28px rgba(148,163,184,0.15);
}

/* Title */
.summary-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #111827;
}

.summary-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: #111827;
}

/* Summary lines (price rows) */
.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.summary-price {
  font-weight: 600;
  color: var(--accent);
}

/* Note block */
.summary-note {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Divider */
.summary-divider {
  margin: 1rem 0;
  border: none;
  height: 1px;
  background: rgba(209, 213, 219, 0.7);
}

/* List of features */
.summary-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.85rem;
}

.summary-list li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  color: #111827;
}

.summary-list li::before {
  content: "✓";
  font-size: 0.8rem;
  margin-top: 0.1rem;
  color: #16a34a;
}

/* Badge */
.summary-badge {
  margin-top: 1rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(129, 140, 248, 0.4);
  text-align: center;
  color: #312e81;
  font-weight: 600;
}

/* Steps card */
.summary-steps {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.summary-steps li {
  margin-bottom: 0.45rem;
}

.form-actions {
  margin-bottom: 2rem; /* adds space before order summary */
}
@media (max-width: 768px) {
  .brand img {
    height: 44px; /* slightly larger on mobile */
  }
}




