/* neudriver.ai — PropTech landing (local preview)
   Direction: urban editorial / neighbourhood film
   Brand accents from Wix mark: navy + cyan; page ground is cool mist (not dark AI glow) */

:root {
  --ink: #0b1c2d;
  --ink-soft: #2a3a4d;
  --mist: #e8eef3;
  --mist-deep: #d5e0ea;
  --paper: #f5f7fa;
  --cyan: #4db8e8;
  --cyan-deep: #1a8fc4;
  --white: #ffffff;
  --scrim: rgba(8, 18, 32, 0.42);
  --font: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(77, 184, 232, 0.14), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(11, 28, 45, 0.06), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 38%, var(--mist-deep) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--cyan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

/* —— Header —— */
.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  pointer-events: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.site-nav a:hover {
  color: var(--white);
}

.about .section__body + .section__body {
  margin-top: 1rem;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand__mark {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35));
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__name {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.header-cta {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.15rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.header-cta:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 18, 32, 0.35) 0%, rgba(8, 18, 32, 0.15) 35%, rgba(8, 18, 32, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 18, 32, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
}

.hero__product {
  margin: 0 0 0.85rem;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__title {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  opacity: 0;
  animation: rise 0.95s var(--ease) 0.28s forwards;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: rise 1s var(--ease) 0.42s forwards;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  opacity: 0;
  animation: rise 1s var(--ease) 0.55s forwards;
}

.hero__platform {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  animation: rise 1s var(--ease) 0.68s forwards;
}

.cta:hover {
  background: #7ecff0;
  color: var(--ink);
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__product,
  .hero__title,
  .hero__lede,
  .hero__platform,
  .cta,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* —— Sections —— */
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section__label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.section__title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section__body {
  margin: 0;
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.lifestyle {
  border-block: 1px solid rgba(11, 28, 45, 0.08);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.lifestyle .section__title {
  max-width: 22ch;
}

.hero__title {
  max-width: 20ch;
}

/* Why it's different */
.differ {
  border-block: 1px solid rgba(11, 28, 45, 0.08);
  background: rgba(255, 255, 255, 0.35);
}

.moat {
  margin-bottom: 1.75rem !important;
}

.differ__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
}

.differ__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.differ__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--cyan-deep);
  border-radius: 1px;
  background: rgba(77, 184, 232, 0.25);
}

/* How it works */
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.steps li {
  counter-increment: step;
  padding-top: 0.25rem;
  border-top: 2px solid var(--cyan);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
}

.steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* Audience */
.audience {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .audience {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.audience article {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.audience h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.audience p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* Event strip */
.event {
  background: var(--ink);
  color: var(--white);
}

.event .section {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

@media (min-width: 800px) {
  .event .section {
    grid-template-columns: 1.4fr auto;
  }
}

.event .section__label {
  color: var(--cyan);
}

.event .section__title {
  color: var(--white);
  max-width: 20ch;
}

.event .section__body {
  color: rgba(255, 255, 255, 0.78);
}

.event .cta {
  align-self: end;
  justify-self: start;
  animation: none;
  opacity: 1;
}

/* Footer */
.site-footer {
  padding: 2.25rem clamp(1.25rem, 4vw, 3rem) 2.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid rgba(11, 28, 45, 0.12);
  padding-top: 1.75rem;
}

@media (min-width: 800px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.credibility__line {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.credibility__line .sep {
  margin: 0 0.35rem;
  color: rgba(11, 28, 45, 0.35);
}

.platform-note {
  margin: 0;
  max-width: 46rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.site-footer strong {
  color: var(--ink);
  font-weight: 560;
}

.patent {
  letter-spacing: 0.02em;
  font-weight: 560;
}

.site-footer__contact {
  white-space: nowrap;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}
