:root {

  /* -- Colors -- */
  --color-primary: #3b82f6;
  --color-primary-light: #60a5fa;
  --color-primary-dark: #2563eb;
  --color-accent: #38bdf8;

  --color-bg: #0a0e1a;
  --color-bg-alt: #080b15;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.1);

  /* -- Typography -- */
  --font-heading: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* -- Layout -- */
  --max-width: 1200px;

  /* -- Standard Tokens (auto-injected) -- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-default: 4px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

}

body {
  font-family: var(--font-body);
}

.font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* -- Text gradient -- */
.text-gradient {
  background: linear-gradient(100deg, #60a5fa 0%, #38bdf8 60%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* -- Sticky header -- */
.site-header {
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s cubic-bezier(0.45, 0, 0.55, 1),
              border-color 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.site-header.is-scrolled {
  background: rgba(8, 11, 21, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* -- Background effects -- */
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.cta-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 40vw;
  max-width: 900px;
  max-height: 480px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* -- Feature cards -- */
.feature-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
              border-color 0.35s cubic-bezier(0.33, 1, 0.68, 1),
              background-color 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.05);
}
.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: #fff;
  margin-top: 1.1rem;
}
.feature-body {
  margin-top: 0.5rem;
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* -- Icon chip -- */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

/* -- Icons -- */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-xl { width: 2em; height: 2em; }

/* -- Chart bars -- */
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  opacity: 0.85;
  min-width: 8px;
}

/* -- Digital business card mockup -- */
.dbc-phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  border-radius: 2.2rem;
  padding: 12px;
  background: linear-gradient(160deg, #141a2b 0%, #0b1020 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.dbc-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
}
.dbc-screen {
  position: relative;
  border-radius: 1.6rem;
  background: #0a0e1a;
  padding: 2.4rem 1.25rem 1.5rem;
  overflow: hidden;
}
.dbc-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: linear-gradient(120deg, #3b82f6 0%, #38bdf8 100%);
}
.dbc-avatar {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin: 20px auto 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #dbeafe, #93c5fd);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #0a0e1a;
}
.dbc-name {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-top: 0.6rem;
}
.dbc-role {
  text-align: center;
  color: #93c5fd;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}
.dbc-dealer {
  text-align: center;
  color: #64748b;
  font-size: 0.72rem;
  margin-top: 0.1rem;
}
.dbc-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem;
  border-radius: 0.6rem;
  background: #3b82f6;
  border: 0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: default;
}
.dbc-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.dbc-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.2rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.62rem;
  text-align: center;
}
.dbc-qr {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dbc-qr-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: 58px;
  height: 58px;
  padding: 5px;
  background: #fff;
  border-radius: 6px;
}
.dbc-qr-grid span {
  background: transparent;
  border-radius: 1px;
}
.dbc-qr-grid span.on {
  background: #0a0e1a;
}
.dbc-qr-label {
  color: #64748b;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}
.dbc-nfc {
  position: absolute;
  bottom: 8%;
  right: -6%;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 18, 32, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  animation: float 3.4s ease-in-out infinite;
}

/* -- Animations -- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.float-badge {
  animation: float 4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.status-dot {
  animation: pulse-dot 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* -- Scroll reveal -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 560ms; }
[data-reveal-stagger].is-visible > *:nth-child(9) { transition-delay: 640ms; }
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

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

html { scroll-behavior: smooth; }body { margin: 0; }
