:root {
  --bg: #06192e;
  --bg-2: #0c2f4f;
  --accent: #21c08b;
  --accent-dark: #169c6f;
  --gold: #f5c451;
  --gold-dark: #d9a92f;
  --text: #0b2540;
  --muted: #5b6b7b;
  --card: #ffffff;
  --error: #d8453b;
  --radius: 18px;
  --shadow: 0 30px 60px rgba(4, 16, 30, 0.45);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #eef3f7;
  line-height: 1.6;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Reusable gradient text */
.grad {
  background: linear-gradient(100deg, var(--gold) 0%, #ffe9a8 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 28px clamp(24px, 6vw, 96px) 72px;
  background:
    radial-gradient(1200px 700px at 78% -12%, rgba(33, 192, 139, 0.28), transparent),
    radial-gradient(900px 600px at 8% 110%, rgba(245, 196, 81, 0.16), transparent),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  color: #eaf2f8;
}

/* Large logo watermark filling the hero background */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 60vw);
  height: min(620px, 60vw);
  background: url("/images/logo.jpg") center / contain no-repeat;
  border-radius: 50%;
  opacity: 0.06;
  filter: saturate(1.2);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}

/* Floating background orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 360px; height: 360px; top: -80px; right: 6%; background: rgba(33, 192, 139, 0.45); }
.orb-2 { width: 280px; height: 280px; bottom: -60px; left: 12%; background: rgba(245, 196, 81, 0.35); animation-delay: 3s; }
.orb-3 { width: 220px; height: 220px; top: 40%; left: 46%; background: rgba(56, 152, 214, 0.35); animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

.nav, .hero-content, .card { position: relative; z-index: 1; }

.nav {
  grid-column: 1 / -1;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.powered {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #bcd2e6;
  text-transform: uppercase;
}
.powered strong { color: var(--gold); }

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Large glowing hero emblem */
.hero-emblem {
  position: relative;
  width: 132px;
  height: 132px;
  margin-bottom: 26px;
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(245,196,81,0.5));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 22px 50px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(33, 192, 139, 0.35);
  animation: emblemGlow 5s ease-in-out infinite;
}
.hero-emblem::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(33,192,139,0.35), transparent 70%);
  z-index: -1;
}
.hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}
@keyframes emblemGlow {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 22px 50px rgba(0,0,0,0.45), 0 0 50px rgba(33,192,139,0.3); }
  50% { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 28px 60px rgba(0,0,0,0.5), 0 0 80px rgba(33,192,139,0.45); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, rgba(245,196,81,0.18), rgba(33,192,139,0.18));
  color: #ffe9a8;
  border: 1px solid rgba(245, 196, 81, 0.5);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}

.subtitle {
  font-size: 1.16rem;
  color: #cfe0ee;
  max-width: 48ch;
}

.features {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
  font-size: 1.05rem;
  color: #eaf4fb;
}
.features li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feat-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.1rem;
}

.card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  max-width: 440px;
  width: 100%;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card h2 { margin: 0 0 4px; font-size: 1.7rem; font-family: var(--font-display); font-weight: 700; }
.card-sub { margin: 0 0 22px; color: var(--muted); }

form { display: grid; gap: 16px; }

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d3dde6;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 192, 139, 0.16);
}

input:invalid:not(:placeholder-shown) {
  border-color: var(--error);
}

button {
  margin-top: 6px;
  padding: 15px 18px;
  background: linear-gradient(120deg, var(--accent) 0%, #2fd6a0 100%);
  color: #03110b;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(33, 192, 139, 0.35);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}

button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(33, 192, 139, 0.45); filter: brightness(1.04); }
button:active { transform: translateY(0); }
button:disabled { opacity: 0.6; cursor: progress; box-shadow: none; }

.status {
  margin: 4px 0 0;
  min-height: 1.2em;
  font-size: 0.95rem;
  font-weight: 600;
}
.status.error { color: var(--error); }
.status.success { color: var(--accent-dark); }

.privacy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  background: #fff;
  border-top: 1px solid #e7eef4;
}
.footer strong { color: var(--accent-dark); }

.footer-logo {
  height: 72px;
  width: 72px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(8, 25, 45, 0.18);
}

/* ---- Why section ---- */
.why {
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(33, 192, 139, 0.08), transparent),
    #f6f9fc;
  padding: clamp(64px, 9vw, 110px) clamp(24px, 6vw, 96px);
}

.why-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.why-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.why-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  color: var(--bg);
}

.why-lede {
  max-width: 58ch;
  margin: 0 auto 56px;
  color: var(--muted);
  font-size: 1.18rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  text-align: left;
}

.why-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  opacity: 0;
  transition: opacity 0.2s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(8, 25, 45, 0.14);
  border-color: transparent;
}
.why-card:hover::before { opacity: 1; }

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 1.7rem;
  margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(33,192,139,0.14), rgba(245,196,81,0.16));
  border: 1px solid rgba(33, 192, 139, 0.22);
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bg);
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

.why-cta {
  display: inline-block;
  margin-top: 52px;
  padding: 16px 36px;
  background: linear-gradient(120deg, var(--accent) 0%, #2fd6a0 100%);
  color: #03110b;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(33, 192, 139, 0.32);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.why-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(33, 192, 139, 0.42); filter: brightness(1.04); }
.why-cta:active { transform: translateY(0); }

/* ---- Maps showcase ---- */
.maps {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 88% 10%, rgba(33, 192, 139, 0.22), transparent),
    radial-gradient(600px 400px at 0% 100%, rgba(245, 196, 81, 0.12), transparent),
    linear-gradient(160deg, #06192e 0%, #0e4d6b 100%);
  color: #eaf2f8;
  padding: clamp(64px, 9vw, 110px) clamp(24px, 6vw, 96px);
}

.maps-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.maps-tag {
  display: inline-block;
  background: linear-gradient(120deg, rgba(245,196,81,0.18), rgba(33,192,139,0.18));
  color: #ffe9a8;
  border: 1px solid rgba(245, 196, 81, 0.5);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.maps-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.maps-copy > p {
  color: #cfe0ee;
  font-size: 1.12rem;
  max-width: 48ch;
  margin: 0 0 24px;
}

.maps-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
  font-size: 1.05rem;
  color: #e7f1f9;
}

.maps-cta {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(120deg, var(--gold) 0%, #ffd874 100%);
  color: #2a1d00;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(245, 196, 81, 0.3);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.maps-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(245, 196, 81, 0.42); filter: brightness(1.04); }
.maps-cta:active { transform: translateY(0); }

/* Phone + map mockup */
.maps-visual { display: flex; justify-content: center; position: relative; z-index: 1; }

.phone {
  width: 280px;
  height: 560px;
  background: #06121f;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(33, 192, 139, 0.25),
    0 0 90px rgba(33, 192, 139, 0.3);
  border: 2px solid #1c3a52;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(120px 120px at 70% 30%, rgba(33, 192, 139, 0.25), transparent),
    linear-gradient(160deg, #0d3b54, #115e7a 60%, #0a4a63);
}

/* Real app screenshot fills the phone screen */
.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* Hide the stylized fallback whenever the screenshot loads */
.phone-screen:not(.no-shot) .map-grid,
.phone-screen:not(.no-shot) .pin,
.phone-screen:not(.no-shot) .map-label {
  display: none;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(174, 243, 214, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 243, 214, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.pin {
  position: absolute;
  font-size: 1.5rem;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
  animation: bob 2.4s ease-in-out infinite;
}
.pin-1 { top: 22%; left: 28%; }
.pin-2 { top: 40%; left: 62%; animation-delay: 0.3s; }
.pin-3 { top: 56%; left: 38%; animation-delay: 0.6s; font-size: 1.7rem; }
.pin-4 { top: 70%; left: 70%; animation-delay: 0.9s; }
.pin-5 { top: 33%; left: 46%; animation-delay: 1.2s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.map-label {
  position: absolute;
  left: 14px;
  bottom: 16px;
  background: rgba(6, 18, 31, 0.8);
  color: #aef3d6;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
  .hero-content { text-align: center; }
  .hero-content .badge,
  .hero-emblem { margin-left: auto; margin-right: auto; }
  .features { justify-items: start; max-width: 420px; margin-left: auto; margin-right: auto; }
  .subtitle { margin-left: auto; margin-right: auto; }
  .card { justify-self: stretch; max-width: none; }
  .maps-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .maps-copy > p { max-width: none; }
  .phone { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
