/* ============================================================
   PropLocate — home.css
   Premium landing page styles
   ============================================================ */

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.15); }
  50%      { box-shadow: 0 0 40px rgba(124, 58, 237, 0.3); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Body override ── */
body.home-page {
  background: #09090b;
  overflow-x: hidden;
}

/* ── Navbar ── */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s ease;
  background: transparent;
}
.home-nav.scrolled {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.home-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.home-nav__brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.home-nav__brand-text {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.home-nav__brand-text em {
  font-style: normal;
  color: #a855f7;
}
.home-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.home-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}
.home-nav__link:hover {
  color: #ffffff;
}
.home-nav__cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.home-nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
}

/* ── Hero Section ── */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(15, 15, 20, 1) 0%, #09090b 100%);
  z-index: 0;
}
.home-hero__grid {
  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: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}
.home-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.12);
  top: 10%;
  left: 15%;
}
.home-hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(168, 85, 247, 0.08);
  bottom: 20%;
  right: 10%;
  animation-delay: -4s;
}
.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease forwards;
  letter-spacing: 0.3px;
}
.home-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}
.home-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}
.home-hero__title span {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #7c3aed 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.home-hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 44px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}
.home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}
.home-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
  border: none;
  cursor: pointer;
}
.home-hero__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.5);
}
.home-hero__btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.home-hero__btn-primary:hover svg {
  transform: translateX(4px);
}
.home-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}
.home-hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Stats Bar ── */
.home-stats {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  margin-top: -40px;
}
.home-stats__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.home-stats__item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.home-stats__item:last-child {
  border-right: none;
}
.home-stats__val {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
}
.home-stats__val span {
  color: #a855f7;
}
.home-stats__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Section Common ── */
.home-section {
  padding: 120px 24px;
  position: relative;
}
.home-section__header {
  text-align: center;
  margin-bottom: 64px;
}
.home-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.home-section__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.home-section__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Features Section ── */
.home-features {
  background: linear-gradient(180deg, #09090b 0%, #0f0f14 100%);
}
.home-features__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.home-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.home-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}
.home-feature-card:hover::before {
  opacity: 1;
}
.home-feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.15);
}
.home-feature-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.home-feature-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

/* ── How It Works ── */
.home-how {
  background: #09090b;
}
.home-how__steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.home-how__steps::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.3), rgba(124, 58, 237, 0.05));
}
.home-step {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  position: relative;
}
.home-step__num {
  width: 74px;
  min-width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  border: 2px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: #a855f7;
  z-index: 1;
  flex-shrink: 0;
}
.home-step__body {
  padding-top: 10px;
}
.home-step__title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.home-step__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 500px;
}

/* ── CTA / Instagram Section ── */
.home-cta {
  background: linear-gradient(180deg, #0f0f14 0%, #09090b 100%);
  text-align: center;
  padding: 120px 24px;
}
.home-cta__card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(168, 85, 247, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 28px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.home-cta__card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
  animation: float 12s ease-in-out infinite;
}
.home-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}
.home-cta__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.home-cta__insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(220, 39, 67, 0.3);
  position: relative;
}
.home-cta__insta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(220, 39, 67, 0.45);
}
.home-cta__insta-btn svg {
  width: 22px;
  height: 22px;
}
.home-cta__handle {
  margin-top: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  position: relative;
}
.home-cta__handle a {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.home-cta__handle a:hover {
  color: #a855f7;
}

/* ── Footer ── */
.home-footer {
  background: #09090b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 24px;
  text-align: center;
}
.home-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.home-footer__brand-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-footer__brand-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.home-footer__brand-text em {
  font-style: normal;
  color: #a855f7;
}
.home-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.home-footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.home-footer__links a:hover {
  color: #a855f7;
}
.home-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-nav {
    padding: 14px 20px;
  }
  .home-nav__links {
    gap: 16px;
  }
  .home-nav__link {
    display: none;
  }
  .home-features__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .home-stats__inner {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .home-stats__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
  }
  .home-stats__item:last-child {
    border-bottom: none;
  }
  .home-how__steps::before {
    left: 28px;
  }
  .home-step__num {
    width: 58px;
    min-width: 58px;
    height: 58px;
    font-size: 22px;
  }
  .home-step {
    gap: 20px;
    padding: 28px 0;
  }
  .home-cta__card {
    padding: 40px 24px;
  }
}
@media (max-width: 480px) {
  .home-hero {
    padding: 120px 16px 80px;
  }
  .home-hero__title {
    letter-spacing: -1px;
  }
  .home-hero__actions {
    flex-direction: column;
    gap: 12px;
  }
  .home-hero__btn-primary,
  .home-hero__btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .home-section {
    padding: 80px 16px;
  }
  .home-step__desc {
    font-size: 14px;
  }
}
