:root {
  --red: #e1251b;
  --orange: #ff6b35;
  --red-bright: #ff4136;
  --red-rgb: 225, 37, 27;
  --green: #22c55e;
  --green-pale: rgba(34, 197, 94, 0.1);
  --font-display: "Roboto", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-mono: "Roboto Mono", monospace;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  color: #1a1a1a;
  background: #fafafa;
  overflow-x: hidden;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes chartDraw {
  from {
    stroke-dashoffset: 600;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes dashLevitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes dashShadowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleX(0.92);
  }
  50% {
    opacity: 0.3;
    transform: scaleX(0.85);
  }
}
@keyframes metal-shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes metal-pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@keyframes nebulaShift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0);
  }
  33% {
    transform: translate(20px, -15px) scale(1.05) rotate(2deg);
  }
  66% {
    transform: translate(-15px, 20px) scale(0.97) rotate(-1deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0);
  }
}
@keyframes ringExpand {
  0% {
    transform: scale(0.6);
    opacity: 0.3;
  }
  50% {
    transform: scale(1);
    opacity: 0.08;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
@keyframes sparkDrift {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes glass-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes orderSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes newBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}
@keyframes profitFlash {
  0% {
    color: rgba(255, 255, 255, 0.5);
  }
  30% {
    color: #4ade80;
  }
  100% {
    color: #4ade80;
  }
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  padding: 130px 0 90px;
  background: #fafafa;
  overflow: visible;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    #000 30%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    #000 30%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 700px;
  height: 600px;
  top: -250px;
  right: -150px;
  background: rgba(var(--red-rgb), 0.03);
  /* animation: float 20s ease-in-out infinite; */
}
.hero-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -120px;
  background: rgba(139, 92, 246, 0.02);
  /* animation: float 16s ease-in-out infinite reverse; */
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
  /* animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; */
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  /* animation: pulse 2s ease infinite; */
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  /* animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; */
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(
    135deg,
    var(--red),
    var(--orange),
    #ff9500,
    var(--orange)
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* animation: gradient-flow 6s ease infinite; */
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 20px;
  max-width: 440px;
  /* animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; */
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  /* animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; */
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--orange));
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 4px 20px rgba(var(--red-rgb), 0.2);
  transition: all 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--red-rgb), 0.3);
}
.hero-note {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 16px;
  /* animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; */
}
.hero-note svg {
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--green);
}
.hero-badges {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
  /* animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; */
}
.hb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}
.hb.green {
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.15);
  color: #16a34a;
}
.hb.blue {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: #2563eb;
}
.hb.gold {
  background: rgba(217, 119, 6, 0.06);
  border: 1px solid rgba(217, 119, 6, 0.15);
  color: #d97706;
}
.hb.purple {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: #7c3aed;
}
.hb.red {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  color: #dc2626;
}

/* DASHBOARD */
.hero-visual {
  position: relative;
  /* animation: scaleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; */
  opacity: 0.92;
  transition: opacity 0.6s ease;
  overflow: visible;
}
.hero-visual:hover {
  opacity: 1;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50px;
  z-index: 0;
  box-shadow:
    0 0 20px rgba(var(--red-rgb), 0.03),
    0 0 50px rgba(var(--red-rgb), 0.02);
  pointer-events: none;
  /* animation: metal-pulse 4s ease infinite; */
}
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -36px;
  left: 15%;
  right: 15%;
  height: 30px;
  z-index: -1;
  background: radial-gradient(
    ellipse 100% 100% at 50% 0%,
    rgba(var(--red-rgb), 0.07) 0%,
    transparent 70%
  );
  filter: blur(12px);
  /* animation: dashShadowPulse 8s ease-in-out infinite; */
  pointer-events: none;
}
.dash-rotate-cube {
  position: absolute;
  z-index: 0;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  border-radius: 44px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.015) 0%,
    rgba(255, 255, 255, 0.005) 30%,
    rgba(255, 255, 255, 0.003) 50%,
    rgba(255, 255, 255, 0.005) 70%,
    rgba(255, 255, 255, 0.012) 100%
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  border: 1px solid rgba(255, 255, 255, 0.025);
  /* animation: metal-shimmer 18s linear infinite; */
  pointer-events: none;
  overflow: hidden;
}
.dash-rotate-cube::after {
  content: "";
  position: absolute;
  top: -50%;
  width: 55%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.03) 46%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.03) 54%,
    transparent 62%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  /* animation: glass-shimmer 9s ease-in-out infinite; */
}
.dash-glass-refraction {
  position: absolute;
  z-index: 0;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  border-radius: 44px;
  background: conic-gradient(
    from 0deg,
    rgba(var(--red-rgb), 0.015) 0deg,
    rgba(139, 92, 246, 0.01) 60deg,
    rgba(var(--red-rgb), 0.015) 120deg,
    rgba(255, 220, 100, 0.008) 180deg,
    rgba(59, 130, 246, 0.01) 240deg,
    rgba(var(--red-rgb), 0.015) 300deg
  );
  /* animation: metal-shimmer 18s linear infinite; */
  mix-blend-mode: screen;
  pointer-events: none;
}
.dash-border-glow {
  position: absolute;
  inset: -3px;
  border-radius: 44px;
  z-index: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 0 30px rgba(var(--red-rgb), 0.03),
    0 24px 70px rgba(0, 0, 0, 0.1),
    0 50px 120px rgba(0, 0, 0, 0.05);
  /* animation: dashLevitate 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; */
}
.dash-border-glow::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50px;
  right: 50px;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    transparent
  );
  pointer-events: none;
}
.dash {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    175deg,
    rgba(18, 18, 24, 0.65) 0%,
    rgba(14, 14, 20, 0.55) 50%,
    rgba(10, 10, 16, 0.5) 100%
  );
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-logo {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
.dash-logo span {
  color: rgba(0, 0, 0, 0.3);
}
.dash-tbadge {
  font-size: 8px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dash-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
  /* animation: pulse 2s ease infinite; */
}
.dash-user {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.dash-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3a45, #52525b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Full-width revenue chart */
.dash-revenue {
  padding: 10px 12px 0;
  position: relative;
}
.chart-svg-tall {
  width: 100%;
  height: 56px;
  display: block;
  margin-top: 2px;
}
.chart-x-labels {
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 0;
  font-size: 7px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
}
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chart-card-label {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chart-card-period {
  display: flex;
  gap: 2px;
}
.chart-card-period span {
  font-size: 7px;
  font-weight: 500;
  padding: 2px 5px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.chart-card-period span.active {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}
.chart-card-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 3px 0 2px;
}
.chart-card-value.big {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.chart-card-value.med {
  font-size: 14px;
}
.chart-card-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
}
.chart-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  /* animation: chartDraw 2s ease-out 0.5s both; */
}
.chart-line.red {
  stroke: var(--red-bright);
}
.chart-glow {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.15;
  filter: blur(3px);
}
.chart-glow.red {
  stroke: var(--red-bright);
}
.chart-dot {
  r: 3;
  /* animation: pulse 2s ease infinite; */
}
.chart-dot.red {
  fill: var(--red-bright);
}
.chart-dot-ring {
  fill: none;
  stroke-width: 1.5;
  r: 6;
  opacity: 0.3;
}
.chart-dot-ring.red {
  stroke: var(--red-bright);
}

/* Stats summary row */
.dash-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px 12px;
}
.dash-stat-cell {
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}
.stat-cell-label {
  font-size: 7px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-cell-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 2px 0 1px;
}
.stat-cell-trend {
  font-size: 7px;
  font-weight: 600;
}
.green-text {
  color: #4ade80;
}

/* Orders section */
.dash-orders-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}
.dash-orders-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 4px;
}
.dash-orders-title {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.dash-orders-count {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(var(--red-rgb), 0.15);
  color: var(--red-bright);
}

.dash-orders {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.dash-order-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dash-order-row.entering {
  /* animation: orderSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; */
}
.dash-order-row.exiting {
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.4s ease;
}
.order-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(var(--red-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.order-info {
  flex: 1;
  min-width: 0;
}
.order-badge {
  font-size: 6px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  /* animation: newBadgePulse 2s ease infinite; */
  display: inline-block;
  margin-bottom: 1px;
}
.order-product {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.order-time {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.25);
}
.order-right {
  text-align: right;
  flex-shrink: 0;
}
.order-total {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.order-profit-inline {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  color: #4ade80;
}

/* Bottom nav */
.dash-bottomnav {
  display: flex;
  justify-content: space-around;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}
.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 7px;
  font-weight: 500;
  cursor: pointer;
}
.bnav-item.active {
  color: var(--red-bright);
}
.bnav-item svg {
  width: 14px;
  height: 14px;
}

/* VFX */
.hero-vfx {
  position: absolute;
  inset: -100px -80px -180px -80px;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.hero-vfx-nebula {
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(
      ellipse 50% 60% at 25% 30%,
      rgba(var(--red-rgb), 0.04) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 50% at 75% 65%,
      rgba(139, 92, 246, 0.03) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 35% 35% at 60% 20%,
      rgba(255, 107, 53, 0.02) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 45% 40% at 50% 95%,
      rgba(var(--red-rgb), 0.03) 0%,
      transparent 55%
    );
  filter: blur(35px);
  /* animation: nebulaShift 18s ease-in-out infinite; */
}
.hero-vfx-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--red-rgb), 0.08);
  pointer-events: none;
}
.hero-vfx-ring-1 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -150px;
  /* animation: ringExpand 6s ease-out infinite; */
}
.hero-vfx-ring-2 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -150px;
  /* animation: ringExpand 6s ease-out infinite 2s; */
  border-color: rgba(139, 92, 246, 0.06);
}
.hero-vfx-ring-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -150px;
  /* animation: ringExpand 6s ease-out infinite 4s; */
  border-color: rgba(255, 149, 0, 0.05);
}
.hero-vfx-spark {
  position: absolute;
  border-radius: 50%;
  /* animation: sparkDrift var(--dur) ease-in-out infinite; */
  animation-delay: var(--del);
}
.hero-vfx-spark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: inherit;
  filter: blur(6px);
  opacity: 0.7;
}

/* PHONE FRAME */
.phone {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 562px;
  margin: 0 auto;
  background: #1a1a1f;
  border-radius: 42px;
  border: 3px solid #2a2a30;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* animation: dashLevitate 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; */
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #111;
  border-radius: 0 0 14px 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch-cam {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 18px 0;
  position: relative;
  z-index: 15;
  height: 30px;
  flex-shrink: 0;
}
.phone-time {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.phone-statusbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.phone-screen {
  position: relative;
  z-index: 5;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-home-bar {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.15);
  margin: 6px auto 10px;
  flex-shrink: 0;
}

/* Notifications overlay */
.phone-notifs {
  position: absolute;
  top: 40px;
  left: 8px;
  right: 8px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}
@keyframes notifSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes notifSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}
.phone-notif {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  /* animation: notifSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.phone-notif.exiting {
  /* animation: notifSlideOut 0.35s ease forwards; */
}
.notif-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.notif-icon.order {
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.notif-icon.payout {
  background: linear-gradient(135deg, #059669, var(--green));
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-app {
  font-size: 7px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.notif-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.2;
}
.notif-sub {
  font-size: 8px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 1px;
}
.notif-time {
  font-size: 7px;
  color: rgba(0, 0, 0, 0.3);
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 2px;
}
/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(0, 0, 0, 0.6);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 1400px) {
  .hero-orb-1 {
    display: none;
  }
  .hero-orb-2 {
    display: none;
  }
  .hero {
    overflow: hidden;
  }
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    padding: 80px 0 50px;
  }
  .container {
    padding: 0 16px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px 5px 7px;
    margin-bottom: 16px;
  }
  .hero-badge .dot {
    width: 6px;
    height: 6px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: none;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 24px;
  }
  .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .hero-note {
    font-size: 11px;
    margin-top: 12px;
  }
  .hero-badges {
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
  }
  .hb {
    font-size: 9px;
    padding: 4px 8px;
  }

  /* Phone */
  .hero-visual {
    margin: 0 auto;
  }
  .phone {
    width: 220px;
    height: 476px;
    border-radius: 36px;
  }
  .phone-notch {
    width: 76px;
    height: 20px;
    border-radius: 0 0 12px 12px;
  }
  .phone-notch-cam {
    width: 6px;
    height: 6px;
  }
  .phone-statusbar {
    padding: 4px 14px 0;
    height: 26px;
  }
  .phone-time {
    font-size: 9px;
  }
  .phone-home-bar {
    width: 80px;
    height: 3px;
    margin: 5px auto 8px;
  }

  /* Phone notifications */
  .phone-notifs {
    top: 30px;
    left: 6px;
    right: 6px;
    gap: 4px;
  }
  .phone-notif {
    padding: 6px 8px;
    gap: 6px;
    border-radius: 12px;
  }
  .notif-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 11px;
  }
  .notif-title {
    font-size: 9px;
  }
  .notif-sub {
    font-size: 7px;
  }
  .notif-app {
    font-size: 6px;
  }
  .notif-time {
    font-size: 6px;
  }

  /* Dashboard inside phone */
  .dash-topbar {
    padding: 6px 10px;
  }
  .dash-logo {
    font-size: 10px;
  }
  .dash-tbadge {
    font-size: 6px;
    padding: 2px 5px;
  }
  .dash-avatar {
    width: 18px;
    height: 18px;
    font-size: 7px;
  }
  .dash-status-dot {
    width: 4px;
    height: 4px;
  }

  .dash-revenue {
    padding: 7px 8px 0;
  }
  .chart-card-label {
    font-size: 7px;
  }
  .chart-card-period span {
    font-size: 6px;
    padding: 1px 4px;
  }
  .chart-card-value.big {
    font-size: 18px;
  }
  .chart-card-change {
    font-size: 7px;
    padding: 1px 5px;
  }
  .chart-svg-tall {
    height: 40px;
  }
  .chart-x-labels {
    font-size: 6px;
    padding: 2px 1px 0;
  }

  .dash-stat-row {
    gap: 4px;
    padding: 5px 8px;
  }
  .dash-stat-cell {
    padding: 5px;
    border-radius: 8px;
  }
  .stat-cell-label {
    font-size: 6px;
  }
  .stat-cell-value {
    font-size: 12px;
  }
  .stat-cell-trend {
    font-size: 6px;
  }

  .dash-orders-section {
    padding: 0 8px;
  }
  .dash-orders-header {
    padding: 4px 0 2px;
  }
  .dash-orders-title {
    font-size: 7px;
  }
  .dash-orders-count {
    font-size: 6px;
    padding: 1px 5px;
  }
  .order-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 10px;
  }
  .dash-order-row {
    gap: 6px;
    padding: 5px 0;
  }
  .order-badge {
    font-size: 5px;
    padding: 1px 4px;
  }
  .order-product {
    font-size: 8px;
  }
  .order-time {
    font-size: 6px;
  }
  .order-total {
    font-size: 9px;
  }
  .order-profit-inline {
    font-size: 7px;
  }

  .dash-bottomnav {
    padding: 4px 0;
  }
  .bnav-item {
    font-size: 6px;
    gap: 1px;
  }
  .bnav-item svg {
    width: 11px;
    height: 11px;
  }

  /* VFX — reduce for perf */
  .hero-vfx-ring {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
  }
  .hero-vfx-ring-1,
  .hero-vfx-ring-2,
  .hero-vfx-ring-3 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
  }
  .hero-orb-1 {
    width: 400px;
    height: 350px;
  }
  .hero-orb-2 {
    width: 300px;
    height: 300px;
  }

  /* Glow effects */
  .dash-rotate-cube,
  .dash-glass-refraction {
    border-radius: 40px;
  }
  .dash-border-glow {
    border-radius: 40px;
    inset: -2px;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 24px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .phone {
    width: 200px;
    height: 432px;
    border-radius: 32px;
  }
  .dash-rotate-cube,
  .dash-glass-refraction,
  .dash-border-glow {
    border-radius: 36px;
  }
  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
}
