/* ========== RESET / BASE ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #1e1238 0, #050711 50%, #020308 100%);
  color: #f7f7ff;
  -webkit-font-smoothing: antialiased;
}

/* ========== LAYOUT WRAPPER ========== */

.page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 20px 12px;
}

.content-wrap {
  width: 100%;
  max-width: 980px;
  margin: auto;
  background: rgba(6, 8, 16, 0.9);
  border-radius: 28px;
  padding: 24px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.75);
}

/* Larger screens */
@media (min-width: 768px) {
  .content-wrap {
    padding: 32px 32px 28px;
    border-radius: 32px;
  }
}

/* ========== HEADER / LOGO ========== */

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo span {
  color: #ff4f9a;
}

.header-tagline {
  font-size: 11px;
  opacity: 0.72;
  text-align: right;
}

/* ========== HERO SECTION ========== */

.hero {
  margin-bottom: 18px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.hero-title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.hero-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.9;
  max-width: 640px;
}

/* Larger screens */
@media (min-width: 768px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 14px;
  }
}

/* ========== HOW IT WORKS STRIP (HOMEPAGE) ========== */

.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 16px 0 26px;
}

.how-pill {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 9px;
}

.how-step {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 11px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
}

/* ========== TYPE PICKER (HOMEPAGE) ========== */

.type-section {
  margin-top: 6px;
}

.type-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.type-section-subtitle {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 14px;
}

.type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* 2 columns on tablet+ */
@media (min-width: 720px) {
  .type-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  padding: 14px 14px 12px;
  text-decoration: none;
  color: inherit;
  background: radial-gradient(circle at top left, rgba(255, 79, 154, 0.15) 0, rgba(12, 15, 28, 0.96) 45%, rgba(5, 7, 14, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease,
    background 0.12s ease;
}

.type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.35);
  background: radial-gradient(circle at top left, rgba(255, 79, 154, 0.25) 0, rgba(12, 15, 28, 0.98) 45%, rgba(5, 7, 14, 1) 100%);
}

.type-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.type-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff4f9a;
}

.type-blurb {
  margin: 3px 0 0;
  font-size: 12px;
  opacity: 0.84;
}

.type-cta {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  color: #ffb3d7;
}

/* ========== FOOTER NOTE ========== */

.footer-note {
  margin-top: 20px;
  font-size: 11px;
  opacity: 0.65;
  line-height: 1.6;
}

/* ========== MODEL PAGES (CATEGORY PAGES) ========== */

.model-section {
  margin-top: 12px;
}

.model-section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.model-section-subtitle {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 14px;
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .model-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.model-card {
  border-radius: 18px;
  padding: 14px 14px 12px;
  background: rgba(10, 13, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.model-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
}

.model-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff4f9a;
}

.model-bio {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.9;
  white-space: pre-line;
}

/* Model CTA button */

.model-cta {
  display: inline-flex;
  margin-top: 4px;
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #050711;
  background: linear-gradient(135deg, #ff4f9a, #ffb347);
  box-shadow: 0 8px 20px rgba(255, 79, 154, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.model-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(255, 79, 154, 0.75);
  filter: brightness(1.05);
}

/* ========== BACK LINK ========== */

.back-link-wrap {
  margin-top: 18px;
}

.back-link {
  font-size: 12px;
  color: #ffb3d7;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVE TWEAKS ========== */

@media (max-width: 480px) {
  .content-wrap {
    padding: 18px 14px 18px;
    border-radius: 22px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-tagline {
    text-align: left;
  }

  .hero-title {
    font-size: 22px;
  }
}
