/* Mateniva â Design System */
:root {
  --bg: #f6f4ef;
  --bg-soft: #faf9f6;
  --surface: #ffffff;
  --surface-muted: #f0eeea;
  --border: #e6e2da;
  --border-strong: #d4cfc4;
  --text: #1a1a1a;
  --text-secondary: #5c5c5c;
  --text-muted: #8a8a8a;
  --primary: #1b3022;
  --primary-hover: #243d2c;
  --primary-soft: #e8efe9;
  --primary-mid: #2d4a36;
  --accent-gold: #c4a35a;
  --accent-gold-bg: #f7f0e0;
  --match: #2e7d4f;
  --match-bg: #e6f4ec;
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --warning: #d68910;
  --success: #1e7a45;
  --shadow-sm: 0 1px 3px rgba(27, 48, 34, 0.06);
  --shadow: 0 4px 16px rgba(27, 48, 34, 0.08);
  --shadow-lg: 0 12px 40px rgba(27, 48, 34, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --sidebar-w: 260px;
  --topbar-h: 72px;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ââ Buttons ââ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.btn-gold {
  background: var(--accent-gold-bg);
  color: #7a5c1e;
  border: 1px solid #e6d5a8;
  font-weight: 600;
}

.btn-gold:hover {
  background: #f0e4c4;
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-icon.like:hover,
.btn-icon.liked {
  border-color: #e74c3c;
  color: #e74c3c;
  background: #fdecea;
}

.btn-icon.skip:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* ââ Badges ââ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-match {
  background: var(--match);
  color: #fff;
}

.badge-verified {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.badge-verified svg {
  color: var(--match);
}

.badge-tag {
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 500;
}

.badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--match);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--match);
  box-shadow: 0 0 0 3px rgba(46, 125, 79, 0.2);
}

/* ââ Forms ââ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 48, 34, 0.12);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--primary-mid);
}

.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.weight-select {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.weight-btn {
  flex: 1;
  padding: 6px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
}

.weight-btn.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}

/* ââ Logo ââ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ââ App Layout ââ */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-brand {
  padding: 24px 20px 20px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 12px;
}

.nav-section {
  margin-bottom: 8px;
}

.nav-section + .nav-section {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  position: relative;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 2px;
}

.nav-item:hover {
  background: var(--bg);
  color: var(--text);
}

.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-item .nav-dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.nav-item .nav-crown {
  margin-left: auto;
  color: var(--accent-gold);
}

.sidebar-user {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.sidebar-user-link {
  font-size: 0.75rem;
  color: var(--primary-mid);
}

.sidebar-user-link:hover {
  text-decoration: underline;
}

.main-wrap {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.location-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
}

.location-select:hover {
  border-color: var(--border-strong);
}

.search-bar {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-bar svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.location-select svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-icon svg,
.btn-gold svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.search-bar input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  font-size: 0.9rem;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(27, 48, 34, 0.1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.page-content {
  padding: 28px 32px 48px;
  flex: 1;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--text-secondary);
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ââ Profile Cards ââ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.profile-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.profile-card-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: var(--surface-muted);
}

.profile-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card-media .badge-match {
  position: absolute;
  top: 12px;
  right: 12px;
}

.profile-card-media .badge-verified {
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.profile-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-card-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.profile-card-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.profile-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.profile-card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-card-meta-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.profile-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.profile-card-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
}

/* ââ How it works ââ */
.how-section {
  margin-top: 48px;
  padding: 40px 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.how-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.how-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.how-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.how-arrow {
  color: var(--border-strong);
  padding-top: 18px;
  flex-shrink: 0;
}

/* ââ Features bar ââ */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.how-step-icon svg {
  width: 24px;
  height: 24px;
}

.usp-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
}

.notif-icon svg,
.verify-card > div:first-child svg,
.looking-item > svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-credit {
  text-align: center;
  padding: 10px 0 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--primary);
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ââ App Footer ââ */
.app-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-usps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.usp {
  text-align: center;
}

.usp-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--primary);
}

.usp h4 {
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.usp p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-copy {
  text-align: center;
  padding: 16px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ââ Landing Page ââ */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
}

.landing-nav.scrolled {
  border-bottom-color: var(--border);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.landing-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.landing-nav-links a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  padding: 72px 40px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 239, 233, 0.9), transparent),
    linear-gradient(160deg, #f9f7f2 0%, #ebe8e0 45%, #e2ebe4 100%);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-search {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-search h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.hero-search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.hero-trust span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust span::before {
  content: "â";
  color: var(--match);
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  height: 420px;
}

.hero-float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  width: 240px;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card:nth-child(1) {
  top: 20px;
  left: 40px;
  z-index: 3;
}

.hero-float-card:nth-child(2) {
  top: 80px;
  right: 20px;
  z-index: 2;
  animation-delay: -2s;
}

.hero-float-card:nth-child(3) {
  bottom: 20px;
  left: 80px;
  z-index: 1;
  width: 200px;
  animation-delay: -4s;
}

.hero-float-card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
}

.hero-float-card .info {
  padding: 12px;
}

.hero-float-card .info strong {
  display: block;
  font-size: 0.95rem;
}

.hero-float-card .info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section {
  padding: 72px 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-alt {
  background: var(--surface);
  max-width: none;
  padding: 72px 40px;
}

.section-alt .section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.city-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.city-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.city-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.city-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-features {
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 0.875rem;
  padding: 6px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: "â";
  color: var(--match);
  font-weight: 700;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-muted);
}

.faq-item.open .faq-q::after {
  content: "â";
}

.faq-a {
  display: none;
  padding: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  display: block;
}

.landing-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 40px 24px;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.landing-footer a:hover {
  color: #fff;
}

.landing-footer .logo-text {
  color: #fff;
}

.landing-footer .logo-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.landing-footer .logo-mark {
  background: rgba(255, 255, 255, 0.15);
}

.landing-footer .footer-usps {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.landing-footer .usp-icon {
  color: rgba(255, 255, 255, 0.9);
}

.landing-footer .usp h4 {
  color: #fff;
}

.landing-footer .usp p {
  color: rgba(255, 255, 255, 0.55);
}

.landing-footer .footer-copy {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
}

.landing-footer .footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.landing-footer .footer-contact a:hover {
  color: #fff;
}

.landing-footer .footer-credit {
  color: rgba(255, 255, 255, 0.5);
}

.landing-footer .footer-credit a {
  color: #fff;
}

/* ââ Profile Detail ââ */
.profile-detail {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
}

.profile-detail-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface-muted);
}

.profile-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-detail-main {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
}

.compat-box {
  background: var(--match-bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.compat-score {
  font-size: 2rem;
  font-weight: 700;
  color: var(--match);
}

.compat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.match-reasons,
.match-conflicts {
  margin: 20px 0;
}

.match-reasons h4,
.match-conflicts h4 {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.reason-list li {
  font-size: 0.875rem;
  padding: 4px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-list .ok::before {
  content: "â";
  color: var(--match);
  font-weight: 700;
}

.reason-list .warn::before {
  content: "!";
  color: var(--warning);
  font-weight: 700;
  width: 16px;
  text-align: center;
}

.pref-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.looking-for {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.looking-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.looking-item strong {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ââ Tabs ââ */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  padding: 12px 20px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ââ Chat ââ */
.messages-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
}

.chat-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.chat-list-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.chat-list-item:hover,
.chat-list-item.active {
  background: var(--primary-soft);
}

.chat-list-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-list-item .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.chat-list-item .preview {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-panel {
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-safety {
  padding: 10px 20px;
  background: var(--accent-gold-bg);
  font-size: 0.8rem;
  color: #7a5c1e;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
}

.chat-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-bubble.them {
  background: var(--surface);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.me {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  align-items: center;
}

.chat-input-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg);
}

.chat-input-bar input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ââ Modals & Toasts ââ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--transition);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal h3 {
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  animation: toastIn 0.3s ease;
  max-width: 320px;
}

.toast.error {
  background: var(--danger);
}

.toast.success {
  background: var(--success);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ââ Empty / Loading ââ */
.empty-state {
  text-align: center;
  padding: 64px 24px;
}

.empty-state svg {
  color: var(--border-strong);
  margin-bottom: 16px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.loading-skeleton {
  background: linear-gradient(90deg, var(--surface-muted) 25%, var(--border) 50%, var(--surface-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ââ Auth / Signup ââ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse at top right, rgba(232, 239, 233, 0.8), transparent),
    var(--bg);
}

.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 36px;
  width: 100%;
  max-width: 460px;
}

.auth-card .logo {
  margin-bottom: 24px;
  justify-content: center;
}

.auth-card h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.925rem;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.step-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.step-dot.done {
  background: var(--match);
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.otp-inputs input {
  width: 48px;
  height: 52px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.otp-inputs input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 48, 34, 0.12);
}

.intent-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intent-card {
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: all var(--transition);
  background: var(--surface);
}

.intent-card:hover {
  border-color: var(--primary-mid);
}

.intent-card.active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.intent-card strong {
  display: block;
  margin-bottom: 2px;
}

.intent-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.checkbox-row input {
  margin-top: 3px;
}

/* ââ Filters ââ */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ââ Settings ââ */
.settings-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
}

.settings-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.settings-nav a:hover,
.settings-nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.settings-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.settings-panel h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.settings-photo-preview {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 0 0 10px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--border-strong);
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}

.toggle.on {
  background: var(--primary);
}

.toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle.on::after {
  transform: translateX(20px);
}

/* ââ Verification ââ */
.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.verify-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.verify-card .status {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.verify-card .status.done {
  background: var(--match-bg);
  color: var(--match);
}

.verify-card .status.pending {
  background: var(--accent-gold-bg);
  color: #7a5c1e;
}

.verify-card .status.na {
  background: var(--surface-muted);
  color: var(--text-muted);
}

.verify-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.verify-upload .form-input {
  max-width: 260px;
  font-size: 0.85rem;
}

.verify-thumb {
  display: inline-block;
  margin: 6px 0 10px;
}

.verify-thumb img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ââ Notifications ââ */
.notif-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.notif-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item.unread {
  background: var(--primary-soft);
}

.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.notif-body {
  flex: 1;
}

.notif-body p {
  font-size: 0.9rem;
}

.notif-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ââ Admin ââ */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ââ Pref cards (profile builder) ââ */
.pref-category {
  margin-bottom: 28px;
}

.pref-category h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.builder-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}

.builder-progress .bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.builder-progress .bar.done {
  background: var(--primary);
}

.builder-progress .bar.active {
  background: var(--primary-mid);
}

.completion-ring {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
}

.public-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.public-page h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.public-page h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.public-page p,
.public-page li {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.public-page ul {
  list-style: disc;
  padding-left: 20px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.safety-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.safety-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary);
}

/*  Features 2130  */
.form-section-title {
  margin: 22px 0 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.form-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.form-actions-row .btn,
.form-actions-row a.btn {
  margin: 0;
}

.action-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.action-pair form {
  margin: 0;
}

.profile-card-actions {
  gap: 12px;
}

.profile-card-actions form {
  display: inline-flex;
  margin: 0;
}

.detail-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.detail-actions form {
  margin: 0;
}

.settings-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.check-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

.share-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.share-box .form-input {
  flex: 1 1 220px;
}

.share-preview .share-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.share-photo {
  margin: 16px 0;
}

.share-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.share-facts {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.share-facts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.journey-steps {
  padding-left: 20px;
  margin: 16px 0 24px;
}

.journey-steps li {
  margin-bottom: 10px;
}

a.notif-item {
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

a.notif-item:hover {
  background: var(--surface-muted);
}

.danger-panel {
  border-color: #f0c4c0;
}

.avail-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.app-footer {
  padding: 24px 32px 40px;
}

.status-pill.status-active { background: #e6f4ea; color: #1e7a3a; }
.status-pill.status-paused { background: #fff4e5; color: #9a6700; }
.status-pill.status-incomplete,
.status-pill.status-draft { background: #eef0f3; color: #5b6570; }
.status-pill.status-suspended,
.status-pill.status-blocked,
.status-pill.status-deleted { background: #fdecea; color: #c0392b; }
.status-pill.status-under_review { background: #e8f0fe; color: #1a56db; }

.modal-overlay[hidden] {
  display: none !important;
}

.admin-inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-inline-form select {
  padding: 4px 8px;
  font-size: 0.8rem;
}

.inline-form {
  margin-top: 12px;
}

.page-header {
  gap: 12px;
  flex-wrap: wrap;
}

.filters-bar {
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-actions {
  gap: 10px;
}

.topbar-actions .btn,
.topbar-actions .btn-icon {
  flex-shrink: 0;
}
