/* ─────────────────────────────────────────
   NEARBY LANDING — style.css
   Colors from app theme:
     tint dark:   #70c9a1
     tint light:  #3B7F62
     accent:      #64b986
     soft:        #A8D5BA
     bg dark:     #1a1a1a
     bg light:    #fafaf6
───────────────────────────────────────── */

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

:root {
  --green:      #70c9a1;
  --green-dark: #3B7F62;
  --green-mid:  #64b986;
  --green-soft: #A8D5BA;
  --bg:         #101313;
  --bg2:        #141717;
  --bg3:        #181c1c;
  --card:       #1b1f1f;
  --border:     #2a3030;
  --text:       #e8eeeb;
  --muted:      #7a9088;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow:     0 4px 24px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(100,185,134,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(100,185,134,.5);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1.5px solid rgba(112,201,161,.3);
}
.btn-ghost:hover {
  background: rgba(112,201,161,.08);
  border-color: var(--green);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(16,19,19,.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Radar background animation */
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(112,201,161,.12);
  animation: radarPulse 4s ease-out infinite;
}
.radar-ring.r1 { width: 300px; height: 300px; animation-delay: 0s; }
.radar-ring.r2 { width: 550px; height: 550px; animation-delay: 1.2s; }
.radar-ring.r3 { width: 820px; height: 820px; animation-delay: 2.4s; }

@keyframes radarPulse {
  0%   { opacity: 0; transform: scale(.8); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1); }
}

.radar-sweep {
  position: absolute;
  width: 820px; height: 820px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 300deg,
    rgba(112,201,161,.04) 340deg,
    rgba(112,201,161,.12) 355deg,
    transparent 360deg
  );
  animation: sweep 6s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.hero-dots {
  position: absolute;
  width: 820px; height: 820px;
}
.dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green), 0 0 20px rgba(112,201,161,.4);
  animation: dotBlink 3s ease-in-out infinite;
}
.d1 { top: 30%; left: 25%; animation-delay: 0s; }
.d2 { top: 20%; left: 58%; animation-delay: .6s; }
.d3 { top: 55%; left: 70%; animation-delay: 1.2s; }
.d4 { top: 65%; left: 35%; animation-delay: 1.8s; }
.d5 { top: 40%; left: 15%; animation-delay: 2.4s; }
@keyframes dotBlink {
  0%, 100% { opacity: .3; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1.2); }
}

/* Hero layout */
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(112,201,161,.1);
  border: 1px solid rgba(112,201,161,.25);
  color: var(--green);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(112,201,161,.6); }
  50% { box-shadow: 0 0 0 6px rgba(112,201,161,0); }
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Phone mockup */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  position: relative;
  width: 280px;
  height: 580px;
  background: #0e1010;
  border-radius: 44px;
  border: 2px solid #2a3030;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
  z-index: 2;
}
.phone-sm {
  width: 240px;
  height: 500px;
  border-radius: 38px;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #0e1010;
  border-radius: 20px;
  z-index: 5;
}
.phone-notch-sm {
  width: 70px; height: 18px;
  top: 10px;
}
.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a1a1a;
}
.phone-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.phone-home {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 4px;
  z-index: 5;
}
.phone-home-sm { width: 80px; }

.phone-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(112,201,161,.2) 0%, transparent 70%);
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(24,28,28,.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.card-left { left: -40px; top: 28%; animation-delay: 0s; }
.card-right { right: -40px; bottom: 30%; animation-delay: 2.5s; }
.fc-emoji { font-size: 22px; }
.fc-name { font-size: 13px; font-weight: 700; color: var(--text); }
.fc-dist { font-size: 11px; color: var(--green); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 120px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  flex: 1;
  max-width: 300px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(112,201,161,.3);
}
.step-icon {
  width: 52px; height: 52px;
  background: rgba(112,201,161,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}
.step-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(112,201,161,.08);
  position: absolute;
  top: 16px; right: 20px;
  line-height: 1;
  letter-spacing: -2px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; }

.step-arrow {
  color: rgba(112,201,161,.3);
  padding-top: 60px;
  flex-shrink: 0;
}

/* ─── FEATURES ─── */
.features {
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.feature-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  bottom: -30px;
  filter: blur(50px);
  opacity: .3;
  pointer-events: none;
}
.glow-green { background: var(--green); }
.glow-teal  { background: #3B7F62; }

.feature-text { display: flex; flex-direction: column; gap: 20px; }
.feature-label {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.feature-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.15;
}
.feature-text p { color: var(--muted); font-size: 16px; line-height: 1.75; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.check {
  width: 22px; height: 22px;
  background: rgba(112,201,161,.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--green);
  flex-shrink: 0;
}

/* ─── EVENTS SHOWCASE ─── */
.events-showcase {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 64px;
}
.event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(112,201,161,.4);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.event-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(16,19,19,.85);
  backdrop-filter: blur(8px);
  color: var(--green);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(112,201,161,.3);
}
.overlay-gradient {
  background: linear-gradient(135deg, var(--green-dark), var(--bg3));
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-placeholder-icon {
  font-size: 48px;
  opacity: .5;
}
.event-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.event-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.event-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.event-info {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.event-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.event-host {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.avatar {
  width: 24px; height: 24px;
  background: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.event-attendees {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.events-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.events-cta p {
  color: var(--muted);
  font-size: 16px;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform .3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card.featured {
  border-color: rgba(112,201,161,.3);
  background: linear-gradient(145deg, rgba(112,201,161,.05), var(--card));
}
.testimonial-quote {
  font-size: 56px;
  line-height: .7;
  color: var(--green);
  opacity: .4;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}
.testimonial-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-city { font-size: 12px; color: var(--muted); }

/* ─── PRIVACY ─── */
.privacy-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.privacy-card {
  background: linear-gradient(135deg, rgba(112,201,161,.06), rgba(59,127,98,.04));
  border: 1px solid rgba(112,201,161,.2);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.privacy-icon { font-size: 48px; margin-bottom: 20px; }
.privacy-card h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.privacy-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 32px;
}
.privacy-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  background: rgba(112,201,161,.1);
  border: 1px solid rgba(112,201,161,.2);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

/* ─── DOWNLOAD ─── */
.download-section {
  padding: 120px 0;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Animated radar for download */
.download-radar {
  position: relative;
  width: 300px; height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.dl-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(112,201,161,.2);
  animation: dlPulse 3.5s ease-out infinite;
}
.dl-ring.r1 { width: 120px; height: 120px; animation-delay: 0s; }
.dl-ring.r2 { width: 210px; height: 210px; animation-delay: 1s; }
.dl-ring.r3 { width: 300px; height: 300px; animation-delay: 2s; }
@keyframes dlPulse {
  0%   { opacity: 0; transform: scale(.85); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.05); }
}
.dl-center {
  width: 90px; height: 90px;
  background: var(--card);
  border: 1.5px solid rgba(112,201,161,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(112,201,161,.2);
}
.dl-center img { width: 60px; height: auto; }

.download-text { display: flex; flex-direction: column; gap: 20px; }
.download-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.25;
}
.download-text p { color: var(--muted); font-size: 16px; }

.download-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  text-decoration: none;
  color: var(--text);
  transition: all .25s ease;
  min-width: 175px;
}
.store-btn:hover {
  border-color: rgba(112,201,161,.4);
  background: rgba(112,201,161,.05);
  transform: translateY(-2px);
}
.store-sub { display: block; font-size: 11px; color: var(--muted); }
.store-name { display: block; font-size: 16px; font-weight: 700; }
.download-note { font-size: 13px; color: var(--muted); }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-logo { height: 28px; width: auto; margin-bottom: 4px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ─── SCROLL ANIMATIONS ─── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"].aos-visible { transition-delay: .1s; }
[data-aos][data-aos-delay="200"].aos-visible { transition-delay: .2s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero .container,
  .download-content,
  .feature-row,
  .feature-row.reverse,
  .events-grid { grid-template-columns: 1fr; direction: ltr; }

  .hero-phone { margin-top: 40px; }
  .card-left { left: 0; }
  .card-right { right: 0; }

  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step-arrow { display: none; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .feature-row { gap: 40px; }
  .feature-row.reverse .feature-visual { order: -1; }

  .privacy-card { padding: 40px 24px; }
  .events-showcase { padding: 80px 0; }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .download-buttons { flex-direction: column; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
