/* Modern Design System */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #10B981;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-card: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --font: 'DM Sans', sans-serif;
}

[data-theme="dark"] {
  --bg: #0A0A0B;
  --bg-alt: #111113;
  --bg-card: #18181B;
  --text: #FAFAFA;
  --text-muted: #A1A1AA;
  --border: #27272A;
}

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

html { 
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-alt);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.5s;
}

[data-theme="dark"] body::before {
  background: 
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

[data-theme="dark"] .nav {
  background: rgba(10, 10, 11, 0.85);
  border-bottom-color: rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.4rem;
}

.nav-brand img { width: 28px; height: 28px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-btn {
  background: var(--text);
  color: var(--bg) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s;
}

.nav-btn:hover { 
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.nav-btn::after { display: none; }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-toggle:hover { 
  border-color: var(--primary);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  position: absolute;
}

.theme-icon-light { display: none; }
.theme-icon-dark { display: block; }

[data-theme="dark"] .theme-icon-light { display: block; }
[data-theme="dark"] .theme-icon-dark { display: none; }

/* Hero */
.hero {
  min-height: auto;
  padding: 80px 2rem 40px;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  grid-column: 1;
  grid-row: 1;
  display: flex; 
  justify-content: center;
}

.hero-text {
  grid-column: 2;
  grid-row: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-main:hover::before {
  left: 100%;
}

.btn-main:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-main svg { width: 20px; height: 20px; }

.hero-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 30px; background: var(--border); }

.phone-wrapper {
  position: relative;
  width: fit-content;
  height: fit-content;
  max-width: 450px;
  max-height: 1500px;
  overflow: visible;
}

.hero-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 1500px;
  object-fit: contain;
  animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Phone */
.phone {
  width: 280px;
  height: 480px;
  background: var(--bg-card);
  border-radius: 40px;
  box-shadow: 
    0 40px 80px -20px rgba(0,0,0,0.2),
    0 0 0 1px var(--border),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .phone {
  box-shadow: 
    0 40px 80px -20px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.1);
}

[data-theme="dark"] .phone-display {
  background: #000;
}

.phone-top {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.phone-speaker {
  width: 80px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
}

.phone-display {
  height: 450px;
  display: block;
  background: #F8FAFC;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 40px 40px;
}

[data-theme="dark"] .phone-display {
  background: #0a0a0a;
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
}

[data-theme="dark"] .status-bar {
  color: #fff;
}

/* Dark mode for share media interface */
[data-theme="dark"] .share-media {
  background: var(--bg-card);
}

[data-theme="dark"] .media-preview-card {
  background: var(--bg-alt);
  border-color: var(--border);
}

[data-theme="dark"] .share-search {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .user-badge {
  background: var(--bg-alt);
  border-color: var(--border);
}

[data-theme="dark"] .user-remove {
  background: var(--primary);
}

[data-theme="dark"] .media-share-btn {
  background: var(--primary);
}

.status-time {
  display: inline-block;
}

.time-display {
  display: inline-block;
  transition: transform 0.1s ease;
}

.time-display.tick {
  animation: timeTick 0.3s ease-out;
}

@keyframes timeTick {
  0% { transform: scale(1.1) translateY(2px); opacity: 0.7; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.status-icons {
  display: flex;
  gap: 4px;
}

.status-icon {
  width: 14px;
  height: 14px;
}

/* Chat Nav */
/* Share Media Interface */
.share-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  padding: 16px 12px;
  overflow-y: auto;
}

.share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.share-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.share-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.share-close:hover {
  background: var(--bg-alt);
}

.share-close svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.share-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.media-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.media-thumbnail {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-play-icon svg {
  width: 10px;
  height: 10px;
  color: white;
  margin-left: 1px;
}

.media-info {
  flex: 1;
}

.media-type {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2px;
}

.media-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.media-share-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.media-share-btn:hover {
  background: var(--primary-dark);
}

.share-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: var(--bg-card);
}

.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--text);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.share-section {
  margin-bottom: 16px;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.user-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.user-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.user-remove:hover {
  background: var(--primary-dark);
}

.user-remove svg {
  width: 16px;
  height: 16px;
  color: white;
}

/* Floating badges */
.badge-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.5);
  z-index: 3;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeIn 0.6s ease-out backwards;
}

.badge-1 { animation-delay: 0.2s; }
.badge-2 { animation-delay: 0.4s; }
.badge-3 { animation-delay: 0.6s; }

.badge-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

[data-theme="dark"] .badge-pill {
  background: rgba(30,30,30,0.95);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.badge-1 {
  top: 0px;
  right: -80px;
  animation-delay: 0.2s;
}

.badge-2 {
  bottom: 80px;
  left: -90px;
  animation-delay: 0.4s;
}

.badge-3 {
  bottom: 0px;
  right: -70px;
  animation-delay: 0.6s;
}

.badge-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 16px;
  height: 16px;
  color: white;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}

.badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(37, 99, 235, 0.5) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Nationwide */
.nationwide {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.nationwide .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.nationwide-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.usa-map-container {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 550px;
}

.usa-map-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(37, 99, 235, 0.1));
  opacity: 1;
  transform: scale(1);
  transition: filter 0.8s ease-out;
}

.usa-map-img.animated {
  animation: mapGlow 3s ease-in-out infinite;
}

.usa-map-img.animated:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 8px 40px rgba(37, 99, 235, 0.4));
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.usa-map-img.animated {
  animation: mapGlow 3s ease-in-out infinite;
}

.usa-map-img.animated:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 8px 40px rgba(37, 99, 235, 0.4));
}

@keyframes mapGlow {
  0%, 100% {
    filter: drop-shadow(0 4px 20px rgba(37, 99, 235, 0.15));
  }
  50% {
    filter: drop-shadow(0 4px 35px rgba(37, 99, 235, 0.3));
  }
}

.map-tooltip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 100;
  white-space: nowrap;
}

.map-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.map-tooltip span {
  font-size: 0.75rem;
}

.map-dot {
  fill: #10B981;
  cursor: pointer;
  transition: fill 0.2s ease;
  opacity: 1 !important;
}

.map-tooltip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 100;
  white-space: nowrap;
}

.usa-map-container img.usa-map-light {
  display: block;
}

.usa-map-container img.usa-map-dark {
  display: none;
}

[data-theme="dark"] .usa-map-container img.usa-map-light {
  display: none;
}

[data-theme="dark"] .usa-map-container img.usa-map-dark {
  display: block;
}

.usa-map-static {
  width: 100%;
  max-width: 550px;
  height: auto;
}

.usa-outline {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.usa-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.usa-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.usa-outline {
  fill: transparent;
  stroke: var(--border);
  transition: stroke 0.3s;
}

[data-theme="dark"] .usa-outline {
  stroke: rgba(255,255,255,0.15);
}

.map-dot:nth-child(2) { animation-delay: 0.1s; }
.map-dot:nth-child(3) { animation-delay: 0.2s; }
.map-dot:nth-child(4) { animation-delay: 0.3s; }
.map-dot:nth-child(5) { animation-delay: 0.4s; }
.map-dot:nth-child(6) { animation-delay: 0.5s; }
.map-dot:nth-child(7) { animation-delay: 0.6s; }
.map-dot:nth-child(8) { animation-delay: 0.7s; }
.map-dot:nth-child(9) { animation-delay: 0.8s; }
.map-dot:nth-child(10) { animation-delay: 0.9s; }
.map-dot:nth-child(11) { animation-delay: 1.0s; }
.map-dot:nth-child(12) { animation-delay: 1.1s; }
.map-dot:nth-child(13) { animation-delay: 1.2s; }
.map-dot:nth-child(14) { animation-delay: 1.3s; }
.map-dot:nth-child(15) { animation-delay: 1.4s; }
.map-dot:nth-child(16) { animation-delay: 1.5s; }
.map-dot:nth-child(17) { animation-delay: 1.6s; }
.map-dot:nth-child(18) { animation-delay: 1.7s; }
.map-dot:nth-child(19) { animation-delay: 1.8s; }
.map-dot:nth-child(20) { animation-delay: 1.9s; }
.map-dot:nth-child(21) { animation-delay: 2.0s; }
.map-dot:nth-child(22) { animation-delay: 2.1s; }

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    r: 6;
  }
  50% {
    opacity: 0.6;
    r: 9;
  }
}

.map-dot:hover {
  fill: var(--accent);
  r: 8;
  animation: none;
}

.connection-line {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  animation: dash 20s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.map-tooltip {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nationwide-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
  border-color: var(--primary);
}

[data-theme="dark"] .stat-card {
  background: rgba(255,255,255,0.03);
}

.stat-card .stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-card .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .nationwide-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nationwide-stats {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

  .stat-card .stat-value {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .nationwide-stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: auto;
  }
}

/* Security */
.security { 
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.security-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security-visual { 
  display: flex; 
  justify-content: center;
  perspective: 1000px;
}

.security-circle {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: breathe 4s ease-in-out infinite;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.security-circle:hover {
  transform: scale(1.1) rotateY(180deg);
}

[data-theme="dark"] .security-circle {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.security-circle svg {
  width: 80px;
  height: 80px;
  color: var(--primary);
  transition: transform 0.5s ease;
}

.security-circle:hover svg {
  transform: rotateY(180deg);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.security-content .section-title { text-align: left; }

.security-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.security-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.security-list li:hover {
  transform: translateX(10px);
}

.security-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* CTA */
.cta { 
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}

[data-theme="dark"] .cta-card { 
  box-shadow: none;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
  width: 300px;
  height: 300px;
}

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

.btn-cta svg { width: 20px; height: 20px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 2rem 0;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-brand img { width: 24px; height: 24px; }

.footer-links { display: flex; gap: 0.5rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-visual {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }
  .hero-text {
    grid-column: 1;
    grid-row: 2;
  }
  .hero-desc { max-width: 100%; }
  .hero-actions, .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-inner { grid-template-columns: 1fr; text-align: center; }
  .security-content .section-title, .security-list { text-align: left; }
  .security-visual { order: -1; }
  
  .badge-pill {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 2.75rem; padding-top: 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 2.5rem; }
  .cta-card h2 { font-size: 1.5rem; }
  
  .phone-wrapper {
    max-width: 90%;
    max-height: 550px;
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
