/* ============================================================
   STREET PULSE — Shared site stylesheet
   ============================================================ */

:root {
  --sky:#B7EDED; --mint:#9DEADA; --green:#3BC480; --darkg:#309F53;
  --black:#0A0A0A; --ink:#162B22; --grey:#6B7773; --white:#FFFFFF; --tint:#EFFBF6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  font-family: 'Lato', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; }

a { color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 6vw; }
.section { padding: 6rem 0; position: relative; }
.section.tight { padding: 4rem 0; }
.section.dark { background: linear-gradient(180deg, #0A0A0A 0%, #102A1E 100%); color: var(--white); }
.section.light { background: var(--white); color: var(--ink); }
.section.tintbg { background: var(--tint); color: var(--ink); }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--darkg); margin-bottom: 0.8rem;
}
.section.dark .eyebrow { color: var(--mint); }

.headline { font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; max-width: 760px; }
.headline.lg { font-size: 3.4rem; }
.subhead { font-size: 1.15rem; color: var(--grey); margin-bottom: 2rem; max-width: 620px; }
.section.dark .subhead { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 0.95rem 1.9rem; border-radius: 999px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--black); box-shadow: 0 8px 24px rgba(59,196,128,0.28); }
.btn-primary:hover { background: var(--darkg); box-shadow: 0 10px 28px rgba(59,196,128,0.38); }
.btn-outline { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }
.btn-outline.onlight { border-color: var(--ink); color: var(--ink); }
.btn-outline.onlight:hover { border-color: var(--darkg); color: var(--darkg); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 6vw; background: rgba(10,10,10,0.78); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav .logo-row { display: flex; align-items: center; gap: 14px; }
.nav .logo-mark { width: 56px; height: 56px; flex-shrink: 0; }
.wordmark { font-family: 'Poppins', sans-serif; font-weight: 800; }
.wordmark .light-w { font-weight: 300; }
.wordmark .bold-w { font-weight: 800; }
.wordmark .dot { color: var(--green); font-weight: 800; }
.nav .wordmark { font-size: 1.65rem; color: var(--white); text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.95rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--mint); }
.nav-links .btn { padding: 0.65rem 1.4rem; font-size: 0.85rem; }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #0A0A0A; padding: 1.5rem 6vw 2rem; gap: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* ---------- Logo mark animation ---------- */
.beat,.core,.ring{transform-box:fill-box;transform-origin:center}
.beat{animation:beat 1.5s ease-in-out infinite}
.core{animation:core 1.5s ease-in-out infinite}
.ring{animation:ring 1.5s cubic-bezier(.22,.61,.36,1) infinite}
.ring.r2{animation-delay:.22s}
@keyframes beat{0%{transform:scale(1.10)}14%{transform:scale(1)}24%{transform:scale(1.045)}34%{transform:scale(1)}100%{transform:scale(1)}}
@keyframes core{0%{transform:scale(1.14)}16%{transform:scale(1)}100%{transform:scale(1)}}
@keyframes ring{0%{transform:scale(.62);opacity:0}10%{opacity:.5}100%{transform:scale(1.5);opacity:0}}
@media(prefers-reduced-motion:reduce){.beat,.core,.ring{animation:none}}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  overflow: hidden; color: var(--white);
}
.hero .bgphoto {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.78) 100%);
}
.hero .content { position: relative; z-index: 2; padding: 8rem 0 5rem; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(157,234,218,0.12); border: 1px solid rgba(157,234,218,0.35);
  color: var(--mint); font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.5rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero .headline { color: var(--white); }
.hero .subhead { color: rgba(255,255,255,0.82); }

/* page hero (smaller, for inner pages) */
.page-hero {
  padding: 7rem 0 3.5rem; background: linear-gradient(180deg, #0A0A0A 0%, #102A1E 100%); color: var(--white);
}
.page-hero .headline { color: var(--white); margin-bottom: 0.6rem; }
.page-hero .subhead { margin-bottom: 0; }

/* ---------- Feature lists ---------- */
ul.feature-list { list-style: none; max-width: 640px; }
ul.feature-list li { position: relative; padding-left: 1.5rem; margin-bottom: 1rem; font-size: 1.05rem; line-height: 1.55; }
ul.feature-list li::before { content: "•"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
ul.feature-list.onlight li { color: var(--ink); }
ul.feature-list.ondark li { color: var(--white); }

/* ---------- Grids & cards ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.card { background: var(--tint); border-radius: 16px; padding: 1.8rem; box-shadow: 0 4px 18px rgba(0,0,0,0.05); }
.card .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--darkg); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-family:'Poppins',sans-serif; margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.94rem; color: var(--grey); }
.card.dark-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.card.dark-card h3 { color: var(--white); }
.card.dark-card p { color: rgba(255,255,255,0.7); }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.stat-strip .stat { text-align: center; }
.stat-strip .stat .n { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--green); }
.stat-strip .stat .l { font-size: 0.85rem; color: var(--grey); margin-top: 0.3rem; }
.section.dark .stat-strip .stat .l { color: rgba(255,255,255,0.65); }

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; max-width: 760px; }
.price-table th, .price-table td { padding: 0.95rem 1.2rem; text-align: left; font-size: 1.05rem; }
.price-table th { background: var(--black); color: var(--white); font-family: 'Poppins', sans-serif; }
.price-table th:last-child, .price-table td:last-child { text-align: center; }
.price-table tr:nth-child(even) td { background: var(--tint); }
.price-table td:last-child { color: var(--darkg); font-weight: 700; }
.price-note { margin-top: 1.2rem; font-size: 0.94rem; color: var(--grey); font-style: italic; max-width: 760px; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; max-width: 920px; }
.compare .col { border-radius: 16px; padding: 2rem; }
.compare .col.trad { background: var(--white); box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.compare .col.sp { background: var(--black); color: var(--white); position: relative; }
.compare .col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.compare .col.trad h3 { color: var(--grey); }
.compare .col .mark-small { position: absolute; top: 1.5rem; right: 1.5rem; width: 50px; height: 50px; }

/* ---------- CTA card / band ---------- */
.cta-card { background: var(--green); border-radius: 16px; padding: 1.8rem 2.6rem; text-align: center; max-width: 480px; margin: 2.2rem auto 0; }
.cta-card h3 { color: var(--black); font-size: 1.1rem; margin-bottom: 0.5rem; }
.cta-card p { color: var(--ink); font-size: 0.95rem; margin-bottom: 0.4rem; }
.cta-card .ask { font-style: italic; font-size: 0.85rem; margin-top: 0.6rem; }

.cta-band { background: linear-gradient(135deg, var(--green), var(--darkg)); color: var(--black); text-align: center; }
.cta-band .headline { color: var(--black); max-width: 100%; }
.cta-band .subhead { color: rgba(10,10,10,0.7); max-width: 100%; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(10,10,10,0.35); color: var(--black); }
.cta-band .btn-outline:hover { border-color: var(--black); }
.cta-band .btn-primary { background: var(--black); color: var(--white); }
.cta-band .btn-primary:hover { background: #1a1a1a; }

/* ---------- Demo preview frame (portfolio) ---------- */
.demo-frame-wrap {
  display: block; position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25); text-decoration: none; margin-top: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.demo-preview-img { width: 100%; display: block; }
.demo-preview-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; background: rgba(10,10,10,0.35); opacity: 0; transition: opacity 0.2s ease;
  color: var(--white); text-align: center; padding: 1rem;
}
.demo-frame-wrap:hover .demo-preview-overlay { opacity: 1; }
.demo-preview-play {
  width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: var(--black);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.demo-preview-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black); color: rgba(255,255,255,0.6); padding: 3.5rem 0 2.5rem;
}
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer .wordmark { color: var(--white); font-size: 1.2rem; }
.footer .tagline-foot { font-size: 0.75rem; letter-spacing: 0.18em; color: #8A9692; margin-top: 4px; }
.footer .foot-links { list-style: none; display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer .foot-links a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 0.9rem; font-family: 'Poppins', sans-serif; }
.footer .foot-links a:hover { color: var(--mint); }
.footer .copyright { width: 100%; margin-top: 2.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.35); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid2, .compare { grid-template-columns: 1fr; }
  .grid3, .grid4 { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .headline { font-size: 2.1rem; }
  .headline.lg { font-size: 2.4rem; }
  .section { padding: 4rem 0; }
}
@media (max-width: 540px) {
  .grid3, .grid4, .stat-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   WOW ENHANCEMENTS
   ============================================================ */

/* ---------- Bigger logo ---------- */
.nav .logo-mark { width: 72px; height: 72px; }
.nav .wordmark { font-size: 2rem; }
.nav .logo-row { gap: 16px; }

/* ---------- Hero full-screen + bigger type ---------- */
.hero { min-height: 100vh; }
.hero .headline.lg { font-size: clamp(2.8rem, 5.2vw, 5.2rem); line-height: 1.08; }
.hero .content { padding: 10rem 0 6rem; }
.accent { color: var(--green); }

/* ---------- Hero load-in animation ---------- */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .content > * { animation: hero-up 0.85s ease both; }
.hero .content > *:nth-child(1) { animation-delay: 0.08s; }
.hero .content > *:nth-child(2) { animation-delay: 0.18s; }
.hero .content > *:nth-child(3) { animation-delay: 0.30s; }
.hero .content > *:nth-child(4) { animation-delay: 0.42s; }
.hero .content > *:nth-child(5) { animation-delay: 0.52s; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.r1 { transition-delay: 0.05s; }
.r2 { transition-delay: 0.15s; }
.r3 { transition-delay: 0.25s; }
.r4 { transition-delay: 0.35s; }
.r5 { transition-delay: 0.45s; }

/* ---------- Eyebrow green underline accent ---------- */
.eyebrow { position: relative; padding-bottom: 12px; }
.eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}
.center .eyebrow::after,
.mx-auto .eyebrow::after { left: 50%; transform: translateX(-50%); }

/* ---------- Ticker / marquee ---------- */
.ticker-wrap {
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}
.ticker-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0 2.2rem;
  flex-shrink: 0;
}
.ticker-item.hi { color: var(--green); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Card hover effects ---------- */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(59,196,128,0.12);
  border-color: rgba(59,196,128,0.18);
}
.card.dark-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157,234,218,0.14);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* ---------- Animated CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--darkg) 50%, #1a8a4a 100%) !important;
  background-size: 200% 200% !important;
  animation: gradient-pulse 8s ease infinite;
}
@keyframes gradient-pulse {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* ---------- Page hero more dramatic ---------- */
.page-hero {
  padding: 8rem 0 4.5rem;
  background: linear-gradient(155deg, #0A0A0A 0%, #091d14 40%, #102A1E 100%);
}

/* ---------- Stat strip bigger numbers ---------- */
.stat-strip .stat .n { font-size: 2.8rem; }

/* ---------- Bigger btn variant ---------- */
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ---------- Process/method cards with accent left border ---------- */
.card.dark-card.method-card {
  border-left: 3px solid var(--green);
  padding-left: 1.6rem;
}
.card.dark-card.method-card .num {
  background: var(--green);
  color: var(--black);
}

@media (max-width: 860px) {
  .nav .logo-mark { width: 52px; height: 52px; }
  .nav .wordmark { font-size: 1.55rem; }
  .hero .headline.lg { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  /* Lighter overlay on mobile so the property photo actually shows through */
  .hero .overlay {
    background: linear-gradient(180deg, rgba(10,10,10,0.28) 0%, rgba(10,10,10,0.58) 100%);
  }
  /* Ensure hero text is readable against lighter overlay */
  .hero .subhead { color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
  .hero .headline { text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
  .hero .eyebrow { text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
}
