/* ============================================================
   Hostelova — premium 3D landing
   Light + Dark theme via [data-theme] on <html>
   ============================================================ */

:root,
[data-theme="light"] {
  --primary: #2F5FE3;
  --primary-600: #244dc7;
  --primary-50: #eaf0ff;
  --primary-100: #d6e1fe;
  --primary-glow: rgba(47, 95, 227, .25);

  --bg: #F4F6F9;
  --bg-2: #eef1f6;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f9fbfd;
  --ink: #0E1726;
  --ink-2: #1f2937;
  --muted: #5a6477;
  --muted-2: #8a93a6;
  --line: #e6eaf1;
  --line-2: #d8deea;

  --result-badge-bg: rgba(255, 255, 255, .92);
  --result-badge-text: var(--ink);
  --result-badge-border: rgba(14, 23, 38, .08);
  --result-badge-dark-bg: #0E1726;
  --result-badge-dark-text: #ffffff;
  --result-heart-bg: rgba(255, 255, 255, .92);
  --result-heart-ink: var(--ink-2);
  --result-heart-border: rgba(14, 23, 38, .1);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, .03);
  --shadow-md: 0 12px 24px -12px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 30px 60px -20px rgba(47, 95, 227, .25), 0 12px 24px -12px rgba(15, 23, 42, .12);
  --shadow-phone: 0 60px 100px -20px rgba(47, 95, 227, .28), 0 40px 60px -30px rgba(15, 23, 42, .35);

  --nav-bg: rgba(244, 246, 249, 0.78);
  --nav-bg-scroll: rgba(244, 246, 249, 0.92);

  --grid-line: rgba(47, 95, 227, .06);
  --noise-opacity: 0.025;
}

[data-theme="dark"] {
  --primary: #5B85FF;
  --primary-600: #4A6FE3;
  --primary-50: rgba(91, 133, 255, .12);
  --primary-100: rgba(91, 133, 255, .18);
  --primary-glow: rgba(91, 133, 255, .35);

  --bg: #060912;
  --bg-2: #0B1020;
  --bg-elev: #0F1626;
  --surface: #111A2E;
  --surface-2: #0B1424;
  --ink: #F1F5FB;
  --ink-2: #E2E8F2;
  --muted: #9BA6BC;
  --muted-2: #6B7588;
  --line: #1c2740;
  --line-2: #25324f;

  --result-badge-bg: rgba(11, 17, 33, .82);
  --result-badge-text: #f8fafc;
  --result-badge-border: rgba(255, 255, 255, .08);
  --result-badge-dark-bg: rgba(0, 0, 0, .72);
  --result-badge-dark-text: #f8fafc;
  --result-heart-bg: rgba(11, 17, 33, .82);
  --result-heart-ink: #f8fafc;
  --result-heart-border: rgba(255, 255, 255, .12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 12px 24px -12px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .4);
  --shadow-lg: 0 30px 60px -20px rgba(91, 133, 255, .25), 0 12px 24px -12px rgba(0, 0, 0, .5);
  --shadow-phone: 0 60px 100px -20px rgba(91, 133, 255, .35), 0 40px 60px -30px rgba(0, 0, 0, .7);

  --nav-bg: rgba(6, 9, 18, 0.75);
  --nav-bg-scroll: rgba(6, 9, 18, 0.92);

  --grid-line: rgba(91, 133, 255, .07);
  --noise-opacity: 0.05;
}

:root {
  --success: #16a34a;
  --warn: #f59e0b;
  --danger: #e11d48;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-card: 22px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offset anchor jumps so section headings clear the sticky nav */
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* Background grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}

.scroll-progress .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #6f8dff);
  width: 0%;
  transition: width .1s linear;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: var(--nav-bg-scroll);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 14px -4px rgba(47, 95, 227, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
  background: #2F5FE3;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background .15s, color .15s;
}

.nav-link:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px -2px rgba(14, 23, 38, .35);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(14, 23, 38, .45);
}

.nav-cta-mobile {
  display: none;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: background .15s, border-color .15s;
}

.nav-toggle:hover {
  background: var(--primary-50);
  border-color: var(--primary-100);
}

.nav-toggle .nt-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.nav.menu-open .nav-toggle .nt-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.menu-open .nav-toggle .nt-bar:nth-child(2) {
  opacity: 0;
}

.nav.menu-open .nav-toggle .nt-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s, transform .2s;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary-100);
}

.theme-toggle svg {
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), opacity .25s;
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
}

.theme-toggle .sun {
  opacity: 0;
  transform: rotate(-90deg) scale(.5);
}

.theme-toggle .moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle .sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle .moon {
  opacity: 0;
  transform: rotate(90deg) scale(.5);
}

.nav-cta svg,
.sd-close svg,
.sd-sec-ico svg,
.sd-link-ico svg,
.sd-link-arrow svg,
.sd-cta svg,
.page-hero .page-tag svg {
  display: block;
  flex-shrink: 0;
}

/* ============================================================
   Desktop inline nav links — wrapper
   ============================================================ */
.nav-links-desktop {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* ============================================================
   SIDE DRAWER — slides in from the right on tap
   ============================================================ */
.side-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 18, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 90;
}

.side-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -20px rgba(15, 23, 42, .35);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.side-drawer.open {
  transform: translateX(0);
}

/* Side drawer is hidden on desktop entirely */
@media (min-width: 881px) {

  .side-drawer,
  .side-backdrop {
    display: none;
  }
}

.sd-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.sd-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.sd-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--primary);
}

.sd-brand .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sd-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background .15s, color .15s, transform .15s;
  cursor: pointer;
  flex-shrink: 0;
}

.sd-close:hover {
  background: var(--ink);
  color: var(--bg);
  transform: rotate(90deg);
}

/* Body is the only scrollable area */
.sd-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sd-section {
  display: flex;
  flex-direction: column;
}

.sd-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.sd-sec-ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sd-sec-ico svg {
  width: 13px;
  height: 13px;
}

.sd-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sd-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  text-decoration: none;
}

.sd-link-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg-2);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}

.sd-link-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.sd-link-arrow {
  color: var(--muted-2);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .15s, transform .15s, color .15s;
  flex-shrink: 0;
}

.sd-link.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.sd-link.current .sd-link-ico {
  background: rgba(255, 255, 255, .18);
  color: white;
}

.sd-link.current .sd-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: white;
}

.sd-link:hover,
.sd-link:focus-visible,
.sd-link:active {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary-100);
  outline: none;
}

.sd-link:hover .sd-link-ico,
.sd-link:focus-visible .sd-link-ico,
.sd-link:active .sd-link-ico {
  background: var(--primary);
  color: white;
}

.sd-link:hover .sd-link-arrow,
.sd-link:focus-visible .sd-link-arrow,
.sd-link:active .sd-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* Footer with CTA */
.sd-footer {
  flex-shrink: 0;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 10px 22px -8px var(--primary-glow);
  transition: background .15s, transform .15s;
  text-decoration: none;
}

.sd-cta:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.sd-foot-meta {
  display: flex;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Hide desktop inline nav on mobile, show hamburger */
@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-links-desktop {
    display: none;
  }
}

/* On very small phones, drawer is wider */
@media (max-width: 380px) {
  .side-drawer {
    width: 92vw;
  }

  .sd-header {
    padding: 14px 14px;
  }

  .sd-body {
    padding: 12px 10px 8px;
  }

  .sd-link {
    padding: 10px 10px;
    font-size: 14px;
  }

  .sd-link-ico {
    width: 30px;
    height: 30px;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 60px 0 140px;
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 720px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.eyebrow .dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .6);
  animation: pulse 2s infinite;
  margin-left: 4px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 22px 0 18px;
  color: var(--ink);
}

.hero h1 .accent {
  background: linear-gradient(120deg, #2F5FE3 0%, #6f8dff 50%, #2F5FE3 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

[data-theme="dark"] .hero h1 .accent {
  background: linear-gradient(120deg, #6f8dff 0%, #a4bcff 50%, #6f8dff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero .sub {
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 520px;
  margin: 0 0 14px;
}

.hero .desc {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, box-shadow .2s, background .15s, border-color .15s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 24px -8px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px var(--primary-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 12px 24px -8px rgba(14, 23, 38, .4);
}

.btn-dark:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stat .num .unit {
  color: var(--primary);
}

.hero-stat .lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ----- 3D hero stage ----- */
.stage {
  position: relative;
  perspective: 1600px;
  perspective-origin: 50% 40%;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.stage-floor {
  position: absolute;
  inset: auto 0 60px 0;
  height: 200px;
  background:
    radial-gradient(50% 80% at 50% 30%, var(--primary-glow), transparent 70%),
    radial-gradient(40% 60% at 50% 50%, var(--primary-glow), transparent 75%);
  filter: blur(8px);
  z-index: 0;
  opacity: .7;
}

.phone-3d {
  position: relative;
  width: 280px;
  height: 580px;
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  z-index: 2;
  --tx: 0deg;
  --ty: 0deg;
  transform: rotateX(calc(8deg + var(--tx))) rotateY(calc(-14deg + var(--ty)));
  animation: phoneTilt 12s ease-in-out infinite;
}

@keyframes phoneTilt {

  0%,
  100% {
    transform: rotateX(calc(8deg + var(--tx))) rotateY(calc(-12deg + var(--ty)));
  }

  50% {
    transform: rotateX(calc(6deg + var(--tx))) rotateY(calc(-18deg + var(--ty)));
  }
}

.phone-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-glow);
  filter: blur(28px);
  z-index: 1;
}

/* Floating cards */
.floater {
  position: absolute;
  background: var(--surface);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
  border: 1px solid var(--line);
  animation: bobble 6s ease-in-out infinite;
}

.floater .ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
}

.floater .sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}

.floater .meta {
  display: flex;
  flex-direction: column;
}

.f1 {
  top: 8%;
  left: -4%;
  animation-delay: -1s;
  transform: rotate(-3deg);
}

.f2 {
  top: 18%;
  right: -6%;
  animation-delay: -3s;
  transform: rotate(2deg);
}

.f3 {
  top: 52%;
  left: -10%;
  animation-delay: -2s;
  transform: rotate(2deg);
}

.f4 {
  top: 60%;
  right: -8%;
  animation-delay: -4s;
  transform: rotate(-2deg);
}

.f5 {
  bottom: 8%;
  left: 4%;
  animation-delay: -5s;
  transform: rotate(-1deg);
}

@keyframes bobble {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

/* Ambient circles */
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.ambient.a1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(47, 95, 227, .28), transparent);
  top: -80px;
  right: -100px;
}

.ambient.a2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(111, 141, 255, .22), transparent);
  bottom: 0;
  left: -60px;
}

[data-theme="dark"] .ambient.a1 {
  background: radial-gradient(closest-side, rgba(91, 133, 255, .4), transparent);
}

[data-theme="dark"] .ambient.a2 {
  background: radial-gradient(closest-side, rgba(91, 133, 255, .3), transparent);
}

/* ========== PHONE MOCKUP ========== */
.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  background: linear-gradient(160deg, #1d2538 0%, #0a1020 100%);
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .05) inset,
    0 4px 0 -1px #0a1020 inset,
    var(--shadow-phone);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #F4F6F9;
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  color: #0E1726;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a1020;
  border-radius: 999px;
  z-index: 20;
}

.phone-side {
  position: absolute;
  background: #0a1020;
  border-radius: 2px;
}

.phone-side.s1 {
  right: -2px;
  top: 110px;
  width: 3px;
  height: 50px;
}

.phone-side.s2 {
  right: -2px;
  top: 180px;
  width: 3px;
  height: 80px;
}

.phone-side.s3 {
  left: -2px;
  top: 130px;
  width: 3px;
  height: 40px;
}

.phone-side.s4 {
  left: -2px;
  top: 180px;
  width: 3px;
  height: 70px;
}

/* Phone screen content is theme-agnostic (keep app looking like real app) */
.phone-screen {
  --p-bg: #F4F6F9;
  --p-surface: #fff;
  --p-ink: #0E1726;
  --p-muted: #5a6477;
  --p-muted-2: #8a93a6;
  --p-line: #e6eaf1;
  --p-primary: #2F5FE3;
  --p-primary-50: #eaf0ff;
  --p-bg-2: #eef1f6;
}

/* Image-based screen — uses real app screenshot */
.phone-screen.img-screen {
  background: #000;
}

.phone-screen.img-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--p-ink);
  position: relative;
  z-index: 5;
}

.status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  opacity: .9;
}

.status-icons svg {
  display: block;
}

/* App screen — Home */
.app-home {
  padding: 6px 18px 0;
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
  overflow: hidden;
  background: var(--p-bg);
}

.app-home .top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 6px;
}

.greeting .hi {
  font-size: 12px;
  color: var(--p-muted);
  font-weight: 500;
}

.greeting .name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-ink);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd6a5, #ffadad);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #7a3a13;
  font-size: 14px;
  border: 2px solid white;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--p-surface);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
  border: 1px solid var(--p-line);
  font-size: 12px;
  color: var(--p-muted);
}

.search-pill .loc {
  margin-left: auto;
  color: var(--p-primary);
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  color: var(--p-ink);
  white-space: nowrap;
}

.chip.active {
  background: var(--p-primary);
  color: white;
  border-color: var(--p-primary);
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--p-ink);
}

.section-label .see {
  font-size: 10.5px;
  color: var(--p-primary);
  font-weight: 600;
}

.hostel-card {
  background: var(--p-surface);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  gap: 10px;
  border: 1px solid var(--p-line);
  margin-bottom: 10px;
}

.hostel-card .thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, rgba(47, 95, 227, .5), rgba(47, 95, 227, .2)),
    repeating-linear-gradient(45deg, #c8d4ee, #c8d4ee 6px, #b9c8e6 6px, #b9c8e6 12px);
  position: relative;
}

.hostel-card .thumb.v2 {
  background: linear-gradient(135deg, #ffd6a5 0%, #ffb084 100%);
}

.hostel-card .thumb.v3 {
  background: linear-gradient(135deg, #b8e0d2 0%, #7fc8b0 100%);
}

.hostel-card .body {
  flex: 1;
  min-width: 0;
}

.hostel-card .name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--p-ink);
}

.verified {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--p-primary);
  display: grid;
  place-items: center;
  color: white;
  font-size: 8px;
  flex-shrink: 0;
}

.hostel-card .meta-row {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--p-muted);
  margin-top: 3px;
}

.hostel-card .meta-row .dot {
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--p-muted-2);
}

.hostel-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.hostel-card .price {
  font-size: 12px;
  font-weight: 700;
  color: var(--p-primary);
}

.hostel-card .price span {
  color: var(--p-muted);
  font-weight: 500;
  font-size: 9.5px;
}

.hostel-card .rating {
  font-size: 10px;
  font-weight: 600;
  background: #fff7d6;
  padding: 2px 6px;
  border-radius: 6px;
  color: #7a5a00;
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

/* tabbar */
.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 10px 16px 22px;
  background: var(--p-surface);
  border-top: 1px solid var(--p-line);
  z-index: 5;
}

.tabbar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--p-muted-2);
  font-size: 9.5px;
  font-weight: 600;
}

.tabbar .tab.active {
  color: var(--p-primary);
}

.tabbar .tab svg {
  display: block;
}

/* ========== SECTIONS ========== */
section {
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: 110px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head .tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--primary-100);
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ----- Feature cards grid ----- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.feat-card {
  grid-column: span 4;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .2s;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-card.span-6 {
  grid-column: span 6;
}

.feat-card.span-8 {
  grid-column: span 8;
}

.feat-card.span-3 {
  grid-column: span 3;
}

.feat-card.featured {
  background: linear-gradient(160deg, #2F5FE3 0%, #244dc7 100%);
  color: white;
  border: none;
  box-shadow: 0 24px 50px -20px rgba(47, 95, 227, .55);
}

.feat-card.featured .feat-ico {
  background: rgba(255, 255, 255, .15);
  color: white;
}

.feat-card.featured .feat-desc {
  color: rgba(255, 255, 255, .85);
}

.feat-card.featured .feat-title {
  color: white;
}

.feat-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-50);
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  transition: transform .25s;
}

.feat-card:hover .feat-ico {
  transform: scale(1.06) rotate(-3deg);
}

.feat-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.feat-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

.feat-card .corner-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 500;
}

.feat-card.featured .corner-num {
  color: rgba(255, 255, 255, .7);
}

/* small illustrative bits in cards */
.feat-vis {
  margin-top: auto;
  padding-top: 18px;
}

.mini-row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.mini-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-weight: 600;
  border: 1px solid var(--line);
}

.feat-card.featured .mini-pill {
  background: rgba(255, 255, 255, .18);
  color: white;
  border-color: rgba(255, 255, 255, .2);
}

/* ----- Owner section background variation ----- */
.owners-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

[data-theme="dark"] .owners-section {
  background: linear-gradient(180deg, var(--bg) 0%, #0a0f1e 50%, var(--bg) 100%);
}

/* ----- Trust section ----- */
.trust-section {
  background: #060912;
  color: white;
}

[data-theme="dark"] .trust-section {
  background: #02050d;
}

.trust-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(47, 95, 227, .25), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(47, 95, 227, .15), transparent 70%);
  pointer-events: none;
}

.trust-section .section-head .tag {
  background: rgba(91, 133, 255, .15);
  color: #a4bcff;
  border-color: rgba(91, 133, 255, .25);
}

.trust-section .section-head h2 {
  color: white;
}

.trust-section .section-head p {
  color: rgba(255, 255, 255, .65);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  position: relative;
}

.trust-card {
  grid-column: span 2;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s, border-color .2s, transform .25s;
}

.trust-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  transform: translateY(-4px);
}

.trust-card:nth-child(1) {
  grid-column: 1 / span 3;
}

.trust-card:nth-child(2) {
  grid-column: 4 / span 2;
}

.trust-card:nth-child(3) {
  grid-column: 6 / span 2;
}

.trust-card:nth-child(4) {
  grid-column: 1 / span 2;
}

.trust-card:nth-child(5) {
  grid-column: 3 / span 2;
}

.trust-card:nth-child(6) {
  grid-column: 5 / span 3;
}

.trust-card:nth-child(7) {
  grid-column: 1 / span 7;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.trust-card:nth-child(7) .trust-ico {
  flex-shrink: 0;
}

.trust-card:nth-child(7) .trust-title {
  font-size: 22px;
}

.trust-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47, 95, 227, .4), rgba(47, 95, 227, .15));
  color: #a4bcff;
}

.trust-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.trust-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
}

/* ----- App preview carousel ----- */
.preview-section {
  overflow: hidden;
  padding: 110px 0 130px;
}

.carousel-stage {
  position: relative;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  height: 660px;
  display: grid;
  place-items: center;
  margin-top: 30px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 500px;
  margin: -250px 0 0 -120px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .4s;
  cursor: pointer;
}

.carousel-phone .phone-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s .2s;
}

.carousel-phone.center .phone-label {
  opacity: 1;
}

.carousel-arrows {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 20;
}

.carr {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background .15s, transform .15s, border-color .15s, color .15s;
  color: var(--ink);
}

.carr:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}

.carr.dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 44px;
  padding: 0 16px;
  gap: 8px;
  background: var(--surface);
  border-radius: 999px;
}

.carr.dots:hover {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  transform: none;
}

.carr.dots .d {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-2);
  transition: background .25s, width .25s, transform .15s;
  flex-shrink: 0;
  position: relative;
  padding: 0;
  border: none;
  cursor: pointer;
}

.carr.dots .d:hover {
  background: var(--primary);
  transform: scale(1.25);
}

.carr.dots .d.active {
  background: var(--primary);
  width: 24px;
  box-shadow: 0 0 0 3px var(--primary-50);
}

/* Active screen name label above dots */
.carousel-arrows .now-label {
  /* Inline in the controls row (no longer stacked above the phone label,
     which was overlapping the sliding screen name). */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 2px;
}

.carousel-arrows .now-label .ix {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  background: var(--primary-50);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.carousel-arrows .now-label .name {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.005em;
  text-transform: none;
  font-size: 14px;
}

/* ============================================================
   NEW: Live Search Demo
   ============================================================ */
.demo-section {
  padding: 80px 0 80px;
}

.demo-card {
  background: var(--surface);
  border-radius: 32px;
  padding: 48px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  top: -300px;
  right: -200px;
  pointer-events: none;
}

.demo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative;
}

.demo-head .lhs {
  max-width: 460px;
}

.demo-head h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.demo-head p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

.demo-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  position: relative;
}

.demo-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  min-width: 200px;
  color: var(--ink);
}

.demo-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  min-width: 0;
}

.demo-field input::placeholder {
  color: var(--muted-2);
}

.demo-field+.demo-field {
  border-left: 1px solid var(--line);
}

.demo-search .btn-primary {
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 14px;
}

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}

.demo-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.demo-chip.on {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.demo-chip .x {
  opacity: .7;
  font-weight: 500;
}

.demo-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}

.result-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .15s;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}

.result-thumb {
  height: 130px;
  background: linear-gradient(135deg, rgba(47, 95, 227, .5), rgba(47, 95, 227, .2)),
    repeating-linear-gradient(45deg, #c8d4ee, #c8d4ee 8px, #b9c8e6 8px, #b9c8e6 16px);
  position: relative;
  background-size: cover;
  background-position: center;
}

.result-thumb.v2 {
  background: linear-gradient(135deg, #ffd6a5 0%, #ffb084 100%);
}

.result-thumb.v3 {
  background: linear-gradient(135deg, #b8e0d2 0%, #7fc8b0 100%);
}

.result-thumb.v4 {
  background: linear-gradient(135deg, #d4b8ee 0%, #a67fc8 100%);
}

.result-thumb.v5 {
  background: linear-gradient(135deg, #ffadad 0%, #ff7a7a 100%);
}

.result-thumb.has-image {
  background-size: cover;
  background-position: center;
}

.result-thumb .badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 48px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.result-thumb .badge {
  background: var(--result-badge-bg);
  color: var(--result-badge-text);
  border: 1px solid var(--result-badge-border);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.listing-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--primary);
  background: var(--result-badge-bg);
  border: 1px solid var(--result-badge-border);
  backdrop-filter: blur(8px);
}

.listing-trust-badge-icon {
  display: block;
  flex: 0 0 auto;
}

.result-thumb .listing-status-badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  line-height: 1.1;
  backdrop-filter: blur(8px);
}

.result-thumb .listing-status-badge.is-verified,
.result-thumb .listing-status-badge.status-featured,
.bk-card-badges .listing-trust-badge.is-verified {
  background: var(--result-badge-dark-bg);
  color: var(--result-badge-dark-text);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .75);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .22);
}

.result-thumb button.badge {
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.result-thumb button.badge:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.result-thumb .badge.dark {
  background: var(--result-badge-dark-bg);
  color: var(--result-badge-dark-text);
}

.result-thumb .badge.claim-badge.unclaimed {
  background: #fff7d6;
  color: #7a5a00;
  border-color: rgba(245, 158, 11, .34);
}

.result-thumb .badge.claim-badge.claimed {
  background: rgba(59, 130, 246, .12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, .3);
}

.result-thumb .badge.claim-badge.pending {
  background: #fff0df;
  color: #9a4a00;
  border-color: rgba(249, 115, 22, .34);
}

.result-thumb .badge.claim-badge.verified {
  background: #e9fbf2;
  color: #087443;
  border-color: rgba(16, 185, 129, .34);
}

.result-thumb .badge.claim-badge.status-verified,
.result-thumb .badge.claim-badge.featured,
.result-thumb .badge.claim-badge.status-featured {
  background: var(--result-badge-dark-bg);
  color: var(--result-badge-dark-text);
  border-color: rgba(255, 255, 255, .18);
}

[data-theme="dark"] .result-thumb .badge.claim-badge.unclaimed {
  background: rgba(245, 158, 11, .18);
  color: #fbbf24;
}

[data-theme="dark"] .result-thumb .badge.claim-badge.claimed {
  background: rgba(59, 130, 246, .22);
  color: #93c5fd;
}

[data-theme="dark"] .result-thumb .badge.claim-badge.pending {
  background: rgba(249, 115, 22, .18);
  color: #fb923c;
}

[data-theme="dark"] .result-thumb .badge.claim-badge.verified {
  background: rgba(16, 185, 129, .16);
  color: #34d399;
}

.result-thumb .heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--result-heart-bg);
  display: grid;
  place-items: center;
  color: var(--result-heart-ink);
  border: 1px solid var(--result-heart-border);
  cursor: pointer;
  transition: color .15s, transform .15s;
}

.result-thumb .heart:hover {
  color: var(--danger);
  transform: scale(1.1);
}

.result-thumb .heart.saved {
  color: var(--danger);
}

.result-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.result-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--ink);
}

.result-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.result-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.result-price small {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
}

.result-rating {
  font-size: 11px;
  font-weight: 700;
  background: #fff7d6;
  color: #7a5a00;
  padding: 3px 8px;
  border-radius: 7px;
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

[data-theme="dark"] .result-rating {
  background: rgba(245, 158, 11, .18);
  color: #fbbf24;
}

.claim-inline {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.claim-inline a {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.claim-inline a:hover {
  text-decoration: underline;
}

.claim-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 9, 18, .52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.claim-modal {
  width: min(430px, 100%);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.claim-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.claim-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.claim-modal-badge.unclaimed,
.claim-modal-badge.status-unclaimed {
  background: #fff7d6;
  color: #7a5a00;
}

.claim-modal-badge.claimed,
.claim-modal-badge.status-claimed {
  background: rgba(59, 130, 246, .12);
  color: #1d4ed8;
}

.claim-modal-badge.pending,
.claim-modal-badge.status-pending {
  background: #fff0df;
  color: #9a4a00;
}

.claim-modal-badge.verified,
.claim-modal-badge.status-verified {
  background: #e9fbf2;
  color: #087443;
}

.claim-modal-badge.featured,
.claim-modal-badge.status-featured {
  background: var(--ink);
  color: var(--bg);
}

[data-theme="dark"] .claim-modal-badge.unclaimed,
[data-theme="dark"] .claim-modal-badge.status-unclaimed {
  background: rgba(245, 158, 11, .18);
  color: #fbbf24;
}

[data-theme="dark"] .claim-modal-badge.claimed,
[data-theme="dark"] .claim-modal-badge.status-claimed {
  background: rgba(59, 130, 246, .22);
  color: #93c5fd;
}

[data-theme="dark"] .claim-modal-badge.pending,
[data-theme="dark"] .claim-modal-badge.status-pending {
  background: rgba(249, 115, 22, .18);
  color: #fb923c;
}

[data-theme="dark"] .claim-modal-badge.verified,
[data-theme="dark"] .claim-modal-badge.status-verified {
  background: rgba(16, 185, 129, .16);
  color: #34d399;
}

.claim-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.claim-modal-close:hover {
  background: var(--ink);
  color: var(--bg);
}

.claim-modal h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.claim-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.claim-modal-cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

.demo-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  background: var(--surface-2);
  border-radius: 18px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
}

/* ============================================================
   NEW: Comparison strip
   ============================================================ */
.compare-section {
  padding: 80px 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-card {
  border-radius: 28px;
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
}

.compare-card.bad {
  background: var(--surface);
  border: 1px solid var(--line);
}

.compare-card.good {
  background: linear-gradient(155deg, #2F5FE3 0%, #1d3a99 100%);
  color: white;
  box-shadow: 0 24px 60px -20px var(--primary-glow);
}

.compare-card .compare-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.compare-card .compare-head .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.compare-card.bad .compare-head .ico {
  background: var(--bg-2);
  color: var(--muted);
}

.compare-card.good .compare-head .ico {
  background: rgba(255, 255, 255, .15);
  color: white;
}

.compare-card h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare-card .compare-head .sub {
  font-size: 12.5px;
  color: var(--muted);
}

.compare-card.good .compare-head .sub {
  color: rgba(255, 255, 255, .7);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
}

.compare-row .mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.compare-card.bad .mark {
  background: var(--bg-2);
  color: var(--muted);
}

.compare-card.good .mark {
  background: rgba(255, 255, 255, .2);
  color: white;
}

.compare-card.bad .compare-row {
  color: var(--muted);
}

.compare-card.good .compare-row {
  color: rgba(255, 255, 255, .92);
}

/* ============================================================
   NEW: Testimonials
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 26px;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .15s;
  position: relative;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.testi-card.big {
  grid-column: span 6;
  background: linear-gradient(155deg, #2F5FE3, #1d3a99);
  color: white;
  border: none;
}

.testi-card.big .testi-quote {
  color: white;
  font-size: 19px;
}

.testi-card.big .person-name {
  color: white;
}

.testi-card.big .person-meta {
  color: rgba(255, 255, 255, .7);
}

.testi-card.big .stars {
  color: #ffd966;
}

.testi-card.span-3 {
  grid-column: span 3;
}

.stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 14px;
}

.testi-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  margin: 0 0 22px;
  flex: 1;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.person-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  color: white;
}

.person-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.person-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

/* ============================================================
   NEW: FAQ accordion
   ============================================================ */
.faq-section {
  padding: 100px 0 120px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item.open {
  border-color: var(--primary-100);
  box-shadow: 0 8px 24px -12px var(--primary-glow);
}

.faq-q {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: -0.01em;
}

.faq-q .chevron {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  color: var(--ink);
  transition: transform .25s, background .15s;
  flex-shrink: 0;
}

.faq-item.open .faq-q .chevron {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.faq-side h2 {
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
}

.faq-side p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 24px;
}

.faq-side .tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--primary-100);
}

.faq-help {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.faq-help .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.faq-help .body {
  flex: 1;
}

.faq-help .body .t {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.faq-help .body .s {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 1px;
}

.faq-help .arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}

.faq-help:hover .arrow {
  background: var(--primary);
  transform: rotate(-45deg);
}

/* ============================================================
   About section
   ============================================================ */
.about-section {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-copy .tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--primary-100);
}

.about-copy h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 700;
}

.about-lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.about-copy p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.as-item .as-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.as-item .as-num .unit {
  color: var(--primary);
}

.as-item .as-lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.about-cta {
  margin-top: 26px;
}

.about-cta .btn {
  padding: 13px 22px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.pillar:hover {
  transform: translateY(-2px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}

.pillar-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 3px;
}

/* ============================================================
   Contact section
   ============================================================ */
.contact-section {
  padding: 90px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-md);
}

.contact-card.no-link {
  cursor: default;
}

.contact-card.no-link:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.cc-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.cc-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.cc-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.cc-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
}

.cc-value-sm {
  font-size: 14.5px;
  word-break: break-word;
}

.cc-ico-warn {
  background: #fff3da !important;
  color: #c87f00 !important;
}

.contact-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card.highlight {
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-600) 100%);
  border: none;
  color: white;
  box-shadow: 0 20px 40px -16px var(--primary-glow);
}

.contact-card.highlight .cc-ico {
  background: rgba(255, 255, 255, .18);
  color: white;
}

.contact-card.highlight .cc-label {
  color: rgba(255, 255, 255, .85);
}

.contact-card.highlight .cc-value {
  color: white;
}

.contact-card.highlight .cc-meta {
  color: rgba(255, 255, 255, .85);
}

.contact-card.highlight:hover {
  box-shadow: 0 24px 50px -18px var(--primary-glow);
}

/* Help grid below main contact cards */
.contact-help-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.help-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.help-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.help-head .cc-ico {
  margin-bottom: 0;
}

.help-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2px;
}

.help-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.help-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}

.help-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.help-safety {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
}

.help-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.help-cta {
  align-self: flex-start;
  margin-top: auto;
}

/* ============================================================
   Final CTA
   ============================================================ */
.cta-section {
  padding: 60px 0 80px;
}

.cta-card {
  background: linear-gradient(135deg, #2F5FE3 0%, #1d3a99 100%);
  border-radius: 36px;
  padding: 64px 60px;
  position: relative;
  overflow: hidden;
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 40px 80px -20px rgba(47, 95, 227, .5);
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .15), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  font-weight: 700;
  position: relative;
}

.cta-card p {
  font-size: 17px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.5;
  max-width: 480px;
  position: relative;
}

.cta-card .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .3);
}

.cta-card .btn-primary:hover {
  background: #f4f6f9;
}

.cta-card .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: white;
}

.cta-card .btn-secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: white;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.cta-right {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.qr-card {
  background: white;
  border-radius: 22px;
  padding: 16px;
  width: 180px;
  text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .35);
}

.qr-square {
  width: 148px;
  height: 148px;
  background: white;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 1px;
  margin: 0 auto 10px;
  padding: 2px;
}

.qr-square span {
  background: #0E1726;
  border-radius: 1px;
}

.qr-square span.empty {
  background: transparent;
}

.qr-card .label {
  font-size: 11px;
  color: #0E1726;
  font-weight: 600;
}

.qr-card .label .small {
  display: block;
  font-size: 9.5px;
  color: #5a6477;
  font-weight: 500;
  margin-top: 2px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: black;
  color: white;
  padding: 12px 18px;
  border-radius: 14px;
  width: 200px;
}

.play-badge .top {
  font-size: 10px;
  opacity: .8;
}

.play-badge .bot {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============================================================
   Floating download bar (appears after hero)
   ============================================================ */
.float-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, calc(100% + 40px));
  z-index: 60;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px 14px 10px 20px;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, .35), 0 8px 16px -8px rgba(15, 23, 42, .2);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .3s;
  opacity: 0;
}

.float-bar.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.float-bar .fb-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  gap: 8px;
  align-items: center;
}

.float-bar .fb-text .pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16a34a;
  animation: pulse 2s infinite;
}

.float-bar .fb-btn {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: background .15s, transform .15s;
}

.float-bar .fb-btn:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.float-bar .fb-close {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
}

.float-bar .fb-close:hover {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary-100);
}

@media (max-width: 640px) {
  .float-bar {
    left: 50%;
    right: auto;
    width: min(92vw, 360px);
    transform: translate(-50%, calc(100% + 40px));
    padding: 16px 16px 18px;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .float-bar.show {
    transform: translate(-50%, 0);
  }

  .float-bar .fb-text {
    font-size: 12.5px;
    justify-content: center;
  }

  .float-bar .fb-text span:not(.pulse) {
    display: inline;
  }

  .float-bar .fb-btn {
    width: 100%;
    justify-content: center;
  }

  .float-bar .fb-close {
    position: absolute;
    right: 8px;
    top: 8px;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-meta {
  max-width: 320px;
}

.footer-meta p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 14px 0 0;
}

.footer-cta {
  margin-top: 18px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s, transform .15s;
}

.footer-cta-btn:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color .15s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

/* ========== RESPONSIVE ========== */

/* Tablet landscape (≤1100px) */
@media (max-width: 1100px) {
  .feat-card.span-3 {
    grid-column: span 6;
  }

  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .trust-card:nth-child(1) {
    grid-column: 1 / span 3;
  }

  .trust-card:nth-child(2) {
    grid-column: 4 / span 3;
  }

  .trust-card:nth-child(3) {
    grid-column: 1 / span 3;
  }

  .trust-card:nth-child(4) {
    grid-column: 4 / span 3;
  }

  .trust-card:nth-child(5) {
    grid-column: 1 / span 3;
  }

  .trust-card:nth-child(6) {
    grid-column: 4 / span 3;
  }

  .trust-card:nth-child(7) {
    grid-column: 1 / span 6;
  }

  .cta-card {
    padding: 56px 48px;
  }

  .qr-card {
    width: 160px;
  }

  .qr-square {
    width: 128px;
    height: 128px;
  }
}

/* Tablet (≤980px) — About + Contact stacks */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-help-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet (≤980px) */
@media (max-width: 980px) {
  .hero {
    padding: 40px 0 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: auto;
  }

  .hero-copy {
    text-align: left;
  }

  .hero .sub,
  .hero .desc {
    max-width: 100%;
  }

  .hero-stats {
    max-width: 100%;
  }

  .stage {
    min-height: 560px;
  }

  .feat-card,
  .feat-card.span-6,
  .feat-card.span-8,
  .feat-card.span-3 {
    grid-column: span 6;
    min-height: auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card,
  .trust-card:nth-child(n) {
    grid-column: span 1 !important;
    flex-direction: column !important;
    align-items: stretch;
  }

  .trust-card:nth-child(7) {
    grid-column: span 2 !important;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 48px 36px;
    gap: 32px;
    text-align: center;
  }

  .cta-card p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-buttons {
    justify-content: center;
  }

  .cta-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-pad {
    padding: 80px 0;
  }

  .demo-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .testi-card,
  .testi-card.big,
  .testi-card.span-3 {
    grid-column: span 6;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .carousel-stage {
    height: 600px;
  }

  .carousel-phone {
    width: 220px;
    height: 460px;
    margin: -230px 0 0 -110px;
  }
}

/* Small tablet / large phone (≤768px) */
@media (max-width: 768px) {
  .nav-inner {
    height: 64px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .section-head h2 {
    font-size: clamp(28px, 5.5vw, 42px);
  }

  .section-head p {
    font-size: 15.5px;
  }

  .hero {
    padding: 28px 0 80px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(40px, 9vw, 64px);
  }

  .hero .sub {
    font-size: 19px;
  }

  .hero .desc {
    font-size: 15.5px;
    margin-bottom: 26px;
  }

  .hero-stats {
    gap: 22px;
    padding-top: 22px;
  }

  .hero-stat .num {
    font-size: 24px;
  }

  .stage {
    min-height: 520px;
  }

  .phone-3d {
    width: 240px;
    height: 500px;
  }

  .floater {
    font-size: 12.5px;
    padding: 10px 12px;
  }

  .floater .ico {
    width: 28px;
    height: 28px;
  }

  .floater .meta .sub {
    font-size: 10px;
  }

  .demo-section {
    padding: 60px 0;
  }

  .demo-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .demo-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .demo-head h3 {
    font-size: 24px;
  }

  .compare-section {
    padding: 60px 0;
  }

  .compare-card {
    padding: 32px 28px;
  }

  .testimonials-section {
    padding: 72px 0;
  }

  .testi-card {
    padding: 24px 22px;
  }

  .faq-section {
    padding: 72px 0 88px;
  }

  .faq-q {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-a-inner {
    padding: 0 20px 18px;
    font-size: 14px;
  }

  .cta-section {
    padding: 40px 0 60px;
  }

  .cta-card {
    padding: 44px 32px;
    border-radius: 32px;
  }

  .preview-section {
    padding: 72px 0 90px;
  }

  .carousel-stage {
    height: 560px;
    margin-top: 16px;
  }

  .carousel-phone {
    width: 200px;
    height: 420px;
    margin: -210px 0 0 -100px;
  }

  .carousel-phone .phone-label {
    font-size: 12px;
    bottom: -20px;
  }

  .footer {
    padding: 40px 0 28px;
  }

  .footer-inner {
    gap: 36px;
  }

  .footer-cols {
    gap: 32px 40px;
    flex-wrap: wrap;
  }

  .footer-col {
    min-width: 140px;
  }

  .about-section {
    padding: 72px 0;
  }

  .about-copy h2 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .about-lead {
    font-size: 17px;
  }

  .as-item .as-num {
    font-size: 22px;
  }

  .contact-section {
    padding: 64px 0 72px;
  }

  .contact-grid-3 {
    grid-template-columns: 1fr;
  }

  .help-card {
    padding: 22px 22px;
  }

  .help-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Phone (≤640px) */
@media (max-width: 640px) {

  .feat-card,
  .feat-card.span-6,
  .feat-card.span-8,
  .feat-card.span-3 {
    grid-column: span 12;
  }

  .feat-card {
    padding: 24px 22px;
  }

  .hero {
    padding: 24px 0 64px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 52px);
    margin: 18px 0 14px;
  }

  .hero .sub {
    font-size: 17px;
  }

  .hero .desc {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 12px;
    padding: 5px 12px 5px 6px;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 30%;
    min-width: 90px;
  }

  .hero-stat .num {
    font-size: 22px;
  }

  .hero-stat .lbl {
    font-size: 11.5px;
  }

  .stage {
    min-height: 460px;
  }

  .phone-3d {
    width: 220px;
    height: 460px;
    transform: rotateX(6deg) rotateY(-10deg);
  }

  .phone-3d {
    animation: none;
  }

  .floater {
    font-size: 11.5px;
    padding: 8px 10px;
    gap: 8px;
  }

  .floater .ico {
    width: 24px;
    height: 24px;
  }

  .floater .ico svg {
    width: 12px;
    height: 12px;
  }

  .floater .meta .sub {
    font-size: 9.5px;
  }

  .f1 {
    top: 4%;
    left: -2%;
  }

  .f2 {
    top: 14%;
    right: -2%;
  }

  .f3 {
    display: none;
  }

  .f4 {
    display: none;
  }

  .f5 {
    bottom: 4%;
    left: 2%;
  }

  .ambient.a1 {
    width: 280px;
    height: 280px;
  }

  .ambient.a2 {
    width: 200px;
    height: 200px;
  }

  .section-pad {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .section-head p {
    font-size: 14.5px;
  }

  .testi-card,
  .testi-card.big,
  .testi-card.span-3 {
    grid-column: span 12;
  }

  .testi-card {
    padding: 22px 20px;
  }

  .testi-card.big .testi-quote {
    font-size: 17px;
  }

  .testi-quote {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .compare-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .compare-card h4 {
    font-size: 18px;
  }

  .compare-row {
    font-size: 14px;
  }

  .demo-section {
    padding: 52px 0;
  }

  .demo-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .demo-card::before {
    width: 320px;
    height: 320px;
    top: -200px;
    right: -120px;
  }

  .demo-head h3 {
    font-size: 22px;
  }

  .demo-search {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 16px;
    gap: 4px;
  }

  .demo-search .demo-field {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
  }

  .demo-field+.demo-field {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .demo-search .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .demo-results {
    grid-template-columns: 1fr;
  }

  .demo-chip {
    padding: 7px 12px;
    font-size: 12.5px;
  }

  .faq-section {
    padding: 56px 0 72px;
  }

  .faq-side h2 {
    font-size: clamp(26px, 6vw, 36px);
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 14.5px;
    gap: 10px;
  }

  .faq-q .chevron {
    width: 26px;
    height: 26px;
  }

  .faq-a-inner {
    padding: 0 18px 16px;
    font-size: 13.5px;
  }

  .faq-help {
    padding: 14px 16px;
    gap: 12px;
  }

  .cta-section {
    padding: 32px 0 56px;
  }

  .cta-card {
    padding: 36px 24px;
    border-radius: 28px;
    gap: 28px;
  }

  .cta-card h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .cta-card p {
    font-size: 15px;
  }

  .cta-buttons {
    gap: 10px;
  }

  .cta-buttons .btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14px;
  }

  .cta-right {
    gap: 14px;
  }

  .qr-card {
    width: 150px;
    padding: 12px;
  }

  .qr-square {
    width: 124px;
    height: 124px;
  }

  .qr-card .label {
    font-size: 10.5px;
  }

  .play-badge {
    width: 180px;
    padding: 10px 14px;
  }

  .play-badge .top {
    font-size: 9px;
  }

  .play-badge .bot {
    font-size: 16px;
  }

  .preview-section {
    padding: 56px 0 80px;
  }

  .carousel-stage {
    height: 500px;
    margin-top: 8px;
  }

  .carousel-phone {
    width: 180px;
    height: 380px;
    margin: -190px 0 0 -90px;
  }

  .carr {
    width: 40px;
    height: 40px;
  }

  .carr.dots {
    height: 40px;
    padding: 0 12px;
    gap: 6px;
  }

  .carr.dots .d {
    width: 7px;
    height: 7px;
  }

  .carr.dots .d.active {
    width: 20px;
  }

  .carousel-arrows .now-label {
    bottom: 50px;
    font-size: 11px;
  }

  .carousel-arrows .now-label .name {
    font-size: 13px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card,
  .trust-card:nth-child(n) {
    grid-column: span 1 !important;
  }

  .trust-card:nth-child(7) {
    grid-column: span 1 !important;
  }

  .trust-card {
    padding: 22px 20px;
  }

  .trust-card:nth-child(7) .trust-title {
    font-size: 18px;
  }

  .footer {
    padding: 36px 0 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-meta {
    max-width: 100%;
  }

  .footer-cols {
    gap: 28px 32px;
    width: 100%;
  }

  .footer-col {
    min-width: 130px;
    flex: 1 1 calc(50% - 16px);
  }

  .footer-bot {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 20px;
    margin-top: 28px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .as-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .pillar {
    padding: 16px 18px;
  }

  .contact-section {
    padding: 52px 0 64px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-grid-3 {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 20px 18px;
  }

  .cc-value {
    font-size: 15px;
  }

  .help-card {
    padding: 20px 18px;
    gap: 14px;
    border-radius: 18px;
  }

  .help-title {
    font-size: 15.5px;
  }

  .help-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Very small phones (≤480px) */
@media (max-width: 480px) {
  .nav-inner {
    height: 60px;
  }

  .brand {
    font-size: 17px;
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 16px 0 48px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .hero .sub {
    font-size: 16px;
  }

  .hero .desc {
    font-size: 14.5px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 14px 18px;
    padding-top: 18px;
  }

  .hero-stat {
    flex: 1 1 100%;
  }

  .hero-stat .num {
    font-size: 24px;
  }

  .stage {
    min-height: 420px;
  }

  .phone-3d {
    width: 200px;
    height: 420px;
  }

  .stage-floor {
    height: 140px;
    inset: auto 0 40px 0;
  }

  .phone-shadow {
    width: 160px;
  }

  .floater {
    font-size: 10.5px;
  }

  .floater .meta span:first-child {
    font-size: 11px;
  }

  .floater .meta .sub {
    display: none;
  }

  .floater .ico {
    width: 22px;
    height: 22px;
  }

  .cta-card {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .qr-card {
    display: none;
  }

  .play-badge {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .demo-card {
    padding: 20px 16px;
  }

  .demo-head h3 {
    font-size: 20px;
  }

  .footer-cols {
    flex-direction: column;
    gap: 24px;
  }

  .footer-col {
    min-width: 100%;
    flex-basis: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .as-item:nth-child(n) {
    grid-column: 1;
  }

  .carousel-stage {
    height: 440px;
  }

  .carousel-phone {
    width: 160px;
    height: 340px;
    margin: -170px 0 0 -80px;
  }

  .compare-card {
    padding: 22px 18px;
  }

  .compare-card h4 {
    font-size: 17px;
  }

  .compare-card .compare-head {
    gap: 10px;
    margin-bottom: 18px;
  }

  .compare-row {
    font-size: 13.5px;
    gap: 10px;
  }

  .testi-card {
    padding: 20px 18px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Extra small (≤360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 30px;
  }

  .phone-3d {
    width: 180px;
    height: 380px;
  }

  .stage {
    min-height: 380px;
  }

  .carousel-phone {
    width: 150px;
    height: 320px;
    margin: -160px 0 0 -75px;
  }

  .carousel-stage {
    height: 420px;
  }

  .cta-card h2 {
    font-size: 24px;
  }

  .floater {
    display: none;
  }

  .f1,
  .f2,
  .f5 {
    display: flex;
  }

  .demo-card {
    padding: 18px 14px;
    border-radius: 18px;
  }
}

/* Touch device: disable parallax tilt to avoid jank */
@media (hover: none) {
  .phone-3d {
    animation: none;
    transform: rotateX(6deg) rotateY(-10deg) !important;
  }
}

/* ========== UTILS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   STANDALONE POLICY / INFO PAGES
   (rendered by /pages/controllers/page-controller.js)
   These pages reuse the home page's .nav, .brand, .nav-toggle,
   .side-drawer, .theme-toggle styles for visual consistency.
   ============================================================ */

/* ---------- Page hero (title + meta) ---------- */
.page-hero {
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, var(--primary-50), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.page-hero .page-tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid var(--primary-100);
}

.page-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 700;
}

.page-hero .page-meta {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 4px;
}

.page-hero .page-meta strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------- Page body grid ---------- */
.page-body {
  padding: 56px 0 90px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Table of contents ---------- */
.page-toc {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.ptc-toggle {
  display: none;
  /* desktop: hidden */
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.ptc-toggle .ptc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.ptc-toggle .ptc-chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  transition: transform .25s, background .15s, color .15s;
}

.ptc-toggle svg {
  display: block;
}

[data-page-toc].open .ptc-chev {
  transform: rotate(180deg);
  background: var(--primary);
  color: white;
}

.ptc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ptc-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 10px;
  transition: background .15s, color .15s;
  line-height: 1.4;
  text-decoration: none;
}

.ptc-list .ptc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  padding-top: 1px;
  flex-shrink: 0;
  transition: color .15s;
}

.ptc-list .ptc-text {
  flex: 1;
  min-width: 0;
}

.ptc-list a:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.ptc-list a:hover .ptc-num {
  color: var(--primary);
}

.ptc-list a.active {
  background: var(--primary);
  color: white;
}

.ptc-list a.active .ptc-num {
  color: rgba(255, 255, 255, .85);
}

/* ---------- Page article (card wrapper, matches home sections) ---------- */
.page-content {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 44px 44px;
  box-shadow: var(--shadow-sm);
}

.page-intro {
  margin: 0 0 28px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.page-section {
  scroll-margin-top: 90px;
  padding-top: 8px;
}

.page-section+.page-section {
  margin-top: 36px;
}

.page-content h2 {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
}

.page-content h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 22px 0 8px;
  line-height: 1.3;
}

.page-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
  text-wrap: pretty;
}

.page-content ul,
.page-content ol {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 22px;
  margin: 0 0 18px;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content li::marker {
  color: var(--primary);
  font-weight: 700;
}

.page-content a {
  color: var(--primary);
  font-weight: 600;
  word-break: break-word;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content strong {
  color: var(--ink);
  font-weight: 700;
}

.page-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.page-content blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--primary-50);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.page-content blockquote p {
  margin: 0;
}

.page-callout {
  margin: 18px 0;
  padding: 14px 18px;
  background: #fff7d6;
  border-left: 3px solid #f59e0b;
  border-radius: 12px;
  font-size: 14.5px;
  color: #7a5a00;
  line-height: 1.55;
}

[data-theme="dark"] .page-callout {
  background: rgba(245, 158, 11, .12);
  color: #fbbf24;
}

/* ---------- CTA strip at end of article ---------- */
.page-cta-strip {
  margin-top: 56px;
  padding: 30px 32px;
  background: linear-gradient(135deg, #2F5FE3 0%, #1d3a99 100%);
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: white;
  box-shadow: 0 24px 50px -20px var(--primary-glow);
}

.page-cta-strip .cta-text {
  flex: 1;
  min-width: 220px;
}

.page-cta-strip h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.page-cta-strip p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.page-cta-strip .btn {
  background: white;
  color: var(--primary);
  white-space: nowrap;
}

.page-cta-strip .btn:hover {
  background: #f4f6f9;
}

/* ---------- Claim hostel page ---------- */
.claim-summary {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.claim-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.claim-summary-label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.claim-summary-title {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
}

.claim-summary-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.claim-summary-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.claim-summary-pill[data-status="unclaimed"] {
  background: rgba(245, 158, 11, .14);
  color: #7a5a00;
  border-color: rgba(245, 158, 11, .3);
}

.claim-summary-pill[data-status="claimed"] {
  background: rgba(59, 130, 246, .14);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, .28);
}

.claim-summary-pill[data-status="pending"] {
  background: rgba(249, 115, 22, .14);
  color: #9a4a00;
  border-color: rgba(249, 115, 22, .3);
}

.claim-summary-pill[data-status="verified"] {
  background: rgba(16, 185, 129, .12);
  color: #087443;
  border-color: rgba(16, 185, 129, .25);
}

.claim-summary-pill[data-status="featured"] {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
}

[data-theme="dark"] .claim-summary-pill[data-status="unclaimed"] {
  background: rgba(245, 158, 11, .18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, .32);
}

[data-theme="dark"] .claim-summary-pill[data-status="claimed"] {
  background: rgba(59, 130, 246, .22);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, .32);
}

[data-theme="dark"] .claim-summary-pill[data-status="pending"] {
  background: rgba(249, 115, 22, .2);
  color: #fb923c;
  border-color: rgba(249, 115, 22, .32);
}

[data-theme="dark"] .claim-summary-pill[data-status="verified"] {
  background: rgba(16, 185, 129, .18);
  color: #34d399;
  border-color: rgba(16, 185, 129, .32);
}

.claim-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.claim-summary-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
  min-height: 62px;
}

.claim-summary-item .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.claim-summary-item .value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  word-break: break-word;
}

.claim-summary-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.claim-status-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 8px;
}

.claim-status-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  padding: 13px 12px;
  min-width: 0;
}

.claim-status-step .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted-2);
  margin-bottom: 5px;
}

.claim-status-step .v {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.claim-status-step.unclaimed {
  border-color: rgba(245, 158, 11, .34);
}

.claim-status-step.claimed {
  border-color: rgba(59, 130, 246, .34);
}

.claim-status-step.pending {
  border-color: rgba(249, 115, 22, .34);
}

.claim-status-step.verified {
  border-color: rgba(16, 185, 129, .34);
}

.claim-status-step.featured {
  border-color: var(--primary-100);
}

.claim-form {
  margin-top: 8px;
  display: grid;
  gap: 18px;
}

.claim-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.claim-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.claim-field.full {
  grid-column: 1 / -1;
}

.claim-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.claim-field input,
.claim-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

.claim-field input:focus,
.claim-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
}

.claim-field textarea {
  min-height: 118px;
  resize: vertical;
}

.claim-field input[type="file"] {
  padding: 10px;
  font-size: 13px;
}

.claim-field .hint {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.claim-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.claim-submit-row .btn {
  border: none;
  cursor: pointer;
}

.claim-submit-note {
  flex: 1;
  min-width: 220px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.claim-form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, .3);
  background: #e9fbf2;
  color: #087443;
  font-size: 13.5px;
  line-height: 1.5;
  gap: 12px;
}

.claim-form-status.show {
  display: grid;
}

[data-theme="dark"] .claim-form-status {
  background: rgba(16, 185, 129, .14);
  color: #34d399;
}

.claim-status-text {
  margin: 0;
}

.claim-status-actions {
  display: flex;
  justify-content: flex-start;
}

.claim-status-btn {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* ============================================================
   Page responsive
   ============================================================ */

/* Tablet — TOC moves above content */
@media (max-width: 880px) {
  .page-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 0 72px;
  }

  .page-content {
    padding: 32px 30px 36px;
    border-radius: 20px;
  }

  .page-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 6px 14px;
    border-radius: 14px;
  }

  .ptc-toggle {
    display: flex;
  }

  .ptc-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1), margin-top .25s;
    margin-top: 0;
  }

  [data-page-toc].open .ptc-list {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .page-intro {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }

  .page-intro p {
    font-size: 16px;
  }

  .page-section+.page-section {
    margin-top: 30px;
  }

  .claim-status-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone — tighten paddings, fonts */
@media (max-width: 640px) {
  .page-hero {
    padding: 36px 0 28px;
  }

  .page-hero .page-tag {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .page-hero h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .page-hero .page-meta {
    font-size: 12.5px;
    gap: 4px 14px;
  }

  .page-body {
    padding: 24px 0 56px;
    gap: 14px;
  }

  .page-content {
    padding: 24px 22px 28px;
    border-radius: 18px;
  }

  .page-toc {
    padding: 4px 12px;
  }

  .ptc-toggle {
    padding: 12px 4px;
  }

  .ptc-list a {
    padding: 10px 10px;
    font-size: 13px;
  }

  .page-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .page-content h3 {
    font-size: 15.5px;
    margin: 18px 0 6px;
  }

  .page-content p,
  .page-content ul,
  .page-content ol {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .page-content ul,
  .page-content ol {
    padding-left: 20px;
  }

  .page-intro p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .page-content blockquote {
    padding: 14px 16px;
    font-size: 13.5px;
    border-radius: 10px;
  }

  .page-section+.page-section {
    margin-top: 24px;
  }

  .claim-summary {
    padding: 16px;
    border-radius: 16px;
  }

  .claim-summary-head {
    flex-direction: column;
    gap: 8px;
  }

  .claim-summary-title {
    font-size: 16px;
  }

  .claim-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .claim-form-grid {
    grid-template-columns: 1fr;
  }

  .claim-submit-row {
    align-items: stretch;
  }

  .claim-submit-row .btn {
    width: 100%;
    justify-content: center;
  }

  .claim-submit-note {
    min-width: 0;
  }

  .claim-status-actions {
    justify-content: center;
  }

  .claim-status-btn {
    width: 100%;
    justify-content: center;
  }

  /* Multi-step claim form */
  .claim-step {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .claim-step-header {
    gap: 10px;
  }

  .claim-step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .claim-step-title {
    font-size: 15px;
  }

  .claim-step-desc {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .claim-field label {
    font-size: 12.5px;
  }

  .claim-field input,
  .claim-field textarea {
    padding: 11px 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  #claim-otp {
    font-size: 22px;
    max-width: 200px;
  }

  .claim-action-btn {
    width: 100%;
    justify-content: center;
    min-width: auto;
  }

  .claim-otp-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .claim-otp-actions .btn,
  .claim-otp-actions .claim-resend-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .claim-success-step {
    padding: 32px 16px;
  }

  .claim-success-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .claim-success-title {
    font-size: 18px;
  }

  .claim-success-text {
    font-size: 14px;
  }

  .claim-app-promo {
    padding: 16px;
  }

  .claim-app-promo p {
    font-size: 13px;
  }

  .claim-status-flow {
    flex-wrap: wrap;
    gap: 6px;
  }

  .claim-status-step {
    padding: 13px 14px;
  }

  .claim-form-status {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
  }

  .page-cta-strip {
    margin-top: 36px;
    padding: 22px 20px;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .page-cta-strip .cta-text {
    min-width: 0;
  }

  .page-cta-strip h4 {
    font-size: 17px;
  }

  .page-cta-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Very small phone — keep card edges hugging container padding */
@media (max-width: 480px) {
  .page-content {
    padding: 22px 18px 26px;
    border-radius: 16px;
  }

  .page-hero {
    padding: 30px 0 24px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .claim-status-flow {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PHONE SCREEN — real Hostelova app
   ============================================================ */

/* Generic */
.app-home .loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.app-home .loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--p-ink);
}

.app-home .bell-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  display: grid;
  place-items: center;
  color: var(--p-ink);
}

.app-home .search-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.app-home .search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--p-bg-2);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--p-muted);
  min-width: 0;
}

.app-home .near-me-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--p-ink);
}

.app-home .filter-chips {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.app-home .filter-chips::-webkit-scrollbar {
  display: none;
}

.app-home .filter-chips .chip {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--p-surface);
  color: var(--p-muted);
  border: 1px solid var(--p-line);
  white-space: nowrap;
}

.app-home .filter-chips .chip.active {
  background: var(--p-primary);
  color: white;
  border-color: var(--p-primary);
}

/* Featured hero card */
.featured-hero {
  position: relative;
  height: 175px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
}

.featured-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 2px;
}

.fh-thumb {
  background: linear-gradient(135deg, #2F5FE3, #6f8dff);
}

.fh-1 {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: linear-gradient(135deg, #1a3d8a, #4a6fb8);
}

.fh-2 {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(135deg, #6b5c4a, #3d3326);
}

.fh-3 {
  grid-column: 1;
  grid-row: 3;
  background: linear-gradient(135deg, #5a4830, #3a2e1d);
}

.fh-4 {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(135deg, #4d3d29, #2e2418);
}

.fh-5 {
  grid-column: 2;
  grid-row: 3;
  background: linear-gradient(135deg, #6b9b7a, #3d6648);
}

.fh-6 {
  display: none;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(0, 0, 0, .6) 100%);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fh-top {
  display: flex;
  gap: 5px;
  align-items: center;
}

.fh-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.fh-badge-white {
  background: white;
  color: var(--p-ink);
}

.fh-badge-purple {
  background: #a855f7;
  color: white;
}

.fh-badge-blue {
  background: #dbeafe;
  color: var(--p-primary);
}

.fh-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.fh-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.fh-loc {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: rgba(255, 255, 255, .85);
  margin-top: 2px;
}

.fh-star {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: #f59e0b;
  margin-top: 4px;
}

.fh-price {
  margin-top: 4px;
}

.fh-from {
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  letter-spacing: 0.04em;
}

.fh-amt {
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.015em;
}

.fh-amt span {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
}

.fh-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Nearby card */
.nearby-card,
.saved-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--p-surface);
  border-radius: 14px;
  border: 1px solid var(--p-line);
  margin-bottom: 8px;
}

.nc-body,
.sc-body {
  flex: 1;
  min-width: 0;
}

.nc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
}

.nc-name,
.sc-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--p-ink);
  letter-spacing: -0.01em;
}

.nc-new {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: #dbeafe;
  color: var(--p-primary);
}

.nc-addr,
.sc-addr {
  font-size: 10px;
  color: var(--p-muted);
  margin-top: 2px;
}

.nc-tags,
.sc-tags {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.nc-tag {
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

.tag-white {
  background: white;
  color: var(--p-primary);
  border: 1px solid var(--p-line);
}

.tag-purple {
  background: #a855f7;
  color: white;
}

.tag-amber {
  background: #fef3c7;
  color: #92400e;
}

.nc-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--p-primary);
  margin-top: 6px;
}

.nc-price span {
  color: var(--p-muted);
  font-weight: 500;
  font-size: 9.5px;
}

/* Collage */
.collage {
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.collage .c-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 1px;
}

.collage .c-1 {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: linear-gradient(135deg, #1a3d8a, #4a6fb8);
}

.collage .c-2 {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(135deg, #6b5c4a, #3d3326);
}

.collage .c-3 {
  grid-column: 1;
  grid-row: 3;
  background: linear-gradient(135deg, #5a4830, #3a2e1d);
}

.collage .c-4 {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(135deg, #4d3d29, #2e2418);
}

.collage .c-5 {
  grid-column: 2;
  grid-row: 3;
  background: linear-gradient(135deg, #6b9b7a, #3d6648);
}

.collage .c-6 {
  display: none;
}

/* Saved card */
.saved-card {
  margin-bottom: 10px;
}

.sc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.sc-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-primary);
}

.sc-price span {
  color: var(--p-muted);
  font-weight: 500;
  font-size: 9.5px;
}

.sc-book {
  background: var(--p-primary);
  color: white;
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

/* ============================================================
   Hostel Detail Screen
   ============================================================ */
.detail-wrap {
  height: calc(100% - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--p-bg);
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 65px 50px 50px;
  gap: 2px;
  height: 165px;
  flex-shrink: 0;
}

.dg-thumb {
  position: relative;
  overflow: hidden;
}

.dg-1 {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, #1a3d8a, #4a6fb8);
}

.dg-2 {
  display: none;
}

.dg-3 {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(135deg, #6b5c4a, #3d3326);
}

.dg-4 {
  grid-column: 1;
  grid-row: 2;
  background: linear-gradient(135deg, #5a4830, #3a2e1d);
}

.dg-5 {
  grid-column: 2;
  grid-row: 2;
  background: linear-gradient(135deg, #4d3d29, #2e2418);
}

.dg-6 {
  grid-column: 1;
  grid-row: 3;
  background: linear-gradient(135deg, #6b5c4a, #2e2418);
}

.dg-7 {
  grid-column: 2;
  grid-row: 3;
  background: linear-gradient(135deg, #6b9b7a, #3d6648);
}

.dg-chip {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 7.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.dg-chip-dark {
  background: rgba(0, 0, 0, .65);
  color: white;
}

.dg-zoom {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 7px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, .7);
  color: white;
  display: flex;
  align-items: center;
  gap: 3px;
}

.dg-circle {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  display: grid;
  place-items: center;
  color: var(--p-ink);
  z-index: 2;
}

.detail-body {
  padding: 12px 14px 60px;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.detail-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-ink);
}

.detail-addr {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  font-size: 10.5px;
  color: var(--p-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.detail-addr svg {
  margin-top: 2px;
  flex-shrink: 0;
}

.detail-meta-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
}

.dm-tag-new {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: #dbeafe;
  color: var(--p-primary);
}

.dm-text {
  font-size: 10px;
  color: var(--p-muted);
}

.dm-dir {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  background: #dbeafe;
  color: var(--p-primary);
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
}

.dm-featured {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 8px;
  border-radius: 99px;
  margin-top: 8px;
}

.price-card {
  margin-top: 10px;
  padding: 10px 14px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pc-strike {
  font-size: 11px;
  color: var(--p-muted);
  text-decoration: line-through;
}

.pc-now {
  font-size: 18px;
  font-weight: 700;
  color: var(--p-primary);
  letter-spacing: -0.015em;
}

.pc-now span {
  font-size: 10px;
  color: var(--p-muted);
  font-weight: 500;
}

.pc-off {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}

.amenities-label {
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--p-ink);
  letter-spacing: -0.01em;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.amenity-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #dbeafe;
  color: var(--p-primary);
  display: grid;
  place-items: center;
}

.amenity-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--p-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-fab {
  position: absolute;
  bottom: 70px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--p-primary);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -2px rgba(47, 95, 227, .4);
}

.detail-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--p-surface);
  padding: 10px 14px;
  border-top: 1px solid var(--p-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.db-label {
  font-size: 10px;
  color: var(--p-muted);
}

.db-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--p-ink);
}

.db-price span {
  font-size: 10px;
  color: var(--p-muted);
  font-weight: 500;
}

.db-btn {
  background: var(--p-primary);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   Bookings Screen
   ============================================================ */
.bookings-head {
  margin-top: 6px;
}

.bh-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--p-ink);
}

.bh-sub {
  font-size: 11px;
  color: var(--p-muted);
  margin-top: 2px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.stat-card {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  padding: 10px 12px;
}

.stat-ico {
  margin-bottom: 6px;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--p-ink);
  line-height: 1;
}

.stat-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--p-muted);
  margin-top: 4px;
}

.booked-card {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.bc-body {
  flex: 1;
  min-width: 0;
}

.bc-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--p-ink);
}

.bc-addr {
  font-size: 9.5px;
  color: var(--p-muted);
  margin-top: 2px;
}

.bc-room {
  font-size: 11px;
  font-weight: 700;
  color: var(--p-primary);
  margin-top: 4px;
}

.bc-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.bc-pending {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: #fff3da;
  color: #c87f00;
}

.bc-id {
  font-size: 9.5px;
  color: var(--p-muted);
  font-family: var(--font-mono);
  font-weight: 600;
}

.cal-card {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 12px;
  margin-top: 6px;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cal-head>span {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-ink);
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--p-ink);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-dow {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--p-muted);
  text-align: center;
  padding: 4px 0;
}

.cal-day {
  font-size: 10px;
  font-weight: 600;
  color: var(--p-ink);
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--p-line);
  position: relative;
}

.cal-day.today {
  background: #dbeafe;
  color: var(--p-primary);
  border-color: var(--p-primary);
}

.cal-dot {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--p-primary);
}

/* ============================================================
   Owner Dashboard
   ============================================================ */
.owner-hero {
  background: var(--p-primary);
  border-radius: 16px;
  padding: 14px 16px;
  color: white;
  margin-top: 6px;
}

.oh-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.oh-sub {
  font-size: 11px;
  opacity: .9;
  margin-top: 1px;
}

.oh-btn {
  background: white;
  color: var(--p-primary);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
}

.week-card {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
}

.wc-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-ink);
  letter-spacing: -0.01em;
}

.wc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}

.wc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.wc-num {
  font-size: 17px;
  font-weight: 700;
}

.wc-lbl {
  font-size: 10px;
  color: var(--p-muted);
  font-weight: 600;
}

.streak-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.streak-card {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.streak-num {
  font-size: 14px;
  font-weight: 700;
  color: #f97316;
  line-height: 1;
}

.streak-lbl {
  font-size: 10px;
  color: var(--p-muted);
  font-weight: 600;
}

.streak-text {
  font-size: 10px;
  color: var(--p-ink);
  font-weight: 600;
  line-height: 1.3;
}

.notif-bar {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================
   Owner Hostels Listing
   ============================================================ */
.add-btn {
  background: var(--p-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.oh-listing {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.ol-body {
  flex: 1;
  min-width: 0;
}

.ol-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ol-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-ink);
  letter-spacing: -0.01em;
}

.ol-addr {
  font-size: 9.5px;
  color: var(--p-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.ol-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--p-primary);
  margin-top: 5px;
}

.ol-amen {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.ol-pill {
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: #dbeafe;
  color: var(--p-primary);
}

.ol-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.ol-stat {
  display: flex;
  gap: 3px;
  align-items: center;
  font-size: 10px;
  color: var(--p-muted);
  font-weight: 600;
}

.ol-avail {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #16a34a;
}

/* ============================================================
   Login Screen
   ============================================================ */
.login-screen {
  height: calc(100% - 40px);
  background: var(--p-bg);
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.login-top {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--p-ink);
  padding: 8px 0 12px;
  margin: 0 -18px;
  background: white;
  border-bottom: 1px solid var(--p-line);
}

.login-illu {
  display: grid;
  place-items: center;
  padding: 20px 0 10px;
}

.li-shield {
  position: relative;
  width: 80px;
  height: 80px;
}

.li-shield-body {
  width: 70px;
  height: 65px;
  background: linear-gradient(135deg, #2F5FE3, #1d3a99);
  border-radius: 16px 16px 30px 30px;
  margin: 7px auto 0;
  box-shadow: 0 12px 24px -8px rgba(47, 95, 227, .5);
  display: grid;
  place-items: center;
}

.li-pwd {
  display: flex;
  gap: 4px;
}

.li-pwd span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
}

.li-check {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  display: grid;
  place-items: center;
  border: 2px solid var(--p-bg);
}

.li-finger {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.login-h1 {
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  color: var(--p-ink);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.login-sub {
  font-size: 11px;
  color: var(--p-muted);
  text-align: center;
  margin-top: 4px;
}

.login-tabs {
  display: flex;
  background: white;
  border-radius: 999px;
  padding: 4px;
  margin-top: 16px;
  border: 1px solid var(--p-line);
}

.lt-tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--p-ink);
  border-radius: 999px;
}

.lt-tab.active {
  background: var(--p-primary);
  color: white;
}

.login-field {
  margin-top: 12px;
}

.lf-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--p-ink);
  margin-bottom: 4px;
}

.lf-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  font-size: 11.5px;
  color: var(--p-muted-2);
}

.login-btn {
  background: var(--p-primary);
  color: white;
  padding: 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 18px;
}

/* ============================================================
   Tabbar — FAB style (real app)
   ============================================================ */
.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 8px 10px 18px;
  background: var(--p-surface);
  border-top: 1px solid var(--p-line);
  z-index: 5;
}

.tabbar .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--p-muted-2);
  font-size: 9px;
  font-weight: 600;
  flex: 1;
  position: relative;
}

.tabbar .tab .tab-ico-wrap {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.tabbar .tab.active {
  color: var(--p-primary);
}

.tabbar .tab.active.fab .tab-ico-wrap,
.tabbar .tab.fab.active .tab-ico-wrap {
  background: var(--p-primary);
  color: white;
  width: 36px;
  height: 36px;
  margin-top: -14px;
  box-shadow: 0 6px 12px -2px rgba(47, 95, 227, .45);
}

.tabbar .tab.fab:not(.active) .tab-ico-wrap {
  width: 36px;
  height: 36px;
  margin-top: -14px;
  background: var(--p-bg-2);
}

/* ============================================================
   Claim Hostel — Multi-step form styles (Phase 9)
   ============================================================ */

/* Summary card */
.claim-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 8px 0;
}

.claim-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.claim-summary-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 700;
  margin: 0 0 4px;
}

.claim-summary-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.claim-summary-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, .12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, .25);
}

.claim-summary-pill[data-status="verified"] {
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
  border-color: rgba(22, 163, 74, .25);
}

.claim-summary-pill[data-status="claimed"] {
  background: rgba(249, 115, 22, .12);
  color: #ea580c;
  border-color: rgba(249, 115, 22, .25);
}

.claim-summary-pill[data-status="featured"] {
  background: rgba(124, 58, 237, .12);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, .25);
}

.claim-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.claim-summary-item .label {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
}

.claim-summary-item .value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2px;
}

/* Status flow — even grid so all 4 steps line up (no lone wrapped item). */
.claim-status-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 6px 0;
}

@media (max-width: 1100px) {
  .claim-status-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .claim-status-flow {
    grid-template-columns: 1fr;
  }
}

.claim-status-step {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  /* Each step is an equal grid cell. Number + label sit on the first row
     (baseline-aligned); the description (.d) is forced onto its own full-width
     row below — a clean header + subtitle, identical across all four steps. */
  white-space: normal;
  min-width: 0;
}

.claim-status-step+.claim-status-step {
  margin-left: 0;
}

.claim-status-step:first-child,
.claim-status-step:last-child,
.claim-status-step:only-child {
  border-radius: 12px;
}

.claim-status-step .k {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted-2);
}

.claim-status-step .v {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.claim-status-step.unclaimed {
  border-color: rgba(245, 158, 11, .3);
  background: rgba(245, 158, 11, .06);
}

.claim-status-step.claimed {
  border-color: rgba(249, 115, 22, .3);
  background: rgba(249, 115, 22, .06);
}

.claim-status-step.verified {
  border-color: rgba(22, 163, 74, .3);
  background: rgba(22, 163, 74, .06);
  /* `verified` is ALSO a generic 12px-dot utility (`.verified`, used for
     hostel-card badges). Both classes land on this element, so reset the
     leaked dot sizing/colour — the rest of the box comes from the base
     `.claim-status-step` rule above. */
  width: auto;
  height: auto;
  color: inherit;
}

.claim-status-step.featured {
  border-color: rgba(124, 58, 237, .3);
  background: rgba(124, 58, 237, .06);
}

/* Multi-step container */
.claim-multistep {
  margin: 8px 0;
}

/* Individual step */
.claim-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  animation: fadeSlideUp .35s ease-out;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.claim-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.claim-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.claim-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.claim-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 18px;
}

/* Form fields */
.claim-field {
  margin-bottom: 16px;
}

.claim-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.claim-field input,
.claim-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.claim-field input:focus,
.claim-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.claim-field input::placeholder,
.claim-field textarea::placeholder {
  color: var(--muted-2);
}

.claim-field input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
}

.claim-field .hint {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 5px;
  line-height: 1.4;
}

.claim-field textarea {
  min-height: 80px;
  resize: vertical;
}

/* Form grid */
.claim-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.claim-field.full {
  grid-column: 1 / -1;
}

@media (max-width: 580px) {
  .claim-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Action button */
.claim-action-btn {
  margin-top: 4px;
  min-width: 160px;
}

/* OTP actions row */
.claim-otp-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.claim-resend-btn,
.btn-ghost {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

.claim-resend-btn:not(:disabled):hover,
.btn-ghost:not(:disabled):hover {
  color: var(--primary);
  border-color: var(--primary-100);
}

.claim-resend-btn:disabled,
.btn-ghost:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* OTP input special styling */
#claim-otp {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.35em;
  text-align: center;
  max-width: 220px;
}

/* ── Success step ── */
.claim-success-step {
  text-align: center;
  padding: 40px 24px;
}

.claim-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  font-size: 32px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 24px -8px rgba(22, 163, 74, .4);
  animation: scaleIn .4s cubic-bezier(.2, .8, .3, 1.2);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.claim-success-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}

.claim-success-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto 24px;
}

.claim-app-promo {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 16px;
  padding: 20px;
  max-width: 380px;
  margin: 0 auto;
}

.claim-app-promo p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 14px;
  line-height: 1.5;
}

.claim-app-promo .btn {
  width: 100%;
  justify-content: center;
}

/* ── Status bar (success / error) ── */
.claim-form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 12px;
  background: rgba(22, 163, 74, .08);
  border: 1px solid rgba(22, 163, 74, .2);
  color: #16a34a;
  animation: fadeSlideUp .25s ease-out;
}

.claim-form-status.show {
  display: block;
}

.claim-form-status.error {
  background: rgba(225, 29, 72, .08);
  border-color: rgba(225, 29, 72, .2);
  color: #e11d48;
}

.claim-form-status p {
  margin: 0;
}

/* Submit row override */
.claim-submit-row {
  margin-top: 8px;
}

.claim-submit-note {
  font-size: 12px;
  color: var(--muted-2);
  margin: 8px 0 0;
}

/* Mobile responsive — claim-specific overrides */
@media (max-width: 420px) {
  .claim-step {
    padding: 14px 12px;
  }

  .claim-summary {
    padding: 12px;
  }

  .claim-summary-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .claim-summary-item .label {
    font-size: 10px;
  }

  .claim-summary-item .value {
    font-size: 12px;
  }

  .claim-step-title {
    font-size: 14px;
  }

  .claim-step-desc {
    font-size: 12.5px;
  }

  .claim-field input,
  .claim-field textarea {
    padding: 10px 11px;
    font-size: 13.5px;
  }

  .claim-field .hint {
    font-size: 11px;
  }

  #claim-otp {
    font-size: 20px;
    letter-spacing: 0.25em;
    max-width: 180px;
  }

  .claim-success-step {
    padding: 24px 12px;
  }

  .claim-success-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  .claim-success-title {
    font-size: 16px;
  }

  .claim-success-text {
    font-size: 13px;
  }

  .claim-app-promo {
    padding: 14px;
    border-radius: 12px;
  }

  .claim-app-promo p {
    font-size: 12.5px;
    margin-bottom: 10px;
  }

  .claim-app-promo .btn {
    padding: 12px 16px;
    font-size: 13.5px;
  }

  .claim-status-step {
    padding: 12px 13px;
  }
}

/* ── Password strength bar ── */
.password-strength-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.password-strength-track {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 99px;
  transition: width .3s, background .3s;
}

.password-strength-text {
  font-size: 11px;
  font-weight: 700;
  min-width: 48px;
}

/* ── Form section labels ── */
.claim-form-section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.claim-form-section-label:first-of-type {
  margin-top: 0;
}

/* ── Security note ── */
.claim-form-note {
  background: rgba(22, 163, 74, .06);
  border: 1px solid rgba(22, 163, 74, .15);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 16px 0 8px;
}

.claim-form-note strong {
  color: #16a34a;
}

/* ── Submit button ── */
.claim-submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700;
}

/* ── Loading spinner ── */
.claim-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: white;
  border-radius: 50%;
  animation: claimSpin .6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes claimSpin {
  to { transform: rotate(360deg); }
}

/* ── Credentials card (success step) ── */
.claim-credentials-card {
  background: var(--surface);
  border: 1.5px solid var(--primary-100);
  border-radius: 16px;
  padding: 20px;
  max-width: 400px;
  margin: 0 auto 20px;
  text-align: left;
}

.claim-credentials-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.claim-credentials-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.4;
}

.claim-credentials-row {
  font-size: 13.5px;
  color: var(--ink);
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 6px;
}

.claim-credentials-row strong {
  color: var(--muted);
  font-weight: 600;
  margin-right: 6px;
}

/* ── Status step description (own full-width row under number+label) ── */
.claim-status-step .d {
  flex-basis: 100%;
  margin-left: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted-2);
}

@media (max-width: 580px) {
  .claim-credentials-card {
    padding: 14px;
  }
}
