/* ════════════════════════════════════════════════════════════
   UBEREATS CLONE LANDING PAGE — page-specific styles
   Builds on top of ../../taxi-app-development/css/styles.css
   (reuses variables: --primary, --secondary, --text-dark, etc.)
   ════════════════════════════════════════════════════════════ */

/* ── GREEN THEME OVERRIDE (food-delivery / UberEats) ──
   Re-points the base sheet's yellow brand accent to UberEats emerald for
   this page only. The OnGraph logo is an image pair, so it is unaffected. */
:root {
  --primary: #6B8E23;
  --primary-dark: #55711A;
  --gradient-cta: linear-gradient(135deg, #6B8E23 0%, #55711A 100%);
  --shadow-cta: 0 10px 28px rgba(107,142,35,0.38);
}
.btn-primary { color: #FFFFFF; box-shadow: 0 8px 24px rgba(107,142,35,0.35); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(107,142,35,0.50); }
.btn-primary:active { box-shadow: 0 6px 16px rgba(107,142,35,0.35); }
.btn-outline:hover { color: var(--primary-dark); }
/* Nav "Book A Free Demo" CTA — green shadow/outline to match theme */
.nav-cta { box-shadow: 0 4px 14px rgba(107,142,35,0.32); }
.nav-cta:hover { box-shadow: 0 12px 28px rgba(107,142,35,0.50); }
.nav-cta:focus-visible { outline-color: rgba(107,142,35,0.55); }
/* Open FAQ item — green border to match theme */
.faq-item[open] { border-color: rgba(107,142,35,0.45); }

/* ── HERO OVERRIDE (lighter, more product-focused than taxi hero) ── */
.uc-hero {
  background: linear-gradient(135deg, #F4F8FB 0%, #FFFFFF 60%, #F1F5E3 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.uc-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(107,142,35,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.uc-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Olive-tinted hero badge (overrides the base sheet's own badge colour).
   Only the light sections see these values — css/dark-theme.css re-colours the
   badge for the dark hero, where this #55711A would be invisible. */
.uc-hero .hero-badge {
  background: rgba(107,142,35, 0.12);
  border-color: rgba(107,142,35, 0.35);
  color: #55711A;
}
.uc-hero .hero-badge::before { background: #6B8E23; }

.uc-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 22px;
  text-wrap: balance;
}

.uc-hero-content h1 .accent {
  color: var(--primary);
}

.uc-hero-content p {
  font-size: 1.12rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.uc-hero-trust {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin-top: 36px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(74,36,12, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(74,36,12, 0.08), 0 2px 6px rgba(74,36,12, 0.04);
  flex-wrap: wrap;
}

.uc-hero-trust .uc-trust-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 22px;
  border-right: 1px solid rgba(74,36,12, 0.08);
}
.uc-hero-trust .uc-trust-stat:last-child { border-right: none; }

.uc-trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107,142,35,0.18) 0%, rgba(107,142,35,0.08) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.uc-trust-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-dark);
}

.uc-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.uc-trust-text strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.uc-trust-text strong em {
  font-style: normal;
  color: var(--primary);
  margin-left: 1px;
}
.uc-trust-text span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.3px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Tablet & mobile: force a clean 3-column grid so the strip never wraps
   into an awkward 2+1 layout. Stack icon → number → label vertically
   inside each cell for a card-style look. */
@media (max-width: 900px) {
  .uc-hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 8px;
    flex-wrap: nowrap;
  }
  .uc-hero-trust .uc-trust-stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 8px 6px;
    border-right: 1px solid rgba(74,36,12, 0.08);
  }
  .uc-hero-trust .uc-trust-stat:last-child { border-right: none; }
  .uc-trust-icon { width: 40px; height: 40px; }
  .uc-trust-icon svg { width: 20px; height: 20px; }
  .uc-trust-text { align-items: center; }
  .uc-trust-text strong { font-size: 1.45rem; }
  .uc-trust-text span { font-size: 0.7rem; letter-spacing: 0.4px; }
}

@media (max-width: 420px) {
  .uc-hero-trust { padding: 12px 4px; }
  .uc-hero-trust .uc-trust-stat { padding: 6px 2px; gap: 6px; }
  .uc-trust-icon { width: 34px; height: 34px; border-radius: 10px; }
  .uc-trust-icon svg { width: 16px; height: 16px; }
  .uc-trust-text strong { font-size: 1.2rem; }
  .uc-trust-text span { font-size: 0.62rem; }
}

.uc-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uc-hero-illu {
  width: 100%;
  max-width: 560px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  animation: ucCarFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(74,36,12,0.18));
}

@keyframes ucCarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .uc-hero-image { animation: none; }
}

.uc-hero-tag {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 36px rgba(74,36,12,0.18);
  font-size: 0.82rem;
}

.uc-hero-tag .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6B8E23;
  box-shadow: 0 0 0 4px rgba(107,142,35,0.18);
}

.uc-hero-tag.tag-top { top: 18px; left: -18px; }
.uc-hero-tag.tag-bot { bottom: 24px; right: -18px; }

/* ── SECTION INTRO (smaller centered intro w/ accent word) ── */
.uc-section { padding:48px 0; }
.uc-section-alt { background: var(--light-bg); }
.uc-section-dark { background: var(--secondary); color: var(--white); }

.uc-intro {
  max-width: 760px;
  margin: 0 auto 16px;
  text-align: center;
}
.uc-intro h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.uc-intro h2 .accent { color: var(--primary); }
.uc-intro p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.uc-section-dark .uc-intro h2 { color: var(--white); }
.uc-section-dark .uc-intro p { color: rgba(255,255,255,0.7); }

/* ── INDUSTRY USE-CASE GRID (3 cols × ~4 rows) ── */
.uc-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.uc-industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.uc-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(74,36,12,0.10);
  border-color: var(--primary);
}

.uc-industry-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #F4F8FB;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.uc-industry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.uc-industry-card:hover .uc-industry-thumb img {
  transform: scale(1.06);
}

.uc-industry-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.uc-industry-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.uc-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: gap 0.2s ease;
}
.uc-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s ease;
}
.uc-link:hover { color: var(--primary-dark); }
.uc-link:hover::after { transform: translateX(4px); }

/* ── PITCH (Best Script Ready to Launch) ── */
.uc-pitch .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.uc-pitch h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}

.uc-pitch h2 .accent { color: var(--primary); }

.uc-pitch p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.uc-pitch-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.uc-pitch-image {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  border-radius: 24px;
  filter: drop-shadow(0 28px 56px rgba(74,36,12,0.18));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.uc-pitch-image:hover { transform: translateY(-6px); }

/* ── APP VARIANTS (User App / Driver App / Admin Panel) ──
   Sticky scroll-stack: each card pins under the header as the page scrolls,
   and the next card scrolls up to stack on top — clonifynow-style. */
.uc-apps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Provide a stacking context so the box-shadow on later cards
     correctly layers above earlier (pinned) ones. */
  position: relative;
}

.uc-app-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  position: sticky;
  top: 100px;                /* sits below the fixed header */
  box-shadow: 0 24px 60px rgba(74,36,12,0.08);
  transition: transform 0.4s ease;
}

/* Each subsequent card sits a touch lower than the previous, so when
   pinned you see ~30px of the earlier card peeking out at the top —
   that's what produces the visible "stack". */
.uc-app-block:nth-child(1) { top:  90px; z-index: 1; }
.uc-app-block:nth-child(2) { top: 120px; z-index: 2; }
.uc-app-block:nth-child(3) { top: 150px; z-index: 3; }

.uc-app-block.flip { grid-template-columns: 1.2fr 1fr; }
.uc-app-block.flip .uc-app-media { order: 2; }
.uc-app-block.flip .uc-app-body  { order: 1; }

.uc-app-media {
  background: linear-gradient(135deg, #F1F5E3 0%, #DCE8BC 100%);
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0px;
}
.uc-app-media.media-blue { background: linear-gradient(135deg, #E7EFF6 0%, #C7D6E6 100%); }
.uc-app-media.media-dark { background: linear-gradient(135deg, #1A2828 0%, #0F1A1A 100%); }

.uc-app-mock {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(74,36,12,0.25));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.uc-app-block:hover .uc-app-mock { transform: translateY(0px) scale(1.02); }

/* Honour reduced-motion: disable sticky stack so users who opt out
   don't get unexpected pinning behaviour. */
@media (prefers-reduced-motion: reduce) {
  .uc-app-block { position: static; transition: none; }
  .uc-app-mock { transition: none; }
}

.uc-app-tag {
  display: inline-block;
  background: rgba(107,142,35, 0.12);
  border: 1px solid rgba(107,142,35, 0.35);
  color: #55711A;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.uc-app-body h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.uc-app-body > p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.uc-app-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 26px;
}

.uc-app-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.94rem;
  font-weight: 500;
}

.uc-app-bullets li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%230F1A1A'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.uc-store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.uc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-dark);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.uc-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.uc-badge svg { width: 24px; height: 24px; fill: var(--white); }
.uc-badge small { display: block; font-size: 0.65rem; opacity: 0.7; line-height: 1; margin-bottom: 2px; }
.uc-badge strong { font-weight: 700; font-size: 0.95rem; }

/* ── WHY CHOOSE — 4 col gradient cards ── */
.uc-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.uc-why-card {
  border-radius: 22px;
  padding: 34px 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.uc-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(74,36,12,0.20);
}

.uc-why-card .uc-why-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.18);
  letter-spacing: -1px;
}

.uc-why-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.uc-why-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.92;
}

.uc-why-1 { background: linear-gradient(160deg, #FF6B6B 0%, #E85D04 100%); }
.uc-why-2 { background: linear-gradient(160deg, #6B8E23 0%, #55711A 100%); }
.uc-why-3 { background: linear-gradient(160deg, #16A2D7 0%, #0E6E99 100%); }
.uc-why-4 { background: linear-gradient(160deg, #1F3C88 0%, #0F1F4D 100%); }

/* ── ADD-ON FEATURES — 6 icon cards (dark band) ── */
.uc-addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.uc-addon-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.uc-addon-card:hover {
  background: rgba(107,142,35,0.10);
  border-color: rgba(107,142,35,0.45);
  transform: translateY(-4px);
}

.uc-addon-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: rgba(107,142,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-addon-icon svg { width: 28px; height: 28px; fill: var(--primary); }

.uc-addon-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

.uc-addon-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ── BUSINESS BENEFITS — 6 cards (light bg, soft tinted) ── */
.uc-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.uc-benefit-card {
  padding: 30px 26px;
  border-radius: 16px;
  background: var(--white);
  border-left: 4px solid var(--primary);
  box-shadow: 0 6px 18px rgba(74,36,12,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uc-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(74,36,12,0.10);
}

.uc-benefit-card.tint-1 { border-color: #E85D04; background: #FFF5F7; }
.uc-benefit-card.tint-2 { border-color: #16A2D7; background: #F0F9FD; }
.uc-benefit-card.tint-3 { border-color: #14B8A6; background: #ECFDF9; }
.uc-benefit-card.tint-4 { border-color: #6B8E23; background: #F0FBF7; }
.uc-benefit-card.tint-5 { border-color: #8B5CF6; background: #F7F4FF; }
.uc-benefit-card.tint-6 { border-color: #F97316; background: #FFF6EE; }

.uc-benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.uc-benefit-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── CORE FEATURES — 2-col rows ── */
.uc-core {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.uc-core-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.uc-core-row:last-child,
.uc-core-row:nth-last-child(2) { border-bottom: none; }

.uc-core-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(107,142,35,0.15);
  color: var(--primary-dark);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.uc-core-row h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.uc-core-row p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── REVENUE MODELS — 4 colour-coded cards ── */
.uc-revenue {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.uc-revenue-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uc-revenue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(74,36,12,0.10);
}

.uc-revenue-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
}

.uc-revenue-card.rev-1::before { background: #16A2D7; }
.uc-revenue-card.rev-2::before { background: #8B5CF6; }
.uc-revenue-card.rev-3::before { background: #E85D04; }
.uc-revenue-card.rev-4::before { background: #6B8E23; }

.uc-revenue-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.uc-revenue-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── DEVELOPMENT PROCESS — horizontal stepper ── */
.uc-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-top: 20px;
}

.uc-process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.uc-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.uc-process-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary);
  box-shadow: 0 8px 22px rgba(107,142,35,0.20);
}

.uc-process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.uc-process-step p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .uc-industries { grid-template-columns: repeat(2, 1fr); }
  .uc-why { grid-template-columns: repeat(2, 1fr); }
  .uc-addons { grid-template-columns: repeat(2, 1fr); }
  .uc-benefits { grid-template-columns: repeat(2, 1fr); }
  .uc-process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .uc-process::before { display: none; }
}

@media (max-width: 900px) {
  /* nav→hamburger is NOT set here any more: common-css/header.css collapses
     every OnGraph page at 1024px, which already covers the 769–899px crowding
     this block used to fix, and it out-specifies a bare .nav-links anyway. */
  .uc-hero { padding: 120px 0 60px; }
  .uc-hero .container { grid-template-columns: 1fr; gap: 40px; }
  /* On mobile: show the right-side visual first, content below */
  .uc-hero-visual  { order: 2; }
  .uc-hero-content { order: 1; text-align: center; }
  .uc-hero-content p { margin-left: auto; margin-right: auto; }
  .uc-hero-trust { justify-content: center; }
  .uc-pitch .container { grid-template-columns: 1fr; gap: 36px; }
  .uc-app-block,
  .uc-app-block.flip {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .uc-app-block.flip .uc-app-media,
  .uc-app-block.flip .uc-app-body { order: initial; }
  /* Tablet/mobile: one column makes each card taller than the screen, so a sticky stack
     would slide the next card over this one's CTA button. Plain flow instead. */
  .uc-app-block { position: relative; top: auto; }
  .uc-core { grid-template-columns: 1fr; }
  .uc-revenue { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .uc-section { padding: 64px 0; }
  .uc-industries { grid-template-columns: 1fr; }
  .uc-why { grid-template-columns: 1fr; }
  .uc-addons { grid-template-columns: 1fr; }
  .uc-benefits { grid-template-columns: 1fr; }
  .uc-process { grid-template-columns: 1fr; row-gap: 30px; }
  /* Hero CTAs — equal full-width buttons, stacked */
  .uc-hero .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .uc-hero .hero-btns .btn-primary,
  .uc-hero .hero-btns .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    min-height: 56px;
    box-sizing: border-box;
  }
  .uc-app-block { padding: 28px 22px; }
  .uc-app-body h3 { font-size: 1.5rem; }
  .uc-app-bullets { grid-template-columns: 1fr; }
  /* Mobile: each card is taller than the viewport, so sticky stacking
     would trap content off-screen. Fall back to a normal scroll list. */
  .uc-app-block,
  .uc-app-block:nth-child(1),
  .uc-app-block:nth-child(2),
  .uc-app-block:nth-child(3) {
    position: static;
    top: auto;
  }
  .uc-hero-tag.tag-top { top: 8px; left: 8px; }
  .uc-hero-tag.tag-bot { bottom: 8px; right: 8px; }
}

/* ════════════════════════════════════════════════════════════
   UBEREATS-CLONE ADDITIONS (food-delivery specific sections)
   ════════════════════════════════════════════════════════════ */

/* ── SUCCESS STATS STRIP ── */
.ue-stats {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ue-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.ue-stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(74,36,12,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ue-stat-box:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(74,36,12,0.10); }
.ue-stat-box strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.ue-stat-box span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ue-stats-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 24px 50px rgba(74,36,12,0.16));
}

/* ── END-TO-END FEATURE TABS ── */
.ue-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 52px;
  padding: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 60px;
  box-shadow: var(--shadow-sm);
}
.ue-tab-btn {
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-mid);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
}
.ue-tab-btn:hover { color: var(--text-dark); background: rgba(107,142,35,0.08); }
.ue-tab-btn.active {
  background: var(--gradient-cta);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(107,142,35,0.34);
}
.ue-tab-panel { display: none; }
.ue-tab-panel.active {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  animation: ueFadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes ueFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ue-tab-panel.active { animation: none; } }

.ue-tab-shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(150deg, #F1F5E3 0%, #DCE8BC 100%);
  padding:0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ue-tab-shot::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, transparent 70%);
  pointer-events: none;
}
.ue-tab-shot img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: drop-shadow(0 22px 44px rgba(74,36,12,0.22));
}
.ue-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ue-feature-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ue-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107,142,35,0.40);
}
.ue-feature-ic {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(107,142,35,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ue-feature-item:hover .ue-feature-ic { background: var(--gradient-cta); transform: scale(1.05); }
.ue-feature-item:hover .ue-feature-ic svg { fill: #FFFFFF; }
.ue-feature-ic svg { width: 23px; height: 23px; fill: var(--primary-dark); transition: fill 0.25s ease; }
.ue-feature-item h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text-dark); margin-bottom: 5px; }
.ue-feature-item p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.55; }

@media (max-width: 900px) {
  .ue-stats { grid-template-columns: 1fr; gap: 32px; }
  .ue-stats-visual { order: -1; }
  .ue-tab-panel.active { grid-template-columns: 1fr; gap: 36px; }
  .ue-tab-shot { max-width: 460px; margin: 0 auto; padding: 22px; }
}
@media (max-width: 640px) {
  .ue-stats-grid { grid-template-columns: 1fr 1fr; }
  .ue-feature-list { grid-template-columns: 1fr; }
  .ue-tabs-nav { gap: 4px; padding: 5px; border-radius: 22px; }
  .ue-tab-btn { padding: 10px 16px; font-size: 0.82rem; }
  .ue-feature-item { padding: 15px; }
}

/* ════════════════════════════════════════════════════════════
   LIVE DEMO VIDEO  (ported from food-delivery-app-development,
   recoloured to the Fresh Market cherry-red theme)
   ════════════════════════════════════════════════════════════ */
.video-demo-stage {
  position: relative; display: block; max-width: 960px; margin: 8px auto 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.video-demo-img {
  display: block; width: 100%; height: auto; border-radius: 22px;
  /* box-shadow: 0 30px 70px rgba(70,40,20,0.18); */
  transition: transform 0.6s ease;
}
.video-demo-stage::after {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  background: radial-gradient(circle at center, rgba(15,10,8,0.12) 0%, rgba(15,10,8,0) 55%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
  display: none;
}
.video-demo-stage:hover .video-demo-img { transform: scale(1.03); }
.video-demo-stage:hover::after { opacity: 1; }
.video-demo-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 138px; height: 138px; display: grid; place-items: center; z-index: 2;
}
.video-demo-badge::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255,255,255,0.95); box-shadow: 0 10px 30px rgba(15,10,8,0.20);
}
.video-demo-badge-text {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: vdSpin 16s linear infinite;
}
.video-demo-badge-text text {
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; fill: var(--primary);
}
.video-demo-play {
  position: relative; width: 80px; height: 80px; border-radius: 50%;
  background: var(--gradient-cta); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(232,93,4,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-demo-play::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--primary); opacity: 0.5; z-index: -1;
  animation: vdPulse 2.4s ease-out infinite;
}
.video-demo-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-demo-stage:hover .video-demo-play {
  transform: scale(1.08); box-shadow: 0 14px 38px rgba(232,93,4,0.55);
}
@keyframes vdSpin { to { transform: rotate(360deg); } }
@keyframes vdPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 768px) {
  .video-demo-stage { max-width: 560px; margin-top: 24px; }
  .video-demo-badge { width: 110px; height: 110px; }
  .video-demo-play { width: 62px; height: 62px; }
  .video-demo-play svg { width: 24px; height: 24px; }
  .video-demo-badge-text text { font-size: 9.5px; letter-spacing: 1.4px; }
}
@media (max-width: 480px) {
  .video-demo-badge { width: 94px; height: 94px; }
  .video-demo-play { width: 54px; height: 54px; }
  .video-demo-play svg { width: 21px; height: 21px; margin-left: 3px; }
  .video-demo-badge-text text { font-size: 8.5px; letter-spacing: 2.25px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-demo-badge-text { animation: none; }
  .video-demo-play::before { animation: none; }
  .video-demo-img { transition: none; }
}

/* video demo modal */
.video-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.video-modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
.video-modal-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: rgba(10,7,5,0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: none; cursor: pointer; padding: 0; margin: 0; -webkit-appearance: none; appearance: none;
}
.video-modal-content {
  position: relative; width: 100%; max-width: 960px;
  transform: scale(0.9) translateY(24px); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.36,0.64,1), opacity 0.3s ease;
}
.video-modal.is-open .video-modal-content { transform: scale(1) translateY(0); opacity: 1; }
.video-modal-close {
  position: absolute; top: -52px; right: 0; width: 42px; height: 42px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: background 0.25s ease, transform 0.3s ease, border-color 0.25s ease, color 0.25s ease;
  z-index: 2;
}
.video-modal-close:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
  transform: rotate(90deg) scale(1.05);
}
.video-modal-close svg { width: 22px; height: 22px; fill: currentColor; }
.video-modal-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-loader {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; background: #140D08;
  z-index: 1; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.video-modal-frame.is-loading .video-modal-loader { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
.video-modal-spinner {
  width: 52px; height: 52px; border: 4px solid rgba(255,255,255,0.12);
  border-top-color: var(--primary); border-radius: 50%;
  animation: videoSpin 0.85s linear infinite;
}
.video-modal-loader-text { color: rgba(255,255,255,0.65); font-size: 0.88rem; letter-spacing: 0.5px; }
@keyframes videoSpin { to { transform: rotate(360deg); } }
body.video-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .video-modal { padding: 16px; }
  .video-modal-close { top: -46px; width: 38px; height: 38px; }
}

/* Safari: body{overflow-x:hidden} makes body a scroll container, and WebKit
   then pins position:sticky to body (which never scrolls) instead of the
   viewport, so sticky never sticks. `clip` clips the same way without
   creating a scroll container. Browsers without `clip` ignore this line and
   keep `hidden`, so nothing gets worse there. */
body { overflow-x: clip; }
