/* ============================================
   PinPulse Landing Page - Modern Design System
   ============================================ */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #2563EB;
  --primary-dark: #1E40AF;
  --primary-light: #3B82F6;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --success: #10B981;
  --danger: #EF4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  --gradient-blue: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  --gradient-orange: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

/* Ensure emojis render properly */
.example-emoji,
.ps-icon,
.feature-icon,
.use-case-icon,
.step-icon,
.trust-icon {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
  font-style: normal;
  font-weight: normal;
}

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

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

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

.nav-links .mobile-only {
  display: none;
}

.nav-cta {
  display: flex;
  gap: var(--space-sm);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-urgent {
  background: var(--gradient-blue);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 8px 16px -1px rgba(37, 99, 235, 0.5);
  }
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border: 2px solid var(--gray-200);
}

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

.btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.hero-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

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

.hero-stats {
  display: none;
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: var(--space-xs);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out;
}

.hero-phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: var(--gray-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-2xl);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.screenshot-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  background: #0f172a;
}

.screenshot-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.screenshot-slide.is-active {
  opacity: 1;
}

.screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-caption-panel {
  width: min(420px, 100%);
  text-align: center;
  padding: 0 var(--space-md);
}

.phone-caption-eyebrow {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.phone-caption-text {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--gray-800);
  max-width: 36ch;
  margin: 0 auto;
}

.phone-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 10px;
  flex-wrap: wrap;
}

.phone-carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 9999px;
  background: var(--gray-300);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.phone-carousel-dot:hover,
.phone-carousel-dot:focus-visible {
  background: var(--primary-light);
  transform: scale(1.15);
  outline: none;
}

.phone-carousel-dot.is-active {
  width: 28px;
  background: var(--primary);
}

.map-preview {
  width: 100%;
  height: 100%;
  background-color: #E8F0FE;
  background: 
    /* Stylized map pattern */
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 38px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(255,255,255,0.5) 35px, rgba(255,255,255,0.5) 38px),
    /* Parks/green spaces */
    radial-gradient(circle at 20% 30%, rgba(144, 238, 144, 0.3) 0%, transparent 15%),
    radial-gradient(circle at 75% 60%, rgba(144, 238, 144, 0.25) 0%, transparent 12%),
    /* Water bodies */
    radial-gradient(ellipse at 85% 20%, rgba(173, 216, 230, 0.4) 0%, transparent 25%),
    /* Main roads (white) */
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.9) 47%, transparent 47%),
    linear-gradient(45deg, transparent 62%, rgba(255, 255, 255, 0.8) 62%, rgba(255, 255, 255, 0.8) 64%, transparent 64%),
    /* Base color - light blue/grey */
    linear-gradient(135deg, #E8F0FE 0%, #D4E4FC 50%, #C7D7F7 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Subtle overlay to blend with design */
.map-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.1) 100%
  );
  pointer-events: none;
}

/* Remove the old buildings overlay */
.map-preview::after {
  display: none;
}

.pin-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.pin-marker .pin-icon {
  font-size: 24px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pin-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  animation: ping 2s ease-out infinite;
}

.pin-1 {
  top: 26%;
  left: 40%;
  animation-delay: 0s;
}

.pin-2 {
  bottom: 7%;
  left: 32%;
  animation-delay: 0.5s;
}

.pin-3 {
  top: 58%;
  right: 32%;
  animation-delay: 1s;
}

.update-bubble {
  position: absolute;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: slideInUp 0.5s ease-out;
  max-width: 200px;
  z-index: 10;
}

.update-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
}

.update-time {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.4;
}

.bubble-1 {
  top: 10%;
  left: 15%;
  animation-delay: 1s;
}

.bubble-2 {
  bottom: 15%;
  right: 30%;
  animation-delay: 1.5s;
}

.bubble-3 {
  top: 40%;
  right: 8%;
  animation-delay: 2s;
}

/* Problem/Solution Section */
.problem-solution {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.centered {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 20px;
  color: var(--gray-600);
}

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

.ps-card {
  padding: var(--space-xl);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  transition: all var(--transition-base);
}

.ps-card.problem:hover {
  border-color: var(--danger);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ps-icon {
  font-size: 40px;
  margin-bottom: var(--space-md);
}

.ps-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.ps-card p {
  font-size: 16px;
  color: var(--gray-600);
}

.solution-block {
  background: var(--gradient-primary);
  padding: var(--space-3xl);
  border-radius: var(--radius-2xl);
  color: var(--white);
}

.solution-block h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--white);
}

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

.solution-feature {
  display: flex;
  gap: var(--space-md);
}

.solution-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.solution-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.solution-content p {
  font-size: 16px;
  opacity: 0.9;
}

/* How It Works */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  text-align: center;
}


.step-visual {
  position: relative;
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  font-size: 56px;
}

.notification-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: var(--danger);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 3px solid var(--white);
}

.step h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.step-example {
  font-size: 14px;
  font-style: italic;
  color: var(--gray-500);
  background: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary);
}

.step-connector {
  position: relative;
  margin: 0 50px; /* Adds 32px space left and right; adjust as needed */
}

.step-connector::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 60px;
}

.step-connector-back {
  position: relative;
  margin: 0 50px;
}

.step-connector-back::after {
  content: '←';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 60px;
}

/* Features Grid */
.features {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

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

.feature-card {
  padding: var(--space-xl);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Host & Promote Events Section */
.host-promote {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.host-content {
  display: grid;
  gap: var(--space-2xl);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.before-card,
.after-card {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.before-card {
  background: var(--white);
  border: 2px solid var(--gray-300);
}

.after-card {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: var(--white);
  border: 2px solid transparent;
}

.before-label,
.after-label {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid currentColor;
}

.before-label {
  color: var(--gray-500);
}

.after-label {
  color: var(--white);
}

.before-items,
.after-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.struggle-item,
.success-item {
  font-size: 15px;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

.struggle-item {
  background: var(--gray-100);
  color: var(--gray-700);
}

.success-item {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 500;
}

.result-bad,
.result-good {
  font-size: 16px;
  font-weight: 700;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
}

.result-bad {
  background: var(--gray-200);
  color: var(--gray-700);
}

.result-good {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.arrow-divider {
  font-size: 48px;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-examples {
  text-align: center;
}

.host-examples h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.example-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.example-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.example-emoji {
  font-size: 40px;
}

.example-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
}

/* Use Cases */
.use-cases {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.use-cases-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.use-case-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.use-case-icon {
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.use-case-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.use-case-card p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.use-case-example {
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary);
}

.example-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.example-a {
  font-size: 14px;
  color: var(--gray-600);
}

/* Trust Section */
.trust {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.trust-card {
  text-align: center;
  padding: var(--space-xl);
}

.trust-icon {
  font-size: 56px;
  margin-bottom: var(--space-md);
}

.trust-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.trust-card p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

.trust-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
}

.trust-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.trust-links a:hover {
  color: var(--primary-dark);
}

/* Final CTA */
.final-cta {
  padding: var(--space-3xl) 0;
  background: var(--gradient-primary);
  color: var(--white);
}

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

.cta-content h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.cta-content > p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
}

.download-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.store-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.store-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.badge-text-small {
  font-size: 12px;
  color: var(--gray-600);
}

.badge-text-large {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.qr-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.qr-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.qr-codes {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  align-items: center;
}

.qr-code-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.qr-code {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

.qr-text {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

/* Show QR codes only on desktop */
@media (min-width: 769px) {
  .qr-section {
    display: block;
  }
}

.cta-subtext {
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: var(--space-3xl) 0 var(--space-lg);
  background: var(--gray-900);
  color: var(--gray-300);
}

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
}

.footer-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  80%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .hero-visual {
    order: -1;
  }

  .hero-phone-showcase {
    gap: var(--space-sm);
  }
  
  .phone-mockup {
    width: 260px;
    height: 520px;
  }
  
  .solution-features {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .step-connector-back {
    position: relative;
    margin-top: 50px;
  }
  
  .step-connector-back::after {
    content: '↑';
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -12px;
    font-size: 60px;
  }

  .step-connector {
    position: relative;
    margin-top: 50px;
  }
  
  .step-connector::after {
    content: '↓';
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -12px;
    font-size: 60px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-sm) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    padding: var(--space-sm) 0;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .nav-links a:last-child {
    border-bottom: none;
  }
  
  .nav-links .mobile-only {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
    height: 100vh;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .phone-mockup {
    width: 260px;
    height: 520px;
  }

  .phone-caption-text {
    font-size: 14px;
  }
  
  .update-bubble {
    max-width: 180px;
    padding: 10px 14px;
  }
  
  .update-text {
    font-size: 11px;
  }
  
  .update-time {
    font-size: 10px;
  }
  
  .bubble-1 {
    top: 5%;
    left: 3%;
  }
  
  .bubble-2 {
    bottom: 12%;
    right: 12%;
  }
  
  .bubble-3 {
    top: 35%;
    right: 5%;
  }
  
  /* Adjust pin positions for mobile */
  .pin-1 {
    top: 25%;
    left: 35%;
  }
  
  .pin-2 {
    bottom: 2%;
    left: 38%;
  }
  
  .pin-3 {
    top: 58%;
    right: 38%;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-tagline {
    font-size: 16px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-stats {
    gap: var(--space-lg);
  }
  
  .section-header h2 {
    font-size: 36px;
  }
  
  .section-header {
    margin-bottom: var(--space-xl);
  }
  
  .ps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .ps-card {
    padding: var(--space-lg);
  }
  
  .ps-card h3 {
    font-size: 18px;
  }
  
  .ps-card p {
    font-size: 14px;
  }
  
  .solution-block {
    padding: var(--space-xl);
  }
  
  .solution-block h2 {
    font-size: 32px;
  }
  
  .before-after {
    grid-template-columns: 1fr;
  }
  
  .arrow-divider {
    transform: rotate(90deg);
    margin: var(--space-md) 0;
  }
  
  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 36px;
  }
  
  /* Increase spacing for mobile scannability */
  section {
    padding: var(--space-2xl) 0;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .phone-caption-panel {
    padding: 0 var(--space-sm);
  }

  .phone-caption-text {
    font-size: 13px;
  }
}
