/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e5e7eb;
  --brand: #1414B8;
  --brand-600: #0e0ea3;
  --brand-50: #eef2ff;
  --container: 1140px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  font-size: 17px;
  line-height: 1.5
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px
}

.center {
  text-align: center
}

/* Typographic scale */
h1,
h2,
h3 {
  letter-spacing: -0.01em
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 12px
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2rem);
  margin: 0 0 8px
}

.section__lead {
  color: var(--muted-2);
  margin: 0 0 28px;
  font-size: 1.05rem
}

.hero__lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 6px 0 20px
}

.proof-copy {
  color: var(--muted-2)
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--border)
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 83px;
  position: relative
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800
}

.brand__logo {
  width: 202px;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.nav-toggle {
  background: none;
  border: 0;
  display: grid;
  gap: 4px;
  position: absolute;
  left: 180px;
  /* 로고 너비(150px) + 간격(30px) */
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px
}

.navlinks {
  display: none;
  align-items: center;
  gap: 22px;
  justify-content: center;
  flex: 1;
}

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: left 0.3s ease;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 80px 0 40px 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  /* Enable vertical scrolling */
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 0 24px 32px 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 32px;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-menu-link:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateX(8px);
}

.mobile-menu-actions {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-info {
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
}

.user-info p {
  margin: 0;
  font-weight: 600;
  color: #1e293b;
  font-size: 15px;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.navlinks a {
  font-weight: 600
}

/* Color only non-button links */
.navlinks a:not(.btn) {
  color: #334155;
}

/* Ensure the CTA stays white in all states */
.navlinks a.btn--primary,
.navlinks a.btn--primary:hover,
.navlinks a.btn--primary:focus-visible {
  color: #fff;
}

.signin {
  color: #0f172a;
  font-weight: 600
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease
}

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

.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 980px) {
  .navlinks {
    display: flex
  }

  .nav-toggle {
    display: none
  }

  .nav-actions {
    display: flex
  }
}

/* 모바일에서 Get started free 버튼 및 유저 드롭다운 숨기기 */
@media (max-width: 979px) {

  .nav-actions .btn--primary,
  .user-dropdown,
  .user-toggle {
    display: none !important;
  }
}

/* 모바일에서 햄버거 버튼 위치 조정 (오른쪽으로 이동) */
@media (max-width: 979px) {
  .nav-toggle {
    position: absolute;
    right: 24px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
  }

  .nav-actions {
    margin-right: 56px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 84px
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center
}

@media (min-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1.05fr .95fr
  }
}

.emdash {
  margin: 0 6px
}

.accent {
  color: var(--brand)
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 10px
}

.btn--outline {
  background: #fff;
  border-color: #cfd7e3;
  color: #0f172a;
  font-weight: 700
}

.btn--outline:hover {
  border-color: #b8c2d3;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06)
}

.stars {
  display: flex;
  gap: 4px
}

.video-card {
  background: linear-gradient(135deg, #eef2ff 0%, #e8ecff 100%);
  border: 1px solid #dde3ff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  width: min(640px, 100%);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 0;
  display: grid;
  place-items: center;
  background: #c7cdfa;
  box-shadow: 0 6px 22px rgba(20, 20, 184, .14);
  cursor: pointer
}

.video-caption {
  position: absolute;
  bottom: 14px;
  color: #475569;
  font-weight: 600
}

/* ---------- Interactive Demo ---------- */
.demo-wrapper {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
}

/* Tabs */
.clip-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  justify-content: center;
}

.clip-tab {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.clip-tab:hover { border-color: var(--brand); color: var(--brand) }
.clip-tab.active { background: var(--brand); color: #fff; border-color: var(--brand) }

/* Phone frame */
.phone-frame {
  background: #fff;
  border: 2px solid #e0e4ef;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(15,23,42,.1);
  overflow: hidden;
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--brand-50);
}

.phone-logo {
  font-weight: 800;
  font-size: 15px;
  color: var(--brand);
  letter-spacing: -.02em;
}

.phone-nav {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.phone-content {
  padding: 18px;
  min-height: 340px;
  position: relative;
}

/* Clips */
.clip { display: none }
.clip.visible { display: block; animation: clipFadeIn .4s ease }
@keyframes clipFadeIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }

.clip-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

/* Browse tab cards */
.demo-prop-card {
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.demo-prop-img {
  background: linear-gradient(135deg, var(--brand-50), #dde3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  position: relative;
}

.demo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.demo-prop-body { padding: 12px }
.demo-price { font-size: 20px; font-weight: 700; color: var(--text) }
.demo-addr { font-size: 13px; color: var(--muted); margin: 2px 0 6px }
.demo-meta { display: flex; gap: 10px; font-size: 12px; color: var(--muted-2) }

.demo-prop-card--compact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
}

.demo-prop-compact-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-50), #c7cdfa);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* List tab form */
.demo-progress {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 4px;
}

.demo-progress-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: width .3s;
}

.demo-step-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}

.demo-form { display: flex; flex-direction: column; gap: 10px }

.demo-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  display: block;
}

.demo-field-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
}

.demo-field-input.filled { background: #f8fafc; border-color: #c7cdfa }
.demo-field-input--tall { height: 52px; align-items: flex-start; padding-top: 10px }
.demo-check { color: var(--brand); font-weight: 700 }

.demo-chip {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.demo-chip--active {
  background: var(--brand);
  color: #fff;
}

/* Offer tab */
.demo-offer-card {
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.demo-offer-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px }
.demo-offer-from { font-size: 11px; color: var(--muted) }
.demo-offer-name { font-size: 15px; font-weight: 600; color: var(--text) }
.demo-offer-amount { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 4px }
.demo-offer-terms { font-size: 12px; color: var(--muted); margin-bottom: 10px }

.demo-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.demo-pill--new { background: #dcfce7; color: #15803d }
.demo-pill--countered { background: #fef3c7; color: #92400e }

.demo-offer-actions { display: flex; gap: 8px }

.demo-btn-accept {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  font-family: inherit;
}

.demo-btn-counter {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  font-family: inherit;
}

/* Sign tab */
.demo-sign-steps { margin-bottom: 14px }

.demo-sign-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.demo-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.demo-step-done { background: #dcfce7; color: #15803d }
.demo-step-active { background: var(--brand); color: #fff; font-size: 16px }
.demo-step-pending { background: #f1f5f9; color: var(--muted) }

.demo-step-name { font-size: 13px; font-weight: 600; color: var(--text) }
.demo-step-sub { font-size: 11px; color: var(--muted) }

.demo-step-status { margin-left: auto; font-size: 11px; font-weight: 600; flex-shrink: 0 }
.demo-step-status--done { color: #15803d }
.demo-step-status--now { color: var(--brand) }
.demo-step-status--pending { color: var(--muted) }

.demo-sign-doc {
  background: var(--brand-50);
  border: 1px solid #dde3ff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.demo-sign-doc-title { font-size: 14px; font-weight: 700; color: var(--text) }
.demo-sign-doc-sub { font-size: 12px; color: var(--muted); margin: 4px 0 10px }

.demo-sign-btn {
  padding: 8px 24px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  font-family: inherit;
}

/* Floating notification */
.demo-notif {
  position: absolute;
  top: 50px;
  right: -30px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s, transform .5s;
  z-index: 2;
  pointer-events: none;
}

.demo-notif.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-notif-icon { font-size: 22px }

.demo-notif-text {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.demo-notif-text strong { color: var(--text); font-size: 13px }

/* Progress dots */
.demo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4d8e8;
  transition: background .2s, transform .2s;
  cursor: pointer;
}

.demo-dot.active {
  background: var(--brand);
  transform: scale(1.25);
}

/* Demo responsive */
@media (max-width: 1100px) {
  .demo-wrapper { width: min(480px, 100%) }
}

@media (max-width: 768px) {
  .demo-wrapper { width: 100% }
  .clip-tab { padding: 6px 14px; font-size: 12px }
  .phone-content { min-height: 300px; padding: 14px }
  .demo-notif { right: -10px; top: 40px }
}

@media (max-width: 480px) {
  .demo-notif { display: none }
  .clip-tab { padding: 6px 10px; font-size: 11px }
}

/* Featured */
.featured {
  padding: 36px 0 0 0;
  border-top: 1px solid var(--border)
}

.listing-grid {
  padding-bottom: 36px;
  display: grid;
  gap: 18px
}

@media(min-width:980px) {
  .listing-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.property-card {
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(2, 6, 23, .04);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(2, 6, 23, .12);
  border-color: #c7cdfa
}

.property-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .3s ease
}

.property-card:hover .property-media img {
  transform: scale(1.05)
}

.property-info {
  padding: 16px 18px 18px
}

.property-price {
  font-size: 1.6rem;
  font-weight: 800
}

.offer-accepted-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #dc2626;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

.property-address {
  margin-top: 6px;
  font-weight: 600
}

.property-city {
  color: #64748b
}

.property-meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: #475569;
  flex-wrap: wrap;
  padding: 0;
  list-style: none
}

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

.meta svg {
  width: 18px;
  height: 18px;
  color: #64748b;
  stroke: currentColor
}


/* ---------- Steps ---------- */
.steps {
  padding: 68px 0 86px
}

.steps__grid {
  display: grid;
  gap: 16px
}

@media (min-width: 960px) {
  .steps__grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.step-card {
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color .18s ease, box-shadow .18s ease
}

.step-card h3 {
  margin: 6px 0 2px;
  font-size: 1.2rem
}

.step-card p {
  margin: 0;
  color: #475569;
  max-width: 36ch
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--brand-50);
  display: grid;
  place-items: center
}

.step-card:hover {
  border-color: #c7cdfa;
  box-shadow: var(--shadow)
}

.step-card:hover .icon-wrap svg {
  stroke: var(--brand)
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 64px 0 84px;
  background: #fafbff
}

.t-grid {
  display: grid;
  gap: 16px
}

@media (min-width: 980px) {
  .t-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.t-card {
  background: #fff;
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  padding: 22px 22px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.t-card blockquote {
  margin: 0;
  color: #334155;
  line-height: 1.6
}

.t-card footer {
  margin-top: auto
}

.t-card .name {
  font-weight: 800
}

.t-card .role {
  color: #64748b
}

/* ---------- Simple Pricing (dual) ---------- */
/* tokens */
:root {
  --brand: #3b47ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --ring: rgba(59, 71, 255, .15);
}

.pricing.v2 {
  padding: 56px 0
}

.pricing .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px
}

.pricing__header {
  text-align: center;
  margin-bottom: 28px
}

.pricing__header h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  margin: 0
}

.muted {
  color: var(--muted)
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .pricing__grid {
    grid-template-columns: 1fr
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 40px -20px var(--ring);
}

.card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--ink)
}

.price {
  display: grid;
  gap: 4px;
  margin: 6px 0 10px
}

.price__value {
  font: 800 clamp(2.1rem, 5vw, 2.6rem)/1 Inter, system-ui;
  color: var(--brand)
}

.price__note {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem
}

.lead {
  margin: 6px 0 14px;
  color: var(--muted)
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.benefits li {
  position: relative;
  padding-left: 26px;
  color: var(--ink)
}

.benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(#10b981 0 75%, #22c55e 75% 100%);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M9 16.2 5.5 12.7 6.9 11.3 9 13.4 17.1 5.3 18.5 6.7z"/></svg>') center/14px 14px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23fff"><path d="M9 16.2 5.5 12.7 6.9 11.3 9 13.4 17.1 5.3 18.5 6.7z"/></svg>') center/14px 14px no-repeat;
}

/* Card tags and featured styling */
.card__tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card__tag.tag--premium {
  color: var(--brand);
}

.card--featured {
  border-color: var(--brand);
  box-shadow: 0 20px 50px -20px var(--brand);
  position: relative;
  transform: scale(1.02);
}

@media (max-width: 960px) {
  .card--featured {
    transform: scale(1);
  }
}

/* Pricing tiers */
.pricing__tiers {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  font-weight: 500;
}

.tier-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
}

.tier-price.highlight {
  color: var(--brand);
}

/* Mobile responsive for pricing tiers */
@media (max-width: 768px) {
  .pricing__tiers {
    padding: 8px;
    gap: 8px;
  }

  .tier-row {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    text-align: center;
  }

  .tier-price {
    font-size: 1.3rem;
  }
}

/* Pricing process steps */
.pricing__process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

@media (max-width: 768px) {
  .pricing__process {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.process-step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-step p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.process-step strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Pricing tiers - Enhanced */
.tier-row.highlight {
  background: #f0f7ff;
  border-radius: 8px;
  padding: 10px;
  border-left: 4px solid #3b82f6;
  font-weight: 700;
}

/* Pricing legal - Enhanced */
.pricing__legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.includes {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fcfcff;
  margin-top: 16px;
}

.includes h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

/* Button styling - Enhanced with animations */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
}

.btn--primary {
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.btn--outline {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Security ---------- */
.security {
  padding: 64px 0 84px
}

.sec-grid {
  display: grid;
  gap: 22px;
  align-items: start;
  justify-items: center;
  text-align: center
}

@media (min-width: 980px) {
  .sec-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.sec-item h3 {
  margin: 10px 0 6px;
  font-weight: 700
}

.sec-item p {
  margin: 0;
  color: #475569;
  max-width: 40ch;
  font-size: 1.02rem
}

.sec-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 4px auto 2px
}

.sec-icon--green {
  background: #dcfce7
}

.sec-icon--blue {
  background: #e6ebff
}

.sec-icon--purple {
  background: #f3e8ff
}

.sec-icon--teal {
  background: #cffafe
}

/* ---------- CTA band (light) ---------- */
.cta-band--light {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0
}

.cta-band--light h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 8px;
  text-align: center
}

.cta-band--light p {
  margin: 0 0 18px;
  text-align: center;
  color: #475569
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap
}

/* ---------- User Dropdown ---------- */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.user-toggle:hover {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(20, 20, 184, 0.15);
  transform: translateY(-1px);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.user-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #e5e7eb;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.dropdown-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748b;
}

.user-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--brand);
}

.user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.user-dropdown:hover .user-menu,
.user-toggle[aria-expanded="true"]+.user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 0;
}

.user-menu-item:first-child {
  border-radius: 16px 16px 0 0;
  padding-top: 18px;
}

.user-menu-item:last-child {
  border-radius: 0 0 16px 16px;
  padding-bottom: 18px;
}

.user-menu-item:hover {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--brand);
  transform: translateX(4px);
}

.user-menu-item svg {
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.user-menu-item:hover svg {
  transform: scale(1.1);
  color: var(--brand);
}

.user-menu-item.logout {
  color: var(--brand);
  font-weight: 600;
}

.user-menu-item.logout:hover {
  background: linear-gradient(135deg, #eef2ff 0%, #e6ebff 100%);
  color: var(--brand);
}

.user-menu-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
  margin: 8px 0;
}

/* User menu item icons styling */
.user-menu-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Add subtle animation to menu items */
.user-menu-item {
  animation: slideInFromRight 0.3s ease forwards;
}

.user-menu-item:nth-child(1) {
  animation-delay: 0.05s;
}

.user-menu-item:nth-child(2) {
  animation-delay: 0.1s;
}

.user-menu-item:nth-child(3) {
  animation-delay: 0.15s;
}

.user-menu-item:nth-child(4) {
  animation-delay: 0.2s;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- Light footer ---------- */
.footer-light {
  background: #f8fafc;
  color: #0f172a
}

.foot__top {
  display: grid;
  gap: 24px;
  padding: 26px 0 14px;
  grid-template-columns: 1.2fr
}

.foot__brand .brand__name {
  font-weight: 800
}

.foot__tag {
  color: #64748b;
  max-width: 40ch
}

.foot__cols {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr)
}

.foot__col {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.foot__col h4 {
  margin: 0 0 6px;
  font-size: 1rem
}

.foot__col a {
  color: #0f172a
}

.foot__col a:hover {
  text-decoration: underline
}

.foot__bottom {
  border-top: 1px solid var(--border);
  padding: 14px 0 22px;
  color: #475569;
  font-size: .95rem
}

@media (min-width: 980px) {
  .foot__top {
    grid-template-columns: 1.2fr 1fr
  }
}

/* ---------- Message Badge ---------- */
.message-badge {
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  min-width: 18px;
  text-align: center;
  display: inline-block;
}

.user-menu-item {
  position: relative;
}

.btn .message-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 8px;
  min-width: 16px;
  text-align: center;
}

/* Mobile menu: badges inline instead of absolute (parent has overflow) */
.mobile-menu-actions .btn .message-badge {
  position: static;
  font-size: 11px;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 10px;
  min-width: 18px;
}

/* ---------- Notification Dot (header badge) ---------- */
.user-toggle {
  position: relative;
}

.notif-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 5px;
  pointer-events: none;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.nav-toggle .notif-dot {
  width: auto;
  height: 18px;
  line-height: 18px;
  background: #ef4444;
  color: #fff;
  border-radius: 9px;
  top: -8px;
  right: -12px;
  z-index: 41;
}