/* ============================================================
   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;

  --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;

  --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; }
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: min(1240px, 100% - 48px);
  margin: 0 auto;
}

/* 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); }

/* 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;
}
.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); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ========== 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; gap: 6px; margin-top: 14px; overflow: hidden;
}
.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: -42px; 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 { width: auto; padding: 0 16px; gap: 6px; }
.carr.dots .d { width: 6px; height: 6px; border-radius: 999px; background: var(--line-2); transition: background .2s, width .2s; }
.carr.dots .d.active { background: var(--primary); width: 18px; }

/* ============================================================
   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;
}
.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 .badges {
  position: absolute; top: 10px; left: 10px; display: flex; gap: 6px;
}
.result-thumb .badge {
  background: rgba(255,255,255,.95); color: var(--ink);
  font-size: 10.5px; font-weight: 700; padding: 4px 8px; border-radius: 6px;
  display: inline-flex; gap: 4px; align-items: center;
}
.result-thumb .badge.dark { background: var(--ink); color: white; }
.result-thumb .heart {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  display: grid; place-items: center;
  color: var(--ink-2);
  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; }
.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; }

.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); }

/* ============================================================
   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: 999px;
  padding: 8px 8px 8px 22px;
  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: 999px;
  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: 999px;
  display: grid; place-items: center;
  background: var(--bg-2); color: var(--muted);
  transition: background .15s, color .15s;
}
.float-bar .fb-close:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 640px) {
  .float-bar { left: 12px; right: 12px; transform: translateY(calc(100% + 40px)); }
  .float-bar.show { transform: translateY(0); }
  .float-bar .fb-text span:not(.pulse) { display: none; }
}

/* ========== 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-cols { display: flex; gap: 60px; }
.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 ========== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .stage { min-height: 600px; }
  .feat-card, .feat-card.span-6, .feat-card.span-8, .feat-card.span-3 { grid-column: span 6; }
  .trust-card, .trust-card:nth-child(n) { grid-column: span 7 !important; flex-direction: column !important; align-items: stretch; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta-right { justify-content: center; }
  .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 12; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .feat-card, .feat-card.span-6, .feat-card.span-8 { grid-column: span 12; }
  .hero h1 { font-size: 52px; }
  .stage { min-height: 540px; }
  .phone-3d { width: 240px; height: 500px; }
  .f1, .f3 { left: -2%; }
  .f2, .f4 { right: -2%; }
  .footer-cols { gap: 32px; }
  .demo-results { grid-template-columns: 1fr; }
  .demo-card { padding: 28px 22px; border-radius: 22px; }
}

/* ========== 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; }

/* ============================================================
   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: hidden;
}
.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);
}

