/* Flock Spot Landing Page Styles */
/* Design tokens from flock-design system */

/* Self-hosted fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('./fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand colors */
  --primary: #2D5A47;
  --primary-light: #3D7A5F;
  --primary-dark: #1D3A2F;
  --accent: #C4873A;
  --accent-light: #E8C9A0;
  --accent-dark: #A66E2C;

  /* Semantic */
  --success: #3D7048;
  --warning: #C4883A;
  --danger: #C24641;
  --info: #5B7B8C;

  /* Light theme */
  --background: #FDFCFA;
  --surface: #F7F5F0;
  --surface-alt: #EDE9E0;
  --surface-elevated: #FFFFFF;
  --text-primary: #1A1A18;
  --text-secondary: #5C5A52;
  --text-tertiary: #706E66;
  --text-inverse: #FDFCFA;
  --border: #E8E6DC;
  --border-strong: #D4D1C7;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 26, 24, 0.05);
  --shadow-md: 0 4px 8px rgba(26, 26, 24, 0.08);
  --shadow-lg: 0 8px 16px rgba(26, 26, 24, 0.1);

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

/* Offset scroll position for fixed navbar */
section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-primary);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero */
.hero {
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--surface);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.hero-trust {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.trust-item svg {
  color: var(--primary);
}

/* Phone mockup */
.phone-mockup {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #2A2A28 0%, #1A1A18 100%);
  border-radius: 44px;
  padding: 10px;
  margin: 0 auto;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1A1A18;
  border-radius: 0 0 16px 16px;
  z-index: 20;
}

.phone-notch::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #2A2A28;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

/* Map container */
.map-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Location accuracy rings */
.accuracy-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-1 {
  top: 22%;
  left: 15%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(107, 154, 196, 0.2) 0%, rgba(107, 154, 196, 0) 70%);
  animation: pulse 3s ease-in-out infinite;
}

.ring-2 {
  top: 52%;
  left: 22%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(139, 123, 180, 0.2) 0%, rgba(139, 123, 180, 0) 70%);
  animation: pulse 3s ease-in-out infinite 1s;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

/* Map pins */
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.pin-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: white;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 0 0 3px white;
  position: relative;
  z-index: 2;
}

.pin-point {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid white;
  margin-top: -2px;
  position: relative;
  z-index: 1;
}

.pin-label {
  font-size: 10px;
  font-weight: 600;
  background: white;
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
  white-space: nowrap;
}

/* Pin positions and colors */
.pin-1 {
  top: 26%;
  left: 22%;
}

.pin-1 .pin-avatar {
  background: linear-gradient(135deg, #6B9AC4 0%, #5A89B3 100%);
}

.pin-2 {
  top: 38%;
  left: 58%;
}

.pin-2 .pin-avatar {
  background: linear-gradient(135deg, #5BA3A0 0%, #4A928F 100%);
}

.pin-3 {
  top: 56%;
  left: 32%;
}

.pin-3 .pin-avatar {
  background: linear-gradient(135deg, #8B7BB4 0%, #7A6AA3 100%);
}

/* Saved place marker */
.place-marker {
  position: absolute;
  top: 20%;
  left: 55%;
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  padding: 4px 10px 4px 6px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 5;
}

.place-marker svg {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.place-marker span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Map UI elements */
.map-ui-top {
  position: absolute;
  top: 40px;
  left: 12px;
  right: 12px;
  z-index: 15;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.search-bar svg {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.search-bar span {
  font-size: 13px;
  color: var(--text-tertiary);
}

.map-ui-controls {
  position: absolute;
  top: 100px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 15;
}

.map-btn {
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
}

.map-btn:first-child {
  border-radius: 10px 10px 0 0;
}

.map-btn:last-child {
  border-radius: 0 0 10px 10px;
  border-top: 1px solid var(--border);
}

.map-ui-controls {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Family drawer */
.map-ui-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
}

.family-drawer {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 8px 16px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.drawer-handle {
  width: 36px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.drawer-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.drawer-members {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-member {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.member-avatar.blue {
  background: linear-gradient(135deg, #6B9AC4 0%, #5A89B3 100%);
}

.member-avatar.teal {
  background: linear-gradient(135deg, #5BA3A0 0%, #4A928F 100%);
}

.member-avatar.purple {
  background: linear-gradient(135deg, #8B7BB4 0%, #7A6AA3 100%);
}

.member-info {
  display: flex;
  flex-direction: column;
}

.member-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.member-status {
  font-size: 11px;
  color: var(--text-tertiary);
}

/* Problem section */
.problem {
  padding: var(--space-xxl) 0;
  background-color: var(--surface);
}

.problem-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  margin-bottom: var(--space-lg);
}

.problem p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.problem-question {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: var(--space-lg);
}

/* How it works */
.how-it-works {
  padding: var(--space-xxl) 0;
}

.how-it-works h2 {
  text-align: center;
}

.how-it-works .section-subtitle {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.step {
  text-align: center;
  padding: var(--space-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.tech-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 720px;
  margin: 0 auto;
}

.tech-note svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.tech-note p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Comparison */
.comparison {
  padding: var(--space-xxl) 0;
  background-color: var(--surface);
}

.comparison h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.promise-card {
  background: var(--surface-elevated);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.promise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.promise-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.promise-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Features */
.features {
  padding: var(--space-xxl) 0;
}

.features h2 {
  text-align: center;
}

.features .section-subtitle {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature {
  padding: var(--space-lg);
  background: var(--surface);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature-icon.sos {
  background-color: rgba(184, 84, 80, 0.1);
  color: var(--danger);
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Trust */
.trust {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-inverse);
}

.trust blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trust blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
}

/* Pricing */
.pricing {
  padding: var(--space-xxl) 0;
}

.pricing h2 {
  text-align: center;
}

.pricing .section-subtitle {
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-inverse);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price .period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 600;
}

/* CTA */
.cta {
  padding: var(--space-xxl) 0;
  background-color: var(--surface);
  text-align: center;
}

.cta h2 {
  margin-bottom: var(--space-md);
}

.cta > .container > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.app-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.app-button {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--text-primary);
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.app-button .small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

.app-button .big {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: var(--space-xxl) 0 var(--space-lg);
  background-color: var(--text-primary);
  color: var(--text-inverse);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-xxl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  color: var(--text-inverse);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(253, 252, 250, 0.6);
  font-size: 0.9375rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
  color: rgba(253, 252, 250, 0.6);
}

.footer-column a {
  display: block;
  color: var(--text-inverse);
  font-size: 0.9375rem;
  padding: var(--space-xs) 0;
  transition: opacity 0.2s;
}

.footer-column a:hover {
  opacity: 0.8;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(253, 252, 250, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(253, 252, 250, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .phone-notch {
    width: 80px;
    height: 24px;
  }

  .search-bar {
    padding: 8px 12px;
  }

  .search-bar span {
    font-size: 11px;
  }

  .family-drawer {
    padding: 6px 12px 16px;
  }

  .drawer-members {
    gap: 8px;
  }

  .member-avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .member-name {
    font-size: 12px;
  }

  .member-status {
    font-size: 10px;
  }

  .pin-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .pin-label {
    font-size: 9px;
    padding: 2px 6px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

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

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

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

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  /* Tighter hero on mobile */
  .hero {
    padding: calc(70px + var(--space-lg)) 0 var(--space-lg);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    border-top: none;
    padding-top: var(--space-md);
  }

  .trust-item {
    font-size: 0.8125rem;
  }

  /* Smaller phone on mobile */
  .phone-mockup {
    width: 200px;
    height: 420px;
    border-radius: 32px;
    padding: 8px;
  }

  .phone-notch {
    width: 60px;
    height: 20px;
  }

  .phone-screen {
    border-radius: 26px;
  }

  .map-ui-top {
    top: 30px;
    left: 8px;
    right: 8px;
  }

  .search-bar {
    padding: 6px 10px;
  }

  .search-bar svg {
    width: 12px;
    height: 12px;
  }

  .search-bar span {
    font-size: 9px;
  }

  .map-ui-controls {
    top: 70px;
    right: 8px;
  }

  .map-btn {
    width: 28px;
    height: 28px;
  }

  .map-btn svg {
    width: 14px;
    height: 14px;
  }

  .pin-avatar {
    width: 24px;
    height: 24px;
    font-size: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 2px white;
  }

  .pin-point {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }

  .pin-label {
    font-size: 8px;
    padding: 1px 5px;
  }

  .place-marker {
    padding: 3px 6px 3px 4px;
    border-radius: 8px;
  }

  .place-marker svg {
    width: 12px;
    height: 12px;
  }

  .place-marker span {
    font-size: 8px;
  }

  .family-drawer {
    padding: 4px 10px 12px;
    border-radius: 14px 14px 0 0;
  }

  .drawer-handle {
    width: 28px;
    height: 3px;
    margin-bottom: 8px;
  }

  .drawer-title {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .drawer-members {
    gap: 6px;
  }

  .member-avatar {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }

  .member-name {
    font-size: 10px;
  }

  .member-status {
    font-size: 8px;
  }

  .accuracy-ring {
    display: none;
  }

  /* Section typography */
  h2 {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Promise cards */
  .promise-card {
    padding: var(--space-lg);
  }

  .promise-icon {
    width: 40px;
    height: 40px;
  }

  /* Pricing */
  .price .amount {
    font-size: 2.5rem;
  }

  /* App buttons */
  .app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
