/* =============================================
   EARN PAGE — Scoped to .ppd wrapper
   Mirrors: https://theperfectpickup.com/drive
   ============================================= */

.ppd {
    --blue: #FFC107;
    --blue-2: #e6ad06;
    --blue-light: #ffd75e;
    --ink: #111418;
    --muted: #5b6670;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.ppd .container { max-width: 1200px; }

/* === Pill badge === */
.ppd-pill {
    display: inline-block;
    background: #eef2f8;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 18px;
}

/* === Yellow highlight mark (inside titles) === */
.ppd-mark {
    background: #FFB800 !important;
    color: #1a1a1a !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 0.25rem !important;
    text-shadow: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* === Section heading block === */
.ppd-head {
    text-align: center;
    margin-bottom: 44px;
}

.ppd-title {
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.ppd-btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 32px;
    border-radius: 14px;
    background: var(--blue);
    color: #111418 !important;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
    text-decoration: none;
}

.ppd-btn-blue:hover {
    transform: translateY(-2px);
    background: var(--blue-2);
    color: #111418 !important;
}

.ppd-btn-store {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    height: 56px;
    padding: 0 22px;
    border-radius: 14px;
    background: #0f1115;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.20);
    transition: transform .18s ease, background .18s ease;
    text-decoration: none;
}

.ppd-btn-store:hover {
    transform: translateY(-2px);
    background: #1a1d23;
    color: #fff !important;
}

.ppd-btn-store i {
    font-size: 22px;
}

.ppd-btn-store span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 700;
    font-size: 15.5px;
    text-align: left;
}

.ppd-btn-store small {
    font-size: 10.5px;
    font-weight: 600;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ppd-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 36px;
    border-radius: 16px;
    background: #111418;
    color: #FFC107 !important;
    font-weight: 800;
    font-size: 16.5px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease;
    text-decoration: none;
}

.ppd-btn-dark:hover {
    transform: translateY(-2px);
    color: #FFC107 !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.ppd-hero {
    position: relative;
    min-height: clamp(600px, 80vh, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0b0d10;
    background-size: cover;
    background-position: 75% 30%;
}

.ppd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9,11,13,.75) 0%,
        rgba(9,11,13,.55) 40%,
        rgba(9,11,13,.20) 68%,
        rgba(9,11,13,0) 100%
    );
    z-index: 0;
}

.ppd-hero .inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 120px 40px 80px max(24px, calc((100vw - 1180px) / 2));
}

.ppd-hero h1 {
    color: #fff;
    font-size: clamp(32px, 4.4vw, 58px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.16;
    max-width: 17ch;
    margin: 0 0 20px;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

.ppd-hero p {
    color: rgba(255,255,255,.84);
    font-size: clamp(15.5px, 1.5vw, 19px);
    line-height: 1.6;
    max-width: 46ch;
    margin: 0 0 32px;
}

.ppd-hero .btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* =============================================
   BENEFITS SECTION
   ============================================= */
.ppd-benefits {
    padding: 76px 0;
    background: #f6f8fb;
}

.ppd-bcard {
    background: #fff;
    border-radius: 24px;
    padding: 52px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
    align-items: center;
    border: 1px solid #eef0f4;
    box-shadow: 0 4px 24px rgba(15,23,42,.04);
}

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

.ppd-bcard .visual img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.ppd-bcard .blist {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ppd-bitem {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.ppd-bitem .ic {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--blue);
    display: grid;
    place-items: center;
}

.ppd-bitem .ic i {
    font-size: 24px;
    color: #111418;
}

.ppd-bitem .ic img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ppd-bitem h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 5px;
    letter-spacing: -.01em;
}

.ppd-bitem p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.58;
    margin: 0;
}

/* =============================================
   HOW TO EARN / SERVICES SECTION
   ============================================= */
.ppd-earn {
    padding: 76px 0 10px;
    background: #fff;
}

.ppd-earn .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ppd-ecard {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 20px;
    padding: 20px 20px 26px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ppd-ecard:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(15,23,42,.10);
}

.ppd-ecard .media {
    width: 100%;
    aspect-ratio: 16/11;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f6fa;
    margin-bottom: 20px;
}

.ppd-ecard .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ppd-ecard h4 {
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 8px;
    letter-spacing: -.01em;
}

.ppd-ecard p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.ppd-ecard .go {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
    font-size: 15.5px;
    width: max-content;
    text-decoration: none;
    transition: color .18s ease;
}

.ppd-ecard .go:hover { color: var(--blue-2); }

/* =============================================
   FAQ SECTION
   ============================================= */
.ppd-faq {
    padding: 76px 0 40px;
    background: #fff;
}

.ppd-faq .wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ppd-faq details {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(15,23,42,.04);
    overflow: hidden;
}

.ppd-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    font-size: 17.5px;
    font-weight: 700;
    color: var(--ink);
    user-select: none;
}

.ppd-faq summary::-webkit-details-marker { display: none; }

.ppd-faq summary .pl {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #111418;
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: transform .25s ease;
    flex-shrink: 0;
}

.ppd-faq details[open] summary .pl {
    transform: rotate(45deg);
}

.ppd-faq .ans {
    padding: 0 26px 22px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
}

/* =============================================
   DRIVER SIGNUP SECTION
   ============================================= */
.ppd-signup {
    padding: 76px 0 30px;
    background: #faf7ee;
}

.ppd-signup .joincard {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 52px 56px;
    background: linear-gradient(135deg, #FFC107 0%, #f5b400 55%, #e6ac00 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.ppd-signup .joincard::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    pointer-events: none;
}

.ppd-signup .joincard::after {
    content: "";
    position: absolute;
    right: 60px;
    bottom: -90px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(17,20,24,.06);
    pointer-events: none;
}

.ppd-signup .joincard h2 {
    position: relative;
    color: #111418;
    font-size: clamp(26px, 2.9vw, 40px);
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}

.ppd-signup .joincard p {
    position: relative;
    color: #3a2f00;
    margin: 0;
    font-size: 16.5px;
    max-width: 52ch;
}

/* =============================================
   DRIVER SIGNUP MODAL
   ============================================= */
.ppd-signup-modal .modal-content {
    border: none;
    border-radius: 26px;
    overflow: hidden;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.ppd-signup-modal .mhead {
    position: relative;
    background: linear-gradient(135deg, #FFC107, #e6ac00);
    padding: 26px 30px 20px;
}

.ppd-signup-modal .mhead::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    pointer-events: none;
}

.ppd-signup-modal .mhead h4 {
    position: relative;
    color: #111418;
    font-weight: 800;
    font-size: 22px;
    margin: 0 0 4px;
    letter-spacing: -.01em;
}

.ppd-signup-modal .mhead p {
    position: relative;
    color: #3a2f00;
    font-size: 14px;
    margin: 0 0 16px;
}

.ppd-signup-modal .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
}

.ppd-signup-modal .modal-body {
    padding: 26px 30px 28px;
}

/* Step dots */
.ppd-signup-modal .stepdots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ppd-signup-modal .stepdots .dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f2f6;
    color: #5b6670;
    font-weight: 800;
    font-size: 14px;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}

.ppd-signup-modal .stepdots .dot.on { background: #FFC107; color: #111418; }
.ppd-signup-modal .stepdots .dot.done { background: #111418; color: #FFC107; }
.ppd-signup-modal .stepdots .dbar { width: 34px; height: 3px; border-radius: 3px; background: #f0f2f6; }

.ppd-signup-modal .steptitle {
    font-weight: 800;
    color: var(--ink);
    font-size: 16.5px;
    margin: 0 0 14px;
    text-align: center;
}

/* Service selection grid */
.ppd-signup-modal .svcgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.ppd-signup-modal .svc {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 2px solid #e5e9f0;
    border-radius: 16px;
    padding: 20px 14px 16px;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s ease, background .15s ease;
}

.ppd-signup-modal .svc input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: auto;
}

.ppd-signup-modal .svc i { font-size: 30px; color: #c79500; }
.ppd-signup-modal .svc b { font-size: 15.5px; color: var(--ink); }
.ppd-signup-modal .svc small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.ppd-signup-modal .svc.selected {
    border-color: #FFC107;
    background: #fff9e8;
}

.ppd-signup-modal .svc.selected::after {
    content: "\2713";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFC107;
    color: #111418;
    font-weight: 800;
    font-size: 13px;
    display: grid;
    place-items: center;
}

/* Form fields */
.ppd-signup-modal .frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.ppd-signup-modal .fgroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ppd-signup-modal .fgroup.full { grid-column: 1 / -1; }

.ppd-signup-modal label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.ppd-signup-modal label .req { color: #e5484d; }

.ppd-signup-modal input,
.ppd-signup-modal select {
    height: 48px;
    border: 1.5px solid #e5e9f0;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    width: 100%;
    outline: none;
    transition: border-color .15s ease;
}

.ppd-signup-modal input:focus,
.ppd-signup-modal select:focus {
    border-color: #FFC107;
}

.ppd-signup-modal .phonegrp {
    display: flex;
    gap: 8px;
}

.ppd-signup-modal .phonegrp select { flex: 0 0 128px; padding: 0 8px; }
.ppd-signup-modal .phonegrp input { flex: 1; }

.ppd-signup-modal .submitbtn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: #FFC107;
    color: #111418;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 4px;
    transition: background .18s ease, transform .18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ppd-signup-modal .submitbtn:hover {
    background: #e6ac00;
    transform: translateY(-1px);
}

.ppd-signup-modal .stepnav {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.ppd-signup-modal .stepnav .submitbtn { margin-top: 0; }

.ppd-signup-modal .backbtn {
    flex: 0 0 auto;
    height: 52px;
    padding: 0 22px;
    border: 1.5px solid #e5e9f0;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .15s ease;
}

.ppd-signup-modal .backbtn:hover { border-color: #FFC107; }

.ppd-signup-modal .msg {
    display: none;
    margin-top: 12px;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
}

.ppd-signup-modal .msg.err { display: block; background: #fdecec; color: #b3261e; }
.ppd-signup-modal .msg.ok { display: block; background: #eafaf1; color: #1a7f4b; }

/* Success panel */
.ppd-signup-modal .ok-panel {
    display: none;
    text-align: center;
    padding: 16px 4px 6px;
}

.ppd-signup-modal .ok-panel .okic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FFC107;
    color: #111418;
    font-size: 32px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.ppd-signup-modal .ok-panel h4 { font-weight: 800; color: var(--ink); margin-bottom: 8px; }

.ppd-signup-modal .ok-panel p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.ppd-signup-modal .ok-panel .btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.ppd-signup-modal .dlbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    background: #111418;
    color: #FFC107 !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
}

.ppd-signup-modal .dlbtn.alt {
    background: #FFC107;
    color: #111418 !important;
}

.ppd-signup-modal .hintline {
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.9px) {
    .ppd-hero { background-position: 80% center; }
    .ppd-bcard { grid-template-columns: 1fr; padding: 38px 30px; gap: 30px; }
    .ppd-bcard .visual img { max-width: 260px; }
    .ppd-earn .grid { grid-template-columns: 1fr 1fr; }
    .ppd-signup .joincard { padding: 36px 28px; text-align: center; justify-content: center; }
    .ppd-benefits, .ppd-earn, .ppd-faq, .ppd-signup { padding-top: 56px; }
}

@media (max-width: 767px) {
    .ppd-hero { min-height: clamp(520px, 84vh, 680px); }
    .ppd-hero::before {
        background: linear-gradient(180deg, rgba(9,11,13,.55) 0%, rgba(9,11,13,.72) 55%, rgba(9,11,13,.90) 100%);
    }
    .ppd-hero .inner { padding: 110px 22px 56px; text-align: center; }
    .ppd-hero h1, .ppd-hero p { margin-left: auto; margin-right: auto; }
    .ppd-hero .btns { justify-content: center; }
    .ppd-earn .grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .ppd-signup-modal .frow { grid-template-columns: 1fr; }
    .ppd-signup-modal .modal-body { padding: 22px 20px 24px; }
    .ppd-signup-modal .mhead { padding: 22px 20px 16px; }
    .ppd-hero .btns { width: 100%; }
    .ppd-hero .btns > * { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .ppd-btn-store, .ppd-btn-blue { height: 50px; font-size: 14.5px; }
}
/* =============================================
   EARN HEADER (Overrides for transparent mode)
   ============================================= */
.earn-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: transparent !important;
}

.earn-header .navbar-bottom {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.earn-header .navbar-bottom-wrapper {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.earn-header .menu > li > a {
    color: #fff !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.earn-header .menu > li > a:hover {
    color: var(--blue) !important;
}

.earn-header .menu > li > a.active {
    color: #fff !important;
    position: relative;
}

.earn-header .logo img {
    max-height: 40px;
}

/* Adjust padding on the hero container so the content isn't under the header */
.ppd-hero .inner {
    padding-top: 150px;
}
