/* ===== VARIABLES ===== */
:root {
  --primary: #584bbb;
  --primary-light: #7b6fd4;
  --primary-bg: rgba(88, 75, 187, 0.09);
  --secondary: #2c8cd6;
  --accent: #e9a23b;
  --dark: #0f1117;
  --text: #1a1d29;
  --text-muted: #5a6078;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --border: #e8eaf0;
  --radius: 16px;
  --radius-sm: 12px;
  --ease: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== LABELS & SECTION HEADERS ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(88, 75, 187, 0.28);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(88, 75, 187, 0.38);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-bg);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}
.logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
#main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
#main-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--ease);
}
#main-nav a:hover {
  color: var(--primary);
}
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.8125rem;
  transition: background var(--ease) !important;
}
.nav-cta:hover {
  background: var(--primary-light) !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  padding: 148px 0 96px;
  background: linear-gradient(
    150deg,
    #f6f7fb 0%,
    rgba(88, 75, 187, 0.04) 55%,
    rgba(44, 140, 214, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(88, 75, 187, 0.07) 0%,
    transparent 68%
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .text-highlight {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  position: relative;
  flex-shrink: 0;
}
.phone-frame {
  background: #111827;
  border-radius: 44px;
  padding: 11px 10px;
  position: relative;
  box-shadow:
    0 0 0 1.5px #374151,
    0 0 0 3.5px #1f2937,
    0 48px 96px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #1a1a2e;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== FLOATING CARDS ===== */
.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: float-y 4s ease-in-out infinite;
}
.floating-card.card-verified {
  bottom: 14%;
  left: -28%;
  animation-delay: 0.5s;
}
.floating-card.card-active {
  top: 14%;
  right: -22%;
  animation-delay: 1.1s;
}
.floating-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-card-icon.icon-green {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}
.floating-card-icon.icon-blue {
  background: rgba(44, 140, 214, 0.12);
  color: var(--secondary);
}
.floating-card-label span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ===== FEATURES ===== */
.features {
  padding: 96px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09);
  border-color: rgba(88, 75, 187, 0.15);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-bg),
    rgba(44, 140, 214, 0.06)
  );
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== SHOWCASE SECTIONS ===== */
.showcase {
  padding: 96px 0;
  background: var(--bg-soft);
}
.showcase-alt {
  padding: 96px 0;
  background: var(--bg);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase-visual {
  display: flex;
  justify-content: center;
}
.showcase-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.showcase-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.benefit-list {
  list-style: none;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.benefit-check {
  width: 22px;
  height: 22px;
  background: rgba(88, 75, 187, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== LANDLORD CTA ===== */
.landlord-cta {
  padding: 96px 0;
  background: linear-gradient(
    140deg,
    var(--primary) 0%,
    #3d3494 55%,
    #253567 100%
  );
  color: #fff;
}
.landlord-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.landlord-cta .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.landlord-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.landlord-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.landlord-benefit-list {
  list-style: none;
  margin-bottom: 36px;
}
.landlord-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}
.landlord-benefit-list li .benefit-check {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.landlord-visual {
  display: flex;
  justify-content: center;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 96px 0;
  background: var(--bg-soft);
  text-align: center;
}
.download-phones {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 48px;
}
.store-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 700;
  transition: all var(--ease);
}
.store-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.store-badge-label span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.store-badge.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #8a8fa8;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 300px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #8a8fa8;
  margin-bottom: 12px;
  transition: color var(--ease);
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
}

/* ===== MOCKUP SIZES ===== */
.hero-visual .phone-mockup {
  width: 270px;
}
.showcase-visual .phone-mockup {
  width: 250px;
}
.landlord-visual .phone-mockup {
  width: 250px;
}
.download-phones .phone-mockup {
  width: 220px;
}

/* ===== ANIMATIONS ===== */
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

/* ===== MOBILE NAV ===== */
#main-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 24px;
  gap: 16px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
#main-nav.mobile-open a {
  font-size: 1.125rem;
  color: var(--text);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid,
  .landlord-cta-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .benefit-list,
  .landlord-benefit-list {
    display: inline-block;
    text-align: left;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  #main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-card {
    display: none;
  }
  .download-phones .phone-mockup {
    width: 190px !important;
  }
  .section-header {
    margin-bottom: 36px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 112px 0 64px;
  }
  .features,
  .showcase,
  .showcase-alt,
  .landlord-cta,
  .download {
    padding: 64px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .phone-mockup {
    width: 210px !important;
  }
  .download-phones .phone-mockup {
    width: 155px !important;
  }
  .download-phones {
    gap: 16px;
  }
  .section-header {
    text-align: left;
  }
}
