/* ==================================================
   DRIVER PAGE — HERO MATCHES LANDING EXACTLY
================================================== */


/* ===============================
   HERO SECTION
================================ */

.driver-hero {
    min-height: 58vh; /* slightly shorter than landing */
    background-image: url("/website/images/pragia-hero.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* SAME overlay as landing */
.driver-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(12, 14, 33, 0.92) 0%,
        rgba(18, 16, 46, 0.88) 40%,
        rgba(24, 22, 66, 0.75) 65%,
        rgba(24, 22, 66, 0.55) 100%
    );

    z-index: 1;
}

/* ===============================
   HERO INNER GRID
================================ */

.driver-hero .hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ===============================
   HERO CONTENT
================================ */

.driver-hero .hero-content h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.driver-hero .hero-content h1 span {
    color: #6239F7;
}

.driver-hero .hero-content p {
    font-size: 18px;
    max-width: 520px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.driver-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons inherit from website.css */

/* ===============================
   HERO IMAGE
================================ */

.driver-hero .hero-image img {
    width: 100%;
    max-width: 420px;
    animation: float 5s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}


/* ===============================
   BENEFITS
================================ */

.driver-benefits {
    padding: 90px 0;
    background: #f9f9ff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.benefit-card {
    background: #ffffff;
    padding: 34px;
    border-radius: 20px;
}

.benefit-card i {
    font-size: 28px;
    color: #6239F7;
    margin-bottom: 12px;
}


/* ===============================
   READY SECTION
================================ */

.driver-ready {
    padding: 110px 0;
    background: radial-gradient(
        circle at top,
        #1a1433,
        #0b0f1e 70%
    );
    color: #ffffff;
}

.ready-inner {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ready-inner h2 {
    font-size: 42px;
    margin-bottom: 12px;
}

.ready-inner h2 span {
    color: #6239F7;
}

.ready-inner p {
    max-width: 620px;
    margin: 0 auto 36px;
    opacity: 0.9;
}

.ready-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
}


/* ===============================
   STORE BUTTONS
================================ */

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 600;
}

.store-btn.playstore {
    background: linear-gradient(135deg, #00c853, #00e5ff);
}

.store-btn.appstore {
    background: #111111;
}

.btn-outline.secondary {
    border: 2px solid rgba(255,255,255,0.4);
}


/* ===============================
   RESPONSIVE — MOBILE POLISHED
================================ */

@media (max-width: 900px) {

    .driver-hero {
        min-height: 52vh;
        padding: 60px 0 40px;
        background-position: center;
    }

    .driver-hero .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }

    .driver-hero .hero-content h1 {
        font-size: 34px;
    }

    .driver-hero .hero-content p {
        font-size: 15.5px;
        max-width: 100%;
    }

    .driver-hero .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .driver-hero {
        min-height: 48vh;
    }
}
