:root {
  /* Material Design 3 (M3) Typography */
  --md-sys-font-sans: 'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --md-sys-font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Material Design 3 Vibrant Palette */
  --md-sys-color-primary: #0b57d0;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #dbeafe;
  --md-sys-color-on-primary-container: #1e3a8a;
  
  --md-sys-color-secondary: #0284c7;
  --md-sys-color-secondary-container: #e0f2fe;
  --md-sys-color-on-secondary-container: #0369a1;
  
  --md-sys-color-tertiary: #0d9488;
  --md-sys-color-tertiary-container: #ccfbf1;
  --md-sys-color-on-tertiary-container: #115e59;

  --md-sys-color-background: #f8fafc;
  --md-sys-color-surface: #ffffff;
  --md-sys-color-surface-container: #f1f5f9;
  --md-sys-color-surface-container-high: #e2e8f0;
  
  --md-sys-color-on-surface: #0f172a;
  --md-sys-color-on-surface-variant: #475569;
  --md-sys-color-outline: #64748b;
  --md-sys-color-outline-variant: #cbd5e1;
  
  --md-sys-color-success: #16a34a;
  --md-sys-color-success-container: #dcfce7;
  --md-sys-color-on-success-container: #14532d;
  
  --md-sys-color-warning: #d97706;
  --md-sys-color-warning-container: #fef3c7;
  --md-sys-color-on-warning-container: #78350f;
  
  --md-sys-color-error: #dc2626;
  --md-sys-color-error-container: #fee2e2;

  /* Shapes */
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 24px;
  --md-sys-shape-corner-full: 9999px;

  /* Elevations */
  --md-sys-elevation-level-1: 0px 2px 4px rgba(15, 23, 42, 0.06), 0px 1px 2px rgba(15, 23, 42, 0.04);
  --md-sys-elevation-level-2: 0px 4px 12px rgba(15, 23, 42, 0.08), 0px 2px 4px rgba(15, 23, 42, 0.04);
  --md-sys-elevation-level-3: 0px 8px 24px rgba(15, 23, 42, 0.12), 0px 3px 6px rgba(15, 23, 42, 0.06);

  --md-sys-motion-duration-short: 180ms;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--md-sys-font-sans);
  background-color: var(--md-sys-color-background);
  background-image: 
    radial-gradient(at 15% 15%, rgba(11, 87, 208, 0.08) 0px, transparent 45%),
    radial-gradient(at 85% 20%, rgba(6, 182, 212, 0.07) 0px, transparent 40%),
    radial-gradient(at 50% 85%, rgba(16, 185, 129, 0.06) 0px, transparent 45%);
  color: var(--md-sys-color-on-surface);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  transition: color var(--md-sys-motion-duration-short) ease;
}

a:hover {
  text-decoration: underline;
}

/* Layout Shell */
.site-shell {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Material Top App Bar */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(11, 87, 208, 0.15);
  display: block;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--md-sys-shape-corner-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.nav-links a:hover {
  background-color: #f1f5f9;
  color: #0b57d0;
  text-decoration: none;
}

/* Material Design Buttons */
.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--md-sys-shape-corner-full);
  font-family: var(--md-sys-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.button:hover, .btn:hover {
  text-decoration: none;
}

/* Filled Button */
.button-primary, .btn-filled {
  background: linear-gradient(135deg, #0b57d0 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 87, 208, 0.35);
}

.button-primary:hover, .btn-filled:hover {
  background: linear-gradient(135deg, #0842a0 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(11, 87, 208, 0.45);
  transform: translateY(-1px);
}

/* Outlined Button */
.button-secondary, .btn-outlined {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.button-secondary:hover, .btn-outlined:hover {
  background-color: #f1f5f9;
  border-color: #93c5fd;
  color: #0b57d0;
  transform: translateY(-1px);
}

/* Material Hero Card */
.hero-card {
  margin-top: 32px;
  padding: 42px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #eff6ff 100%);
  border-radius: var(--md-sys-shape-corner-extra-large);
  border: 1px solid #bfdbfe;
  box-shadow: 0 8px 30px -4px rgba(11, 87, 208, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  animation: m3CardFadeUp 0.4s cubic-bezier(0, 0, 0.2, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--md-sys-shape-corner-small);
  background-color: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 16px;
}

.hero-body {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Hero Feature Highlights with Individual Colors */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 28px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--md-sys-shape-corner-large);
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* 1. Real-Time Progress Highlight (Sapphire Blue) */
.highlight-item:nth-child(1) {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
}
.highlight-item:nth-child(1) .highlight-icon {
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* 2. PIN Security Highlight (Violet) */
.highlight-item:nth-child(2) {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #d8b4fe;
}
.highlight-item:nth-child(2) .highlight-icon {
  background-color: #9333ea;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(147, 51, 234, 0.3);
}

/* 3. Direct Concierge Highlight (Emerald Green) */
.highlight-item:nth-child(3) {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
}
.highlight-item:nth-child(3) .highlight-icon {
  background-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--md-sys-shape-corner-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.highlight-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0f172a;
}

.highlight-content p {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* Material Quick Track Section */
.track-card {
  margin-top: 28px;
  padding: 38px 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--md-sys-shape-corner-extra-large);
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.06);
  animation: m3CardFadeUp 0.4s cubic-bezier(0, 0, 0.2, 1) both;
}

.track-card-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
}

.track-card-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.track-card-header p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.track-form {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}

.track-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.track-input-icon {
  position: absolute;
  left: 16px;
  color: #64748b;
  pointer-events: none;
  font-size: 1rem;
}

.track-input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 46px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-family: var(--md-sys-font-sans);
  font-size: 0.95rem;
  transition: all 180ms ease;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
}

.track-input:focus {
  outline: none;
  border-color: #0b57d0;
  box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.15);
}

.track-btn {
  height: 52px;
  padding: 0 28px;
  border-radius: var(--md-sys-shape-corner-full);
  background: linear-gradient(135deg, #0b57d0 0%, #2563eb 100%);
  color: #ffffff;
  font-family: var(--md-sys-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 87, 208, 0.35);
  transition: all 180ms ease;
  white-space: nowrap;
}

.track-btn:hover {
  background: linear-gradient(135deg, #0842a0 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(11, 87, 208, 0.45);
  transform: translateY(-1px);
}

.track-btn:active {
  transform: translateY(0);
}

.track-quick-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--md-sys-shape-corner-full);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0b57d0;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 180ms ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.demo-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(11, 87, 208, 0.15);
  text-decoration: none;
}

/* Material Content Panel */
.content-panel {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--md-sys-shape-corner-large);
  padding: 36px;
  margin-top: 28px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.content-panel h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}

.content-panel p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Material Footer */
.site-footer-wrap {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 8px rgba(15, 23, 42, 0.02);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.footer-brand-recap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  max-width: 480px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #0b57d0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #16a34a;
  font-weight: 700;
}

@keyframes m3Pulse {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(11, 87, 208, 0.4); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(11, 87, 208, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(11, 87, 208, 0); }
}

@keyframes m3LiveDotPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

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

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #16a34a;
  animation: m3LiveDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .site-shell {
    padding: 0 16px;
  }
  .hero-card {
    padding: 24px 18px;
    margin-top: 20px;
  }
  .site-header {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .brand {
    justify-content: center;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 44px;
  }
  .track-form {
    flex-direction: column;
  }
  .track-btn {
    width: 100%;
  }
  .site-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }
  .footer-brand-recap {
    align-items: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .nav-links a {
    padding: 6px 12px;
    font-size: 0.86rem;
  }
}
