/* manyheadshots.com styles, layered on Bootstrap 5.2. */

:root {
  --mh-ink: #0f172a;
  --mh-body: #334155;
  --mh-muted: #64748b;
  --mh-line: #e2e8f0;
  --mh-soft: #f8fafc;
  --mh-tint: #eef2ff;
  --mh-accent: #3b5bdb;
  --mh-accent-dark: #2f4ac0;
  --mh-success: #0f9d58;
  --mh-radius: 14px;
  --mh-shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: var(--mh-body);
  --bs-link-color: var(--mh-accent);
  --bs-link-hover-color: var(--mh-accent-dark);
  --bs-border-color: var(--mh-line);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
.display-5 {
  color: var(--mh-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-muted {
  color: var(--mh-muted) !important;
}

/* Buttons */
.btn {
  border-radius: 10px;
  font-weight: 600;
}

.btn-lg {
  border-radius: 12px;
  padding: 0.8rem 1.6rem;
  font-size: 1.05rem;
}

.btn-primary {
  --bs-btn-bg: var(--mh-accent);
  --bs-btn-border-color: var(--mh-accent);
  --bs-btn-hover-bg: var(--mh-accent-dark);
  --bs-btn-hover-border-color: var(--mh-accent-dark);
  --bs-btn-active-bg: var(--mh-accent-dark);
  --bs-btn-active-border-color: var(--mh-accent-dark);
  --bs-btn-disabled-bg: var(--mh-accent);
  --bs-btn-disabled-border-color: var(--mh-accent);
  box-shadow: 0 6px 16px rgb(59 91 219 / 25%);
}

.btn-outline-dark {
  --bs-btn-color: var(--mh-ink);
  --bs-btn-border-color: var(--mh-line);
  --bs-btn-hover-bg: var(--mh-soft);
  --bs-btn-hover-color: var(--mh-ink);
  --bs-btn-hover-border-color: #cbd5e1;
  --bs-btn-active-bg: var(--mh-line);
  --bs-btn-active-color: var(--mh-ink);
  background: #fff;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--mh-accent);
  box-shadow: 0 0 0 0.2rem rgb(59 91 219 / 18%);
}

.form-check-input:checked {
  background-color: var(--mh-accent);
  border-color: var(--mh-accent);
}

/* Navbar */
.mh-navbar {
  background: #fff;
  box-shadow: 0 1px 8px rgb(15 23 42 / 6%);
  border-bottom: 1px solid var(--mh-line);
}

.mh-navbar .nav-link {
  color: var(--mh-body);
  font-weight: 500;
}

.mh-navbar .nav-link:hover,
.mh-navbar .nav-link.active {
  color: var(--mh-ink);
}

.mh-brand {
  align-items: center;
  color: var(--mh-ink);
  display: inline-flex;
  font-weight: 800;
  gap: 0.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mh-brand:hover {
  color: var(--mh-ink);
}

.mh-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--mh-accent), #7c3aed);
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.mh-brand-tld {
  color: var(--mh-muted);
  font-weight: 600;
}

.dropdown-menu {
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  box-shadow: var(--mh-shadow);
  padding: 0.4rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

/* Alerts */
.alert {
  border-radius: 12px;
}

.alert-error {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

/* Sections and cards */
.mh-section {
  padding: 5rem 0;
}

.mh-section-soft {
  background: var(--mh-soft);
  border-bottom: 1px solid var(--mh-line);
  border-top: 1px solid var(--mh-line);
}

.mh-eyebrow {
  color: var(--mh-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mh-card {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow);
}

.mh-icon {
  align-items: center;
  background: var(--mh-tint);
  border-radius: 12px;
  color: var(--mh-accent);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

/* Hero */
.mh-hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(124 58 237 / 10%), transparent 60%),
    radial-gradient(50rem 30rem at -10% 10%, rgb(59 91 219 / 10%), transparent 60%);
  padding: 5rem 0 4rem;
}

.mh-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
}

.mh-hero .lead {
  color: var(--mh-body);
  font-size: 1.2rem;
}

.mh-checks {
  list-style: none;
  padding: 0;
}

.mh-checks li {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.mh-checks svg {
  color: var(--mh-success);
  flex-shrink: 0;
}

/* Style previews: CSS backdrops with a neutral silhouette, never fake people. */
.mh-styles {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mh-hero .mh-styles {
  transform: rotate(-2deg);
}

.mh-style {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgb(15 23 42 / 12%);
  overflow: hidden;
  position: relative;
}

.mh-style::after {
  background:
    radial-gradient(circle at 50% 38%, rgb(255 255 255 / 85%) 0 15%, transparent 15.5%),
    radial-gradient(ellipse 42% 30% at 50% 92%, rgb(255 255 255 / 85%) 0 98%, transparent 100%);
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  position: absolute;
}

.mh-style-label {
  background: linear-gradient(transparent, rgb(15 23 42 / 70%));
  bottom: 0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  left: 0;
  padding: 1.2rem 0.5rem 0.45rem;
  position: absolute;
  right: 0;
  z-index: 1;
}

.mh-style-studio-gray { background: radial-gradient(circle at 50% 30%, #9ca3af, #4b5563); }
.mh-style-white-linkedin { background: linear-gradient(#f8fafc, #e2e8f0); }
.mh-style-modern-office { background: linear-gradient(135deg, #cbd5e1, #94a3b8 45%, #e2e8f0); }
.mh-style-executive-dark { background: radial-gradient(circle at 50% 30%, #334155, #020617); }
.mh-style-city-golden-hour { background: linear-gradient(160deg, #fcd34d, #f97316 55%, #7c2d12); }
.mh-style-conference-room { background: linear-gradient(135deg, #e2e8f0, #a5b4c8 60%, #64748b); }
.mh-style-library-warm { background: linear-gradient(150deg, #a16207, #78350f 60%, #451a03); }
.mh-style-outdoor-greenery { background: radial-gradient(circle at 30% 20%, #bbf7d0, #22c55e 50%, #14532d); }
.mh-style-creative-studio { background: linear-gradient(135deg, #f0abfc, #a78bfa 50%, #60a5fa); }
.mh-style-blue-gradient { background: linear-gradient(160deg, #93c5fd, #2563eb 60%, #1e3a8a); }

/* Real example headshots; the gradient behind shows while they load. */
.mh-style-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mh-style-photo::after {
  display: none;
}

.mh-styles-caption {
  margin-top: 1.25rem;
}

.mh-style-white-linkedin .mh-style-label,
.mh-style-modern-office .mh-style-label,
.mh-style-conference-room .mh-style-label {
  background: linear-gradient(transparent, rgb(15 23 42 / 55%));
}

/* Steps */
.mh-step-number {
  align-items: center;
  background: var(--mh-ink);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  width: 32px;
}

/* Pricing */
.mh-price {
  color: var(--mh-ink);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mh-pricing {
  border: 2px solid var(--mh-accent);
}

/* FAQ */
.mh-faq .accordion-item {
  border: 1px solid var(--mh-line);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.mh-faq .accordion-button {
  color: var(--mh-ink);
  font-weight: 600;
}

.mh-faq .accordion-button:not(.collapsed) {
  background: var(--mh-tint);
  box-shadow: none;
  color: var(--mh-ink);
}

.mh-faq .accordion-button:focus {
  box-shadow: none;
}

/* Page header for app pages */
.mh-page {
  padding: 2.5rem 0 4rem;
}

/* Upload */
.mh-dropzone {
  background: var(--mh-soft);
  border: 2px dashed #cbd5e1;
  border-radius: var(--mh-radius);
  cursor: pointer;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.mh-dropzone:hover,
.mh-dropzone.is-dragover {
  background: var(--mh-tint);
  border-color: var(--mh-accent);
}

.mh-dropzone.is-invalid {
  border-color: #dc3545;
}

.mh-previews {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
}

.mh-previews img {
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

.mh-tip {
  align-items: flex-start;
  display: flex;
  gap: 0.6rem;
}

.mh-tip svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.mh-summary {
  position: sticky;
  top: 88px;
}

/* Orders */
.mh-order-row {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: background 0.15s;
}

.mh-order-row:hover {
  background: var(--mh-soft);
  color: inherit;
}

.mh-order-row + .mh-order-row {
  border-top: 1px solid var(--mh-line);
}

.mh-order-thumb {
  align-items: center;
  background: var(--mh-tint);
  border-radius: 10px;
  color: var(--mh-accent);
  display: inline-flex;
  flex-shrink: 0;
  height: 60px;
  justify-content: center;
  object-fit: cover;
  width: 48px;
}

.mh-status {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

.mh-status-completed { background: #dcfce7; color: #166534; }
.mh-status-paid,
.mh-status-generating { background: var(--mh-tint); color: var(--mh-accent-dark); }
.mh-status-awaiting_payment { background: #fef3c7; color: #92400e; }
.mh-status-failed { background: #fee2e2; color: #991b1b; }
.mh-status-refunded,
.mh-status-expired { background: #f1f5f9; color: #475569; }

.progress {
  background: var(--mh-line);
  border-radius: 999px;
  height: 10px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--mh-accent), #7c3aed);
  border-radius: 999px;
}

.mh-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.mh-gallery-item img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  transition: transform 0.3s;
  width: 100%;
}

.mh-gallery-item:hover img {
  transform: scale(1.03);
}

.mh-gallery-bar {
  align-items: center;
  background: linear-gradient(transparent, rgb(15 23 42 / 75%));
  bottom: 0;
  color: #fff;
  display: flex;
  font-size: 0.85rem;
  font-weight: 600;
  justify-content: space-between;
  left: 0;
  padding: 2rem 0.75rem 0.65rem;
  position: absolute;
  right: 0;
}

.mh-gallery-bar .btn {
  --bs-btn-padding-y: 0.2rem;
  --bs-btn-padding-x: 0.55rem;
  --bs-btn-font-size: 0.78rem;
}

/* Sign-in and other account pages */
.mh-auth {
  background:
    radial-gradient(50rem 25rem at 100% 0%, rgb(124 58 237 / 8%), transparent 60%),
    radial-gradient(50rem 25rem at 0% 100%, rgb(59 91 219 / 8%), transparent 60%),
    var(--mh-soft);
}

.mh-auth-card {
  max-width: 440px;
  padding: 2.25rem;
  width: 100%;
}

.mh-auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.mh-auth-card form p,
.mh-auth-card .mb-3 {
  margin-bottom: 1rem;
}

.mh-auth-card .btn[type="submit"],
.mh-auth-card form button.btn {
  width: 100%;
}

.mh-account .card {
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow);
}

.mh-account .card-title {
  font-size: 1.25rem;
}

/* Footer */
.mh-footer {
  background: #fff;
  border-top: 1px solid var(--mh-line);
  color: var(--mh-muted);
  font-size: 0.9rem;
  padding: 2.5rem 0;
}

.mh-footer a {
  color: var(--mh-muted);
  text-decoration: none;
}

.mh-footer a:hover,
.mh-footer .mh-brand {
  color: var(--mh-ink);
}

.mh-footer li + li {
  margin-top: 0.45rem;
}

.mh-footer-heading {
  color: var(--mh-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.mh-footer-blurb {
  max-width: 360px;
}

@media (max-width: 767.98px) {
  .mh-section {
    padding: 3.5rem 0;
  }

  .mh-hero {
    padding: 3rem 0;
  }

  .mh-styles {
    gap: 0.4rem;
  }

  .mh-hero .mh-styles {
    transform: none;
  }

  .mh-style-label {
    font-size: 0.55rem;
    padding: 0.8rem 0.3rem 0.3rem;
  }

  .mh-summary {
    position: static;
  }
}

.mh-style-chip {
  flex-shrink: 0;
  width: 36px;
}

.mh-style-chip::after {
  display: none;
}

.mh-checks-narrow {
  max-width: 300px;
}
