/* Start page styles (/start) — extracted from start.blade.php */

/* Prevent iOS Safari from auto-inflating small text so the device mockups stay crisp on mobile */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

.featured-content-bg { background-color: #f1f1f1; }

.featured-content {
    --featured-content-background: var(--brand-accent, #DE1E17);
    --featured-content-color: #fff;
    --featured-contrast-color: #fff;
    color: var(--featured-content-color);
}

.service-button {
    background-color: #fff;
    color: var(--brand-accent, #DE1E17);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 1;
    text-decoration: none;
}

.btn-select-product-ui {
    text-transform: capitalize;
    font-size: .88em;
    border: 1px solid transparent;
    background: #fff;
    color: #555;
    white-space: normal;
    /*margin-bottom: 30px;*/
    font-weight: bold;
}

.service-button.card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 14px 8px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    text-decoration: none;
}

.service-button.card .card-body {
    display: block;
    padding: 0;
    background: none;
    border: 0;
}

.service-button.card .card-title {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--brand-accent, #DE1E17);
    text-align: center;
}

.service-button.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    border-color: #ddd;
}

.featured-content .card {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: var(--brand-accent, #DE1E17);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    transform: scale(1);
    transition: all 150ms ease-in-out;
    min-height: 110px;
}

.featured-content .card i {
    color: var(--brand-accent, #DE1E17);
    font-size: 2.3rem;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .featured-content .card {
        flex-direction: column;
    }
}

/* Hover lift */
.featured-content .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Remove link underlines */
.featured-content a.card,
.featured-content .card a {
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .featured-content .card {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 6px 10px;
        min-height: 60px;
        border-radius: 10px;
    }

    .featured-content .card i {
        font-size: 1.6rem;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .featured-content .card .card-title {
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
        color: var(--brand-accent, #DE1E17);
        text-align: left;
        padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    }

    .featured-content .card i {
        fill: currentColor;
        flex: none;
        margin: 15px 0 15px 5px;
        opacity: 1;
        font-size: 2rem;
    }
    .btn-select-product-ui {
        margin-bottom: 0px;
    }
}

.top40 { margin-top: 40px; }
.top100 { margin-top: 100px; }

.slider h2 { color: #111; font-weight: bold; }
.btn-app-portal { display: none; }

/* ===== Start page refresh (lower sections) ===== */
:root {
    --start-accent: var(--brand-accent, #DE1E17);
    --start-accent-soft: color-mix(in srgb, var(--brand-accent, #DE1E17) 7%, transparent);
    --start-success: #28a745;
    --start-ink: #1f2937;
    --start-muted: #6b7280;
    --start-card-bg: #fff;
    --start-card-border: #ececec;
    --start-card-radius: 16px;
    --start-card-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    --start-card-shadow-hover: 0 16px 40px rgba(0, 0, 0, .10);
    --start-gap: clamp(2.5rem, 6vw, 5rem);
}

/* Headings */
.start-section-title {
    color: var(--start-ink);
    font-weight: 600;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.25;
}
.start-row-title {
    color: var(--start-ink);
    font-weight: 600;
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    margin-bottom: 1rem;
}
.start-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .9rem;
    font-weight: 700;
    color: var(--start-muted);
    margin: 0;
}

/* Shared card */
.start-card {
    height: 100%;
    background: var(--start-card-bg);
    border: 1px solid var(--start-card-border);
    border-radius: var(--start-card-radius);
    box-shadow: var(--start-card-shadow);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    transition: transform .15s ease, box-shadow .15s ease;
}
.start-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--start-card-shadow-hover);
}

/* Google rating cluster */
.google-rating { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.google-rating img { width: 56px; height: 56px; }
.google-rating .stars i { color: #ffca28; font-size: 18px; }
.google-rating .rating-text {
    color: var(--start-muted); font-size: .9rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; margin: 0;
    text-align: center;
}

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; gap: .85rem; }
.testimonial-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.testimonial-card__name { font-weight: 700; color: var(--start-ink); }
.testimonial-card__stars { margin-top: .25rem; }
.testimonial-card__stars i { color: #ffca28; font-size: 14px; }
.testimonial-card__g { width: 26px; height: 26px; flex: none; }
.testimonial-card__quote { color: var(--start-muted); line-height: 1.6; margin: 0; }

/* As seen on */
.as-seen {
    margin: 3rem 0 0.5rem;
    background: #f6f7f9;
    border: 1px solid #ebedf0;
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2rem) 1rem;
}
.as-seen-logos {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem);
    margin-top: 1.25rem;
}
.as-seen-logos .partner { flex: 0 0 auto; }
.as-seen-logos .partner img {
    height: 50px; width: auto; margin: 0;
    filter: grayscale(100%); opacity: .7;
    /* logos shipped with opaque white backgrounds (yahoo, global-news, okmag)
       blend into the light section bg instead of showing as white boxes */
    mix-blend-mode: multiply;
}
.as-seen-logos .partner img[alt="National Post"] { height: 40px; }
@media (max-width: 767.98px) {
    /* even 2×2 grid so the wide National Post wordmark doesn't strand on its own row */
    .as-seen-logos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        justify-items: center;
        align-items: center;
    }
    .as-seen-logos .partner img { height: auto; max-height: 38px; max-width: 100%; }
    .as-seen-logos .partner img[alt="National Post"] { height: auto; max-height: 30px; }
}

/* How it works - step cards */
.hiw-grid { margin-top: 1.5rem; }
.hiw-card { text-align: center; }
/* device mockup (monitor is identical across all 3; only the screen content differs) */
.hiw-mock { width: 100%; max-width: 300px; margin: 0 auto 1.1rem; zoom: 0.82; }
.hiw-screen {
    border: 4px solid #1f2937;
    border-radius: 18px;
    background: #fff;
    aspect-ratio: 1.4;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hiw-screen > * { width: 100%; }
.hiw-stand { display: block; width: 100%; margin: -2px auto 0; }

/* step 1 — service grid */
.hiw-select { display: flex; flex-direction: column; gap: 16px; }
.hiw-screen-title { color: var(--start-ink); font-weight: 700; font-size: 15px; line-height: 1.25; text-align: center; }
.hiw-grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hiw-tile { background: #f3f5f7; border: 1px solid #e6eaee; border-radius: 8px; padding: 9px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hiw-tile i { color: var(--brand-accent, #DE1E17); font-size: 17px; line-height: 1; }
.hiw-tile span { width: 62%; height: 4px; border-radius: 2px; background: #cfd6dd; }
.hiw-tile--active { position: relative; border-color: var(--brand-accent, #DE1E17); background: var(--start-accent-soft); }
i.hiw-pointer { position: absolute; color: #fff; font-size: 22px; line-height: 1; -webkit-text-stroke: 1.4px #1f2937; paint-order: stroke fill; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35)); }
.hiw-tile .hiw-pointer { right: 4px; bottom: 3px; }
.hiw-submit .hiw-pointer { right: -4px; bottom: -8px; }

/* step 2 — form */
.hiw-form { display: flex; flex-direction: column; gap: 14px; }
.hiw-fields { display: flex; flex-direction: column; gap: 6px; width: 78%; margin: 0 auto; }
.hiw-field { display: flex; align-items: center; gap: 8px; }
.hiw-field i { flex: none; color: var(--brand-accent, #DE1E17); font-size: 14px; width: 15px; text-align: center; }
.hiw-field span { flex: 1; display: flex; align-items: center; height: 24px; padding: 0 9px; background: #f3f5f7; border: 1px solid #e6eaee; border-radius: 6px; }
.hiw-field span::before { content: ""; width: 80%; height: 4px; border-radius: 2px; background: #cfd6dd; }
.hiw-submit { position: relative; align-self: center; background: var(--brand-accent, #DE1E17); color: #fff; border-radius: 8px; padding: 5px 24px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }

/* step 3 — result */
.hiw-result { display: flex; flex-direction: column; gap: 12px; width: 88%; margin: 0 auto; }
.hiw-thanks { color: var(--start-ink); font-weight: 700; font-size: 15px; line-height: 1.3; }
.hiw-bankcard { position: relative; display: flex; flex-direction: column; gap: 10px; border: 1px solid #e6eaee; background: #f3f5f7; border-radius: 8px; padding: 11px; }
.hiw-bankcard__head { display: flex; align-items: center; gap: 16px; }
.hiw-bankcard__logo { color: var(--brand-accent, #DE1E17); font-size: 28px; }
.hiw-bankcard__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; padding-right: 16px; }
.hiw-bankcard__txt b { color: #1f2937; font-size: 15px; line-height: 1.2; }
.hiw-bankcard__txt span { height: 4px; border-radius: 2px; background: #cfd6dd; }
.hiw-bankcard__txt span:nth-of-type(1) { width: 78%; }
.hiw-bankcard__txt span:nth-of-type(2) { width: 52%; background: #e2e7ec; }
.hiw-bankcard__check { position: absolute; top: 7px; right: 8px; color: var(--brand-accent, #DE1E17); font-size: 18px; }
.hiw-offer-btn { align-self: center; background: transparent; color: var(--brand-accent, #DE1E17); border: 1px solid var(--brand-accent, #DE1E17); border-radius: 6px; padding: 4px 14px; font-size: 10px; font-weight: 700; }
.hiw-num {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--start-accent); color: #fff;
    font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem;
}
.hiw-card .hiw-title { color: var(--start-ink); font-weight: 600; margin-bottom: .5rem; line-height: 1.3; min-height: 2.6em; }
.hiw-card .hiw-body { color: var(--start-muted); margin: 0; text-align: left; }

/* Why rows */
.why-row { align-items: center; row-gap: 1.5rem; margin-top: clamp(1.75rem, 4vw, 3rem); }
.why-row .why-media { display: flex; justify-content: center; align-items: center; order: 2; }
.why-row .why-text { order: 1; }
.why-row .why-media img { max-width: min(260px, 80%); height: auto; }
.why-row .why-media img[src*="piggy-bank"] { max-width: min(210px, 80%); }
.why-row .why-media img#lc-icon { max-width: min(170px, 70%); }
.why-row .why-media img[src*="customer-service"] { max-width: min(200px, 75%); }
@media (min-width: 768px) {
    .why-row .why-media { order: 1; }
    .why-row .why-text { order: 2; }
    .why-row--reverse .why-media { order: 2; }
    .why-row--reverse .why-text { order: 1; }
}

/* Promo checklist */
.promo-list { margin: 0; padding: 0; }
.promo-list li {
    position: relative; padding-left: 2rem;
    margin-bottom: .85rem; line-height: 1.5; color: var(--start-ink);
}
.promo-list li i {
    position: absolute; left: 0; top: .15rem;
    color: var(--start-success); font-size: 1.15rem;
}

/* Success button + CTA band */
.btn-success { background-color: #06b406; border-color: #06b406; }
.start-cta {
    background: var(--start-accent-soft);
    border-radius: var(--start-card-radius);
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2.25rem) 1rem;
    margin-top: clamp(1.75rem, 4vw, 3rem);
}
.start-cta h2 { margin-bottom: 1rem; }
.start-cta .btn-success {
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(6, 180, 6, .25);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.start-cta .btn-success:hover {
    background-color: #05a005; border-color: #05a005;
    transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6, 180, 6, .32);
}
@media (max-width: 575.98px) {
    .start-cta .btn-success { display: block; width: 100%; max-width: 320px; margin-inline: auto; }
}

.btn-restart {
    background-color: white;
    color: var(--brand-accent, #DE1E17) !important;
    font-weight: 500;
    opacity: 0.9;
    font-size: 0.9rem;
}
