/* Public landing page (resources/views/TGC/landing/welcome.blade.php) */
:root {
    --wl-primary: #004a93;
    --wl-ink: #0b2a52;
    --wl-muted: #5b6b80;
    --wl-yellow: #ffd52a;
    --wl-teal: #1bbfd3;
    --wl-tint: #f1f6fa;
    --wl-border: #e3ebf3;
    --wl-placeholder: #dfe9f3;
    --wl-placeholder-icon: #b9cfe6;
}

*, *::before, *::after { box-sizing: border-box; }

/* Same type scale as the signed-in home page (style.bundle.css sets html to 11px, 9px below 992px),
   so every rem below reads at the size it does there */
html { font-size: 11px; }

body.wl {
    margin: 0;
    font-family: Montserrat, Helvetica, sans-serif;
    color: var(--wl-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wl a { text-decoration: none; }
.wl h1, .wl h2, .wl h3, .wl p { margin: 0; }

.wl-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.wl-center { text-align: center; }

/* Buttons */
.wl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 24px; border-radius: 10px; border: 1.5px solid transparent;
    font-weight: 700; font-size: 1rem; line-height: 1.2; transition: filter .15s, background .15s;
}
.wl-btn:hover { filter: brightness(.95); }
.wl-btn i { font-size: 1.2rem; }
.wl-btn--primary { background: var(--wl-primary); color: #fff; }
.wl-btn--primary i { color: var(--wl-yellow); }
.wl-btn--primary:hover { color: #fff; }
.wl-btn--warning { background: var(--wl-yellow); color: var(--wl-primary); }
.wl-btn--warning:hover { color: var(--wl-primary); }
.wl-btn--outline { background: #fff; color: var(--wl-primary); border-color: var(--wl-primary); }
.wl-btn--outline:hover { color: var(--wl-primary); background: #f5f9fd; }
.wl-btn--lg { padding: 14px 32px; font-size: 1.1rem; }
.wl-btn--xl { padding: 18px 72px; font-size: 1.15rem; }

/* Header */
.wl-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--wl-border); }
.wl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.wl-brand { display: flex; flex-direction: column; gap: 6px; }
/* Mirrors the home page header: both logos at 40px, the agent line under them */
.wl-brand__logos { display: flex; align-items: center; gap: 1rem; }
.wl-brand__logo { height: 40px; width: auto; }
.wl-brand__sub { font-size: 1rem; color: #063D80; }
.wl-header__actions { display: flex; gap: 12px; }

/* Hero */
.wl-hero {
    background:
        linear-gradient(to bottom, rgba(241, 246, 250, 0) 40%, rgba(241, 246, 250, .2) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300' preserveAspectRatio='none'%3E%3Cpath fill='%23dbecf3' d='M0 60h40v240H0zM60 80l50-50h90l40 40v230H60zM150 0h50v40h-50zM260 140h70v160h-70zM330 120h60v-20h30v200h-90zM420 200h60v100h-60zM980 220h80v80h-80zM1060 160h70v140h-70zM1150 60h70l50 50v190h-120zM1210 0h50v60h-50zM1290 120h60v180h-60zM1360 60h80v240h-80z'/%3E%3C/svg%3E") bottom / 100% 55% no-repeat,
        var(--wl-tint);
    padding: 120px 0 140px;
    text-align: center;
}
.wl-hero__title { font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1.12; color: #0b1f40; }
.wl-hero__title span { color: var(--wl-primary); }
.wl-hero__lead { max-width: 900px; margin: 32px auto 0 !important; font-size: 1.2rem; line-height: 1.6; }
.wl-hero__cta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.wl-hero__note { margin-top: 32px !important; font-size: .95rem; line-height: 1.7; color: var(--wl-primary); }

/* Stats */
.wl-stats { background: var(--wl-primary); color: #fff; padding: 48px 0; }
.wl-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.wl-stats strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--wl-yellow); line-height: 1.2; }
.wl-stats span { font-size: 1.05rem; font-weight: 500; }

/* Sections */
.wl-section { padding: 96px 0; }
.wl-section--tint { background: var(--wl-tint); }
.wl-title { font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 800; color: var(--wl-primary); text-align: center; line-height: 1.2; }
.wl-title--left { text-align: left; }
.wl-subtitle { max-width: 1000px; margin: 28px auto 64px !important; text-align: center; font-size: 1.2rem; line-height: 1.6; }

.wl-card { display: block; background: #fff; border: 1px solid var(--wl-border); border-radius: 22px; padding: 28px 24px; color: inherit; }
.wl-card:hover { color: inherit; }
.wl-placeholder { display: flex; align-items: center; justify-content: center; background: var(--wl-placeholder); color: var(--wl-placeholder-icon); }

/* Products */
.wl-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.wl-product { display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.wl-product:hover { box-shadow: 0 12px 30px rgba(0, 74, 147, .1); transform: translateY(-3px); }
.wl-product__img { width: 116px; height: 98px; border-radius: 6px; font-size: 3rem; margin-bottom: 28px; }
.wl-product h3 { font-size: 1.25rem; font-weight: 700; color: var(--wl-primary); margin-bottom: 18px; }
.wl-product p { font-size: 1rem; line-height: 1.5; color: var(--wl-muted); flex: 1; }
.wl-product__price { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; color: #1e88b8; font-weight: 700; font-size: 1.1rem; }

/* Steps */
.wl-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-bottom: 96px; }
.wl-step { position: relative; padding: 36px; }
.wl-step:not(:last-child)::after {
    content: ""; position: absolute; top: 70px; right: -33px; width: 32px; height: 3px; background: #7ea2c9;
}
.wl-step__num { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 14px; background: var(--wl-yellow); font-weight: 700; font-size: 1.15rem; margin-bottom: 24px; }
.wl-step h3 { font-size: 1.3rem; font-weight: 800; color: var(--wl-primary); line-height: 1.15; margin-bottom: 18px; }
.wl-step p { font-size: 1.05rem; line-height: 1.7; color: var(--wl-muted); }

/* Testimonials */
.wl-testimonials { position: relative; background: linear-gradient(#f4f8fb, #fff); overflow: hidden; padding-top: 48px; }
.wl-testimonials__deco { position: absolute; top: 20px; left: 50px; width: 300px; height: 280px; border-radius: 28px; font-size: 8rem; transform: rotate(-15deg); opacity: .6; }
.wl-testimonials .wl-container { position: relative; }
.wl-stars { text-align: center; margin: 48px 0 72px; color: var(--wl-yellow); font-size: 5rem; letter-spacing: 20px; }
.wl-reviews { display: flex; justify-content: center; padding: 0 0 40px; }
.wl-review {
    flex: 0 0 470px; min-height: 440px; background: #fff; border-radius: 26px; padding: 40px;
    box-shadow: 0 18px 40px rgba(11, 42, 82, .12); margin-left: -150px;
}
.wl-review:first-child { margin-left: 0; }
.wl-review:nth-child(1) { transform: rotate(3deg) translateY(30px); z-index: 1; }
.wl-review:nth-child(2) { transform: rotate(-4deg) translateY(70px); z-index: 2; }
.wl-review:nth-child(3) { transform: rotate(2deg); z-index: 3; }
.wl-review:nth-child(4) { transform: rotate(-5deg) translateY(50px); z-index: 4; }
.wl-review:nth-child(5) { transform: rotate(3deg) translateY(80px); z-index: 5; }
.wl-review:hover { z-index: 10; }
/* Hovering the stack deals the cards out into a straight row; the section clips the outer ones */
.wl-review { transition: transform .5s ease, margin .5s ease, flex-basis .5s ease, min-height .5s ease, padding .5s ease; }
.wl-reviews:hover .wl-review { flex-basis: 330px; min-height: 330px; padding: 30px; margin-left: 20px; transform: none; }
.wl-reviews:hover .wl-review:first-child { margin-left: 0; }
.wl-review__head { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.wl-review__avatar { flex: 0 0 68px; width: 68px; height: 68px; object-fit: cover; border-radius: 50%; background: var(--wl-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; }
.wl-review__name { font-size: 1.45rem; font-weight: 700; }
.wl-review__role { color: var(--wl-primary); font-size: 1.05rem; }
.wl-review p { font-size: 1.2rem; line-height: 1.6; }

/* App */
.wl-app { background: radial-gradient(ellipse at 85% 60%, #e7f0f8 0 30%, transparent 31%), #fff; }
.wl-app__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.wl-app__lead { font-size: 1.35rem; line-height: 1.6; margin: 48px 0 56px !important; }
.wl-checklist { list-style: none; padding: 0; margin: 0 0 64px; }
.wl-checklist li { display: flex; gap: 20px; font-size: 1.2rem; color: var(--wl-primary); line-height: 1.5; margin-bottom: 18px; }
.wl-checklist i { color: var(--wl-yellow); font-size: 1.3rem; margin-top: 4px; }
.wl-stores { display: flex; gap: 20px; flex-wrap: wrap; }
.wl-stores img { height: 64px; width: auto; }
.wl-app__visual { position: relative; display: flex; justify-content: flex-end; }
.wl-app__mascot { width: 100%; max-width: 460px; height: auto; }
.wl-bubble {
    position: absolute; left: 0; top: 30%; max-width: 280px; padding: 28px; border-radius: 30px 30px 30px 6px;
    background: var(--wl-teal); color: #fff; font-size: 1.35rem; font-weight: 600; line-height: 1.35;
    transform: rotate(-6deg); box-shadow: 6px 6px 0 #ffe27a;
}
/* Smaller than the base bubble and tucked left of Echo, pointing at him, so it no longer covers him */
.wl-bubble--app { top: 36%; left: 16px; max-width: 175px; padding: 14px 16px; border-radius: 20px 20px 6px 20px; font-size: 1.25rem; transform: rotate(-4deg); }
.wl-bubble__stores { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.wl-bubble__stores span { font-size: .9rem; font-weight: 500; line-height: 1.2; margin-right: 4px; }
.wl-bubble__stores a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: #000; color: #fff; font-size: 15px; }
.wl-bubble__stores a:hover { color: var(--wl-yellow); }

/* Dark */
.wl-dark { background: radial-gradient(circle at 15% 50%, #0e2350 0 32%, transparent 33%), linear-gradient(120deg, #001b44, #0b1540); color: #fff; padding: 130px 0; }
.wl-dark__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.wl-eyebrow { display: block; color: var(--wl-yellow); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 24px; }
.wl-dark h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 800; line-height: 1.2; }
.wl-dark h2 span { color: var(--wl-teal); }
.wl-dark p { margin-top: 36px !important; font-size: 1.2rem; line-height: 1.7; color: #c9d4e6; max-width: 580px; }
.wl-dark__media { aspect-ratio: 1.05; border-radius: 28px; background: #2b3b72; display: flex; align-items: center; justify-content: center; font-size: 15rem; color: #12205e; }

/* Claims */
.wl-claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: center; }
.wl-claim { text-align: center; padding: 64px 100px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.wl-claim:nth-child(2) { transform: translateY(-50px); }
.wl-claim__img { aspect-ratio: 1.05; border-radius: 28px; font-size: 9rem; margin-bottom: 48px; }
.wl-claim h3 { font-size: 1.6rem; font-weight: 700; color: var(--wl-primary); }
.wl-claim:hover { border: 2px solid var(--wl-teal); box-shadow: 0 16px 30px rgba(27, 191, 211, .15); }
.wl-claim:hover h3 { color: var(--wl-teal); }

/* Contact */
.wl-contact__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.wl-contact__lead { font-size: 1.2rem; line-height: 1.7; margin-top: 24px !important; max-width: 720px; padding-bottom: 80px; }
/* Echo stands behind the contact cards: the negative margin tucks his legs under them */
.wl-contact__echo { position: relative; flex: 0 0 auto; display: flex; align-items: flex-end; margin-bottom: -140px; padding-left: 160px; }
.wl-contact__echo img { width: 300px; height: auto; display: block; }
.wl-bubble--small { top: 40px; left: 0; max-width: 165px; padding: 14px 16px; border-radius: 20px 20px 6px 20px; font-size: 1.25rem; transform: rotate(-4deg); }
.wl-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; position: relative; z-index: 1; }
.wl-contact-card { display: flex; flex-direction: column; gap: 36px; background: var(--wl-primary); color: #fff; padding: 40px; border-radius: 22px; }
.wl-contact-card:hover { color: #fff; filter: brightness(1.08); }
.wl-contact-card__head { display: flex; align-items: center; gap: 20px; font-size: 1.25rem; font-weight: 600; }
.wl-contact-card__head i { color: var(--wl-yellow); font-size: 1.8rem; }
.wl-contact-card__value { display: flex; justify-content: space-between; align-items: center; font-size: 1.4rem; font-weight: 700; word-break: break-all; }

/* Floating Echo */
.wl-echo { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; align-items: center; }
/* The circle is a wrapper, not the img: a rounded img clips its own picture to a circle inside the padding */
.wl-echo__circle { display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; padding: 10px; border-radius: 50%; background: #fff; border: 4px solid #8fe0ea; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.wl-echo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wl-echo__label { margin-top: -14px; background: var(--wl-yellow); color: var(--wl-primary); font-weight: 800; padding: 3px 12px; border-radius: 8px; font-size: 1rem; }

/* Responsive */
@media (max-width: 1399.98px) {
    .wl-products { grid-template-columns: repeat(3, 1fr); }
    .wl-steps { grid-template-columns: repeat(3, 1fr); }
    .wl-step::after { display: none; }
    .wl-review { flex-basis: 380px; margin-left: -170px; padding: 32px; }
    .wl-claim { padding: 48px 56px; }
}

@media (max-width: 991.98px) {
    html { font-size: 9px; }
    .wl-hero { padding: 72px 0 96px; }
    .wl-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .wl-section { padding: 64px 0; }
    .wl-products, .wl-steps { grid-template-columns: repeat(2, 1fr); }
    .wl-steps { margin-bottom: 56px; }
    .wl-stars { font-size: 3rem; margin: 32px 0 40px; }
    .wl-testimonials__deco { display: none; }
    .wl-reviews { flex-direction: column; align-items: center; gap: 20px; }
    .wl-review, .wl-review:nth-child(n) { flex: none; width: 100%; max-width: 560px; min-height: 0; margin: 0; transform: none; }
    .wl-app__inner, .wl-dark__inner { grid-template-columns: 1fr; }
    .wl-app__visual { justify-content: center; }
    .wl-app__mascot { max-width: 360px; }
    .wl-dark { padding: 72px 0; }
    .wl-dark__media { font-size: 8rem; }
    .wl-claims { grid-template-columns: 1fr; }
    .wl-claim:nth-child(2) { transform: none; }
    .wl-claim__img { max-width: 260px; margin: 0 auto 32px; }
    .wl-contact__top { flex-direction: column; align-items: flex-start; }
    .wl-contact__lead { padding-bottom: 0; }
    .wl-contact__echo { display: none; }
    .wl-contacts { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
}

@media (max-width: 575.98px) {
    .wl-container { padding: 0 16px; }
    .wl-brand__logo { height: 30px; }
    .wl-header__inner { flex-wrap: wrap; }
    .wl-header__actions { width: 100%; }
    .wl-header__actions .wl-btn { flex: 1; padding: 10px 12px; font-size: .9rem; }
    .wl-hero__lead { font-size: 1rem; }
    .wl-hero__cta .wl-btn { width: 100%; }
    .wl-stats strong { font-size: 1.8rem; }
    .wl-products, .wl-steps { grid-template-columns: 1fr; }
    .wl-btn--xl { padding: 16px 40px; }
    .wl-stores img { height: 48px; }
    .wl-bubble { position: static; transform: none; margin-bottom: 16px; }
    .wl-app__visual { flex-direction: column; align-items: center; }
    .wl-contact-card { padding: 28px; }
    .wl-contact-card__value { font-size: 1.1rem; }
    .wl-echo__circle { width: 88px; height: 88px; padding: 12px; }
    .wl-echo__label { font-size: .8rem; }
}
