:root {
  color-scheme: light;
  --ink: #171425;
  --muted: #6f6a7c;
  --line: #eadff2;
  --paper: #fff7fb;
  --surface: #ffffff;
  --green: #14b86e;
  --green-dark: #07965a;
  --mint: #d9fff0;
  --coral: #ff5c7a;
  --amber: #ffc449;
  --blue: #4d7cff;
  --violet: #8b5cf6;
  --pink: #ff4fa3;
  --shadow: 0 24px 60px rgba(61, 25, 89, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 92, 122, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 16%, rgba(77, 124, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 72% 62%, rgba(20, 184, 110, 0.14), transparent 26rem),
    linear-gradient(180deg, #fff7fb 0%, #f2f7ff 46%, #fffaf2 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(234, 223, 242, 0.82);
  background: rgba(255, 247, 251, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.whatsapp-pill,
.primary-action,
.secondary-action,
.social-grid a {
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.7rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.settings-button,
.whatsapp-pill,
.primary-action {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #22d3ee);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0.75rem 1.05rem;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.settings-button:hover,
.whatsapp-pill:hover,
.primary-action:hover {
  filter: saturate(1.1) brightness(0.96);
  transform: translateY(-1px);
}

.settings-button {
  min-width: max-content;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  min-height: calc(100vh - 4.6rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) 0 2.2rem;
}

.intro h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.3rem);
  line-height: 0.93;
}

.intro p:not(.eyebrow) {
  max-width: 47rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.secondary-action {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 900;
  padding: 0.72rem 1rem;
}

.phone-preview {
  width: min(100%, 23rem);
  justify-self: end;
  border: 0.75rem solid #171425;
  border-radius: 2.4rem;
  background: #171425;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.dating-phone {
  transform: rotate(2deg);
}

.phone-speaker {
  width: 5rem;
  height: 0.35rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: #3a3449;
}

.match-screen {
  min-height: 32rem;
  overflow: hidden;
  border-radius: 1.45rem;
  background: #fff;
  padding: 0.8rem;
}

.match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.35rem 0.8rem;
  font-weight: 900;
}

.match-top strong {
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  padding: 0.35rem 0.55rem;
}

.hero-match-card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(23, 20, 37, 0.24);
}

.hero-match-card img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.hero-match-card::after,
.job-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 25%, rgba(23, 20, 37, 0.9) 82%);
}

.hero-match-info {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
}

.hero-match-info span {
  display: inline-flex;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0.35rem 0.55rem;
}

.hero-match-info h2,
.hero-match-info p {
  margin: 0;
}

.hero-match-info p {
  color: rgba(255, 255, 255, 0.84);
}

.match-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding: 0.9rem 0.2rem 0.1rem;
}

.match-actions button,
.icon-button {
  display: grid;
  min-width: 2.8rem;
  min-height: 2.8rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 20, 37, 0.14);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
}

.match-actions button:nth-child(1) {
  color: var(--coral);
}

.match-actions button:nth-child(2) {
  color: var(--amber);
}

.match-actions button:nth-child(3) {
  color: var(--green);
}

.people-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 2rem;
}

.people-strip article {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(61, 25, 89, 0.12);
}

.people-strip img {
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  transition: transform 240ms ease;
}

.people-strip article:hover img {
  transform: scale(1.05);
}

.people-strip span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 900;
  padding: 0.55rem 0.7rem;
  text-align: center;
}

.role-switcher,
.panel-grid,
.social-panel {
  margin: 2rem 0;
}

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

.role-card {
  display: grid;
  gap: 0.45rem;
  min-height: 10.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  padding: 1rem;
  text-align: left;
}

.role-card.active {
  border-color: rgba(255, 79, 163, 0.4);
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.13), rgba(77, 124, 255, 0.12));
}

.role-icon {
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #fff;
  font-weight: 900;
}

.role-card small,
.counter,
.feature-list span,
.social-grid p,
.checklist,
.reward-box span {
  color: var(--muted);
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  align-items: start;
  scroll-margin-top: 5rem;
}

.panel-grid.reverse {
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.45fr);
}

.tool-panel,
.social-panel {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(61, 25, 89, 0.08);
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.compact-panel {
  position: sticky;
  top: 5.4rem;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.08;
}

.counter {
  min-width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0.45rem 0.65rem;
}

.filters,
.business-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--ink);
  padding: 0.82rem 0.85rem;
}

textarea {
  resize: vertical;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.job-card {
  position: relative;
  display: grid;
  min-height: 25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--ink);
  padding: 0;
  box-shadow: 0 20px 42px rgba(61, 25, 89, 0.12);
}

.job-photo {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.job-content {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
}

.job-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
}

.job-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.job-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.36rem 0.5rem;
}

.apply-link {
  display: inline-flex;
  width: 100%;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font-weight: 900;
  padding: 0.65rem 0.8rem;
  text-decoration: none;
}

.stacked-form,
.capture-form,
.feature-list,
.checklist,
.social-grid {
  display: grid;
  gap: 0.8rem;
}

.full {
  width: 100%;
}

.photo-drop {
  min-height: 9rem;
  place-items: center;
  border: 1.5px dashed rgba(20, 184, 110, 0.55);
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--mint), #e0e7ff);
  color: var(--green-dark);
  padding: 1rem;
  text-align: center;
}

.photo-drop input {
  max-width: 16rem;
  border: 0;
  background: transparent;
}

.photo-drop span {
  color: var(--ink);
  font-size: 1rem;
}

.checklist {
  margin: 1rem 0;
  padding-left: 1.1rem;
  line-height: 1.55;
}

.reward-box {
  display: grid;
  gap: 0.35rem;
  border-left: 0.35rem solid var(--pink);
  background: #fff0f7;
  padding: 0.9rem;
}

.feature-list article,
.social-grid article {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.9rem;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 0.25rem;
}

.social-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 4rem;
  scroll-margin-top: 5rem;
}

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

.social-grid article {
  display: grid;
  gap: 0.55rem;
}

.social-grid span {
  width: fit-content;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.36rem 0.55rem;
}

.social-grid article:nth-child(1) span {
  background: var(--ink);
}

.social-grid article:nth-child(2) span {
  background: var(--coral);
}

.social-grid article:nth-child(3) span {
  background: var(--blue);
}

.social-grid a {
  color: var(--green-dark);
  font-weight: 900;
}

.settings-modal {
  width: min(31rem, calc(100% - 2rem));
  border: 0;
  border-radius: 1.2rem;
  background: transparent;
  padding: 0;
}

.settings-modal::backdrop {
  background: rgba(23, 20, 37, 0.48);
  backdrop-filter: blur(8px);
}

.settings-card {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.settings-copy,
.settings-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.settings-help {
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  max-width: min(24rem, calc(100% - 2rem));
  border-radius: 0.8rem;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  padding: 0.9rem 1rem;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    align-items: start;
    flex-wrap: wrap;
  }

  .nav {
    order: 4;
    width: 100%;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .workspace,
  .panel-grid,
  .panel-grid.reverse {
    grid-template-columns: 1fr;
  }

  .workspace {
    min-height: auto;
  }

  .intro h1 {
    max-width: 10ch;
  }

  .phone-preview {
    justify-self: start;
  }

  .compact-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .role-switcher,
  .social-grid,
  .people-strip,
  .jobs {
    grid-template-columns: 1fr;
  }

  .people-strip article {
    min-height: 17rem;
  }

  .people-strip img {
    min-height: 17rem;
  }
}

@media (max-width: 720px) {
  main {
    width: min(100% - 1rem, 1180px);
  }

  .topbar {
    padding: 0.75rem;
  }

  .brand small {
    display: none;
  }

  .settings-button,
  .whatsapp-pill {
    min-height: 2.45rem;
    padding: 0.6rem 0.75rem;
  }

  .quick-actions,
  .panel-heading {
    display: grid;
  }

  .quick-actions a {
    width: 100%;
  }

  .filters,
  .business-form {
    grid-template-columns: 1fr;
  }

  .dating-phone {
    transform: none;
  }

  .match-screen {
    min-height: 28rem;
  }

  .hero-match-card,
  .hero-match-card img {
    min-height: 20rem;
    height: 20rem;
  }
}
