/* ==========================================================================
   YEB SITE VITRINE - STYLESHEET (LIGHT THEME - WHITE & GREEN)
   ========================================================================== */

/* --- Design Tokens --- */
:root {
    --primary-green: #007F47;
    --primary-green-light: #00a85e;
    --primary-green-glow: rgba(0, 127, 71, 0.15);
    --taxi-yellow: #FBBF24;
    --taxi-yellow-glow: rgba(251, 191, 36, 0.15);
    --light-bg: #FFFFFF;
    --section-bg: #F4F9F6; /* Soft green-tinted background */
    --card-bg: #FFFFFF;
    --card-border: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --text-dark: #0F172A;
    --text-gray: #475569;
    --text-muted: #64748B;
    --iphone-bezel: #1C1C1E;
    --iphone-bg: #0F172A;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: #E2E8F0;
    border-radius: 5px;
    border: 2px solid var(--light-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Buttons & Badges --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    box-shadow: 0 4px 20px var(--primary-green-glow);
}

.btn-primary:hover {
    background-color: var(--primary-green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-green-glow);
}

.btn-secondary {
    background-color: var(--taxi-yellow);
    color: #0F172A;
    box-shadow: 0 4px 20px var(--taxi-yellow-glow);
}

.btn-secondary:hover {
    background-color: #FCD34D;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--taxi-yellow-glow);
}

/* Store Download Badges */
.download-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.store-badge {
    display: flex;
    align-items: center;
    background-color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 20px;
    border-radius: 14px;
    transition: var(--transition-smooth);
    color: white;
    width: 180px;
}

.store-badge:hover {
    background-color: #111827;
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 127, 71, 0.2);
}

.store-badge.inverse {
    background-color: white;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.store-badge.inverse:hover {
    background-color: #F8FAFC;
    border-color: var(--primary-green);
    box-shadow: 0 12px 30px rgba(0, 127, 71, 0.15);
}

.badge-icon {
    width: 26px;
    height: 26px;
    margin-right: 12px;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-sub {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.badge-main {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

/* --- Header Section --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 44px;
    width: auto;
    border-radius: 10px;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition-quick);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition-quick);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-quick);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 127, 71, 0.08) 0%, rgba(251, 191, 36, 0.03) 60%, rgba(0,0,0,0) 100%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

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

.badge-new {
    display: inline-flex;
    background-color: rgba(0, 127, 71, 0.06);
    border: 1px solid rgba(0, 127, 71, 0.2);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, #15803d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 540px;
}

/* Map/Grid Showcase in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-map-svg-container {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    position: relative;
    border-radius: 30px;
    background-color: #F0F7F3;
    border: 1px solid #D1E7DD;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.hero-map-graphic-svg {
    width: 100%;
    height: 100%;
}

/* Pulsing Start Pin */
.pin-glow-ring {
    transform-origin: center;
    animation: ringPulse 2.5s ease-out infinite;
}
.pin-glow-ring-fast {
    transform-origin: center;
    animation: ringPulse 1.8s ease-out infinite;
}

@keyframes ringPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Traffic Dash flow */
.route-dash-flow {
    stroke-dasharray: 8 8;
    animation: routeDashFlow 1.5s linear infinite;
}

@keyframes routeDashFlow {
    to { stroke-dashoffset: -16; }
}

/* Vector Taxi Driving Animation */
.vector-taxi-car {
    /* Offset path directs the car along the SVG route curve */
    offset-path: path('M120 180 C200 120, 280 240, 380 180');
    offset-rotate: auto;
    animation: driveAlongPath 12s ease-in-out infinite;
}

@keyframes driveAlongPath {
    0% { offset-distance: 0%; }
    40%, 65% { offset-distance: 55%; } /* Pause at middle destination/Dakar core */
    100% { offset-distance: 100%; }
}

/* Floating Info Cards */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    z-index: 10;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--primary-green);
    box-shadow: 0 20px 40px rgba(0, 127, 71, 0.1);
}

.fc-1 {
    top: 10%;
    left: -12%;
    animation: floatCard1 8s ease-in-out infinite;
}

.fc-2 {
    bottom: 8%;
    right: -10%;
    animation: floatCard2 10s ease-in-out infinite;
}

.fc-svg-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.fc-svg-icon-green {
    width: 32px;
    height: 32px;
    color: var(--primary-green-light);
    flex-shrink: 0;
}

.fc-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.fc-text p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

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

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* --- Services/Why Choose YEB --- */
.services-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.accent-color {
    color: var(--primary-green);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green-light);
    box-shadow: 0 20px 45px rgba(0, 127, 71, 0.08);
}

.service-card-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--primary-green);
    transition: var(--transition-smooth);
}

.service-svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.taxi-yellow-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-green);
    transition: var(--transition-smooth);
}

.service-card:hover .taxi-yellow-bar {
    width: 100%;
}

/* Service Card SVGs Animation trigger on hover */
.service-card:hover .service-card-icon-wrapper {
    color: var(--primary-green-light);
    transform: scale(1.1);
}

/* Wheels spin animation */
.service-card:hover .wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: wheelRotation 1s linear infinite;
}

@keyframes wheelRotation {
    to { transform: rotate(360deg); }
}

/* Speed lines slide animation */
.speed-line {
    stroke-dasharray: 4;
    stroke-dashoffset: 0;
    transition: var(--transition-smooth);
}
.service-card:hover .speed-line {
    animation: speedLineSlide 0.8s linear infinite;
}
@keyframes speedLineSlide {
    to { stroke-dashoffset: -8; }
}

/* Bidding Up Arrow slide */
.arrow-up {
    transition: var(--transition-smooth);
}
.service-card:hover .arrow-up {
    animation: arrowPush 1.2s ease-in-out infinite;
}
@keyframes arrowPush {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Bidding Dollar coin rotation */
.dollar-symbol {
    transform-box: fill-box;
    transform-origin: center;
    transition: var(--transition-smooth);
}
.service-card:hover .dollar-symbol {
    transform: scale(1.1);
}

/* Parcel box lid lift */
.box-lid {
    transition: var(--transition-smooth);
}
.service-card:hover .box-lid {
    transform: translateY(-3px);
}

/* Delivery Arrow down bounce */
.delivery-arrow {
    transition: var(--transition-smooth);
}
.service-card:hover .delivery-arrow {
    animation: arrowDownBounce 1.2s ease-in-out infinite;
}
@keyframes arrowDownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* --- Interactive Showcase / Demo --- */
.demo-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--section-bg);
}

.demo-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.demo-text-area, .hero-text-content {
    min-width: 0;
}

.demo-lead {
    color: var(--text-gray);
    font-size: 1.15rem;
    margin-top: 16px;
    margin-bottom: 40px;
}

.demo-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-tab-btn {
    display: flex;
    align-items: center;
    text-align: left;
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px 24px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.demo-tab-btn:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

.demo-tab-btn.active {
    background-color: #FFFFFF;
    border-color: var(--primary-green);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 127, 71, 0.08);
}

.tab-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-right: 20px;
    opacity: 0.7;
}

.demo-tab-btn.active .tab-number {
    opacity: 1;
}

.tab-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tab-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* iPhone Styling */
.demo-visual-area {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    width: 100%;
}

.device-iphone {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 350 / 710;
    background-color: var(--iphone-bezel);
    border-radius: 50px;
    padding: 11px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), inset 0 2px 8px rgba(255,255,255,0.2), inset 0 -2px 8px rgba(0,0,0,0.8);
    position: relative;
    border: 4px solid #2e2e31;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: var(--transition-smooth);
}

.device-iphone:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Add realistic side buttons to the iPhone */
.iphone-btn-side {
    position: absolute;
    width: 3px;
    background-color: #3a3a3c;
    border-radius: 2px;
}

.iphone-btn-side.volume-up {
    top: 140px;
    left: -6px;
    height: 48px;
}

.iphone-btn-side.volume-down {
    top: 200px;
    left: -6px;
    height: 48px;
}

.iphone-btn-side.power-btn {
    top: 170px;
    right: -6px;
    height: 64px;
}

.iphone-speaker {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #111;
    border-radius: 10px;
    z-index: 100;
}

.iphone-dynamic-island {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background-color: #000;
    border-radius: 20px;
    z-index: 100;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.25);
}

.iphone-screen-container {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.9);
}

/* App Screens Container */
.iphone-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    overflow: hidden;
}

.iphone-screen.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
}

/* SCREEN 1: LOGIN (image2.png replica) */
.screen-login-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 127, 71, 0.6) 0%, rgba(6, 78, 59, 0.95) 100%), 
                radial-gradient(ellipse at center, rgba(251,191,36,0.2) 0%, rgba(0,0,0,0) 70%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.06)"/></svg>') repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10px;
}

.top-nav-status {
    display: flex;
    justify-content: space-between;
    padding: 10px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    z-index: 20;
}

.status-right-icons {
    background: rgba(255,255,255,0.12);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.login-branding {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-circle {
    width: 90px;
    height: 90px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 127, 71, 0.25);
    margin-bottom: 16px;
    padding: 18px;
}

.app-brand-logo-small {
    width: 100%;
    height: auto;
}

.app-name-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.app-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
}

.login-sheet {
    background-color: white;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 24px 20px 30px;
    color: #1E293B;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
}

.sheet-drag-handle {
    width: 40px;
    height: 5px;
    background-color: #E2E8F0;
    border-radius: 5px;
    align-self: center;
    margin-bottom: 20px;
}

.sheet-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.form-group-app {
    margin-bottom: 20px;
}

.app-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.app-input-field {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background-color: #F8FAFC;
    font-size: 0.85rem;
    font-family: inherit;
    color: #334155;
    outline: none;
}

.app-btn-continue {
    width: 100%;
    padding: 14px;
    background-color: #C2C6CC; /* Disabled grey state like screenshot */
    color: white;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.app-disclaimer {
    font-size: 0.65rem;
    text-align: center;
    color: #64748B;
    line-height: 1.5;
}

.app-disclaimer a {
    color: #0F172A;
    text-decoration: underline;
    font-weight: 600;
}

/* SCREEN 2: SERVICES (image3.png replica) */
.screen-services-container {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    color: #0F172A;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}

.app-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 12px;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    cursor: pointer;
}

.hamburger-btn span {
    height: 2.5px;
    background-color: #000;
    width: 100%;
    border-radius: 2px;
}

.search-bar-mock {
    flex-grow: 1;
    display: flex;
    align-items: center;
    background-color: #F8FAFC;
    border: 1px solid #F1F5F9;
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.search-placeholder {
    font-size: 0.8rem;
    color: #64748B;
}

.passer-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-green);
}

.app-body-content {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
}

.app-body-content::-webkit-scrollbar {
    display: none;
}

.app-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 16px 0 12px;
    color: #0F172A;
}

.app-service-option {
    height: 96px;
    border-radius: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><rect width="120" height="120" fill="%230F172A"/><path d="M10,90 Q30,10 70,60 T120,40" fill="none" stroke="rgba(251,191,36,0.3)" stroke-width="3"/></svg>');
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.app-service-option.courier {
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><rect width="120" height="120" fill="%230F172A"/><rect x="20" y="20" width="40" height="40" fill="none" stroke="rgba(0,127,71,0.3)" stroke-width="2"/></svg>');
    background-size: cover;
}

.option-content h3 {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

/* History Card */
.app-history-card {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}

.history-route-header {
    background-color: #1b5e3a; /* Dark Forest Green for screenshot accuracy */
    padding: 12px;
    color: white;
    font-size: 0.75rem;
}

.route-point {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-point::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.start-pt::before { background-color: #00E676; } /* Bright neon green dot */
.end-pt { margin-bottom: 0; }
.end-pt::before { background-color: #FF1744; } /* Bright red dot */

.history-details {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-left {
    display: flex;
    flex-direction: column;
}

.ride-code {
    font-size: 0.85rem;
    font-weight: 800;
}

.ride-type {
    font-size: 0.65rem;
    color: #64748B;
}

.history-right {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.ride-status {
    font-size: 0.75rem;
    color: #007F47;
    font-weight: 600;
}

.ride-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0F172A;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 16px;
}

.pagination-dots .dot {
    width: 14px;
    height: 4px;
    background-color: #E2E8F0;
    border-radius: 2px;
}

.pagination-dots .dot.active {
    background-color: #007F47;
}

.pagination-dots .dot.yellow {
    background-color: var(--taxi-yellow);
}

.history-list-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #F1F5F9;
}

.history-item-icon-wrapper {
    margin-right: 12px;
    color: #475569;
}

.history-item-text {
    flex-grow: 1;
}

.history-item-text h5 {
    font-size: 0.8rem;
    font-weight: 700;
}

.history-item-text p {
    font-size: 0.65rem;
    color: #64748B;
}

.chevron-right {
    font-size: 0.8rem;
    color: #94A3B8;
}

/* SCREEN 3: BOOKING DETAILS (image1.png replica) */
.screen-booking-container {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    color: #0F172A;
    display: flex;
    flex-direction: column;
    padding-top: 36px;
}

/* Map Mock */
.app-map-view {
    height: 220px;
    background-color: #E2E8F0;
    position: relative;
    overflow: hidden;
}

.map-nav-status {
    position: absolute;
    top: 6px;
    left: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    z-index: 15;
}

.map-back-btn {
    position: absolute;
    top: 25px;
    left: 16px;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    cursor: pointer;
    z-index: 15;
}

/* Simple Dakar map overlay graphic in CSS */
.dakar-map-graphic {
    width: 100%;
    height: 100%;
    background-color: #E3F2FD; /* light blue for water */
    position: relative;
}

.dakar-map-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background-color: #E8F5E9; /* light green for land */
    border-radius: 0 0 0 100px;
}

.map-label {
    position: absolute;
    font-size: 0.55rem;
    font-weight: 700;
    color: #78909C;
    letter-spacing: 0.5px;
}

.label-ouakam { top: 70px; left: 15px; }
.label-grand-yoff { top: 25px; left: 100px; }
.label-medina { bottom: 50px; left: 110px; }
.label-dakar { top: 80px; left: 80px; font-size: 1rem; color: #37474F; font-weight: 800; }

.map-route-svg {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.eta-tag {
    position: absolute;
    background-color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 8;
}

.eta-green {
    top: 30px;
    right: 50px;
    background-color: #007F47;
    color: white;
}

.eta-info-card {
    top: 90px;
    left: 45px;
    border: 1px solid #E2E8F0;
}

.eta-text {
    display: block;
    font-size: 0.55rem;
    color: #000;
    font-weight: 700;
}

.eta-details {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.eta-km {
    background-color: #007F47;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.5rem;
}

.eta-time {
    color: #007F47;
    font-size: 0.5rem;
}

.gps-recenter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    color: #0F172A;
}

/* Booking Drawer Sheet */
.booking-bottom-sheet {
    flex-grow: 1;
    background-color: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.08);
    margin-top: -12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 20px;
    overflow-y: auto;
}

.booking-bottom-sheet::-webkit-scrollbar {
    display: none;
}

.route-addresses {
    background-color: #FFFFFF;
    padding: 2px 0;
}

.address-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.addr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.addr-dot.dot-green { background-color: #00C853; }
.addr-dot.dot-red { background-color: #D50000; }

.addr-text {
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1E293B;
}

.address-line.divider {
    height: 12px;
    border-left: 1px dashed #CBD5E1;
    margin-left: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.addr-duration {
    color: #64748B;
    font-weight: 400;
}

.app-sub-tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #F1F5F9;
    margin: 10px 0;
}

.app-sub-tabs span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    padding: 8px 12px;
    cursor: pointer;
}

.app-sub-tabs span.active {
    color: #0F172A;
    border-bottom: 2px solid #0F172A;
}

.booking-mode-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.mode-btn {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    background-color: #E2E8F0;
    color: #475569;
}

.mode-btn.active {
    background-color: #CBD5E1;
    color: #0F172A;
}

.trip-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.schedule-btn {
    font-size: 0.7rem;
    font-weight: 700;
    color: black;
    border: 1px solid #E2E8F0;
    padding: 4px 8px;
    border-radius: 4px;
}

.vehicle-class-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E6F4EA; /* Light green highlight */
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.vehicle-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vehicle-icon-svg-wrapper {
    display: flex;
    align-items: center;
}

.vehicle-info h4 {
    font-size: 0.78rem;
    font-weight: 800;
}

.eta-sub {
    font-size: 0.6rem;
    color: #64748B;
}

.vehicle-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #007F47;
}

.promo-coupon-bar {
    display: flex;
    justify-content: space-between;
    background-color: #F8FAFC;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #007F47;
    margin-bottom: 12px;
    cursor: pointer;
}

.promo-coupon-bar .chevron {
    color: #94A3B8;
}

/* Final Action Footer */
.booking-action-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cash-method-btn, .settings-adjust-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #F1F5F9;
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-confirm-booking {
    flex-grow: 1;
    padding: 12px;
    background-color: #007F47; /* YEB Green */
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 127, 71, 0.25);
}

.btn-confirm-booking:hover {
    background-color: #00a85e;
}

/* --- Call-To-Action (CTA) Section --- */
.download-cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #022c15 0%, #007F47 50%, #064E3B 100%);
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.cta-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
}

.cta-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 500px;
}

.cta-download-buttons {
    display: flex;
    gap: 16px;
}

.cta-qr-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    justify-self: center;
}

/* Faux QR Code in CSS */
.qr-mockup {
    width: 140px;
    height: 140px;
    background-color: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-grid {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #FFF;
}

.qr-block {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 8px solid #000;
    background-color: #FFF;
}

.qr-block.top-left { top: 0; left: 0; }
.qr-block.top-right { top: 0; right: 0; }
.qr-block.bottom-left { bottom: 0; left: 0; }

.qr-pixel {
    position: absolute;
    background-color: #000;
}

.qr-pixel.px-1 { width: 8px; height: 32px; top: 40px; left: 16px; }
.qr-pixel.px-2 { width: 24px; height: 8px; top: 56px; right: 8px; }
.qr-pixel.px-3 { width: 16px; height: 16px; bottom: 16px; right: 16px; }

.qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-green);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    border: 2px solid white;
}

.qr-instruction {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Footer --- */
.main-footer {
    background-color: #040805;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brand-logo-footer {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
}

.footer-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.footer-links a:hover {
    color: var(--taxi-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 16px;
    color: var(--text-gray);
}

.social-links a {
    transition: var(--transition-quick);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--taxi-yellow);
    transform: scale(1.15);
}

/* --- Hamburger Mobile Overlay Menu --- */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 40px 24px;
    z-index: 999;
}

/* --- Media Queries (Responsive Design) --- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .demo-text-area {
        text-align: center;
    }
    
    .demo-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        scrollbar-width: none;
    }

    .demo-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .demo-tab-btn {
        flex-shrink: 0;
        padding: 12px 18px;
        border-radius: 14px;
    }
    
    .tab-desc {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    .header-container {
        height: 70px;
    }
    .hero-section {
        padding-top: 120px;
    }
    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -1.5px;
    }
    .hero-description {
        font-size: 1rem;
        margin: 0 auto 24px;
    }
    .badge-new {
        margin: 0 auto 16px;
    }
    .download-badges {
        justify-content: center;
        gap: 12px;
    }
    
    /* Disable 3D transforms for simulator & prevent touch coordinates issues on mobile */
    .device-iphone {
        transform: none !important;
        max-width: 320px;
    }

    .floating-card {
        display: none !important; /* Hide absolute overlays to avoid horizontal scrollbar */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }

    .cta-text p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }
    
    .cta-download-buttons {
        justify-content: center;
    }

    .cta-qr-box {
        display: none !important; /* Hide QR Code on mobile viewports */
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hamburger-menu.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-menu.open span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .download-badges {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .store-badge {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .device-iphone {
        max-width: 285px; /* Fits perfectly on very small viewports like iPhone SE */
    }

    /* Scaling the inner mock elements slightly to fit better in smaller container */
    .sheet-title {
        font-size: 1.15rem;
    }
    .app-section-title {
        font-size: 0.85rem;
    }
    .option-content h3 {
        font-size: 1.15rem;
    }
    .history-route-header {
        font-size: 0.68rem;
    }
    .addr-text {
        font-size: 0.65rem;
    }
}
