/* Starter card */
.pp-starter {
    position: relative;
    margin-top: 16px;
    padding: 12px 2px 2px;
    border-radius: 14px;
    background: linear-gradient(180deg, #1F73EE 0, #0B57D0 12px, #0B57D0 100%);
    box-shadow: 0 10px 32px rgba(11, 99, 246, .16);
}

.pp-starter__body {
    background: #fff;
    border-radius: 10px 10px 12px 12px;
    padding: 30px 20px 24px;
}

.pp-starter__badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    height: 34px;
    min-width: 226px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    background: #0B4FD1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(11, 79, 209, .25);
}

.pp-starter__divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #C9D3E3;
}

/* Starter features */
.pp-feat {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pp-feat__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pp-feat__row {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    line-height: 1.35;
}

.pp-feat__name {
    font-size: 15px;
    font-weight: 500;
    color: #0B1F44;
    text-decoration: none;
}

.pp-feat__name:hover {
    text-decoration: underline;
}

.pp-feat__copy {
    font-size: 15px;
    color: #6B7A93;
}

/* "Everything you need" flow */
.pp-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 22px 12px;
}

.pp-flow__step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
}

.pp-flow__icon {
    margin-bottom: 6px;
}

.pp-flow__label {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .3px;
    color: #0B1F44;
    margin-bottom: 2px;
}

.pp-flow__name {
    font-size: 16px;
    line-height: 1.45;
    color: #1B2A4A;
}

.pp-flow__copy {
    font-size: 15px;
    line-height: 1.4;
    color: #7A879C;
    margin-top: 10px;
    max-width: 230px;
}

.pp-flow__arrow {
    display: none;
}

/* CTA band */
.pp-cta {
    position: relative;
    overflow: hidden;
    padding: 30px 24px;
    background:
        radial-gradient(ellipse 50% 140% at 78% 0%, rgba(20, 96, 230, .55) 0%, rgba(20, 96, 230, 0) 70%),
        linear-gradient(90deg, #061640 0%, #0A2A6E 45%, #0B3A90 72%, #0A2A70 100%);
}

/* decorative wave lines, bottom-left */
.pp-cta::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none' fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath opacity='.18' d='M0 110 C120 70 220 120 340 88 S520 50 600 70'/%3E%3Cpath opacity='.14' d='M0 100 C130 60 230 112 350 78 S530 40 600 60'/%3E%3Cpath opacity='.10' d='M0 118 C110 84 210 124 330 98 S510 62 600 82'/%3E%3Cpath opacity='.08' d='M0 90 C140 52 240 104 360 68 S540 30 600 50'/%3E%3C/svg%3E") no-repeat left bottom / 100% 100%;
    pointer-events: none;
}

.pp-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pp-cta__title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}

.pp-cta__text {
    font-size: 16px;
    color: #DCE6F7;
    margin: 0;
}

.pp-cta__actions {
    flex-shrink: 0;
}

.pp-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pp-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    width: 232px;
    max-width: 100%;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
}

.pp-cta__btn--primary {
    background: #0B6BFF;
    border: 1px solid #0B6BFF;
}

.pp-cta__btn--primary:hover {
    background: #0A5FE6;
}

.pp-cta__btn--outline {
    width: 226px;
    border: 1px solid rgba(255, 255, 255, .7);
}

.pp-cta__btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

.pp-cta__note {
    font-size: 14px;
    color: #DCE6F7;
    text-align: center;
    margin: 12px 0 0;
}

@media (min-width: 640px) {
    .pp-starter__body {
        padding-left: 30px;
        padding-right: 30px;
    }

    .pp-feat__row {
        grid-template-columns: 250px 1fr;
        column-gap: 8px;
    }

    .pp-feat__name {
        white-space: nowrap;
    }
}

@media (min-width: 900px) {
    .pp-flow {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }

    .pp-flow__arrow {
        display: flex;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        color: #7A879C;
        position: relative;
    }

    .pp-flow__arrow::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background: #E3E9F3;
    }

    .pp-flow__arrow svg {
        position: relative;
        z-index: 1;
        display: block;
        background: #fff;
        padding: 6px 0;
        box-sizing: content-box;
    }
}

@media (min-width: 1024px) {
    .pp-cta {
        padding: 34px 75px;
    }

    .pp-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .pp-cta__title {
        font-size: 32px;
    }
}
/* ==========================================================================
   Compare page (AutoGIN vs. Others)
   ========================================================================== */
.cmp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #EAF1FB 0%, #F4F8FD 70%, #fff 100%);
}

/* pillars row */
.cmp-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
}

.cmp-pillar {
    text-align: left;
}

/* hero visual: stacked under the copy on mobile, full-bleed on the right on desktop */
.cmp-hero__media {
    position: relative;
    height: 280px;
    margin: 0 16px 24px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #C9DAF2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 12px 32px rgba(11, 31, 68, .14);
}

/* light-blue containers */
.cmp-panel {
    background: #F3F7FD;
    border: 1px solid #E1E8F2;
    border-radius: 16px;
}

/* AutoGIN logo mark (until a real logo asset is wired in) */
.cmp-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #0B1F44;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

.cmp-logo-mark--sm {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 6px;
}

/* option cards */
.cmp-card,
.cmp-ag-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
}

.cmp-card {
    border: 1px solid #E6ECF5;
}

.cmp-ag-card {
    border: 2px solid #0B63F6;
    justify-content: center;
}

.cmp-ag-card__btn {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border-radius: 8px;
    background: #0B63F6;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s;
}

.cmp-ag-card__btn:hover {
    background: #0A55D6;
}

/* capability matrix */
.cmp-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #E1E8F2;
    border-radius: 12px;
}

.cmp-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    color: #1B2A4A;
}

.cmp-table th,
.cmp-table td {
    padding: 10px 12px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #E7ECF4;
}

.cmp-table thead th {
    padding: 14px 12px;
    background: #fff;
}

.cmp-table .cmp-table__feature {
    width: 30%;
    padding-left: 18px;
    text-align: left;
    font-weight: 500;
    line-height: 1.35;
}

.cmp-table thead .cmp-table__feature {
    font-size: 16px;
    font-weight: 700;
    color: #0B1F44;
    background: #F8FAFD;
}

.cmp-table tbody tr:nth-child(odd) td:not(.is-ag) {
    background: #F8FAFD;
}

.cmp-table tbody tr:last-child td {
    border-bottom: 0;
}

.cmp-table tbody tr.cmp-table__price td {
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px solid #E1E8F2;
}

/* highlighted AutoGIN column */
.cmp-table .is-ag {
    width: 17%;
    background: #EAF3FF;
    border-left: 2px solid #2F7BEA;
    border-right: 2px solid #2F7BEA;
}

.cmp-table .is-ag-first {
    border-top: 2px solid #2F7BEA;
    border-radius: 10px 10px 0 0;
}

.cmp-table tbody tr:last-child td.is-ag-last {
    border-bottom: 2px solid #2F7BEA;
    border-radius: 0 0 10px 10px;
}

/* "Coming Soon" pill */
.cmp-soon {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: #FBE28F;
    color: #5C4300;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* benefits strip */
.cmp-benefits {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
}

.cmp-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px;
}

.cmp-benefit + .cmp-benefit {
    border-top: 1px solid #DDE5F1;
}

/* CTA extras (base styles come from .pp-cta) */
.cmp-cta {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cmp-cta__foot {
    gap: 14px;
}

.cmp-cta__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
}

.cmp-cta__checks li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #fff;
}

.cmp-cta__tagline {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    line-height: 1.6;
    text-transform: uppercase;
    color: #DCE6F7;
}

@media (min-width: 640px) {
    .cmp-pillars {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cmp-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmp-benefit + .cmp-benefit {
        border-top: 0;
    }
}

@media (min-width: 1024px) {
    .cmp-pillars {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
    }

    .cmp-pillar {
        padding: 0 16px;
    }

    .cmp-pillar:first-child {
        padding-left: 0;
    }

    .cmp-pillar + .cmp-pillar {
        border-left: 1px solid #D5DEEC;
    }

    .cmp-benefits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 18px 12px;
    }

    .cmp-benefit + .cmp-benefit {
        border-left: 1px solid #DDE5F1;
    }

    .cmp-cta__foot {
        align-items: flex-end;
    }
}

.cmp-cta .pp-cta__inner {
    width: 100%;
}

@media (min-width: 1024px) {
    .cmp-hero__media {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        /* width follows the hero height so the whole photo (incl. its badges) stays visible */
        aspect-ratio: 464 / 302;
        height: auto;
        max-width: 60%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        background-position: right center;
        background-size: cover;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
        mask-image: linear-gradient(90deg, transparent 0, #000 35%);
    }
}

/* ==========================================================================
   Products overview cards (site/products/index.blade.php)
   Per-card accent comes from --pd-c / --pd-tint set inline on .pd-card.
   ========================================================================== */
.pd-card {
    text-decoration: none;
}

/* tinted glow behind the header illustration, fading to white on the left */
.pd-card__head {
    background:
        radial-gradient(ellipse 60% 120% at 92% 45%, var(--pd-tint) 0%, rgba(255, 255, 255, 0) 100%),
        #fff;
}

.pd-card__art {
    transition: transform .2s ease;
}

.pd-card:hover .pd-card__art {
    transform: translateY(-2px);
}
