:root {
    --deliveroo-teal: #00CCBC;
    --dark-grey: #2e3333;
    --light-bg: #f5f5f1;
}

.delivery-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background-color: var(--light-bg);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Big Background Text */
.bg-title-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 25vw;
    font-weight: 800;
    color: #e9e9e4; /* Slightly darker than BG */
    z-index: 1;
    margin: 0;
    letter-spacing: -10px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    width: 90%;
    max-width: 1400px;
    align-items: center;
    justify-content: space-between;
}

/* Left Profile Section */
.rider-badge {
    flex: 1;
    z-index: 3;
}

.rider-badge .label {
    font-size: 14px;
    color: #888;
    margin-bottom: 2px;
}

.rider-badge .rider-name {
    font-weight: bold;
    margin-bottom: 15px;
}

.rider-image-hex {
    width: 100px;
    height: 120px;
    background: #000;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    overflow: hidden;
}

.rider-image-hex img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center Visual */
.main-visual {
    flex: 2;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.main-visual img {
    max-width: 120%; /* Allows it to overlap text */
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
}

/* Right Content */
.content-box {
    flex: 1.5;
    padding-left: 50px;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

.main-heading span {
    color: #555;
    font-weight: 400;
}

.description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.cta-button {
    background: #FFD200; /* Yellow from image */
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.dot {
    width: 5px;
    height: 5px;
    background: #000;
    border-radius: 50%;
}

/* Bottom Faint Text */
.bg-bottom-text {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 10rem;
    color: rgba(0,0,0,0.03);
    margin: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .delivery-hero { padding: 26px 0; }
    .hero-container { flex-direction: column; text-align: center; }
    .content-box { padding-left: 0; margin-top: 22px; }
    .bg-title-text { font-size: 30vw; letter-spacing: -6px; }
    .main-visual { width: 100%; }
    .main-visual img {
        width: min(520px, 92vw);
        max-width: 92vw;
        filter: none;
    }
    .hero-cta-row { justify-content: center; width: 100%; }
    .hero-cta-row a { width: 100%; justify-content: center; }
}

:root {
    --cream-bg: #fdfaf3;
    --text-grey: #333;
    --faint-grey: #e8e6df;
    --deliveroo-yellow: #FFD200;
}

.rider-stats-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--cream-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background Large Text */
.bg-large-text {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18vw;
    color: var(--faint-grey);
    z-index: 1;
    margin: 0;
    font-weight: 700;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* LEFT SIDE */
.stats-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.vertical-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plus-icons {
    font-size: 24px;
    color: #aaa;
    margin-bottom: 20px;
    display: block;
}

.vertical-p {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    color: #999;
    max-height: 300px;
    line-height: 1.5;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 20px 10px;
    width: 60px;
    height: 400px;
}

.pill-track {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.pill-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 11px;
    color: #bbb;
    letter-spacing: 1px;
}

.circle-image {
    width: 140px; /* Overhangs the pill */
    height: 140px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: 5px solid var(--cream-bg);
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CENTER SIDE */
.stats-center {
    flex: 1.5;
    padding: 0 40px;
}

.est-year {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-grey);
}

.stats-desc {
    color: #777;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 450px;
}

.read-more-btn {
    background: var(--deliveroo-yellow);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot { width: 4px; height: 4px; background: #000; border-radius: 50%; }

/* RIGHT SIDE */
.stats-right {
    flex: 2;
    display: flex;
    justify-content: flex-end;
}

.subject-img {
    max-width: 110%; /* Makes it peek out/large */
    height: auto;
    filter: drop-shadow(-20px 30px 50px rgba(0,0,0,0.1));
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-container { flex-direction: column; text-align: center; }
    .vertical-info, .feature-pill { display: none; }
    .stats-center { margin: 40px 0; }
    .stats-center .stats-desc { margin: 0 auto 40px; }
}


:root {
    --bg-cream: #fffdf7;
    --text-brown: #6b4f1a;
    --text-muted: #8a8a8a;
    --card-border: rgba(0, 0, 0, 0.06);
    --accent-yellow: #f8e1a1;
}

.rider-features {
    padding: 100px 20px;
    background: radial-gradient(circle at center, #ffffff 0%, var(--bg-cream) 100%);
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styling */
.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.badge {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #e2e2e2;
    font-size: 14px;
    color: var(--text-brown);
    background: white;
}

.section-title {
    font-size: 3.5rem;
    color: var(--text-brown);
    margin: 25px 0 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

/* Card Styling */
.feature-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 79, 26, 0.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.feature-card small {
    color: #b5b5b5;
    font-size: 0.85rem;
}

/* Illustration Handling */
.card-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.card-illustration img {
    width: 180px;
    height: auto;
    filter: sepia(0.5) hue-rotate(10deg) saturate(1.5); /* Mimics the yellow/gold icon vibe */
}

/* Staggered Content Classes */
.content-top {
    justify-content: flex-start;
}

.content-bottom {
    justify-content: flex-end;
}

/* JS-driven reveal animation (safe fallback: only activates when JS adds html.reveal-init) */
html.reveal-init .feature-card{
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}
html.reveal-init .feature-card.is-visible{
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
    html.reveal-init .feature-card{
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.content-bottom .card-text {
    order: 2; /* Moves text to bottom */
}
.content-bottom .card-illustration {
    order: 1; /* Moves image to top */
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.5rem; }
    .feature-card { padding: 30px; }
}


/* =========================================================
   Deliveroo Rider Clone – NEW SECTIONS CSS
   Add this BELOW your existing CSS
   ========================================================= */

/* ---------- Global helpers (safe) ---------- */
:root{
  --card-bg: rgba(255,255,255,0.55);
  --card-bg-strong: rgba(255,255,255,0.75);
  --card-shadow: 0 18px 45px rgba(0,0,0,0.06);
  --border-soft: rgba(0,0,0,0.06);
  --text-dark: #2e3333;
  --text-mid: #666;
  --text-soft: #8a8a8a;
  --accent-yellow: #FFD200;
  --accent-teal: #00CCBC;
  --cream: #fffdf7;
}

/* ---------- Hero CTA row (optional if you used these classes) ---------- */
.hero-cta-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.cta-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.5);
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta-outline:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.8);
}
.hero-trust{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 18px;
}
.hero-trust span{
  font-size: 12px;
  color: #6b6b6b;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.55);
}

/* =========================================================
   TECH STACK SECTION
   ========================================================= */
.tech-stack-section{
  position: relative;
  padding: 110px 20px;
  background: radial-gradient(circle at 40% 15%, #ffffff 0%, var(--cream) 55%, #f6f3ea 100%);
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
}

/* faint background text */
.tech-stack-section::before{
  content: "TECH";
  position:absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18vw;
  font-weight: 800;
  color: rgba(0,0,0,0.035);
  letter-spacing: -0.06em;
  z-index: 0;
  pointer-events:none;
}

.tech-header{
  position: relative;
  z-index: 2;
  text-align:center;
  max-width: 950px;
  margin: 0 auto 55px;
}

.tech-grid{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* Tech card */
.tech-card{
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 32px 32px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow:hidden;
}

.tech-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(circle at 20% 10%, rgba(255,210,0,0.18) 0%, rgba(0,204,188,0.12) 35%, transparent 65%);
  opacity: .55;
  pointer-events:none;
}

.tech-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.08);
  background: var(--card-bg-strong);
}

.tech-card h3{
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* clean list */
.tech-list{
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tech-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: var(--text-mid);
  line-height: 1.6;
  font-size: 0.98rem;
}
.tech-list li::before{
  content:"";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-yellow));
  flex: 0 0 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.tech-cta{
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 34px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Make your existing .cta-button work for anchor too */
a.cta-button{
  text-decoration: none;
  color: #000;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section{
  position: relative;
  padding: 110px 20px;
  background: #fdfaf3;
  overflow:hidden;
  font-family: 'Inter', system-ui, sans-serif;
}

.faq-section::before{
  content:"FAQ";
  position:absolute;
  bottom: -60px;
  left: 0;
  font-size: 16vw;
  font-weight: 800;
  color: rgba(0,0,0,0.03);
  letter-spacing: -0.05em;
  z-index: 0;
  pointer-events:none;
}

.faq-header{
  position: relative;
  z-index: 2;
  text-align:center;
  max-width: 900px;
  margin: 0 auto 55px;
}

.faq-list{
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  display:grid;
  gap: 14px;
}

/* Details accordion */
.faq-item{
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.55);
  box-shadow: 0 14px 34px rgba(0,0,0,0.05);
  overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.faq-item[open]{
  background: rgba(255,255,255,0.85);
  box-shadow: 0 24px 55px rgba(0,0,0,0.08);
}

.faq-item summary{
  cursor: pointer;
  padding: 18px 54px 18px 20px;
  list-style: none;
  font-weight: 800;
  color: var(--text-dark);
  position: relative;
  outline: none;
  user-select: none;
  letter-spacing: -0.01em;
}

/* remove default marker */
.faq-item summary::-webkit-details-marker{ display:none; }

/* plus/minus icon */
.faq-item summary::after{
  content:"+";
  position:absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,210,0,0.25);
  border: 1px solid rgba(0,0,0,0.06);
  color: #000;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.faq-item[open] summary::after{
  content:"–";
  background: rgba(0,204,188,0.20);
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer{
  padding: 0 20px 18px;
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* bottom CTA row */
.faq-bottom-cta{
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:center;
  align-items:center;
}

/* =========================================================
   Optional: smooth section typography alignment
   (uses your existing .badge, .section-title, .section-subtitle)
   ========================================================= */
.tech-stack-section .badge,
.faq-section .badge{
  display:inline-flex;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px){
  .tech-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .tech-stack-section,
  .faq-section{
    padding: 85px 16px;
  }

  .tech-card{
    padding: 26px 22px;
    border-radius: 22px;
  }

  .faq-item{
    border-radius: 18px;
  }

  .faq-item summary{
    padding: 16px 52px 16px 16px;
  }

  .faq-answer{
    padding: 0 16px 16px;
  }
}
