/* ============================================================
       ROOT VARIABLES
    ============================================================ */
:root {
  --red: #dc3545;
  --red-h: #b02a37;
  --red-tint: #fce8ea;
  --black: #0a0a0a;
  --ink: #111317;
  --ink-2: #1a1d23;
  --white: #ffffff;
  --gray-70: #333333;
  --gray-60: #555555;
  --gray-40: #888888;
  --gray-20: #cccccc;
  --gray-10: #e5e5e5;
  --gray-05: #f5f5f7;
  --px: 80px;
  --py: 96px;
  --cont: 1200px;
  --nav-h: 72px;
  --radius: 8px;
  --radius-lg: 16px;
}

/* ============================================================
       LAYOUT
    ============================================================ */
.wrap {
  max-width: var(--cont);
  margin: 0 auto;
  padding: 0 var(--px);
}
.sec {
  padding: var(--py) 0;
}
.sec-w {
  background: var(--white);
}
.sec-g {
  background: var(--gray-05);
}
.sec-d {
  background: var(--ink);
}

/* ============================================================
       SCROLL REVEAL
    ============================================================ */
[data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-r][data-delay="1"] {
  transition-delay: 0.1s;
}
[data-r][data-delay="2"] {
  transition-delay: 0.2s;
}
[data-r][data-delay="3"] {
  transition-delay: 0.3s;
}
[data-r][data-delay="4"] {
  transition-delay: 0.4s;
}
[data-r].visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
       BUTTONS
    ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 1px 3px rgba(220, 53, 69, 0.25);
}
.btn-primary:hover {
  background: var(--red-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
}
.btn-outline {
  border: 1.5px solid var(--gray-20);
  color: var(--gray-70);
}
/* .btn-outline:hover {
  border-color: var(--red);
  color: #fff;
} */
.btn-outline-w {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}
.btn-outline-w:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ============================================================
       EYEBROW
    ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.eyebrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow-center::before,
.eyebrow-center::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================================
       HERO
    ============================================================ */
.hero {
  min-height: 520px;
  background: var(--ink);
  padding: calc(38px + var(--nav-h) + 64px) var(--px) 80px;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 70% 40%,
    rgba(220, 53, 69, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--cont);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}
.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.hero-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.hero-breadcrumb .current {
  color: rgba(255, 255, 255, 0.65);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--red);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero phone showcase — animated app demo */
.hero-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 0;
}
.hero-phone-wrap::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(220, 53, 69, 0.22) 0%,
    rgba(220, 53, 69, 0) 65%
  );
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.hero-phone {
  position: relative;
  width: 280px;
  height: 572px;
  background: #0d0d10;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6),
    0 30px 60px -30px rgba(220, 53, 69, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  z-index: 2;
}
.hero-phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 20;
}
.hero-phone::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  z-index: 20;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border-radius: 32px;
  overflow: hidden;
}
.phone-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  animation: phoneCycle 20s infinite cubic-bezier(0.65, 0, 0.35, 1);
  will-change: opacity, transform;
}
.phone-frame:nth-child(1) {
  animation-delay: 0s;
}
.phone-frame:nth-child(2) {
  animation-delay: 4s;
}
.phone-frame:nth-child(3) {
  animation-delay: 8s;
}
.phone-frame:nth-child(4) {
  animation-delay: 12s;
}
.phone-frame:nth-child(5) {
  animation-delay: 16s;
}
@keyframes phoneCycle {
  0% {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
  }
  3% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  17% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  20% {
    opacity: 0;
    transform: translateX(-24px) scale(0.98);
  }
  100% {
    opacity: 0;
    transform: translateX(-24px) scale(0.98);
  }
}
/* Status bar (shared) */
.pf-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0a0a0a;
}
.pf-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.pf-status-icons svg {
  width: 12px;
  height: 12px;
}
/* Top app bar */
.pf-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 14px;
}
.pf-logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.pf-search {
  flex: 1;
  height: 30px;
  background: #f0f0f2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 11px;
  color: #8a8a8a;
}
.pf-search svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.pf-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f0f0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.pf-icon-btn svg {
  width: 13px;
  height: 13px;
  color: #0a0a0a;
}
.pf-icon-btn .badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  border: 2px solid #fff;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-body {
  flex: 1;
  overflow: hidden;
  padding: 0 16px;
}
.pf-section-h {
  font-size: 13px;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 10px;
}
/* Screen 1 — Home */
.pf-hero-banner {
  border-radius: 12px;
  background: #6a0010;
  padding: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.pf-hero-banner::before {
  display: none;
}
.pf-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(175, 18, 32, 0.92) 0%,
    rgba(75, 5, 12, 0.82) 100%
  );
  pointer-events: none;
}
.pf-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.pf-banner-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.pf-banner-h {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.pf-banner-cta {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  letter-spacing: 0.05em;
}
.pf-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pf-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pf-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-cat-icon svg {
  width: 16px;
  height: 16px;
  color: #0a0a0a;
}
.pf-cat-icon.a {
  background: #ffe8d6;
}
.pf-cat-icon.b {
  background: #dcfce7;
}
.pf-cat-icon.c {
  background: #dbeafe;
}
.pf-cat-icon.d {
  background: #fce7f3;
}
.pf-cat-label {
  font-size: 9px;
  font-weight: 600;
  color: #56565c;
}
.pf-prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pf-prod {
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 10px;
  overflow: hidden;
}
.pf-prod-img {
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-prod-img.p1 {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}
.pf-prod-img.p2 {
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
}
.pf-prod-img.p3 {
  background: linear-gradient(135deg, #fecaca, #ef4444);
}
.pf-prod-img.p4 {
  background: linear-gradient(135deg, #d8b4fe, #9333ea);
}
.pf-prod-img svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.85);
}
.pf-prod-info {
  padding: 8px;
}
.pf-prod-name {
  font-size: 10px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.3;
  margin-bottom: 3px;
}
.pf-prod-price {
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
}
/* Screen 2 — Listing */
.pf-listing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 14px;
}
.pf-listing-head .pf-title {
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0a;
}
.pf-chips {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px;
  overflow-x: auto;
}
.pf-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f0f0f2;
  color: #56565c;
  white-space: nowrap;
}
.pf-chip.active {
  background: #0a0a0a;
  color: #fff;
}
/* Screen 3 — Detail */
.pf-detail-img {
  height: 210px;
  position: relative;
  background: linear-gradient(135deg, #fecaca, #de253a);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 20px 20px;
  margin-bottom: 14px;
  overflow: hidden;
}
.pf-detail-img svg {
  width: 70px;
  height: 70px;
  color: rgba(255, 255, 255, 0.9);
}
.pf-detail-img .pf-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-detail-img .pf-heart svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}
.pf-detail-body {
  padding: 0 16px;
}
.pf-brand {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pf-detail-name {
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 6px;
}
.pf-detail-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #56565c;
  margin-bottom: 10px;
}
.pf-detail-rating svg {
  width: 10px;
  height: 10px;
  color: #f59e0b;
  fill: #f59e0b;
}
.pf-detail-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.pf-detail-price .now {
  font-size: 20px;
  font-weight: 800;
  color: var(--red);
}
.pf-detail-price .was {
  font-size: 11px;
  color: #8a8a8a;
  text-decoration: line-through;
}
.pf-sizes {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.pf-size {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #0a0a0a;
}
.pf-size.sel {
  border-color: var(--red);
  background: rgba(220, 53, 69, 0.08);
  color: var(--red);
}
.pf-add-cart {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 16px -4px rgba(220, 53, 69, 0.45);
  animation: pulseCta 1.8s ease-in-out infinite;
  border: 0;
}
.pf-add-cart svg {
  width: 13px;
  height: 13px;
}
@keyframes pulseCta {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 16px -4px rgba(220, 53, 69, 0.45);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 12px 24px -4px rgba(220, 53, 69, 0.6);
  }
}
/* Screen 4 — Cart */
.pf-cart-list {
  padding: 0;
}
.pf-cart-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ececee;
}
.pf-cart-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}
.pf-cart-thumb.t1 {
  background: linear-gradient(135deg, #fecaca, #de253a);
}
.pf-cart-thumb.t2 {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}
.pf-cart-thumb.t3 {
  background: linear-gradient(135deg, #bfdbfe, #3b82f6);
}
.pf-cart-info {
  flex: 1;
  min-width: 0;
}
.pf-cart-name {
  font-size: 10px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 2px;
}
.pf-cart-meta {
  font-size: 9px;
  color: #8a8a8a;
}
.pf-cart-price {
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
}
.pf-totals {
  margin-top: 12px;
  padding: 12px;
  background: #f8f8fa;
  border-radius: 10px;
}
.pf-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 3px 0;
  color: #56565c;
}
.pf-total-row.grand {
  border-top: 1px solid #e0e0e2;
  margin-top: 6px;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #0a0a0a;
}
.pf-total-row.grand .v {
  color: var(--red);
}
.pf-checkout-btn {
  margin-top: 12px;
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: #0a0a0a;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pf-checkout-btn svg {
  width: 13px;
  height: 13px;
}
/* Screen 5 — Confirmed */
.pf-success {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}
.pf-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15);
  animation: checkBounce 2s ease-in-out infinite;
}
.pf-check svg {
  width: 32px;
  height: 32px;
  color: #fff;
  stroke-width: 3;
}
@keyframes checkBounce {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 14px rgba(16, 185, 129, 0.08);
  }
}
.pf-success-h {
  font-size: 17px;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 6px;
}
.pf-success-p {
  font-size: 11px;
  color: #56565c;
  line-height: 1.5;
  margin-bottom: 16px;
}
.pf-order-card {
  width: 100%;
  padding: 12px;
  background: #f8f8fa;
  border-radius: 10px;
  margin-bottom: 14px;
  text-align: left;
}
.pf-order-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 10px;
}
.pf-order-row .k {
  color: #8a8a8a;
}
.pf-order-row .v {
  font-weight: 700;
  color: #0a0a0a;
}
.pf-track-btn {
  width: 100%;
  height: 36px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
}
/* Page indicator dots */
.phone-dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.phone-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  transition: all 0.3s;
  animation: dotActive 20s infinite;
}
.phone-dot:nth-child(1) {
  animation-delay: 0s;
}
.phone-dot:nth-child(2) {
  animation-delay: 4s;
}
.phone-dot:nth-child(3) {
  animation-delay: 8s;
}
.phone-dot:nth-child(4) {
  animation-delay: 12s;
}
.phone-dot:nth-child(5) {
  animation-delay: 16s;
}
@keyframes dotActive {
  0%,
  3% {
    background: rgba(255, 255, 255, 0.18);
    width: 6px;
  }
  5%,
  18% {
    background: var(--red);
    width: 20px;
  }
  20%,
  100% {
    background: rgba(255, 255, 255, 0.18);
    width: 6px;
  }
}
/* Tap ripple hint (screen 3) */
.pf-tap-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
  animation: tapPulse 1.6s ease-out infinite;
  animation-delay: 0.4s;
  pointer-events: none;
}
@keyframes tapPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}
/* Real product images */
.pf-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-sale-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--red);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  z-index: 2;
}
.pf-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-detail-img {
  background: #e8e0dc;
}
.pf-detail-img > img.pf-product-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Bottom nav bar */
.pf-bottom-nav {
  display: flex;
  background: #fff;
  border-top: 1px solid #eceaec;
  padding: 8px 0 14px;
  flex-shrink: 0;
}
.pf-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pf-nav-item svg {
  width: 18px;
  height: 18px;
  color: #c4c2c6;
}
.pf-nav-item.active svg {
  color: var(--red);
}
.pf-nav-item span {
  font-size: 8px;
  color: #c4c2c6;
  font-weight: 600;
}
.pf-nav-item.active span {
  color: var(--red);
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .phone-frame,
  .phone-dot,
  .pf-add-cart,
  .pf-check,
  .pf-tap-hint {
    animation: none;
  }
  .phone-frame:nth-child(1) {
    opacity: 1;
    transform: none;
  }
  .phone-frame:nth-child(n + 2) {
    display: none;
    border: 0;
  }
}

/* ============================================================
       STATS STRIP
    ============================================================ */
.stats-strip {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}
.stats-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-num .red {
  color: var(--red);
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================================
       BUSINESS CASE
    ============================================================ */
.business-case {
  background: var(--white);
}
.bc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.bc-left {
  display: flex;
  flex-direction: column;
}
.bc-left > .btn {
  margin-top: auto;
  align-self: flex-start;
}
.bc-stat-block {
  background: var(--gray-05);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}
.bc-big-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.bc-big-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-top: 8px;
}
.bc-big-source {
  font-size: 12px;
  color: var(--gray-40);
  margin-top: 6px;
}
.bc-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.bc-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.bc-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bc-point-icon svg {
  width: 18px;
  height: 18px;
}
.bc-point-text h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.bc-point-text p {
  font-size: 14px;
  color: var(--gray-60);
  line-height: 1.6;
}
.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pain-card {
  background: var(--gray-05);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pain-card:hover {
  border-color: var(--red-tint);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.pain-card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pain-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--black);
}
.pain-card p {
  font-size: 14px;
  color: var(--gray-60);
  line-height: 1.65;
}

/* ============================================================
       SERVICES ACCORDION
    ============================================================ */
.services-section {
  background: var(--gray-05);
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.svc-item {
  border-bottom: 1px solid var(--gray-10);
}
.svc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
  text-align: left;
	font: 15px "Gilroy";
}
.svc-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.svc-trigger-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.svc-trigger-icon svg {
  width: 17px;
  height: 17px;
}
.svc-trigger.open .svc-trigger-icon {
  background: var(--red);
  color: #fff;
}
.svc-trigger-title {
 font-faimly:  Gilroy, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}
.svc-trigger-tag {
	font-faimly:  Gilroy, sans-serif;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-40);
  background: var(--gray-10);
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 3px;
}
.svc-chevron {
  color: var(--gray-40);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.svc-chevron svg {
  width: 16px;
  height: 16px;
}
.svc-trigger.open .svc-chevron {
  transform: rotate(180deg);
}
.svc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.svc-body.open {
  max-height: 200px;
  padding-bottom: 20px;
}
.svc-body p {
  font-size: 14px;
  color: var(--gray-60);
  line-height: 1.7;
  padding-left: 50px;
}
.svc-cta-row {
  display: flex;
  gap: 12px;
  padding-top: 28px;
  flex-wrap: wrap;
}
.services-visual {
  position: sticky;
  top: 100px;
}
.svc-visual-panel {
  display: none;
  animation: svcFadeIn 0.4s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.svc-visual-panel.active {
  display: block;
}
@keyframes svcFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.svc-visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    transparent 100%
  );
  padding: 24px 20px 20px;
}
.svc-visual-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.svc-visual-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

/* ============================================================
       PROCESS STEPPER
    ============================================================ */
.process-section {
  background-color: var(--ink);
  background-image: linear-gradient(
      180deg,
      rgba(14, 14, 15, 0.94) 0%,
      rgba(14, 14, 15, 0.88) 50%,
      rgba(14, 14, 15, 0.96) 100%
    ),
    url("../img/ecommerce-app-development/photo-1522071820081-009f0129c71c.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}
.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at top right,
      rgba(220, 53, 69, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom left,
      rgba(220, 53, 69, 0.08) 0%,
      transparent 55%
    );
  pointer-events: none;
  z-index: 0;
}
.process-section > .wrap {
  position: relative;
  z-index: 1;
}
.process-section .section-header-top {
  color: rgba(255, 255, 255, 0.7);
}
.process-section .section-header-top h2 {
  color: #fff;
}
.process-section .section-header-top p {
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 1024px) {
  .process-section {
    background-attachment: scroll;
  }
}
.process-stepper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.process-steps-nav {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.process-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.process-nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.process-nav-item.active {
  background: rgba(220, 53, 69, 0.06);
  border-left-color: var(--red);
}
.process-nav-num {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  margin-top: 2px;
}
.process-nav-item.active .process-nav-num {
  color: var(--red);
}
.process-nav-week {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  margin-bottom: 3px;
}
.process-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.process-nav-item.active .process-nav-title {
  color: #fff;
}
.process-nav-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
}
.process-content-panel {
  padding: 36px;
}
.process-panel {
  display: none;
}
.process-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.process-panel-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.process-panel h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 14px;
}
.process-panel-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}
.process-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.process-del-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.process-del-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.process-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.process-progress {
  display: flex;
  gap: 6px;
}
.process-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}
.process-progress-dot.active {
  background: var(--red);
}
.process-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.process-nav-btn:hover {
  color: #fff;
}
.process-nav-btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
       TECH STACK
    ============================================================ */
.tech-section {
  background: var(--gray-05);
}
.tech-tabs-wrap {
  background: var(--white);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tech-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gray-10);
  overflow-x: auto;
}
.section-header-center{
	text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-header-center h2{
	margin-bottom: 16px;
	font-weight: bold;
}
.tech-tab-btn {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-40);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tech-tab-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.tech-tab-panel {
  display: none;
  padding: 32px;
}
.tech-tab-panel.active {
  display: block;
}
.tech-panel-group {
  margin-bottom: 28px;
}
.tech-panel-group:last-child {
  margin-bottom: 0;
}
.tech-panel-category-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-40);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.tech-panel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-05);
  border: 1px solid var(--gray-10);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-70);
  transition: border-color 0.2s, background 0.2s;
}
.tech-pill:hover {
  border-color: var(--gray-40);
  background: var(--white);
}
.tech-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================================
       COMPLIANCE
    ============================================================ */
.compliance-section {
  background: var(--ink);
}
.compliance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.compliance-left .eyebrow {
  color: var(--red);
}
.compliance-left h2 {
  color: #fff;
  margin-bottom: 16px;
}
.compliance-left .lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 36px;
}
.compliance-standards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.compliance-standard {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.compliance-standard-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compliance-standard-icon svg {
  width: 18px;
  height: 18px;
}
.compliance-standard h3 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}
.compliance-standard p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}
.compliance-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.compliance-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.compliance-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.compliance-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compliance-card-icon svg {
  width: 17px;
  height: 17px;
}
.compliance-card h3 {
  font-size: 15px;
  color: #fff;
  margin-top: 4px;
}
.compliance-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}
.compliance-team-strip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(220, 53, 69, 0.06);
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.compliance-team-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.compliance-team-icon svg {
  width: 20px;
  height: 20px;
}
.compliance-team-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.compliance-team-text strong {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
       INDUSTRIES
    ============================================================ */
.industries-section {
  background: var(--white);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  cursor: default;
}
.industry-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.industry-card:hover .industry-card-bg {
  transform: scale(1.04);
}
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.3) 55%,
    transparent 100%
  );
}
.industry-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.industry-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.industry-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 13px;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 12px;
}
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.industry-pill {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 3px 8px;
}

/* ============================================================
       CASE STUDIES
    ============================================================ */
.case-studies-section {
  background: var(--gray-05);
}
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.case-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.case-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.case-card-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.case-industry-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(220, 53, 69, 0.85);
  border-radius: 4px;
  padding: 3px 10px;
}
.case-card-body {
  padding: 24px;
}
.case-client {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-40);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.case-card h3 {
  font-size: 17px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
}
.case-card p {
  font-size: 13px;
  color: var(--gray-60);
  line-height: 1.65;
  margin-bottom: 20px;
}
.case-results {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-10);
}
.case-result-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
}
.case-result-label {
  font-size: 12px;
  color: var(--gray-40);
  margin-top: 2px;
}

/* ============================================================
       PLATFORM COMPARISON
    ============================================================ */
.comparison-section {
  background: var(--white);
}
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  background: var(--gray-05);
  border-bottom: 2px solid var(--gray-10);
}
.comparison-table th:first-child {
  border-radius: 8px 0 0 0;
}
.comparison-table th:last-child {
  border-radius: 0 8px 0 0;
}
.comparison-table th.col-highlight {
  background: rgba(220, 53, 69, 0.06);
  border-bottom-color: var(--red);
  color: var(--red);
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-10);
  color: var(--gray-60);
  vertical-align: top;
  line-height: 1.5;
}
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--black);
}
.comparison-table td.col-highlight {
  background: rgba(220, 53, 69, 0.02);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comp-check {
  color: #22c55e;
  font-size: 16px;
}
.comp-warn {
  color: #f59e0b;
  font-size: 16px;
}
.comp-cross {
  color: #ef4444;
  font-size: 16px;
}
.comp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}
.comp-tag-green {
  background: #dcfce7;
  color: #16a34a;
}
.comp-tag-amber {
  background: #fef9c3;
  color: #b45309;
}
.comp-tag-red {
  background: #fee2e2;
  color: #dc3545;
}

/* ============================================================
       BENEFITS
    ============================================================ */
.benefits-section {
  background: var(--gray-05);
}
.benefits-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.benefits-left {
  position: sticky;
  top: 130px;
}
.benefits-left h2 {
  margin-bottom: 16px;
}
.benefits-left > p {
  font-size: 16px;
  color: var(--gray-60);
  line-height: 1.7;
  margin-bottom: 28px;
}
.benefits-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefits-cta-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-40);
}
.benefits-cta-note svg {
  width: 14px;
  height: 14px;
  color: #22c55e;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.benefit-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 10px;
  line-height: 1;
}
.benefit-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 13px;
  color: var(--gray-60);
  line-height: 1.65;
}

/* ============================================================
       WHY SECTION
    ============================================================ */
.why-section {
  background: var(--white);
}
.why-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.why-left {
  position: sticky;
  top: 130px;
}
.why-left h2 {
  margin-bottom: 16px;
}
.why-left > p {
  font-size: 16px;
  color: var(--gray-60);
  line-height: 1.7;
  margin-bottom: 28px;
}
.clutch-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-05);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.clutch-stars {
  display: flex;
  gap: 3px;
}
.clutch-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}
.clutch-rating-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
}
.clutch-review-count {
  font-size: 12px;
  color: var(--gray-40);
}
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-card {
  background: var(--gray-05);
  border: 1px solid var(--gray-10);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.why-card-num {
  font-size: 40px;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1;
}
.why-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 13px;
  color: var(--gray-60);
  line-height: 1.65;
}

/* ============================================================
       FAQ
    ============================================================ */
.faq-section {
  background: var(--gray-05);
}
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-left {
  position: sticky;
  top: 130px;
}
.faq-left h2 {
  margin-bottom: 16px;
}
.faq-left p {
  font-size: 15px;
  color: var(--gray-60);
  line-height: 1.7;
  margin-bottom: 24px;
}
.faq-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.2s;
}
.faq-contact-link:hover {
  gap: 12px;
}
.faq-contact-link svg {
  width: 16px;
  height: 16px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border: 0;
  border-bottom: 1px solid var(--gray-10);
  background: transparent;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--red);
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.faq-icon svg {
  width: 12px;
  height: 12px;
  color: var(--gray-40);
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--red);
}
.faq-question[aria-expanded="true"] .faq-icon svg {
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  font-size: 14px;
  color: var(--gray-60);
  line-height: 1.75;
  padding: 0 20px 20px;
}
.faq-answer.open {
  display: block;
}

/* ============================================================
       CTA SECTION
    ============================================================ */
.cta-section {
  background: var(--ink);
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: var(--py) var(--px);
}
.cta-inner h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.cta-detail svg {
  width: 14px;
  height: 14px;
  color: #22c55e;
}

/* ============================================================
       RESPONSIVE
    ============================================================ */
@media (max-width: 1024px) {
  :root {
    --px: 40px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-phone-wrap {
    margin-top: 20px;
  }
  .bc-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-layout {
    grid-template-columns: 1fr;
  }
  .services-visual {
    display: none;
  }
  .process-stepper {
    grid-template-columns: 1fr;
  }
  .process-steps-nav {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    overflow-x: auto;
  }
  .process-nav-item {
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .process-nav-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--red);
    background: rgba(220, 53, 69, 0.04);
  }
  .compliance-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-studies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefits-layout {
    grid-template-columns: 1fr;
  }
  .benefits-left {
    position: static;
  }
  .why-layout {
    grid-template-columns: 1fr;
  }
  .why-left {
    position: static;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-left {
    position: static;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .topbar {
    display: none;
  }
  .site-header {
    top: 0;
  }
}
@media (max-width: 640px) {
  :root {
    --px: 24px;
    --py: 64px;
  }
  .hero {
    min-height: auto;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-phone {
    width: 240px;
    height: 490px;
    border-radius: 38px;
  }
  .hero-phone::before {
    width: 82px;
    height: 19px;
    top: 16px;
  }
  .phone-screen {
    border-radius: 30px;
  }
  .hero-phone-wrap::before {
    width: 340px;
    height: 340px;
  }
  .stats-strip .wrap {
    justify-content: center;
    gap: 32px;
  }
  .stat-item {
    min-width: 80px;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .why-right {
    grid-template-columns: 1fr;
  }
  .process-deliverables-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .comparison-table {
    font-size: 13px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
  }
}

/* ============================================================
       INTERACTIVE MOBILE APP DEMO SECTION
    ============================================================ */
.demo-section {
  background: var(--ink);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0
      0 / 60px 60px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 /
      60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.demo-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
  position: relative;
}
.demo-header h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}
.demo-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.7;
}
.demo-eyebrow-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.demo-eyebrow-wrap .eyebrow-center {
  color: var(--red);
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 28px;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 5px;
  position: relative;
  z-index: 2;
	font-faimly:  Gilroy, sans-serif;
}
.demo-tab {
  flex: 1;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
	font-faimly:  Gilroy, sans-serif;
}
.demo-tab.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(220, 53, 69, 0.6);
}
.demo-tab.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.demo-tab:not(.active):not(.disabled):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.demo-tab-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demo-frame {
  display: grid;
  grid-template-columns: 1fr 200px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1d24 0%, #0f1116 100%);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Stage = dark canvas containing phone + tooltips */
.demo-stage {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  background: radial-gradient(
      ellipse at center,
      rgba(220, 53, 69, 0.07) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #1a1d24 0%, #0f1116 100%);
  overflow: hidden;
}
.demo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0
      0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 /
      40px 40px;
  pointer-events: none;
}
.demo-stage-restart {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}
.demo-stage-restart:hover {
  background: rgba(220, 53, 69, 0.9);
  border-color: transparent;
}

/* Phone frame */
.demo-phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: #0a0a0a;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(220, 53, 69, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 20;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #f7f7f9;
  overflow: hidden;
  position: relative;
  color: #1a1a1e;
  font-size: 13px;
}
.phone-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  padding: 12px 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  z-index: 15;
  background: transparent;
}
.phone-status-bar .time {
  padding-left: 4px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 2px;
}
.phone-status-icons svg {
  width: 14px;
  height: 11px;
}
.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 4px;
  background: #0a0a0a;
  border-radius: 2px;
  z-index: 22;
}

/* Screens inside phone */
.demo-screen {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  display: none;
  background: #f7f7f9;
  animation: screenFade 0.4s ease;
}
.demo-screen.active {
  display: flex;
  flex-direction: column;
}
@keyframes screenFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.screen-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.screen-scroll::-webkit-scrollbar {
  width: 3px;
}
.screen-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}
.screen-scroll.frozen {
  overflow: hidden !important;
  touch-action: none;
}
.screen-scroll.frozen::-webkit-scrollbar {
  display: none;
}

/* Bottom tab bar */
.phone-tabbar {
  flex-shrink: 0;
  height: 60px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 5px 0 14px;
}
.tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: #888;
  position: relative;
  cursor: pointer;
  padding: 4px 6px;
  font-weight: 500;
}
.tabbar-item svg {
  width: 20px;
  height: 20px;
  color: #888;
  stroke-width: 1.8;
}
.tabbar-item.on {
  color: var(--red);
}
.tabbar-item.on svg {
  color: var(--red);
}
.tabbar-badge {
  position: absolute;
  top: 0;
  right: 2px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

/* Stepper (right column) */
.demo-stepper {
  background: #fafafa;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #333;
}
.demo-stepper[hidden] {
  display: none !important;
}
.demo-step {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
  position: relative;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 13px;
	font-family: 'Gilroy';
    font-weight: 500;
}
.demo-step:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.02);
}
.demo-step.active {
  background: var(--red);
  color: #fff;
  font-weight: 600;
}
.demo-step.done {
  color: #888;
}
.demo-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.demo-step.active .demo-step-dot {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.demo-step.done .demo-step-dot {
  background: var(--red);
}

/* Welcome / Finish overlays — full phone screen */
.demo-welcome,
.demo-finish {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  z-index: 12;
  border-radius: 0 0 32px 32px;
}
.demo-welcome.hide,
.demo-finish.hide {
  display: none;
}
.demo-welcome-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 10px;
  line-height: 1.2;
}
.demo-welcome-sub {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin: 0 auto 22px;
}
.demo-welcome-btn,
.demo-finish-btn {
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.demo-welcome-btn:hover,
.demo-finish-btn:hover {
  background: #c41f32;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(220, 53, 69, 0.5);
}
.demo-welcome-btn svg,
.demo-finish-btn svg {
  width: 12px;
  height: 12px;
}
.demo-welcome-graphic {
  width: 140px;
  height: 100px;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #fff5f6 0%, #ffe8eb 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.demo-welcome-graphic svg {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}
.demo-welcome-meta {
  margin-top: 14px;
  font-size: 10px;
  color: #999;
}
.demo-finish-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, #c41f32 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 28px -6px rgba(220, 53, 69, 0.5);
}
.demo-finish-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
.demo-finish-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
  align-items: stretch;
}
.demo-finish-actions > * {
  justify-content: center;
}
.demo-finish-btn.ghost {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.demo-finish-btn.ghost:hover {
  background: #f5f5f7;
  transform: none;
  box-shadow: none;
}

/* Tooltip — sits outside phone in the dark stage */
.demo-tooltip {
  position: absolute;
  background: #fff;
  color: #0a0a0a;
  border-radius: 10px;
  padding: 16px 18px;
  width: 240px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(220, 53, 69, 0.22);
  z-index: 25;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.demo-tooltip.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.demo-tooltip::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}
.demo-tooltip[data-arrow^="right"]::before {
  right: -6px;
  box-shadow: 1px -1px 0 rgba(220, 53, 69, 0.22);
}
.demo-tooltip[data-arrow="right"]::before {
  top: 50%;
  margin-top: -6px;
}
.demo-tooltip[data-arrow="right-top"]::before {
  top: 22px;
}
.demo-tooltip[data-arrow="right-bottom"]::before {
  bottom: 22px;
  top: auto;
}
.demo-tooltip[data-arrow^="left"]::before {
  left: -6px;
  box-shadow: -1px 1px 0 rgba(220, 53, 69, 0.22);
}
.demo-tooltip[data-arrow="left"]::before {
  top: 50%;
  margin-top: -6px;
}
.demo-tooltip[data-arrow="left-top"]::before {
  top: 22px;
}
.demo-tooltip[data-arrow="left-bottom"]::before {
  bottom: 22px;
  top: auto;
}

.tooltip-title {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.tooltip-body {
  font-size: 12.5px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 14px;
}
.tooltip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.tooltip-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.tooltip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  transition: all 0.25s;
}
.tooltip-dot.active {
  background: var(--red);
  width: 18px;
  border-radius: 999px;
}
.tooltip-actions {
  display: flex;
  gap: 6px;
}
.tooltip-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.tooltip-btn:hover {
  background: #c41f32;
}
.tooltip-btn.secondary {
  background: transparent;
  color: #888;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.tooltip-btn.secondary:hover {
  color: #0a0a0a;
  background: rgba(0, 0, 0, 0.04);
}

/* ===== App patterns inside phone ===== */
.app-header {
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  min-height: 42px;
}
.app-header-back {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  flex-shrink: 0;
}
.app-header-back svg {
  width: 18px;
}
.app-header-title {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.app-header-title small {
  display: block;
  font-size: 10px;
  color: #888;
  font-weight: 500;
  margin-top: 1px;
  letter-spacing: 0;
}
.app-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-header-icon {
  width: 20px;
  color: #0a0a0a;
  cursor: pointer;
  flex-shrink: 0;
}
.app-header-icon svg {
  width: 100%;
}
.app-logo {
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  letter-spacing: -0.02em;
  flex: 1;
}
.app-wallet-chip {
  background: #fff5f6;
  color: var(--red);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #ffdce0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.app-wallet-chip svg {
  width: 10px;
}

.app-search {
  margin: 8px 14px;
  background: #f0f0f2;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-search svg {
  width: 13px;
  color: #888;
  flex-shrink: 0;
}

.app-delivery-bar {
  background: #fff;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #555;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.app-delivery-bar svg {
  width: 12px;
  color: var(--red);
  flex-shrink: 0;
}
.app-delivery-bar b {
  color: #000;
}
.app-delivery-bar .chev {
  margin-left: auto;
  color: #999;
  font-size: 14px;
  line-height: 1;
}

.app-hero {
  margin: 12px 14px 16px;
  height: 140px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(120deg, #1a1a1e 0%, #3a3a3e 100%);
}
.app-hero-tag {
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.app-hero-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.app-hero-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  z-index: 1;
  margin-top: 3px;
}
.app-hero-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60%;
  object-fit: cover;
  opacity: 0.35;
}

.app-section-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0a;
}
.app-section-h a {
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
}

.app-cats-scroll {
  display: flex;
  gap: 10px;
  padding: 0 14px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.app-cats-scroll::-webkit-scrollbar {
  display: none;
}
.app-cat-tile {
  flex-shrink: 0;
  width: 62px;
  text-align: center;
  font-size: 10px;
  color: #333;
}
.app-cat-tile-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 5px;
  background: #f0f0f2;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.app-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 14px 16px;
}
.app-prod {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}
.app-prod-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f0f0f2;
}
.app-prod-body {
  padding: 8px 10px 10px;
}
.app-prod-name {
  font-size: 11px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}
.app-prod-price {
  font-size: 12px;
  font-weight: 700;
  color: #0a0a0a;
}
.app-prod-price s {
  font-weight: 400;
  color: #999;
  margin-left: 4px;
  font-size: 10px;
}
.app-prod-rating {
  font-size: 10px;
  color: #888;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.app-prod-rating svg {
  width: 10px;
  color: #ffa500;
}
.app-wish {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.app-wish.on {
  color: var(--red);
}
.app-wish svg {
  width: 13px;
  height: 13px;
}
.app-prod-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Category screen — filter chips + lang row */
.app-filter-chips {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: #fff;
}
.app-filter-chips::-webkit-scrollbar {
  display: none;
}
.app-filter-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  background: #f0f0f2;
  color: #333;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}
.app-filter-chip.on {
  background: #fff5f6;
  color: var(--red);
  border-color: #ffdce0;
}
.app-filter-chip svg {
  width: 11px;
}

.app-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #fff;
  font-size: 11px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.app-lang-row .meta {
  color: #777;
}
.app-lang {
  display: inline-flex;
  background: #f0f0f2;
  border-radius: 6px;
  padding: 2px;
  font-size: 10px;
  font-weight: 600;
}
.app-lang span {
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  color: #555;
}
.app-lang span.on {
  background: #fff;
  color: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.app-compare-chip {
  margin: 8px 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-compare-chip svg {
  width: 13px;
  color: var(--red);
}
.app-compare-chip .link {
  margin-left: auto;
  color: var(--red);
  font-size: 10px;
}

/* PDP */
.app-pdp-gallery {
  position: relative;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.app-pdp-main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f0f0f2;
}
.app-pdp-ar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
  border: 1px solid #ffdce0;
}
.app-pdp-ar svg {
  width: 11px;
}
.app-pdp-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.app-pdp-thumbs::-webkit-scrollbar {
  display: none;
}
.app-pdp-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.app-pdp-thumb.on {
  border-color: var(--red);
}

.app-pdp-info {
  padding: 14px;
  background: #fff;
}
.app-pdp-brand {
  font-size: 10px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 4px;
}
.app-pdp-info h3 {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.3;
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.app-pdp-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 11px;
  color: #555;
}
.app-pdp-rating svg {
  width: 12px;
  color: #ffa500;
}
.app-pdp-price {
  font-size: 20px;
  font-weight: 700;
  color: #0a0a0a;
}
.app-pdp-price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
  margin-left: 6px;
  font-weight: 400;
}
.app-pdp-vat {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

.app-pdp-variants {
  padding: 14px;
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-pdp-var-label {
  font-size: 11px;
  color: #555;
  margin-bottom: 8px;
  font-weight: 600;
}
.app-pdp-var-opts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.app-pdp-var-opt {
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  color: #333;
}
.app-pdp-var-opt.on {
  border-color: var(--red);
  color: var(--red);
  background: #fff5f6;
}
.app-pdp-var-opt.out {
  color: #bbb;
  text-decoration: line-through;
  background: #f5f5f7;
}
.app-pdp-var-stock {
  font-size: 10px;
  color: #3cc74a;
  margin-top: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.app-pdp-var-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3cc74a;
}

.app-pdp-reviews {
  padding: 14px;
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-pdp-reviews h4 {
  font-size: 12px;
  margin-bottom: 10px;
  color: #0a0a0a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.app-review {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  font-size: 11px;
}
.app-review:first-of-type {
  border-top: none;
  padding-top: 0;
}
.app-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0a0a0a;
  flex-wrap: wrap;
  gap: 4px;
}
.app-review-head .left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-review-stars {
  color: #ffa500;
  font-size: 10px;
}
.app-review-verified {
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.app-review-text {
  color: #666;
  line-height: 1.5;
}

/* Sticky bottom CTA */
.app-sticky-cta {
  flex-shrink: 0;
  background: #fff;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 -4px 16px -6px rgba(0, 0, 0, 0.08);
}
.app-sticky-cta .btn-main {
  flex: 1;
  background: var(--red);
  color: #fff;
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.app-sticky-cta .btn-ghost {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 11px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
}
.app-sticky-cta .btn-ghost svg {
  width: 16px;
}
.app-sticky-cta .total-chunk {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.app-sticky-cta .total-chunk .lbl {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.app-sticky-cta .total-chunk .amt {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
}

/* Cart */
.app-cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
}
.app-cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: #f0f0f2;
}
.app-cart-item-name {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.3;
  color: #0a0a0a;
}
.app-cart-item-meta {
  font-size: 10px;
  color: #888;
}
.app-cart-item-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  font-size: 10px;
  align-items: center;
}
.app-cart-item-actions a {
  color: var(--red);
  font-weight: 600;
}
.app-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f5f5f7;
  border-radius: 4px;
  padding: 2px;
  font-size: 11px;
}
.app-cart-qty button {
  background: #fff;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  color: #555;
}
.app-cart-qty span {
  padding: 0 3px;
  font-weight: 600;
  min-width: 14px;
  text-align: center;
}
.app-cart-item-price {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  color: #0a0a0a;
}

.app-cart-promo {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-cart-promo input {
  flex: 1;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 11px;
  outline: none;
}
.app-cart-promo button {
  background: #0a0a0a;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.app-cart-shipping-bar {
  margin: 12px 14px;
  font-size: 10px;
  color: #555;
  padding: 9px 11px;
  background: #fff5f6;
  border-radius: 6px;
  border: 1px solid #ffdce0;
}
.app-cart-shipping-bar b {
  color: var(--red);
}
.app-cart-shipping-bar .bar {
  height: 4px;
  background: #ffe5e8;
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.app-cart-shipping-bar .bar i {
  display: block;
  height: 100%;
  background: var(--red);
  width: 78%;
}

.app-cart-summary-inline {
  padding: 12px 14px 16px;
  font-size: 12px;
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-cart-summary-inline h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  margin-bottom: 10px;
}
.app-cart-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: #555;
}
.app-cart-line .mono {
  color: #0a0a0a;
  font-weight: 500;
}
.app-cart-line.total {
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0a;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 10px;
  margin-top: 6px;
}
.app-cart-vat-chip {
  background: #fff5f6;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* Checkout */
.app-checkout-steps {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.app-checkout-steps::-webkit-scrollbar {
  display: none;
}
.app-checkout-step {
  flex: 1;
  min-width: 72px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #999;
  font-weight: 600;
  padding: 5px 7px;
  border-radius: 4px;
}
.app-checkout-step.done {
  color: #0a0a0a;
}
.app-checkout-step.on {
  color: var(--red);
  background: #fff5f6;
}
.app-checkout-step-num {
  width: 16px;
  height: 16px;
  background: #f0f0f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.app-checkout-step.done .app-checkout-step-num {
  background: #0a0a0a;
  color: #fff;
}
.app-checkout-step.on .app-checkout-step-num {
  background: var(--red);
  color: #fff;
}

.app-checkout-card {
  background: #fff;
  padding: 12px 14px;
  border-top: 6px solid #f7f7f9;
  font-size: 12px;
  position: relative;
}
.app-checkout-card:first-of-type {
  border-top: none;
}
.app-checkout-card h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-checkout-card h4 a {
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.app-addr {
  line-height: 1.55;
  color: #333;
  font-size: 12px;
}
.app-addr b {
  color: #0a0a0a;
}
.app-addr .makani {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff5f6;
  color: var(--red);
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 6px;
  border: 1px solid #ffdce0;
}
.app-addr .makani svg {
  width: 10px;
}

.app-delivery-opts,
.app-pay-opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.app-delivery-opt,
.app-pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  cursor: pointer;
  background: #fff;
}
.app-delivery-opt.on,
.app-pay-opt.on {
  border-color: var(--red);
  background: #fff5f6;
}
.app-delivery-opt-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.app-delivery-opt.on .app-delivery-opt-radio,
.app-pay-opt.on .app-delivery-opt-radio {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px #fff;
}
.app-delivery-opt-body {
  flex: 1;
  min-width: 0;
}
.app-delivery-opt-title,
.app-pay-opt-name {
  font-weight: 600;
  font-size: 11.5px;
  color: #0a0a0a;
}
.app-delivery-opt-sub,
.app-pay-opt-sub {
  font-size: 9.5px;
  color: #888;
  margin-top: 2px;
}
.app-delivery-opt-price {
  font-size: 11.5px;
  font-weight: 700;
  color: #0a0a0a;
  flex-shrink: 0;
}
.app-pay-logo {
  font-size: 9.5px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 4px;
  background: #0a0a0a;
  color: #fff;
  letter-spacing: -0.02em;
  min-width: 42px;
  text-align: center;
  flex-shrink: 0;
}
.app-pay-logo.apple {
  background: #000;
}
.app-pay-logo.tabby {
  background: #3bffc1;
  color: #000;
}
.app-pay-logo.tamara {
  background: #f4b85d;
  color: #000;
}
.app-pay-logo.card {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Tracking */
.app-track-map {
  background: linear-gradient(135deg, #e8e8ec 0%, #f5f5f7 100%);
  height: 180px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.app-track-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 /
      30px 30px,
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 30px
      30px;
}
.app-track-road {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  transform: translateY(-50%);
}
.app-track-road::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background: var(--red);
  border-radius: 2px;
}
.app-track-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
  box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}
.app-track-pin.store {
  left: 10%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  color: #fff;
}
.app-track-pin.you {
  right: 10%;
  top: 50%;
  transform: translate(50%, -50%);
  border-color: #0a0a0a;
  color: #0a0a0a;
}
.app-track-rider {
  position: absolute;
  left: 58%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220, 53, 69, 0.4);
  animation: riderPulse 2s infinite;
}
.app-track-rider svg {
  width: 16px;
  color: #fff;
}
@keyframes riderPulse {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.4),
      0 0 0 0 rgba(220, 53, 69, 0.5);
  }
  50% {
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.4),
      0 0 0 12px rgba(220, 53, 69, 0);
  }
}
.app-track-eta {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 7px 11px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.app-track-eta-label {
  font-size: 9px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.app-track-eta-value {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.app-track-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 6px solid #f7f7f9;
}
.app-track-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 11px;
}
.app-track-card-h {
  font-size: 9px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}
.app-track-card-v {
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0a;
}
.app-track-card-sub {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
}

.app-track-timeline {
  padding: 14px;
  background: #fff;
  font-size: 11.5px;
}
.app-track-timeline h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  margin-bottom: 10px;
}
.app-track-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 5px 0;
  position: relative;
}
.app-track-step::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: -5px;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
}
.app-track-step:last-child::before {
  display: none;
}
.app-track-step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 2px;
}
.app-track-step.done .app-track-step-dot {
  background: var(--red);
  border-color: var(--red);
}
.app-track-step.on .app-track-step-dot {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}
.app-track-step-title {
  font-weight: 600;
  color: #0a0a0a;
  font-size: 11.5px;
}
.app-track-step.pending .app-track-step-title {
  color: #999;
}
.app-track-step-time {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
}

.app-track-actions {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-track-btn {
  flex: 1;
  padding: 10px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.app-track-btn.wa {
  background: #25d366;
  color: #fff;
  border: none;
}
.app-track-btn svg {
  width: 13px;
}

/* Vendor/Admin dashboard patterns */
.app-greeting {
  padding: 12px 14px 4px;
  background: #fff;
}
.app-greeting-title {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.app-greeting-sub {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.app-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 14px 12px;
  background: #fff;
}
.app-metric-row.two {
  grid-template-columns: 1fr 1fr;
}
.app-metric-row.four {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.app-metric {
  background: #fafafa;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.app-metric-label {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}
.app-metric-value {
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.15;
}
.app-metric-delta {
  font-size: 9px;
  margin-top: 3px;
  color: #3cc74a;
  font-weight: 700;
}
.app-metric-delta.neg {
  color: var(--red);
}
.app-metric.accent {
  background: #fff5f6;
  border-color: #ffdce0;
}
.app-metric.accent .app-metric-value {
  color: var(--red);
}

.app-chart {
  padding: 14px;
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.app-chart-head h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a0a0a;
}
.app-chart-head .val {
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0a;
}
.app-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 70px;
  margin-top: 4px;
}
.app-chart-bar {
  flex: 1;
  height: 100%;
  background: #f7f7f9;
  border-radius: 3px 3px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.app-chart-bar i {
  display: block;
  background: var(--red);
  opacity: 0.25;
  border-radius: 3px 3px 0 0;
}
.app-chart-bar.peak i {
  opacity: 1;
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.35);
}
.app-chart-labels {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  font-size: 9px;
  color: #999;
}
.app-chart-labels span {
  flex: 1;
  text-align: center;
}
.app-chart-labels span.on {
  color: var(--red);
  font-weight: 700;
}

.app-action-card {
  background: #fff;
  padding: 12px 14px;
  border-top: 6px solid #f7f7f9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-action-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff5f6;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-action-card-icon svg {
  width: 18px;
}
.app-action-card-body {
  flex: 1;
  min-width: 0;
}
.app-action-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 2px;
}
.app-action-card-sub {
  font-size: 10px;
  color: #888;
  line-height: 1.4;
}
.app-action-card-cta {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.app-list {
  background: #fff;
  border-top: 6px solid #f7f7f9;
}
.app-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 12px;
}
.app-list-row:last-child {
  border-bottom: none;
}
.app-list-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #f0f0f2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  overflow: hidden;
}
.app-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-list-body {
  flex: 1;
  min-width: 0;
}
.app-list-title {
  font-size: 12px;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 2px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.app-list-sub {
  font-size: 10px;
  color: #888;
  line-height: 1.4;
}
.app-list-right {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.app-list-value {
  font-size: 12px;
  font-weight: 700;
  color: #0a0a0a;
}

.app-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  white-space: nowrap;
}
.app-pill.pending {
  background: #fff4e5;
  color: #e65100;
}
.app-pill.success {
  background: #e8f5e9;
  color: #1b5e20;
}
.app-pill.danger {
  background: #ffebee;
  color: #b71c1c;
}
.app-pill.info {
  background: #e3f2fd;
  color: #0d47a1;
}
.app-pill.neutral {
  background: #f5f5f7;
  color: #555;
}
.app-pill.accent {
  background: #fff5f6;
  color: var(--red);
}

.app-alert {
  margin: 12px 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff4e5;
  color: #e65100;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-alert svg {
  width: 14px;
  flex-shrink: 0;
}
.app-alert.danger {
  background: #ffebee;
  color: #b71c1c;
}
.app-alert.success {
  background: #e8f5e9;
  color: #1b5e20;
}
.app-alert .tail {
  margin-left: auto;
  color: inherit;
  font-weight: 700;
  font-size: 10px;
}

.app-seg {
  display: flex;
  padding: 8px 14px;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.app-seg::-webkit-scrollbar {
  display: none;
}
.app-seg-item {
  flex-shrink: 0;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  background: #f0f0f2;
  color: #555;
  border-radius: 999px;
  cursor: pointer;
}
.app-seg-item.on {
  background: var(--red);
  color: #fff;
}
.app-seg-item .cnt {
  font-size: 9px;
  opacity: 0.8;
  margin-left: 3px;
}

.app-upload {
  margin: 12px 14px;
  height: 120px;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 11px;
  background: #fff;
  gap: 6px;
  position: relative;
}
.app-upload svg {
  width: 28px;
  color: #888;
}
.app-upload.filled {
  border-style: solid;
  border-color: #ffdce0;
  background: #fff5f6;
  color: var(--red);
}
.app-upload.filled svg {
  color: var(--red);
}
.app-upload .ai-hint {
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.app-field {
  padding: 10px 14px;
  background: #fff;
}
.app-field + .app-field {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.app-field-label {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.app-field-input {
  width: 100%;
  padding: 8px 10px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  font-size: 12px;
  outline: none;
  color: #0a0a0a;
  box-sizing: border-box;
}
.app-field-input.mono {
}
.app-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 12px;
}
.app-toggle-row:last-child {
  border-bottom: none;
}
.app-toggle-body {
  flex: 1;
  min-width: 0;
}
.app-toggle-title {
  font-size: 12px;
  font-weight: 600;
  color: #0a0a0a;
}
.app-toggle-sub {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
}
.app-toggle {
  position: relative;
  width: 34px;
  height: 20px;
  background: #d0d0d0;
  border-radius: 999px;
  transition: background 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}
.app-toggle::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.app-toggle.on {
  background: var(--red);
}
.app-toggle.on::after {
  left: 16px;
}

.app-verify-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 11px;
}
.app-verify-row:last-child {
  border-bottom: none;
}
.app-verify-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3cc74a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}
.app-verify-check.fail {
  background: #e0e0e2;
  color: #999;
}
.app-verify-body {
  flex: 1;
  min-width: 0;
}
.app-verify-title {
  font-weight: 600;
  color: #0a0a0a;
  font-size: 11px;
}
.app-verify-sub {
  font-size: 10px;
  color: #888;
  margin-top: 1px;
}
.app-verify-score {
  font-size: 13px;
  font-weight: 700;
  color: #3cc74a;
}

.app-sla-timer {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
}
.app-sla-timer.ok {
  color: #3cc74a;
}
.app-sla-timer svg {
  width: 10px;
}

.app-bullet {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  color: #555;
  background: #fff;
}
.app-bullet:first-of-type {
  padding-top: 10px;
}
.app-bullet:last-of-type {
  padding-bottom: 10px;
}
.app-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3cc74a;
  flex-shrink: 0;
}
.app-bullet-dot.warn {
  background: #ff9800;
}
.app-bullet-dot.err {
  background: var(--red);
}
.app-bullet b {
  color: #0a0a0a;
  font-weight: 700;
}
.app-bullet .tail {
  margin-left: auto;
  font-size: 10px;
  color: #888;
}

/* Responsive */
@media (max-width: 1024px) {
  .demo-frame {
    grid-template-columns: 1fr;
  }
  .demo-stage {
    min-height: 700px;
    padding: 20px 16px 20px;
  }
  .demo-stepper {
    flex-direction: row;
    overflow-x: auto;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 4px 0;
  }
  .demo-step {
    padding: 10px 14px;
    white-space: nowrap;
  }
  .demo-step.active {
    background: #fff;
    color: var(--red);
    border-bottom: 2px solid var(--red);
  }
}
@media (max-width: 720px) {
  .demo-stage {
    min-height: auto;
    padding: 24px 16px 20px;
    flex-direction: column;
    gap: 16px;
  }
  .demo-phone {
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: -60px;
  }
  .demo-tooltip {
    position: static !important;
    width: auto !important;
    max-width: 420px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 auto;
    display: none;
  }
  .demo-tooltip.active {
    display: block;
    opacity: 1;
    transform: none;
  }
  .demo-tooltip::before {
    display: none;
  }
  .demo-stage-restart {
    position: absolute;
  }
}
@media (max-width: 420px) {
  .demo-phone {
    transform: scale(0.8);
    margin-bottom: -120px;
  }
}
