﻿:root {
  --bg-surface: #f5f8fd;
  --surface: #ffffff;
  --surface-strong: #f8fbff;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: var(--dg-primary,#2563eb);
  --accent-soft: rgba(37, 99, 235, 0.12);
  --border: #dbe4f0;
  --radius: 28px;
  --page-max: 1180px;
}

.ap-page {
  background: var(--bg-surface);
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--text-primary);
  padding-bottom: 24px;
}

.ap-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}

.ap-breadcrumb a {
  color: var(--dg-primary,#2563eb);
  text-decoration: none;
}

.ap-breadcrumb a:hover {
  text-decoration: underline;
}

.ap-bc-sep {
  color: #cbd5e1;
}

.ap-bc-current {
  color: #1e293b;
  font-weight: 600;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ap-hero {
  position: relative;
  margin: 32px auto 40px;
  padding: 48px 44px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37,99,235,0.08), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(124,58,237,0.06), transparent 50%),
    var(--surface);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.ap-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.ap-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.ap-hero-label::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.ap-hero-title {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-primary);
}

.ap-hero-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0;
}

.ap-hero-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.ap-card-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ap-card-highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.09);
}

.ap-card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff7ff;
  font-size: 1.25rem;
}

.ap-card-highlight h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ap-card-highlight p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.88rem;
}

/* ── Section shell (shared width across all comparison sections) ───────── */
.ap-comparison {
  margin: 0 auto;
  padding: 0 20px 48px;
}

.ap-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.ap-section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-primary);
}

.ap-section-header p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.96rem;
}

.ap-section-divider {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ap-section-divider hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0 0 48px;
}

/* ── Boost Row: Featured Member + Verified Badge + Feature a Property ── */
.ap-boost-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.ap-boost-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ap-boost-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.ap-boost-ribbon {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--dg-primary,#2563eb), #7c3aed);
  color: #fff; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 14px; border-radius: 0 0 10px 10px;
  white-space: nowrap; box-shadow: 0 4px 10px rgba(37,99,235,0.3); z-index: 2;
}
.ap-boost-ribbon--gold { background: linear-gradient(135deg, #b45309, #f59e0b); box-shadow: 0 4px 10px rgba(180,83,9,0.3); }

.ap-boost-head {
  padding: 26px 16px 18px;
  text-align: center;
  color: #fff;
}
.ap-boost-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 1.2rem; color: #fff;
}
.ap-boost-name { font-size: 0.92rem; font-weight: 800; letter-spacing: 0.01em; margin-bottom: 8px; }
.ap-boost-price { font-size: 1.9rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.ap-boost-price sup { font-size: 0.9rem; font-weight: 700; vertical-align: top; margin-top: 6px; }
.ap-boost-dur { font-size: 0.7rem; opacity: 0.85; font-weight: 600; line-height: 1.4; }

.ap-boost-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
}
.ap-boost-desc { font-size: 0.78rem; color: #64748b; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.ap-boost-list {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 7px;
  flex: 1;
}
.ap-boost-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.76rem; color: #334155; font-weight: 500; line-height: 1.4;
}
.ap-boost-list li i { color: var(--dg-primary,#2563eb); font-size: 0.68rem; margin-top: 3px; flex-shrink: 0; }

.ap-boost-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: auto;
}
.ap-boost-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }
.ap-boost-btn--current { background: #f1f5f9 !important; color: #475569; cursor: default; border: 1.5px solid #e2e8f0; }
.ap-boost-btn--current:hover { transform: none; opacity: 1; }

/* ── Trust row ───────────────────────────────────────────────────────── */
.ap-trust-section {
  max-width: var(--page-max);
  margin: 8px auto 0;
  padding: 28px 20px 0;
}

.sub-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 24px 0 0;
  border-top: 1px solid #e2e8f0;
}
.sub-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}
.sub-trust-item i { color: var(--dg-primary,#2563eb); font-size: 1rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ap-hero-cards { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .ap-boost-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .ap-hero { padding: 32px 24px; margin: 20px auto 28px; }
  .ap-boost-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ap-hero-title { font-size: 1.9rem; }
  .ap-boost-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ap-hero { padding: 28px 18px; border-radius: 20px; }
  .ap-hero-title { font-size: 1.55rem; }
}
