/* ============================================
   PRODUCT HIGHLIGHT SECTIONS
   Live Tracking · Route Optimization · Pickup & Drop-off ·
   No-Show Protection · Multi-Branch
   Shares tokens with product.css (--primary-blue, --secondary-blue,
   --gradient, --text-secondary, 1270px container, 36px card radius).
   ============================================ */

.feature-highlight {
    padding: 70px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Alternate white / brand-tinted backgrounds so the five highlight
   sections read as a rhythm down the page instead of one long white
   block, without any section overpowering its neighbors.
   Page order (as of this pass): noshow, branch, gps, pickup, route --
   tint the 2nd and 4th so white/tint/white/tint/white alternates. If
   the section order changes again, re-check with:
   grep -n 'class="feature-highlight' product.blade.php */
.branch-highlight,
.pickup-highlight {
    background-color: #d8f2fb;
    background-image:
        radial-gradient(circle, rgba(1, 91, 248, 0.16) 1px, transparent 1px),
        linear-gradient(180deg, #e9f8fd 0%, #cdeef9 100%);
    background-size: 22px 22px, 100% 100%;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #01d0fc 0%, #015bf8 100%) 1;
}

.branch-highlight::before,
.pickup-highlight::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 208, 252, 0.32) 0%, rgba(1, 208, 252, 0) 70%);
    pointer-events: none;
}

.noshow-highlight,
.gps-highlight,
.route-highlight {
    border-bottom: 1px solid #eef2f6;
}

.noshow-highlight::before,
.gps-highlight::before,
.route-highlight::before {
    content: '';
    position: absolute;
    bottom: -160px;
    left: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 0, 0.1) 0%, rgba(255, 176, 0, 0) 70%);
    pointer-events: none;
}

.feature-highlight .section-container {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.highlight-grid.reverse .highlight-text {
    order: 2;
}

.highlight-grid.reverse .highlight-visual {
    order: 1;
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(1, 208, 252, 0.12) 0%, rgba(1, 91, 248, 0.12) 100%);
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
}

.badge-dot.pulsing {
    animation: badgeDotPulse 1.6s ease-in-out infinite;
}

@keyframes badgeDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}

.highlight-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.highlight-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 480px;
}

.highlight-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-points li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-points li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(1, 208, 252, 0.14) 0%, rgba(1, 91, 248, 0.14) 100%);
    color: var(--primary-blue);
    font-size: 15px;
}

.highlight-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--bg-white);
    box-shadow: 0 6px 20px rgba(1, 91, 248, 0.08);
}

.highlight-stat-chip .stat-num {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-stat-chip .stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.highlight-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Shared "device/card" shell used by every mockup ===== */
.highlight-mockup {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 36px;
    box-shadow: 0 30px 60px -20px rgba(11, 15, 20, 0.18);
    overflow: hidden;
}

/* ============================================
   1) LIVE GPS TRACKING
   ============================================ */
.gps-map-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #eaf1fb;
}

.map-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gps-route-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gps-route-path path {
    fill: none;
    stroke: url(#gpsRouteGradient);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 10 10;
    animation: gpsDashMove 2.4s linear infinite;
}

@keyframes gpsDashMove {
    to { stroke-dashoffset: -40; }
}

.gps-pin {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 18px rgba(11, 15, 20, 0.16);
    font-size: 16px;
}

.gps-pin-start {
    top: 58%;
    left: 8%;
    color: #94a3b8;
    z-index: 1;
}

.gps-pin-end {
    top: 16%;
    right: 14%;
    color: #ffb000;
    z-index: 1;
}

.gps-pin-driver {
    top: 42%;
    left: 46%;
    width: 46px;
    height: 46px;
    background: var(--gradient);
    color: #fff;
    z-index: 2;
}

.gps-pin-driver .pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: rgba(1, 91, 248, 0.25);
    animation: gpsPulse 1.8s ease-out infinite;
}

@keyframes gpsPulse {
    0% { transform: scale(0.7); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.gps-eta-card {
    position: absolute;
    left: 20px;
    bottom: 88px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #0b0f14;
    color: #fff;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(11, 15, 20, 0.25);
}

.gps-eta-card .eta-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gps-eta-card .eta-value {
    font-size: 20px;
    font-weight: 800;
}

.gps-chat-bubble {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(11, 15, 20, 0.14);
}

.gps-chat-bubble .chat-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.gps-chat-bubble .chat-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.3;
}

.gps-chat-bubble .chat-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.gps-chat-bubble .chat-text span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   2) SMART ROUTE OPTIMIZATION
   ============================================ */
.route-path-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-path-svg path {
    fill: none;
    stroke: url(#routeGradient);
    stroke-width: 4;
    stroke-linecap: round;
}

.route-stop {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(11, 15, 20, 0.14);
    transform: translate(-50%, -50%);
}

.route-stop-active {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    font-size: 16px;
}

.route-summary-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(11, 15, 20, 0.14);
}

.route-summary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.route-summary-row i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(1, 208, 252, 0.14) 0%, rgba(1, 91, 248, 0.14) 100%);
    color: var(--primary-blue);
    font-size: 12.5px;
    flex-shrink: 0;
}

/* ============================================
   3) PICKUP & DROP-OFF CONCIERGE
   ============================================ */
.pickup-mockup {
    padding: 40px 32px;
    display: flex;
    align-items: center;
}

.pickup-steps {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pickup-step {
    position: relative;
    display: flex;
    gap: 18px;
    padding-bottom: 38px;
}

.pickup-step:last-child {
    padding-bottom: 0;
}

.pickup-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 4px;
    width: 2px;
    background: #e5e9f0;
}

.pickup-step.done:not(:last-child)::before {
    background: var(--gradient);
}

.pickup-step-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f1f3f6;
    color: #94a3b8;
    font-size: 17px;
}

.pickup-step.done .pickup-step-icon {
    background: var(--gradient);
    color: #fff;
}

.pickup-step.active .pickup-step-icon {
    background: #fff;
    color: var(--primary-blue);
    border: 2.5px solid var(--primary-blue);
    box-shadow: 0 0 0 6px rgba(1, 91, 248, 0.12);
}

.pickup-step-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 4px;
}

.pickup-step-body .step-time {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.pickup-step.active .step-time {
    color: var(--primary-blue);
}

.pickup-step-body strong {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.pickup-step-body .step-sub {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* ============================================
   4) SMART DEPOSITS / NO-SHOW REDUCTION
   ============================================ */
.noshow-mockup {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.noshow-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #0b0f14;
}

.noshow-summary-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #01d0fc;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noshow-summary-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.noshow-summary-text strong {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.noshow-summary-text span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.noshow-summary-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 176, 0, 0.18);
    color: #ffb000;
}

.noshow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
}

.noshow-row.highlighted {
    background: #fff7ed;
    border-color: #ffe3bd;
}

.noshow-customer {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.noshow-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.noshow-customer-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.noshow-customer-info strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.noshow-history {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.noshow-risk {
    font-size: 12.5px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.noshow-risk.low {
    background: #dcfce7;
    color: #16a34a;
}

.noshow-risk.medium {
    background: #fef3c7;
    color: #b45309;
}

.noshow-risk.high {
    background: #ffe4e6;
    color: #dc2626;
}

.noshow-risk-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.noshow-meter {
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: #eef1f5;
    overflow: hidden;
}

.noshow-meter-fill {
    height: 100%;
    border-radius: 999px;
}

.noshow-meter-fill.low {
    background: #22c55e;
}

.noshow-meter-fill.medium {
    background: #f59e0b;
}

.noshow-meter-fill.high {
    background: #ef4444;
}

.noshow-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.noshow-footer i {
    font-size: 13px;
    color: #16a34a;
    flex-shrink: 0;
}

.noshow-footer strong {
    color: var(--text-primary);
    font-weight: 800;
}

/* ============================================
   5) MULTI-BRANCH MANAGEMENT
   ============================================ */
.branch-mockup {
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.branch-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 14px;
    background: #0b0f14;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.branch-switcher i:first-child {
    color: #01d0fc;
}

.branch-switcher span {
    flex: 1;
}

.branch-switcher i:last-child {
    font-size: 12px;
    opacity: 0.6;
}

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

/* ── Featured (currently-viewed) branch card ── */
.branch-featured {
    padding: 16px 18px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
    border: 1px solid #e7edf5;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.branch-featured-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.branch-featured-id {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.branch-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    flex-shrink: 0;
    background: var(--gradient);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-featured-id strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    white-space: nowrap;
}

.branch-featured-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.branch-featured-loc i {
    font-size: 10px;
}

.branch-live-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
}

.branch-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.branch-featured-stats {
    display: flex;
    gap: 22px;
    padding-top: 12px;
    border-top: 1px dashed #dfe6ee;
}

.branch-featured-stats > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bf-stat-num {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.bf-stat-num i {
    font-size: 11px;
    color: #f59e0b;
}

.bf-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.branch-featured-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 34px;
}

.branch-featured-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: #dbe6f3;
}

.branch-featured-bar.active {
    background: var(--gradient);
}

.branch-featured-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.branch-staff-stack {
    display: flex;
    align-items: center;
}

.branch-staff-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: -8px;
}

.branch-staff-avatar:first-child {
    margin-left: 0;
}

.branch-staff-more {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef1f5;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: -8px;
}

.branch-staff-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ── Other branches, condensed list ── */
.branch-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.branch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
}

.branch-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.branch-row-info strong {
    font-size: 13px;
    font-weight: 750;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.branch-row-info span {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.branch-row i {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}

@media (max-width: 991px) {
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .highlight-grid.reverse .highlight-text,
    .highlight-grid.reverse .highlight-visual {
        order: initial;
    }

    .highlight-desc {
        max-width: none;
    }

    .highlight-mockup {
        max-width: 380px;
    }
}
