:root {
  --bg: #050505;
  --surface: #0e1117;
  --surface2: #13171f;
  --border: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.04);
  --accent: #00e5a0;
  --accent2: #0066ff;
  --accent-red: #ff4455;
  --accent-gold: #f5a623;
  --text: #f0f2f7;
  --muted: #6b7280;
  --muted2: #4b5563;
  /* ... your existing variables ... */
  --color-background-primary: #0e1117; /* Match your --surface */
  --color-background-secondary: #13171f; /* Match your --surface2 */
  --color-text-primary: #f0f2f7; /* Match your --text */
  --color-text-secondary: #6b7280; /* Match your --muted */
  --color-border-secondary: rgba(255, 255, 255, 0.1);
}
#lhead,
#lsub {
  transition: opacity 0.5s;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
html {
  scroll-behavior: auto;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

/* canvas */
#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
nav,
section,
footer,
#logos,
#workflow-wrap,
#zoom-section {
  position: relative;
  z-index: 1;
}
/* cursor — only on fine-pointer (mouse) devices */
#cursor,
#cursor-ring {
  display: none;
}
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a,
  button {
    cursor: none;
  }
  #cursor {
    display: block;
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition:
      width 0.25s,
      height 0.25s;
  }
  #cursor-ring {
    display: block;
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 229, 160, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition:
      width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      height 0.4s;
  }
  body:has(a:hover) #cursor,
  body:has(button:hover) #cursor {
    width: 20px;
    height: 20px;
  }
  body:has(a:hover) #cursor-ring,
  body:has(button:hover) #cursor-ring {
    width: 56px;
    height: 56px;
  }
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  transition:
    background 0.4s,
    border-color 0.4s;
}
#main-nav.scrolled .nav-inner {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #000;
  font-family: "Syne", sans-serif;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo-text span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.btn-outline-sm {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  transition: border-color 0.2s;
}
.btn-outline-sm:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-accent-sm {
  padding: 0.55rem 1.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  border-radius: 100px;
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-accent-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 229, 160, 0.35);
}

/* hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.4rem;
  z-index: 300;
}
#hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
#hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile drawer */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  transform: translateY(-8px);
  transition:
    opacity 0.35s,
    transform 0.35s;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#mobile-menu a {
  font-family: "Syne", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: color 0.2s;
}
#mobile-menu a:hover {
  color: var(--accent);
}
.mob-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  /* 1. Style the Background for Mobile Only */
  #main-nav {
    background: rgba(10, 13, 18, 0.95); /* Solid dark theme for mobile */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0.25rem;
  }

  /* Remove default inner padding/background to fit the new nav style */
  .nav-inner {
    padding: 0.5rem 0.75rem;
    background: transparent !important;
    border: none !important;
  }

  /* 2. Logo: Force to a straight line */
  .nav-logo {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .nav-logo-text {
    font-size: 0.9rem; /* Slightly smaller to ensure it stays on one line */
  }

  /* 3. Actions: Show ONLY Sign-in and Hamburger */
  .nav-links,
  .nav-actions .btn-accent-sm {
    display: none; /* Hides links and the Download button */
  }

  .nav-actions .btn-outline-sm {
    display: block; /* Ensures Sign-in is visible */
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
  }

  #hamburger {
    display: flex; /* Ensures menu is accessible */
  }
}
/* No JavaScript errors possible with this method */
.is-mac #dl-mac {
  background: rgba(0, 229, 160, 0.08) !important;
  border-color: rgba(0, 229, 160, 0.3) !important;
  color: var(--accent) !important;
}
.fg select {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border-secondary);
  background-color: var(--color-background-secondary); /* Dark background */
  color: var(--color-text-primary); /* White text */
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  /* Custom Arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

/* This fixes the "White background" in the dropdown list */
.fg select option {
  background-color: #13171f; /* Force dark background */
  color: #f0f2f7; /* Force light text */
  padding: 10px;
}

.fg select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.1);
}
/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero-glow {
  position: absolute;
  width: min(800px, 120vw);
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(0, 229, 160, 0.1) 0%,
    transparent 70%
  );
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  opacity: 0;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}
.hero-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
#title-static {
  display: inline;
  opacity: 0;
}
#hero-sub {
  min-height: 3.6em;
  opacity: 0;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  min-height: 2.8em;
  max-width: 520px;
  color: whitesmoke;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
}
.btn-primary-lg {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  border: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 229, 160, 0.4);
}
.btn-ghost-lg {
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  background: transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.btn-ghost-lg:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

/* screen body layout */
.screen-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.screen-dot:nth-child(1) {
  background: #ff5f57;
}
.screen-dot:nth-child(2) {
  background: #febc2e;
}
.screen-dot:nth-child(3) {
  background: #28c840;
}
.screen-body {
  display: grid;
  grid-template-columns: 185px 1fr;
  height: 360px;
}
.screen-sidebar {
  background: #0a0d12;
  border-right: 1px solid var(--border);
  padding: 1.1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
.s-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.65rem;
  border-radius: 7px;
  font-size: 0.7rem;
  color: var(--muted);
}
.s-item.active {
  background: rgba(0, 229, 160, 0.1);
  color: var(--accent);
}
.s-item i {
  width: 13px;
  text-align: center;
  font-size: 0.72rem;
}
.screen-main {
  padding: 1.1rem;
  overflow: hidden;
}
.screen-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.screen-top-row h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}
.pill {
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  border: none;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem;
}
.stat-label {
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 0.22rem;
}
.stat-val {
  font-family: "Syne", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}
.stat-val span {
  font-size: 0.57rem;
  color: var(--accent);
  margin-left: 0.2rem;
}
.chart-area {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 120px;
  overflow: hidden;
}
.chart-area svg {
  width: 100%;
  height: 100%;
}

/* mobile mockup: drop sidebar, keep main */
@media (max-width: 600px) {
  .screen-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .screen-sidebar {
    display: none;
  }
  .stats-row {
    gap: 0.35rem;
  }
  .stat-card {
    padding: 0.5rem 0.45rem;
  }
  .stat-val {
    font-size: 0.8rem;
  }
  .chart-area {
    height: 85px;
  }
  .screen-main {
    padding: 0.85rem;
  }
  .pos-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── MARQUEE ── */
#logos {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.75rem;
  align-items: center;
  animation: marquee 22s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.m-item {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.06em;
  opacity: 0.42;
}
.m-dot {
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION BASE ── */
.section-label {
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.75;
}

/* ── SCROLL STORY — DESKTOP (>900px sticky) ── */
.features-sticky-wrap {
  height: 300vh;
  position: relative;
}
.features-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 3rem;
}
.features-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}
.feature-step {
  position: absolute;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.feature-step.active {
  position: relative;
}
.feature-num {
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.feature-num::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.feature-step h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}
.feature-step p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.8;
  max-width: 400px;
}
.features-visual {
  position: relative;
  height: 450px;
}
.feature-card {
  position: absolute;
  inset: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.feature-card.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ── SCROLL STORY — MOBILE (<= 900px, vertical cards) ── */
@media (max-width: 900px) {
  .features-sticky-wrap {
    height: auto;
  }
  .features-sticky {
    position: relative;
    height: auto;
    padding: 4rem 1.25rem 2rem;
  }
  .features-panels {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .features-visual {
    display: none;
  }
  .feature-step {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 0;
  }
  .feature-step p {
    max-width: 100%;
  }
  .mobile-visual {
    display: block;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }
}
@media (min-width: 901px) {
  .mobile-visual {
    display: none;
  }
}

/* card inner elements */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.product-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.product-tile:hover {
  background: rgba(0, 229, 160, 0.08);
  border-color: rgba(0, 229, 160, 0.25);
}
.p-emoji {
  font-size: 1.25rem;
}
.p-name {
  font-size: 0.57rem;
  color: var(--muted);
}
.p-price {
  font-family: "Syne", sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--accent);
}
.cart-row {
  background: rgba(0, 229, 160, 0.06);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-lbl {
  font-size: 0.73rem;
  color: var(--muted);
}
.cart-total {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.a-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
}
.a-lbl {
  font-size: 0.6rem;
  color: var(--muted);
  margin-bottom: 0.28rem;
}
.a-val {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}
.a-badge {
  display: inline-block;
  font-size: 0.58rem;
  padding: 0.1rem 0.38rem;
  border-radius: 100px;
  margin-top: 0.18rem;
}
.a-badge.up {
  background: rgba(0, 229, 160, 0.15);
  color: var(--accent);
}
.a-badge.dn {
  background: rgba(255, 80, 80, 0.15);
  color: #ff5050;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.32rem;
  height: 80px;
  padding-top: 0.4rem;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(0, 229, 160, 0.22);
}
.bar.hi {
  background: var(--accent);
}
.loc-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.loc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.loc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.loc-info {
  flex: 1;
}
.loc-name {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}
.loc-sub {
  font-size: 0.63rem;
  color: var(--muted);
}
.loc-rev {
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── TILT CARDS ── */
.tilt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.1rem 1.65rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.1s ease-out,
    box-shadow 0.3s;
}
.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(0, 229, 160, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.tilt-card:hover::before {
  opacity: 1;
}
.tilt-card:hover {
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 229, 160, 0.15);
}
.tilt-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.tilt-card h4 {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.tilt-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ── ZOOM ── */
#zoom-section {
  height: 600vh;
  position: relative;
}
.zoom-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.zoom-word {
  font-family: "Syne", sans-serif;
  font-size: clamp(4rem, 18vw, 18rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  text-align: center;
  line-height: 1;
  will-change: transform, opacity;
  user-select: none;
}
.zoom-overlay {
  position: absolute;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  padding: 0 1.5rem;
}
.zoom-overlay h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
}
.zoom-overlay p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  opacity: 0;
  transform: translateY(15px);
}
@media (max-width: 640px) {
  #zoom-section {
    height: 300vh;
  }
}

/* ── PRICING ── */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.price-card.featured {
  border-color: rgba(0, 229, 160, 0.35);
  background: linear-gradient(
    135deg,
    rgba(0, 229, 160, 0.05) 0%,
    var(--surface) 60%
  );
}
.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--accent);
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.62rem;
  border-radius: 100px;
}
.plan-name {
  font-family: "Syne", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.plan-price {
  font-family: "Syne", sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.22rem;
}
.plan-price sup {
  font-size: 0.95rem;
  vertical-align: super;
  margin-right: 0.12rem;
  opacity: 0.6;
}
.plan-period {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.plan-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  margin-bottom: 1.65rem;
}
.pf {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  font-size: 0.845rem;
  color: var(--muted);
}
.pf::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.plan-btn {
  width: 100%;
  padding: 0.78rem;
  border-radius: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.price-card.featured .plan-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #000;
}
.price-card.featured .plan-btn:hover {
  box-shadow: 0 8px 24px rgba(0, 229, 160, 0.35);
}

/* ── DOWNLOAD ── */
.dl-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.dl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 100%,
    rgba(0, 229, 160, 0.08),
    transparent
  );
  pointer-events: none;
}
.dl-btn-win {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.dl-btn-win:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 229, 160, 0.4);
}
.dl-btn-mac {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.dl-btn-mac:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.os-hint-text {
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 0.85rem;
  opacity: 0.8;
}
@media (max-width: 640px) {
  .dl-card {
    padding: 2.5rem 1.25rem;
  }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}
.footer-logo span {
  color: var(--accent);
}
footer p {
  font-size: 0.77rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
  }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ── MULTI-STORE / INVENTORY FEATURE LIST ── */
.ms-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ms-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ms-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.1rem;
}
.ms-icon--blue {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.2);
  color: var(--accent2);
}
.ms-feature-list li div strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-family: "Syne", sans-serif;
}
.ms-feature-list li div p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .ms-img-wrap {
    order: 0 !important;
  }
}

/* ── HERO TEXT CYCLE ── */
.title-swap-wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  min-height: 1.1em;
  vertical-align: bottom;
}
#title-swap {
  display: inline-block;
  will-change: transform, opacity;
}
#hero-sub {
  min-height: 3.6em;
}
.sub-char {
  display: inline;
  opacity: 0;
}

/* ── HERO SCREEN SLIDER ── */
.hero-screen-wrap {
  margin-top: 3.5rem;
  position: relative;
  width: min(960px, 96vw);
  opacity: 0;
  transform: translateY(40px) perspective(1000px) rotateX(8deg);
}
.hero-screen-wrap::before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 10%;
  right: 10%;
  height: 80px;
  background: radial-gradient(
    ellipse,
    rgba(0, 229, 160, 0.18) 0%,
    transparent 70%
  );
  filter: blur(20px);
}
/* the chrome frame */
.screen-chrome {
  background: var(--surface);
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  overflow: hidden;
}
.screen-bar {
  background: #090c10;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.screen-bar-label {
  margin-left: 0.6rem;
  font-family: "Syne", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
/* the sliding viewport */
.screen-track-outer {
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  background: var(--surface);
}
.screen-track {
  display: flex;
  will-change: transform;
  /* smooth slide driven by GSAP */
}
.screen-slide {
  min-width: 100%;
  flex-shrink: 0;
  background: var(--surface);
}

/* slide progress dots */
.screen-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.1rem;
}
.sdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition:
    background 0.35s,
    transform 0.35s;
}
.sdot--active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ── SLIDE 2 — POS quick-sale ── */
.pos-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.pos-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.pos-tile--active {
  background: rgba(0, 229, 160, 0.08);
  border-color: rgba(0, 229, 160, 0.3);
}
.pos-tile--add {
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
}
.pos-emoji {
  font-size: 1.15rem;
}
.pos-pname {
  font-size: 0.6rem;
  color: var(--muted);
}
.pos-price {
  font-family: "Syne", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
}
.pos-cart {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pos-cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}
.pos-cart-row--total {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
}
.pos-total-val {
  color: var(--accent);
}
.pos-charge-btn {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  color: #000;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ── SLIDE 3 — Analytics ── */
.pill-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.analytics-chart-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.multi-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 56px;
  align-items: center;
  gap: 0.6rem;
}
.mbar-label {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}
.mbar-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}
.mbar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mbar-val {
  font-family: "Syne", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* ── SLIDE 4 — Split payment ── */
.split-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.8rem;
  background: rgba(0, 229, 160, 0.05);
  border: 1px solid rgba(0, 229, 160, 0.18);
  border-radius: 8px;
}
.split-label {
  font-size: 0.72rem;
  color: var(--muted);
}
.split-amount {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}
.split-methods {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.split-method {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.split-method-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
}
.split-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
}
.split-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.split-currency {
  font-size: 0.7rem;
  color: var(--muted);
}
.split-value {
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 50px;
}
.split-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
}
.split-bar {
  height: 100%;
  border-radius: 100px;
}
.split-remaining {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 229, 160, 0.03);
}
.screen-slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.bd {
  min-height: 680px;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 16px;
}
.mo {
  background: var(--color-background-primary);
  border-radius: 16px;
  border: 0.5px solid var(--color-border-tertiary);
  width: 100%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 560px;
}
@media (max-width: 580px) {
  .mo {
    grid-template-columns: 1fr;
  }
  .ml {
    display: none !important;
  }
}
.ml {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.ml img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mlo {
  position: absolute;
  inset: 0;
  background: rgba(0, 18, 10, 0.62);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
}
.mbrand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bicon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #00e5a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #000;
  font-family: sans-serif;
}
.bname {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: sans-serif;
}
/* ── Email verification centering ── */
.cev-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.mquote {
  font-family: sans-serif;
}
.mquote strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.mquote span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.ch {
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-family: sans-serif;
}
.ch.on {
  background: #00e5a0;
  border-color: #00e5a0;
  color: #000;
  font-weight: 600;
}
.mr2 {
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ptabs {
  display: flex;
  gap: 3px;
  background: var(--color-background-secondary);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 1.25rem;
}
.pt {
  flex: 1;
  padding: 5px 3px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-family: sans-serif;
  transition: all 0.15s;
}
.pt.on {
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  border: 0.5px solid var(--color-border-tertiary);
}
.pdesc h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 3px;
  font-family: sans-serif;
}
.pdesc p {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0 0 1.1rem;
  font-family: sans-serif;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.fg {
  margin-bottom: 10px;
}
.fg label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
  font-family: sans-serif;
}
.fg input,
.fg select {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 0.5px solid var(--color-border-secondary);
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  font-size: 13px;
  font-family: sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.fg input:focus,
.fg select:focus {
  border-color: #00e5a0;
  box-shadow: 0 0 0 2px rgba(0, 229, 160, 0.15);
}
.fg select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.prel {
  position: relative;
}
.prel input {
  padding-right: 36px;
}
.ptoggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: 13px;
  padding: 2px 4px;
}
.fmeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.fcheck {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-secondary);
  font-family: sans-serif;
}
.flnk {
  font-size: 12px;
  color: #00e5a0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: sans-serif;
  padding: 0;
}
.sinfo {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 3px;
  font-family: sans-serif;
}
.mainbtn {
  width: 100%;
  height: 36px;
  border-radius: 8px;
  background: #00e5a0;
  border: none;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: sans-serif;
  transition: opacity 0.15s;
  margin-bottom: 10px;
}
.mainbtn:hover {
  opacity: 0.88;
}
.mainbtn.ghost {
  background: transparent;
  border: 0.5px solid var(--color-border-secondary);
  color: var(--color-text-primary);
}
.mainbtn.ghost:hover {
  background: var(--color-background-secondary);
}
.divrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.divrow span {
  font-size: 11px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  font-family: sans-serif;
}
.divrow::before,
.divrow::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--color-border-tertiary);
}
.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.sbtn {
  height: 34px;
  border-radius: 8px;
  border: 0.5px solid var(--color-border-secondary);
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  font-size: 12px;
  cursor: pointer;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
}
.sbtn:hover {
  background: var(--color-background-secondary);
}
.ffoot {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-secondary);
  font-family: sans-serif;
}
.ffoot a {
  color: #00e5a0;
  cursor: pointer;
  text-decoration: none;
}
.panel {
  display: none;
}
.panel.on {
  display: block;
}
.stephead {
  text-align: center;
  margin-bottom: 1.1rem;
}
.stepicon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #00e5a0;
  font-size: 18px;
}
.stephead h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 3px;
  font-family: sans-serif;
}
.stephead p {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-family: sans-serif;
  margin: 0;
}
.codinputs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.codinputs input {
  width: 100%;
  height: 42px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  border: 0.5px solid var(--color-border-secondary);
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  font-family: sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.codinputs input:focus {
  border-color: #00e5a0;
  box-shadow: 0 0 0 2px rgba(0, 229, 160, 0.15);
}
.resend {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 8px;
  font-family: sans-serif;
}
.resend a {
  color: #00e5a0;
  cursor: pointer;
}
.strbar {
  height: 4px;
  border-radius: 2px;
  background: var(--color-background-secondary);
  margin: 6px 0 3px;
  overflow: hidden;
}
.strfill {
  height: 100%;
  border-radius: 2px;
  transition:
    width 0.3s,
    background 0.3s;
}
.strtxt {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-family: sans-serif;
}
.notebox {
  background: rgba(245, 166, 35, 0.08);
  border: 0.5px solid rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--color-text-secondary);
  font-family: sans-serif;
  line-height: 1.55;
}
.notebox strong {
  color: #ba7517;
}
.successwrap {
  text-align: center;
  padding: 1rem 0;
}
.successicon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.12);
  border: 1px solid rgba(0, 229, 160, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #00e5a0;
  font-size: 22px;
}
.cev-page {
  min-height: 100vh;
  min-height: 100dvh; /* mobile safe area */
  display: flex;
    flex-direction: column;

  background: #050505;
  color: #f0f2f7;
  font-family: "DM Sans", system-ui, sans-serif;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* subtle grid bg matching hero */
.cev-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  z-index: 0;
}

.cev-card {
  position: relative;
  z-index: 1;
  background: var(--surface, #0e1117);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 480px;
  text-align: center;
  
  /* Enhanced shadow effect */
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 30px rgba(0, 229, 160, 0.1);
  
  /* Smooth transition for hover effects */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional: Add hover effect for extra depth */
.cev-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 30px 60px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(0, 229, 160, 0.15);
  border-color: rgba(255, 255, 255, 0.1);
}

/* top accent line — color swapped per state */
.cev-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 28px 28px 0 0;
  background: var(--cev-accent, linear-gradient(90deg, #00e5a0, #0066ff));
  transition: all 0.3s ease;
}

/* Add a subtle glow effect based on state */
.cev-card.cev-state-success {
  --cev-accent: linear-gradient(90deg, #00e5a0, #0066ff);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 229, 160, 0.15),
    0 0 30px rgba(0, 229, 160, 0.1);
}

.cev-card.cev-state-reject {
  --cev-accent: linear-gradient(90deg, #f5a623, #d85a30);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(245, 166, 35, 0.15),
    0 0 30px rgba(245, 166, 35, 0.08);
}

.cev-card.cev-state-error {
  --cev-accent: linear-gradient(90deg, #ff4455, #993556);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 68, 85, 0.15),
    0 0 30px rgba(255, 68, 85, 0.08);
}

.cev-card.cev-state-loading {
  --cev-accent: linear-gradient(
    90deg,
    rgba(0, 229, 160, 0.3),
    rgba(0, 102, 255, 0.3)
  );
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 30px rgba(0, 229, 160, 0.05);
}

/* Optional: Add backdrop blur to page for extra depth */
.cev-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 229, 160, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .cev-card {
    padding: 2rem 1.5rem;
    max-width: 400px;
    border-radius: 24px;
  }
  
  .cev-card::before {
    height: 2px;
  }
  
  .cev-card:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .cev-card {
    padding: 1.75rem 1.25rem;
    max-width: 100%;
  }
}

.cev-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  text-decoration: none;
}
.cev-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00e5a0, #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Syne", sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: #000;
}
.cev-logo-text {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #f0f2f7;
}
.cev-logo-text span {
  color: #00e5a0;
}

.cev-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  flex-shrink: 0;
}

/* state icon variants */
.cev-icon-wrap.cev-loading {
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
}
.cev-icon-wrap.cev-success {
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.25);
  color: #00e5a0;
}
.cev-icon-wrap.cev-reject {
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  color: #f5a623;
}
.cev-icon-wrap.cev-error {
  background: rgba(255, 68, 85, 0.1);
  border: 1px solid rgba(255, 68, 85, 0.25);
  color: #ff4455;
}

/* spinner */
.cev-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(0, 229, 160, 0.15);
  border-top-color: #00e5a0;
  border-radius: 50%;
  animation: cev-spin 0.8s linear infinite;
}
@keyframes cev-spin {
  to {
    transform: rotate(360deg);
  }
}

/* pulse dot on loading */
.cev-pulse {
  width: 8px;
  height: 8px;
  background: #00e5a0;
  border-radius: 50%;
  animation: cev-pulse 1.8s ease-in-out infinite;
  position: absolute;
  top: 12px;
  right: 12px;
}
@keyframes cev-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.5);
  }
}

.cev-title {
  font-family: "Syne", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f0f2f7;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}
.cev-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.cev-desc strong {
  color: #9ca3af;
  font-weight: 500;
}

.cev-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
  white-space: nowrap;
}
.cev-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.cev-btn-success {
  background: linear-gradient(135deg, #00e5a0, #0066ff);
  color: #000;
  box-shadow: 0 0 0 0 rgba(0, 229, 160, 0);
}
.cev-btn-success:hover {
  box-shadow: 0 10px 28px rgba(0, 229, 160, 0.35);
}
.cev-btn-warn {
  background: rgba(245, 166, 35, 0.12);
  color: #f5a623;
  border: 1px solid rgba(245, 166, 35, 0.25);
}
.cev-btn-error {
  background: rgba(255, 68, 85, 0.1);
  color: #ff4455;
  border: 1px solid rgba(255, 68, 85, 0.2);
}

.cev-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 1.5rem auto;
}

.cev-close-hint {
  font-size: 0.75rem;
  color: #374151;
  margin-top: 1rem;
}

.cev-hidden {
  display: none !important;
}

/* state-specific card accents */
.cev-card.cev-state-success {
  --cev-accent: linear-gradient(90deg, #00e5a0, #0066ff);
}
.cev-card.cev-state-reject {
  --cev-accent: linear-gradient(90deg, #f5a623, #d85a30);
}
.cev-card.cev-state-error {
  --cev-accent: linear-gradient(90deg, #ff4455, #993556);
}
.cev-card.cev-state-loading {
  --cev-accent: linear-gradient(
    90deg,
    rgba(0, 229, 160, 0.3),
    rgba(0, 102, 255, 0.3)
  );
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}
.user-menu-item:hover {
  background: var(--surface2);
  color: var(--accent);
}

#userMenu img {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

#userMenu img:hover {
  transform: scale(1.05);
  border-color: #ffffff;
}