/* ==========================================================================
   Rentlefy — Marketing Site Styles
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* Brand palette */
  --rf-purple: #7C3AED;
  --rf-purple-deep: #5B21B6;
  --rf-purple-soft: #A78BFA;
  --rf-cyan: #22D3EE;
  --rf-cyan-soft: #67E8F9;
  --rf-blue: #3B82F6;

  /* Brand gradients */
  --rf-gradient-primary: linear-gradient(135deg, #7C3AED 0%, #3B82F6 50%, #22D3EE 100%);
  --rf-gradient-soft: linear-gradient(135deg, #F5F3FF 0%, #ECFEFF 100%);
  --rf-gradient-cta: linear-gradient(135deg, #7C3AED 0%, #22D3EE 100%);
  --rf-gradient-text: linear-gradient(135deg, #7C3AED 0%, #22D3EE 100%);

  /* Neutrals */
  --rf-ink: #0B1020;
  --rf-ink-2: #1F2438;
  --rf-text: #2D3144;
  --rf-text-soft: #5B6079;
  --rf-text-muted: #8B91A8;
  --rf-line: #E8EAF2;
  --rf-line-soft: #F1F2F8;
  --rf-bg: #FFFFFF;
  --rf-bg-soft: #F8F9FD;
  --rf-bg-tint: #F5F3FF;

  /* Shadows */
  --rf-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --rf-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --rf-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.05);
  --rf-shadow-xl: 0 24px 60px rgba(91, 33, 182, 0.18), 0 8px 24px rgba(34, 211, 238, 0.10);
  --rf-shadow-glow: 0 0 0 6px rgba(124, 58, 237, 0.12);

  /* Radii */
  --rf-r-sm: 10px;
  --rf-r-md: 16px;
  --rf-r-lg: 24px;
  --rf-r-xl: 32px;
  --rf-r-pill: 999px;

  /* Layout */
  --rf-container: 1200px;
  --rf-container-narrow: 960px;

  /* Motion */
  --rf-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --rf-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Type */
  --rf-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --rf-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--rf-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rf-text);
  background: var(--rf-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--rf-ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--rf-display);
  color: var(--rf-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }

/* ---------- Container --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--rf-container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--rf-container-narrow);
}

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--rf-r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--rf-ease), box-shadow 0.2s var(--rf-ease), background 0.2s var(--rf-ease);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--rf-gradient-cta);
  color: white;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.32), 0 2px 6px rgba(34, 211, 238, 0.18);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.40), 0 4px 12px rgba(34, 211, 238, 0.24);
}
.btn--ghost {
  background: white;
  color: var(--rf-ink);
  border: 1.5px solid var(--rf-line);
}
.btn--ghost:hover {
  border-color: var(--rf-purple);
  color: var(--rf-purple);
  transform: translateY(-2px);
  box-shadow: var(--rf-shadow-md);
}
.btn--lg {
  padding: 18px 32px;
  font-size: 16px;
}
.btn--block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Pill / Tag -------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--rf-r-pill);
  background: var(--rf-bg-tint);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--rf-purple-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rf-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
  animation: pulse 2s var(--rf-ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.06); }
}

/* ---------- Gradient text ---------------------------------------------- */
.text-gradient {
  background: var(--rf-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--rf-ease), background 0.2s var(--rf-ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--rf-line);
  background: rgba(255, 255, 255, 0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rf-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--rf-ink);
  letter-spacing: -0.02em;
}
.nav__brand-text {
  background: var(--rf-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.22);
  overflow: hidden;
}
.nav__logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--rf-text-soft);
  position: relative;
}
.nav__link:hover {
  color: var(--rf-ink);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--rf-gradient-cta);
  border-radius: 2px;
  transition: width 0.25s var(--rf-ease);
}
.nav__link:hover::after { width: 100%; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--rf-ink);
}
.nav__toggle:hover { background: var(--rf-bg-soft); }

/* Mobile */
@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__menu {
    display: flex;
  }
  .nav__menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--rf-line);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--rf-shadow-lg);
  }
  .nav__menu .nav__links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }
  .nav__menu .btn { display: inline-flex; width: 100%; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(124, 58, 237, 0.10), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(34, 211, 238, 0.10), transparent 45%),
    var(--rf-bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero__eyebrow {
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 24px;
  letter-spacing: -0.035em;
}
.hero__title em {
  font-style: normal;
  background: var(--rf-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--rf-text-soft);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--rf-bg-tint);
  display: grid;
  place-items: center;
  color: var(--rf-purple);
}
.hero__stat-text strong {
  display: block;
  font-family: var(--rf-display);
  font-size: 18px;
  color: var(--rf-ink);
  letter-spacing: -0.01em;
}
.hero__stat-text span {
  font-size: 13px;
  color: var(--rf-text-muted);
}

/* Hero visual: phone mockup */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}
.hero__blob {
  position: absolute;
  inset: 10% 5%;
  background: var(--rf-gradient-cta);
  filter: blur(70px);
  opacity: 0.32;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}
.phone {
  position: relative;
  width: 300px;
  height: 612px;
  background: #0B1020;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 40px 80px -20px rgba(124, 58, 237, 0.45),
    0 20px 40px -10px rgba(34, 211, 238, 0.25),
    inset 0 0 0 2px rgba(255,255,255,0.06);
  z-index: 2;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0B1020;
  border-radius: 14px;
  z-index: 3;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Floating badges around phone */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--rf-r-md);
  padding: 14px 18px;
  box-shadow: var(--rf-shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float-card 5s ease-in-out infinite;
}
.float-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
}
.float-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--rf-ink);
  font-family: var(--rf-display);
}
.float-card__sub {
  font-size: 11px;
  color: var(--rf-text-muted);
}
.float-card--a {
  top: 12%;
  left: -8%;
  animation-delay: 0.5s;
}
.float-card--a .float-card__icon {
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
}
.float-card--b {
  bottom: 18%;
  right: -8%;
  animation-delay: 1.5s;
}
.float-card--b .float-card__icon {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .hero__visual { min-height: 540px; }
  .float-card--a { left: 0%; }
  .float-card--b { right: 0%; }
}
@media (max-width: 480px) {
  .phone { width: 260px; height: 530px; }
  .float-card { padding: 10px 14px; }
}

/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}
.section--soft { background: var(--rf-bg-soft); }
.section--tint { background: var(--rf-bg-tint); }
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--rf-r-pill);
  background: rgba(124, 58, 237, 0.10);
  color: var(--rf-purple-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.section__lede {
  font-size: 18px;
  color: var(--rf-text-soft);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 48px; }
}

/* ==========================================================================
   PROBLEM / SOLUTION
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split__card {
  background: white;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--rf-ease), box-shadow 0.3s var(--rf-ease);
}
.split__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rf-shadow-lg);
  border-color: transparent;
}
.split__card--problem::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12), transparent 70%);
  pointer-events: none;
}
.split__card--solution::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 70%);
  pointer-events: none;
}
.split__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 20px;
}
.split__card--problem .split__icon { background: linear-gradient(135deg, #F87171, #EF4444); }
.split__card--solution .split__icon { background: var(--rf-gradient-cta); }
.split__title {
  font-size: 22px;
  margin-bottom: 12px;
}
.split__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.split__list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rf-text-soft);
  border-bottom: 1px dashed var(--rf-line);
}
.split__list li:last-child { border-bottom: none; }
.split__list li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--rf-bg-tint);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237C3AED'><path d='M6.7 11.3 3.4 8l1.4-1.4 1.9 1.9 4.5-4.5L12.6 5.4z'/></svg>");
  background-size: contain;
}
.split__card--problem .split__list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23EF4444'><path d='M11.3 4.7 8 8l3.3 3.3-1.4 1.4L6.6 9.4 3.3 12.7l-1.4-1.4L5.2 8 1.9 4.7l1.4-1.4L6.6 6.6l3.3-3.3z'/></svg>");
  background-color: rgba(239, 68, 68, 0.10);
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.how__col {
  background: white;
  border-radius: var(--rf-r-lg);
  padding: 40px;
  border: 1px solid var(--rf-line);
  position: relative;
  overflow: hidden;
}
.how__col--renter::after,
.how__col--lessor::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}
.how__col--renter::after {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 60%);
}
.how__col--lessor::after {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 60%);
}
.how__col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
}
.how__badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
}
.how__col--renter .how__badge { background: linear-gradient(135deg, #22D3EE, #3B82F6); }
.how__col--lessor .how__badge { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.how__col-head h3 {
  font-size: 24px;
}
.how__col-head p {
  font-size: 14px;
  color: var(--rf-text-muted);
}
.how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.how__step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}
.how__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 56px;
  bottom: -8px;
  width: 2px;
  background: var(--rf-line);
}
.how__step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rf-bg-tint);
  color: var(--rf-purple-deep);
  display: grid;
  place-items: center;
  font-family: var(--rf-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 2px solid white;
}
.how__step-text strong {
  display: block;
  color: var(--rf-ink);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.how__step-text span {
  font-size: 14px;
  color: var(--rf-text-soft);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .how { grid-template-columns: 1fr; }
  .how__col { padding: 28px; }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: white;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-md);
  padding: 28px;
  transition: transform 0.3s var(--rf-ease), box-shadow 0.3s var(--rf-ease), border-color 0.3s var(--rf-ease);
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--rf-shadow-lg);
  border-color: transparent;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rf-gradient-cta);
  opacity: 0;
  transition: opacity 0.3s var(--rf-ease);
  z-index: 0;
}
.feature > * { position: relative; z-index: 1; }
.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--rf-bg-tint);
  color: var(--rf-purple);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: transform 0.3s var(--rf-ease);
}
.feature:hover .feature__icon { transform: scale(1.08) rotate(-3deg); }
.feature__title {
  font-family: var(--rf-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--rf-ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature__desc {
  font-size: 14px;
  color: var(--rf-text-soft);
  line-height: 1.5;
}

@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat {
  background: white;
  border-radius: var(--rf-r-md);
  border: 1px solid var(--rf-line);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s var(--rf-ease), box-shadow 0.3s var(--rf-ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cat:hover {
  transform: translateY(-6px);
  box-shadow: var(--rf-shadow-lg);
}
.cat::before {
  content: "";
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s var(--rf-ease);
}
.cat:hover::before { opacity: 1; }
.cat__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  position: relative;
  transition: transform 0.3s var(--rf-ease-spring);
  font-size: 28px;
}
.cat:hover .cat__icon { transform: scale(1.12) rotate(-6deg); }
.cat__name {
  font-family: var(--rf-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--rf-ink);
  margin-bottom: 4px;
  position: relative;
}
.cat__count {
  font-size: 12px;
  color: var(--rf-text-muted);
  position: relative;
}

/* Category color variants */
.cat--prop .cat__icon { background: linear-gradient(135deg, #FEF3C7, #FCD34D); color: #92400E; }
.cat--prop::before { background: radial-gradient(circle, rgba(252, 211, 77, 0.30), transparent 70%); }
.cat--veh .cat__icon  { background: linear-gradient(135deg, #DBEAFE, #60A5FA); color: #1E40AF; }
.cat--veh::before     { background: radial-gradient(circle, rgba(96, 165, 250, 0.30), transparent 70%); }
.cat--furn .cat__icon { background: linear-gradient(135deg, #FCE7F3, #F472B6); color: #9D174D; }
.cat--furn::before    { background: radial-gradient(circle, rgba(244, 114, 182, 0.30), transparent 70%); }
.cat--cloth .cat__icon{ background: linear-gradient(135deg, #FED7AA, #FB923C); color: #9A3412; }
.cat--cloth::before   { background: radial-gradient(circle, rgba(251, 146, 60, 0.30), transparent 70%); }
.cat--elec .cat__icon { background: linear-gradient(135deg, #DDD6FE, #A78BFA); color: #5B21B6; }
.cat--elec::before    { background: radial-gradient(circle, rgba(167, 139, 250, 0.30), transparent 70%); }
.cat--tools .cat__icon{ background: linear-gradient(135deg, #D1FAE5, #34D399); color: #065F46; }
.cat--tools::before   { background: radial-gradient(circle, rgba(52, 211, 153, 0.30), transparent 70%); }
.cat--evt .cat__icon  { background: linear-gradient(135deg, #CCFBF1, #2DD4BF); color: #115E59; }
.cat--evt::before     { background: radial-gradient(circle, rgba(45, 212, 191, 0.30), transparent 70%); }
.cat--other .cat__icon{ background: linear-gradient(135deg, #E0E7FF, #818CF8); color: #3730A3; }
.cat--other::before   { background: radial-gradient(circle, rgba(129, 140, 248, 0.30), transparent 70%); }

@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   APP PREVIEW
   ========================================================================== */
.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(251, 146, 60, 0.10);
  border: 1px solid rgba(251, 146, 60, 0.25);
  border-radius: var(--rf-r-pill);
  color: #C2410C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.preview__item {
  text-align: center;
}
.preview__phone {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9/19;
  margin: 0 auto 20px;
  background: #0B1020;
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--rf-shadow-xl);
  transition: transform 0.4s var(--rf-ease);
}
.preview__phone:hover { transform: translateY(-8px) scale(1.02); }
.preview__phone img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top;
}
.preview__caption {
  font-family: var(--rf-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--rf-ink);
  margin-bottom: 4px;
}
.preview__sub {
  font-size: 13px;
  color: var(--rf-text-muted);
}

@media (max-width: 900px) { .preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .preview { grid-template-columns: 1fr; } }

/* ==========================================================================
   TRUST
   ========================================================================== */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust__item {
  background: white;
  border-radius: var(--rf-r-md);
  border: 1px solid var(--rf-line);
  padding: 28px;
  display: flex;
  gap: 16px;
}
.trust__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rf-bg-tint);
  color: var(--rf-purple);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.trust__title {
  font-family: var(--rf-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--rf-ink);
  margin-bottom: 4px;
}
.trust__desc {
  font-size: 14px;
  color: var(--rf-text-soft);
  line-height: 1.5;
}

@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROMO / CTA BANNER
   ========================================================================== */
.promo {
  background: var(--rf-gradient-primary);
  border-radius: var(--rf-r-xl);
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='1' fill='white' fill-opacity='0.3'/></svg>");
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}
.promo > * { position: relative; }
.promo h2 {
  color: white;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}
.promo p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 auto 32px;
}
.promo .btn--primary {
  background: white;
  color: var(--rf-purple-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.promo .btn--primary:hover {
  background: white;
  color: var(--rf-purple);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.promo .btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: white;
}
.promo .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

@media (max-width: 600px) { .promo { padding: 48px 24px; } }

/* ==========================================================================
   AUTH (SIGNUP / LOGIN)
   ========================================================================== */
.auth-section {
  background:
    radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.08), transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(34, 211, 238, 0.08), transparent 50%),
    var(--rf-bg-soft);
}
.auth {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  background: white;
  border-radius: var(--rf-r-xl);
  overflow: hidden;
  box-shadow: var(--rf-shadow-xl);
  border: 1px solid var(--rf-line);
}
.auth__side {
  background: var(--rf-gradient-primary);
  padding: 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
.auth__side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><path d='M30 0L37 23H60L41 37L48 60L30 46L12 60L19 37L0 23H23Z' fill='white' fill-opacity='0.04'/></svg>") repeat;
  background-size: 80px 80px;
  pointer-events: none;
}
.auth__side > * { position: relative; }
.auth__side h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 16px;
}
.auth__side p {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.6;
}
.auth__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth__bullets li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
}
.auth__bullets li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.7 11.3 3.4 8l1.4-1.4 1.9 1.9 4.5-4.5L12.6 5.4z'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  flex-shrink: 0;
}
.auth__main {
  padding: 48px;
  display: flex;
  flex-direction: column;
}
.auth__tabs {
  display: flex;
  background: var(--rf-bg-soft);
  border-radius: var(--rf-r-pill);
  padding: 4px;
  margin-bottom: 28px;
  position: relative;
}
.auth__tab {
  flex: 1;
  padding: 12px;
  border-radius: var(--rf-r-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--rf-text-soft);
  transition: color 0.2s var(--rf-ease);
  position: relative;
  z-index: 1;
}
.auth__tab.is-active {
  color: white;
}
.auth__tab-bg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--rf-gradient-cta);
  border-radius: var(--rf-r-pill);
  transition: transform 0.3s var(--rf-ease);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.30);
}
.auth__tabs.is-login .auth__tab-bg {
  transform: translateX(100%);
}
.auth__form { display: none; flex-direction: column; gap: 16px; }
.auth__form.is-active { display: flex; }
.auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text);
}
.auth__field input,
.auth__field select {
  padding: 14px 16px;
  border-radius: var(--rf-r-sm);
  border: 1.5px solid var(--rf-line);
  background: white;
  font-size: 15px;
  font-family: inherit;
  color: var(--rf-ink);
  transition: border-color 0.2s var(--rf-ease), box-shadow 0.2s var(--rf-ease);
}
.auth__field input:focus,
.auth__field select:focus {
  outline: none;
  border-color: var(--rf-purple);
  box-shadow: var(--rf-shadow-glow);
}
.auth__role {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.auth__role input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.auth__role label {
  display: block;
  padding: 14px 8px;
  border-radius: var(--rf-r-sm);
  border: 1.5px solid var(--rf-line);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text-soft);
  cursor: pointer;
  transition: all 0.2s var(--rf-ease);
  background: white;
}
.auth__role input:checked + label {
  border-color: var(--rf-purple);
  background: var(--rf-bg-tint);
  color: var(--rf-purple-deep);
}
.auth__forgot {
  font-size: 13px;
  color: var(--rf-purple);
  font-weight: 600;
  align-self: flex-end;
  margin-top: -8px;
}
.auth__forgot:hover { color: var(--rf-purple-deep); }
.auth__submit {
  margin-top: 8px;
  position: relative;
}
.auth__submit.is-loading {
  pointer-events: none;
}
.auth__submit.is-loading .auth__submit-text {
  visibility: hidden;
}
.auth__submit-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.auth__submit.is-loading .auth__submit-spinner { display: flex; }
.auth__submit-spinner::after {
  content: "";
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.auth__hint {
  font-size: 13px;
  color: var(--rf-text-muted);
  text-align: center;
  margin-top: 12px;
}
.auth__msg {
  display: none;
  padding: 12px 14px;
  border-radius: var(--rf-r-sm);
  font-size: 14px;
  margin-top: 4px;
  align-items: flex-start;
  gap: 10px;
}
.auth__msg.is-shown { display: flex; }
.auth__msg--ok {
  background: rgba(34, 197, 94, 0.10);
  color: #15803D;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.auth__msg--err {
  background: rgba(239, 68, 68, 0.08);
  color: #B91C1C;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth__side { padding: 36px; }
  .auth__main { padding: 32px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: white;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--rf-ease), box-shadow 0.2s var(--rf-ease);
}
.faq__item.is-open {
  border-color: var(--rf-purple-soft);
  box-shadow: var(--rf-shadow-md);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--rf-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--rf-ink);
  text-align: left;
  letter-spacing: -0.01em;
}
.faq__plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rf-bg-tint);
  color: var(--rf-purple);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--rf-ease), background 0.2s var(--rf-ease);
}
.faq__item.is-open .faq__plus {
  transform: rotate(45deg);
  background: var(--rf-purple);
  color: white;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--rf-ease);
}
.faq__item.is-open .faq__a {
  max-height: 400px;
}
.faq__a-inner {
  padding: 0 24px 22px;
  color: var(--rf-text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--rf-ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6), rgba(34, 211, 238, 0.6), transparent);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--rf-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s var(--rf-ease);
}
.footer__social:hover {
  background: var(--rf-gradient-cta);
  color: white;
  transform: translateY(-2px);
}
.footer__col h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.footer__col a:hover { color: white; }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a:hover { color: white; }

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--rf-ease), transform 0.6s var(--rf-ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
