/* =========================================
   CHAUFFEUR PRODUCT PAGE - GLOBAL VARIABLES
========================================= */

.cp-page {
    --cp-black: #0c0c0d;
    --cp-text: #151515;
    --cp-muted: #666a70;
    --cp-bg: #ffffff;
    --cp-light: #f6f7f8;
    --cp-border: #e7e8ea;
    --cp-radius: 18px;
    --cp-width: 1200px;

    background: var(--cp-bg);
    color: var(--cp-text);
    overflow: hidden;
}

.cp-page * {
    box-sizing: border-box;
}

.cp-container {
    width: min(100% - 40px, var(--cp-width));
    margin-left: auto;
    margin-right: auto;
}

.cp-section {
    padding: 90px 0;
}

.cp-section-light {
    background: var(--cp-light);
}

.cp-section-dark {
    background: var(--cp-black);
    color: #fff;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cp-eyebrow:before {
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}

.cp-page h1,
.cp-page h2,
.cp-page h3 {
    color: inherit;
    margin-top: 0;
}

.cp-page h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.cp-page h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.cp-page h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cp-lead {
    font-size: 19px;
    line-height: 1.75;
    color: var(--cp-muted);
    max-width: 700px;
}

.cp-section-dark .cp-lead {
    color: #b9bcc1;
}

.cp-center {
    text-align: center;
}

.cp-center .cp-lead {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   BUTTONS
========================================= */

.cp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.cp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 9px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    transition: all .25s ease;
}

.cp-button-primary {
    background: var(--cp-black);
    color: #fff !important;
    border: 1px solid var(--cp-black);
}

.cp-button-primary:hover {
    transform: translateY(-2px);
    background: #28282a;
}

.cp-button-outline {
    border: 1px solid #d4d5d7;
    color: var(--cp-black) !important;
    background: #fff;
}

.cp-button-outline:hover {
    border-color: var(--cp-black);
}

.cp-section-dark .cp-button-primary {
    background: #fff;
    border-color: #fff;
    color: #111 !important;
}

/* =========================================
   HERO
========================================= */

.cp-hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(circle at 80% 20%, #f0f1f3 0, transparent 34%),
        #fff;
}

.cp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.cp-hero-content {
    max-width: 580px;
}

.cp-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.cp-trust-list span:before {
    content: "✓";
    display: inline-block;
    margin-right: 7px;
    font-weight: 800;
}

/* =========================================
   SCREENSHOT / PRODUCT IMAGE
========================================= */

.cp-screen {
    position: relative;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 20px;
    padding: 9px;
    box-shadow:
        0 30px 70px rgba(0,0,0,.10),
        0 8px 25px rgba(0,0,0,.06);
}

.cp-screen:before {
    content: "";
    display: block;
    height: 29px;
    margin: -1px -1px 8px;
    border-radius: 13px 13px 5px 5px;
    background:
        radial-gradient(circle at 16px 14px, #bbb 0 3px, transparent 4px),
        radial-gradient(circle at 29px 14px, #ccc 0 3px, transparent 4px),
        radial-gradient(circle at 42px 14px, #ddd 0 3px, transparent 4px),
        #f6f6f6;
}

.cp-screen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.cp-screen-placeholder {
    min-height: 410px;
}

.cp-screen-placeholder:after {
    content: "Replace with your software screenshot";
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: #f3f4f5;
    color: #8b8e93;
    font-weight: 600;
}

/* =========================================
   FEATURE STRIP
========================================= */

.cp-feature-strip-wrap {
    border-top: 1px solid var(--cp-border);
    border-bottom: 1px solid var(--cp-border);
    background: #fff;
}

.cp-feature-strip {
    min-height: 84px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.cp-feature-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    border-right: 1px solid var(--cp-border);
}

.cp-feature-strip span:last-child {
    border-right: 0;
}

/* =========================================
   GRIDS
========================================= */

.cp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
}

.cp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cp-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* =========================================
   CARDS
========================================= */

.cp-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    transition: .25s ease;
}

.cp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,0,0,.07);
}

.cp-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.cp-card p {
    margin: 0;
    color: var(--cp-muted);
    line-height: 1.7;
}

/* =========================================
   FEATURE SHOWCASE
========================================= */

.cp-showcase-copy {
    max-width: 520px;
}

.cp-check-list {
    list-style: none;
    padding: 0;
    margin: 27px 0 0;
}

.cp-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 13px;
    line-height: 1.6;
}

.cp-check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
}

/* =========================================
   DARK HIGHLIGHT
========================================= */

.cp-dark-box {
    padding: 65px;
    border-radius: 26px;
    background: #0c0c0d;
    color: #fff;
}

.cp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.cp-stat {
    padding-top: 20px;
    border-top: 1px solid #333;
}

.cp-stat strong {
    display: block;
    margin-bottom: 5px;
    font-size: 19px;
    color: #fff;
}

.cp-stat span {
    color: #aaaeb3;
    font-size: 14px;
}

/* =========================================
   ECOSYSTEM
========================================= */

.cp-ecosystem {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 45px;
}

.cp-ecosystem-item {
    position: relative;
    padding: 27px 18px;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 15px;
    text-align: center;
}

.cp-ecosystem-item.active {
    background: var(--cp-black);
    color: #fff;
    border-color: var(--cp-black);
}

.cp-ecosystem-item strong {
    display: block;
    font-size: 16px;
}

.cp-ecosystem-item small {
    display: block;
    margin-top: 6px;
    color: #777;
}

.cp-ecosystem-item.active small {
    color: #bbb;
}

/* =========================================
   FAQ
========================================= */

.cp-faq {
    max-width: 850px;
    margin: 40px auto 0;
    border-top: 1px solid var(--cp-border);
}

.cp-faq details {
    border-bottom: 1px solid var(--cp-border);
}

.cp-faq summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 24px 50px 24px 0;
    font-size: 17px;
    font-weight: 700;
}

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

.cp-faq summary:after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 19px;
    font-size: 27px;
    font-weight: 400;
}

.cp-faq details[open] summary:after {
    content: "−";
}

.cp-faq-answer {
    max-width: 760px;
    padding: 0 0 24px;
    color: var(--cp-muted);
    line-height: 1.75;
}

/* =========================================
   CTA
========================================= */

.cp-final-cta {
    padding: 80px 40px;
    text-align: center;
    border-radius: 28px;
    background: #0b0b0c;
    color: #fff;
}

.cp-final-cta h2 {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.cp-final-cta p {
    max-width: 680px;
    margin: 0 auto;
    color: #b8bbc0;
    font-size: 18px;
    line-height: 1.7;
}

.cp-final-cta .cp-buttons {
    justify-content: center;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 1024px) {

    .cp-hero-grid,
    .cp-grid-2 {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .cp-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-feature-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .cp-ecosystem {
        grid-template-columns: repeat(3, 1fr);
    }

    .cp-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .cp-container {
        width: min(100% - 30px, var(--cp-width));
    }

    .cp-section {
        padding: 65px 0;
    }

    .cp-hero {
        padding: 70px 0 55px;
    }

    .cp-page h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .cp-page h2 {
        font-size: 32px;
    }

    .cp-grid-3,
    .cp-grid-4,
    .cp-ecosystem {
        grid-template-columns: 1fr;
    }

    .cp-feature-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-feature-strip span {
        border-bottom: 1px solid var(--cp-border);
    }

    .cp-dark-box {
        padding: 40px 25px;
    }

    .cp-stat-grid {
        grid-template-columns: 1fr;
    }

    .cp-final-cta {
        padding: 60px 25px;
    }

    .cp-screen-placeholder {
        min-height: 270px;
    }

    .cp-screen-placeholder:after {
        min-height: 230px;
    }
}
@media (max-width: 1024px) {
    body .main-navigation .inside-navigation {
        min-height: 0px;
    }
}