/* --- Root Variables --- */
:root {
    --color-dark-background: #141414;
    --color-text-primary: #ffffff;
    --color-text-secondary: #808080;
    --color-accent-teal: #67ebd3;
    --color-black: #000000;
}

/* ===== Section Container ===== */
.drive-with-prestige-section {
    /* background-color: var(--color-dark-background); */
    padding: 80px 24px 100px;
}

/* ===== Two-Column Layout ===== */
.drive-prestige-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin: 0 auto;

    /* NEW: Limit the container width on all screens */
    max-width: 1440px; /* Use a generous, yet controlled, max-width */
}

/* ===== Left Image ===== */
.prestige-image {
    flex: 1 1 100%; /* full width on small screens */
    max-width: 458px;
    aspect-ratio: 458 / 428;
    background: url("../../images/pic6.jpg") no-repeat center center;
    background-size: cover;
    border-radius: 12px;
}

/* ===== Right Content ===== */
.prestige-content-group {
    flex: 1 1 100%; /* full width on small screens */
    max-width: 458px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.prestige-text-and-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== Heading & Subtitle ===== */
.prestige-heading-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prestige-tag {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-primary);
    margin: 0;
}

.prestige-title {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: var(--color-text-primary);
    margin: 0;
}

.prestige-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ===== Benefits List ===== */
.prestige-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-item .checkmark {
    width: 16px;
    height: 16px;
    background-color: var(--color-text-primary);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;
}

.benefit-item p {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-primary);
    margin: 0;
}

/* ===== CTA Group ===== */
.prestige-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-prompt {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-primary);
    margin: 0;
}

.cta-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    padding: 13px 24px;
    gap: 10px;

    width: 301px;
    height: 44px;

    background: #67ebd3;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.cta-button .button-text {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: -0.02em;
    color: #000000;
}

/* ===== Responsive ===== */
/* ===== Responsive Adjustments ===== */
@media (max-width: 968px) {
    .drive-prestige-container {
        flex-direction: column; /* stack in a column */
        align-items: center;
    }

    /* Make image full width */
    .prestige-image {
        order: 1;
        width: 100%;
        max-width: 100%;
        height: 250px; /* fixed height for mobile */
        background-size: cover;
        border-radius: 12px;
        margin-top: 24px;
    }

    /* Content on top */
    .prestige-content-group {
        order: 2; /* content first */
        width: 100%;
        max-width: 100%;
    }

    /* Center text for mobile */
    .prestige-title {
        font-size: 28px;
        text-align: center;
    }
    .prestige-subtitle,
    .benefit-item p,
    .cta-prompt {
        text-align: center;
    }
    .prestige-benefits-list {
        align-items: start;
    }
    .prestige-cta-group {
        align-items: center;
    }
}

/* ===== XL Screens (≥1441px) – Premium-like layout ===== */

/* ===== Section Spacing & Visual Separation ===== */
.drive-with-prestige-section {
    position: relative;
    z-index: 1;
}

.drive-prestige-container {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.drive-prestige-container:hover {
    transform: translateY(-4px);
}

/* Optional subtle glow for accent consistency */
.cta-button:hover {
    box-shadow: 0 0 20px rgba(103, 235, 211, 0.5);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ===== XL Screens (≥1441px) – Premium-like layout (Revised) ===== */
@media (min-width: 1441px) {
    /* Ensure the container is aligned and has proper space */
    .drive-prestige-container {
        gap: 50px; /* Increase the space between the image and content */
        flex-wrap: nowrap;
        max-width: 80%;
        margin: 0 auto;
    }

    .prestige-image {
        flex: 1 1 450px;
        max-width: none;
    }

    .prestige-content-group {
        /* Set the content to take 50% of the LIMITED container width */
        flex: 1 1 800px;
        max-width: none;
    }

    /* Increase font sizes for better legibility on a huge screen */
    .prestige-title {
        font-size: 56px;
    }
    .prestige-tag,
    .prestige-subtitle,
    .benefit-item p,
    .cta-prompt,
    .cta-button .button-text {
        font-size: 18px;
    }

    .cta-button {
        width: 350px;
        height: 44px;
    }
}
