/**
 * Whitelabel marketing page v2 (d_whitelabel_v2.php)
 * Layout styles for the wlnew design; site chrome (nav/footer) is template-owned.
 */

.wl-v2 {
    --wl-primary: #0F172A;
    --wl-surface: #f7f9fb;
    --wl-slate-50: #f8fafc;
    --wl-slate-100: #f1f5f9;
    --wl-slate-300: #cbd5e1;
    --wl-slate-400: #94a3b8;
    --wl-slate-500: #64748b;
    --wl-slate-800: #1e293b;
    --wl-brand: #0DA1DA;
    --wl-brand-soft: #1b9fd6;
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--wl-primary);
    background: var(--wl-surface);
    -webkit-font-smoothing: antialiased;
}

.wl-v2 .font-headline,
.wl-v2 h2,
.wl-v2 h3 {
    font-family: Manrope, Inter, system-ui, sans-serif;
}

.wl-v2__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1024px) {
    .wl-v2__inner {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.wl-v2 .section-divider {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.wl-v2 .spacing-executive {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wl-v2 .bg-white { background: #fff; }
.wl-v2 .bg-slate-50 { background: var(--wl-slate-50); }
.wl-v2 .bg-primary { background: var(--wl-primary); color: #fff; }

/* Feature icon chips */
.wl-v2 .sh-feature-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    border-radius: 0.625rem;
    color: var(--wl-brand-soft);
    background: linear-gradient(160deg, #eef8fd 0%, #d6effa 55%, #c5e8f7 100%);
    box-shadow: 0 2px 8px rgba(39, 169, 225, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.wl-v2 .sh-feature-ic svg {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
    stroke-width: 1.65;
}

.wl-v2 .sh-feature-ic--lg {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    color: #fff;
    background: linear-gradient(145deg, #2eb3ea 0%, #27a9e1 45%, #1a94c8 100%);
    box-shadow: 0 3px 10px rgba(39, 169, 225, 0.35);
}

.wl-v2 .sh-feature-ic--lg svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 1.75;
}

/* Hero */
.wl-v2 .sh-hero {
    padding-top: 3rem;
    padding-bottom: 0;
    background: var(--wl-surface);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .wl-v2 .sh-hero { padding-top: 4.5rem; }
}

.wl-v2 .sh-hero__frame {
    max-width: 2048px;
    margin: 0 auto;
}

.wl-v2 .sh-hero__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

/* Partners marquee */
.wl-v2 .sh-partners {
    background: linear-gradient(180deg, #f7f9fb 0%, #eef4f8 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 2.25rem 0 2.5rem;
    overflow: hidden;
}

.wl-v2 .sh-partners__eyebrow {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--wl-slate-500);
    margin: 0 0 1.5rem;
}

.wl-v2 .sh-partners__marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.wl-v2 .sh-partners__track {
    display: flex;
    width: max-content;
    animation: wl-v2-partners-marquee 45s linear infinite;
    will-change: transform;
}

.wl-v2 .sh-partners__marquee:hover .sh-partners__track {
    animation-play-state: paused;
}

.wl-v2 .sh-partners__group {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    padding: 0 2.25rem;
    flex-shrink: 0;
}

.wl-v2 .sh-partners__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    min-width: 8rem;
    padding: 0 0.5rem;
}

.wl-v2 .sh-partners__logo img {
    display: block;
    max-height: 3.25rem;
    max-width: 12.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.92;
    transition: opacity 0.2s, transform 0.2s;
}

.wl-v2 .sh-partners__logo img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.wl-v2 .sh-partners__logo--tall img { max-height: 3.75rem; max-width: 10rem; }
.wl-v2 .sh-partners__logo--wide img { max-height: 2.75rem; max-width: 14rem; }

@keyframes wl-v2-partners-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .wl-v2 .sh-partners__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .wl-v2 .sh-partners__group[aria-hidden="true"] { display: none; }
    .wl-v2 .sh-partners__marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* Service sections */
.wl-v2__service-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .wl-v2__service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.wl-v2__media {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25);
    width: 100%;
}

.wl-v2__media img {
    display: block;
    width: 100%;
    height: auto;
}

.wl-v2__copy {
    max-width: 32rem;
}

@media (min-width: 992px) {
    .wl-v2__copy--first { order: 1; }
    .wl-v2__media--second { order: 2; }
}

.wl-v2__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--wl-primary);
    margin: 0 0 1rem;
    line-height: 1.15;
}

.wl-v2__lede {
    font-size: 1.25rem;
    color: var(--wl-slate-500);
    margin: 0 0 1rem;
    line-height: 1.625;
    font-weight: 300;
}

.wl-v2__rule {
    width: 2.5rem;
    height: 0.25rem;
    background: var(--wl-primary);
    border-radius: 0.25rem;
    margin: 0 0 1.5rem;
}

.wl-v2__punch {
    font-size: 1.125rem;
    color: var(--wl-primary);
    font-weight: 600;
    margin: 0 0 2rem;
}

.wl-v2__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.wl-v2__feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.wl-v2__feature-title {
    margin: 0;
    color: var(--wl-slate-800);
    font-weight: 700;
}

.wl-v2__feature-desc {
    margin: 0.25rem 0 0;
    color: var(--wl-slate-400);
    font-size: 0.875rem;
    font-weight: 300;
}

/* Differentiator */
.wl-v2__diff {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.wl-v2__diff-inner {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    margin: 0 auto;
}

.wl-v2__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--wl-slate-400);
    font-weight: 800;
    margin: 0 0 2.5rem;
}

.wl-v2__diff-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 2rem;
    line-height: 1.15;
    color: #fff;
}

.wl-v2__diff-body {
    font-size: 1.5rem;
    color: var(--wl-slate-300);
    margin: 0;
    line-height: 1.625;
    font-weight: 300;
}

/* Commercial */
.wl-v2__commercial-intro {
    max-width: 48rem;
    margin-bottom: 3.5rem;
}

.wl-v2__commercial-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--wl-primary);
    font-weight: 800;
    margin: 0 0 1.5rem;
    opacity: 0.6;
}

.wl-v2__commercial-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--wl-primary);
    margin: 0 0 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.wl-v2__cards {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .wl-v2__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.wl-v2__card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.10);
}

@media (min-width: 992px) {
    .wl-v2__card { padding: 2.5rem; }
}

.wl-v2__card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--wl-slate-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wl-primary);
    margin-bottom: 2rem;
}

.wl-v2__card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.wl-v2__card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--wl-primary);
    margin: 0 0 0.75rem;
}

.wl-v2__card-body {
    margin: 0;
    font-size: 1rem;
    color: var(--wl-slate-500);
    line-height: 1.625;
    font-weight: 300;
}

/* CTA */
.wl-v2__cta-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 992px) {
    .wl-v2__cta-grid {
        grid-template-columns: 5fr 7fr;
        gap: 5rem;
    }
}

.wl-v2__cta-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--wl-primary);
    margin: 0 0 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.wl-v2__cta-lede {
    font-size: 1.25rem;
    color: var(--wl-slate-500);
    margin: 0 0 3rem;
    font-weight: 300;
    line-height: 1.625;
}

.wl-v2__cta-email {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wl-v2__cta-email a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wl-primary);
    text-decoration: none;
}

.wl-v2__cta-email a:hover {
    color: var(--wl-brand);
}

.wl-v2__form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    border: 1px solid var(--wl-slate-100);
}

@media (min-width: 992px) {
    .wl-v2__form-card { padding: 4rem; }
}

.wl-v2__form-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .wl-v2__form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wl-v2__form-span2 { grid-column: span 2; }
}

.wl-v2__field label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    color: var(--wl-slate-400);
    margin-bottom: 0.5rem;
}

.wl-v2__field .df_input,
.wl-v2__field .df_ta,
.wl-v2__field input,
.wl-v2__field textarea {
    width: 100%;
    background: var(--wl-slate-50);
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    color: var(--wl-primary);
    font-weight: 500;
    font-size: 1rem;
    box-sizing: border-box;
}

.wl-v2__field .df_input:focus,
.wl-v2__field .df_ta:focus,
.wl-v2__field input:focus,
.wl-v2__field textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.wl-v2__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 3.75rem;
    margin: 0;
    box-sizing: border-box;
    background: var(--wl-primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
    transition: background 0.2s;
}

.wl-v2__submit:hover,
.wl-v2__submit:focus {
    background: var(--wl-slate-800);
    color: #fff;
    text-decoration: none;
}

/* Reuse existing small demo CTA button where shown in-page */
.wl-v2 .profile_requestdemo_button_sm {
    margin-top: 0;
}
