/* =============================================
   LAUNCH LORDS — DESIGN SYSTEM
   Real Estate AI Automation Agency
   Dark premium aesthetic
   ============================================= */

/* === DESIGN TOKENS === */
:root {
  --bg:           #0a0a0a;
  --bg-surface:   #0f0f0f;
  --bg-card:      #111111;
  --bg-card-hover:#161616;
  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --white:        #ffffff;
  --white-90:     rgba(255,255,255,0.9);
  --white-70:     rgba(255,255,255,0.7);
  --white-50:     rgba(255,255,255,0.5);
  --white-30:     rgba(255,255,255,0.3);
  --white-15:     rgba(255,255,255,0.15);
  --white-08:     rgba(255,255,255,0.08);
  --white-05:     rgba(255,255,255,0.05);
  --gold:         #c9a462;
  --gold-dim:     rgba(201,164,98,0.6);

  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --section-py:   120px;
  --container:    1160px;
  --gutter:       40px;
  --nav-h:        68px;

  --r-sm:    8px;
  --r-md:    12px;
  --r-lg:    16px;
  --r-xl:    24px;
  --r-pill:  100px;

  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   500ms cubic-bezier(0.16,1,0.3,1);
}

/* === RESET === */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { border:none; cursor:pointer; font-family:inherit; background:none; }

/* === CONTAINER === */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.75s cubic-bezier(0.16,1,0.3,1),
    transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible             { opacity:1; transform:translateY(0); }
.reveal-d1.visible          { transition-delay:0.08s; }
.reveal-d2.visible          { transition-delay:0.16s; }
.reveal-d3.visible          { transition-delay:0.24s; }
.reveal-d4.visible          { transition-delay:0.32s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-box {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.logo-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--white-50);
  transition: color var(--t-base);
}
.nav-link:hover { color: var(--white); }

/* Nav CTA */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.btn-nav-cta:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Mobile */
.mobile-toggle {
  display: none;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px var(--gutter) 28px;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 1rem;
  color: var(--white-50);
  transition: color var(--t-base);
}
.mobile-link:hover { color: var(--white); }
.mob-cta { margin-top: 4px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Multi-layer overlay: bottom-heavy dark gradient + uniform dark tint */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.30) 60%, rgba(0,0,0,0.10) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 80px var(--gutter) 100px;
  max-width: 820px;
  margin: 0;
  width: 100%;
}

/* Pill badge above heading */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(201,164,98,0.15);
  border: 1px solid rgba(201,164,98,0.35);
  color: #c9a462;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0s both;
}

.hero-heading {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.8);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s both;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
}
.hero-stat {
  color: #ffffff;
  display: block;
}
.hero-contrast {
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-style: italic;
  display: block;
  font-size: 0.78em;
  letter-spacing: -0.015em;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
.hero-br { display:block; }
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

/* Shared Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.1);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--t-base), border-color var(--t-base);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}
.btn-cta-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

/* =============================================
   NICHES
   ============================================= */
.niches {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.niches-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white-30);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.niches-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.niches-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}
.niches-track:hover { animation-play-state: paused; }

.niche-card {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
}
.niche-img-wrap {
  width: 180px;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--bg-card);
  transition: transform var(--t-base), border-color var(--t-base);
}
.niche-card:hover .niche-img-wrap {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.niche-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.8);
}
.niche-card:hover .niche-img-wrap img { transform: scale(1.05); }
.niche-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--white-50);
  text-align: center;
  line-height: 1.4;
  max-width: 160px;
  transition: color var(--t-base);
}
.niche-card:hover .niche-name { color: var(--white-70); }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.about-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
}
.about-heading-muted { color: var(--white-30); }
.about-stat-block { max-width: 680px; }
.about-stat {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--white-70);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 740px;
}
.about-para {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--white);
}
.about-closing {
  color: var(--white-70);
  font-style: italic;
  font-weight: 400;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}
.section-label-row {
  margin-bottom: 14px;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t-base);
}
.service-card:hover { background: var(--bg-card-hover); }
.svc-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  margin-bottom: 4px;
}
.svc-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.svc-problem {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--white-30);
  font-style: italic;
}
.svc-solution {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--white-70);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

/* =============================================
   PROCESS
   ============================================= */
.process {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}
.process-header { margin-bottom: 72px; }
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base);
}
.process-step:first-child { border-top: 1px solid var(--border); }
.process-step:hover .step-number-wrap {
  border-color: var(--gold-dim);
}
.step-number-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--t-base);
}
.step-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-50);
}
.step-content { padding-top: 12px; }
.step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--white-50);
  max-width: 620px;
}

/* =============================================
   BOTTOM CTA
   ============================================= */
.bottom-cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-ribbon {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#cta-ribbon-canvas {
  width: 100%;
  height: 100%;
}
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
}
.cta-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--white);
}
.cta-heading em {
  font-style: italic;
  font-weight: 300;
}
.cta-sub {
  font-size: 1rem;
  color: var(--white-50);
  max-width: 480px;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  text-align: center;
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo-wrap { display: flex; justify-content: center; }
.footer-logo-box {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.footer-founders {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.founder-line {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.6;
}
.founder-name {
  font-weight: 500;
  color: var(--white-70);
}
.gold-name {
  background: linear-gradient(90deg, #c9a462, #f0d080, #c9a462);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-40, rgba(255,255,255,0.4));
  transition: color var(--t-base), border-color var(--t-base), transform var(--t-base), background var(--t-base);
}
.social-btn:hover {
  color: var(--white-70);
  border-color: var(--border-hover);
  background: var(--white-05);
  transform: translateY(-2px);
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--white-30);
}
.footer-sep {
  font-size: 0.75rem;
  color: var(--white-15, rgba(255,255,255,0.15));
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--white-30);
  transition: color var(--t-base);
}
.footer-legal:hover { color: var(--white-70); }

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  :root {
    --section-py: 88px;
    --gutter: 32px;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 60px 1fr; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --gutter: 20px;
    --nav-h: 60px;
  }

  /* Nav */
  .nav-links,
  .btn-nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  /* Hero */
  .hero-heading { font-size: 1.9rem; letter-spacing: -0.02em; }
  .hero-sub br { display: none; }
  .hero-br { display: none; }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-primary,
  .btn-secondary { width: 100%; max-width: 340px; }

  /* Niches */
  .niche-img-wrap { width: 150px; height: 170px; }
  .niche-card { flex: 0 0 150px; }

  /* About */
  .about-inner { gap: 40px; }
  .about-heading { font-size: 1.6rem; }
  .about-para { font-size: 1.1rem; }
  .about-body { gap: 28px; }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    border-radius: var(--r-lg);
  }
  .service-card { padding: 28px 24px; }

  /* Process */
  .process-step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .step-title { font-size: 1.2rem; }

  /* CTA */
  .bottom-cta { padding: 96px 0; }
  .cta-heading { font-size: 2rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-heading { font-size: 1.7rem; }
  .hero-sub { font-size: 0.95rem; }
  .section-heading { font-size: 1.5rem; }
  .about-heading { font-size: 1.4rem; }
  .cta-heading { font-size: 1.8rem; }
  .logo-text { display: none; }
  .process-step { grid-template-columns: 1fr; gap: 12px; }
  .step-number-wrap { width: 36px; height: 36px; }
}
