:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #5141c9;
  --primary-glow: rgba(108, 92, 231, 0.15);
  --bg: #f5f5f5;
  --bg-card: #fff;
  --fg: #171717;
  --fg-muted: #737373;
  --fg-subtle: #a3a3a3;
  --border: #e5e5e5;
  --pin-designer: #8b5cf6;
  --pin-developer: #10b981;
  --pin-writer: #f59e0b;
  --pin-marketer: #ef4444;
  --pin-founder: #3b82f6;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 12px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "DM Sans",
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(245, 245, 245, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}
.logo-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.logo-text {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-cta {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(108, 92, 231, 0.3);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 span {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  animation: fadeUp 0.6s ease 0.2s both;
}
.hero-form,
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease 0.3s both;
}
.hero-form input,
.cta-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: "DM Sans";
  font-size: 15px;
  background: var(--bg-card);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.hero-form input::placeholder,
.cta-form input::placeholder {
  color: var(--fg-subtle);
}
.hero-form input:focus,
.cta-form input:focus {
  border-color: var(--primary);
}
.hero-form button,
.cta-form button {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(108, 92, 231, 0.3);
}
.hero-form button:hover,
.cta-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}
.hero-form button:disabled,
.cta-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.hero-form-note,
.cta-form-note {
  font-size: 12px;
  color: var(--fg-subtle);
  margin-top: 12px;
  animation: fadeUp 0.6s ease 0.4s both;
}
.hero-cta {
  text-align: center;
  margin: 32px 0 20px;
  animation: fadeUp 0.6s ease 0.25s both;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 32px 0 20px;
  animation: fadeUp 0.6s ease 0.25s both;
  flex-wrap: wrap;
}
.hero-try-button,
.footer-form button {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(108, 92, 231, 0.3);
  cursor: pointer;
}
.hero-try-button:hover,
.footer-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}
.hero-register-button {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--primary);
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-register-button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.form-success,
.cta-form-success {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 500;
  font-size: 15px;
  justify-self: center;
}
.form-success svg,
.cta-form-success svg {
  flex-shrink: 0;
}
.form-error {
  display: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13px;
  margin-top: 8px;
  text-align: left;
}
.footer-form {
  margin-bottom: 40px;
}
.footer-form h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  color: var(--fg);
}
.footer-form-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 16px;
}
.footer-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: "DM Sans";
  font-size: 15px;
  background: var(--bg-card);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.footer-form input::placeholder {
  color: var(--fg-subtle);
}
.footer-form input:focus {
  border-color: var(--primary);
}
.hero-try-button:disabled,
.footer-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.footer-form-note {
  font-size: 12px;
  color: var(--fg-subtle);
  margin-top: 12px;
  text-align: center;
}
.map-preview {
  max-width: 960px;
  margin: 60px auto 0;
  position: relative;
  animation: fadeUp 0.8s ease 0.5s both;
}
.map-frame {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow:
    0 4px 40px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}
#hero-map {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.leaflet-control-attribution {
  font-size: 9px !important;
  opacity: 0.4;
}
.leaflet-control-zoom {
  display: none !important;
}
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.map-overlay > * {
  pointer-events: auto;
}
.map-pin {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: default;
  animation: pinDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: transform 0.2s;
}
.map-pin:hover {
  transform: scale(1.15);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.map-pin.p1 {
  top: 22%;
  left: 15%;
  background: var(--pin-designer);
  color: var(--pin-designer);
  animation-delay: 0.8s;
}
.map-pin.p2 {
  top: 42%;
  left: 40%;
  background: var(--pin-developer);
  color: var(--pin-developer);
  animation-delay: 1s;
}
.map-pin.p3 {
  top: 58%;
  left: 62%;
  background: var(--pin-writer);
  color: var(--pin-writer);
  animation-delay: 1.2s;
}
.map-pin.p4 {
  top: 28%;
  left: 68%;
  background: var(--pin-founder);
  color: var(--pin-founder);
  animation-delay: 1.4s;
}
.map-pin.p5 {
  top: 68%;
  left: 25%;
  background: var(--pin-marketer);
  color: var(--pin-marketer);
  animation-delay: 1.6s;
}
.map-cafe {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  animation: pinDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.map-cafe.c1 {
  top: 48%;
  left: 22%;
  animation-delay: 1.1s;
}
.map-cafe.c2 {
  top: 18%;
  left: 52%;
  animation-delay: 1.3s;
}
.map-cafe.c3 {
  top: 72%;
  left: 48%;
  animation-delay: 1.5s;
}
.map-card {
  position: absolute;
  top: 14%;
  right: 6%;
  background: var(--bg-card);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  animation: fadeUp 0.6s ease 2s both;
  max-width: 200px;
}
.map-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.map-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pin-developer);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}
.map-card-name {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 13px;
}
.map-card-role {
  font-size: 11px;
  color: var(--fg-muted);
}
.map-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--fg-subtle);
  margin-top: 4px;
}
.map-card-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.map-location-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 12px;
  color: var(--fg);
  animation: fadeUp 0.6s ease 2.2s both;
}
.map-location-label svg {
  opacity: 0.5;
}
.map-activity-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(108, 92, 231, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(108, 92, 231, 0.15);
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
  animation: fadeUp 0.6s ease 2.4s both;
}
.map-activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.features {
  padding: 100px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.section-label {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.feature-icon.purple {
  background: rgba(108, 92, 231, 0.1);
}
.feature-icon.green {
  background: rgba(16, 185, 129, 0.1);
}
.feature-icon.amber {
  background: rgba(245, 158, 11, 0.1);
}
.feature-icon.blue {
  background: rgba(59, 130, 246, 0.1);
}
.feature-icon.rose {
  background: rgba(239, 68, 68, 0.1);
}
.feature-icon.teal {
  background: rgba(20, 184, 166, 0.1);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.how {
  padding: 100px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 56px;
}
.step {
  text-align: center;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 240px;
  margin: 0 auto;
}
.roles {
  padding: 100px 24px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.roles .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.roles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.role-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  cursor: default;
}
.role-chip:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: 100px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}
.cta {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 36px;
}
.cta-form-success {
  max-width: 440px;
  margin: 0 auto;
}
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.footer p {
  font-size: 13px;
  color: var(--fg-subtle);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}
.footer-links a {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pinDrop {
  from {
    opacity: 0;
    transform: scale(0) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  75%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px) {
  .hero {
    padding: 120px 20px 60px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-form,
  .cta-form {
    flex-direction: column;
  }
  .hero-form button,
  .cta-form button,
  .footer-form button,
  .hero-try-button,
  .hero-register-button {
    width: 100%;
  }
  .map-card {
    display: none;
  }
  .map-pin {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .map-cafe {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nav-inner {
    padding: 0 16px;
  }
  .map-activity-badge {
    display: none;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 30px;
  }
}
