/*
 * DIGIPOKA_BULK_LANDING_V1 - homepage sections for bulk WhatsApp messaging.
 * Loaded after dp-frontend.css; uses its --dp-* variables.
 * Motion: one ease (--bl-ease), three durations, transform/opacity only.
 */
.bl {
    --bl-ease: cubic-bezier(.2, 0, 0, 1);
    --bl-quick: .2s;
    --bl-std: .45s;
    --bl-radius: 14px;
    display: block;
}
.bl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Type ---------- */
.dp-landing .bl-h1 {
    margin: 0;
    font-size: clamp(34px, 5.4vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
    text-wrap: balance;
}
.dp-landing .bl-h2 {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dp-navy);
    text-wrap: balance;
}
.dp-landing .bl-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.65; }
.bl-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.bl-head-left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.bl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--bl-quick) var(--bl-ease), background-color var(--bl-quick) var(--bl-ease), border-color var(--bl-quick) var(--bl-ease);
}
.bl-btn:hover { transform: translateY(-2px); }
.bl-btn:active { transform: translateY(0) scale(.98); }
.bl-btn:focus-visible { outline: 3px solid #7DB1FF; outline-offset: 3px; }
.bl-btn-primary { background: var(--dp-blue); color: #fff; }
.bl-btn-primary:hover { background: #1A70FF; }
.bl-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .34); }
.bl-btn-ghost:hover { border-color: #fff; }
.bl-btn-wa { background: var(--dp-wa); color: #06281A; white-space: nowrap; }

/* ---------- Hero ---------- */
.bl-hero {
    position: relative;
    overflow: hidden;
    background: #0A1226;
    color: #fff;
    isolation: isolate;
}
.bl-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: min(820px, 100svh);
    padding-top: 132px;
    padding-bottom: 88px;
}
.bl-hero-copy { max-width: 640px; }
.dp-landing .bl-kicker {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6EE7A8;
}
.dp-landing .bl-lead { margin: 22px 0 0; max-width: 560px; font-size: 18px; line-height: 1.7; color: #C4CEDF; }
.bl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.bl-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 38px 0 0;
    padding: 22px 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 14.5px;
    font-weight: 500;
    color: #DCE4F2;
}
.bl-hero-points li { position: relative; padding-left: 18px; }
.bl-hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dp-wa);
}
.bl-hero-globe {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -8%;
    width: min(760px, 62vw);
    aspect-ratio: 1;
    transform: translateY(-46%);
    pointer-events: none;
}
.bl-hero-globe canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--bl-ease); }
.bl-hero-globe.is-live canvas { opacity: 1; }
.bl-globe-fallback { position: absolute; inset: 6%; width: 88%; height: 88%; color: rgba(125, 177, 255, .22); transition: opacity .7s var(--bl-ease); }
.bl-hero-globe.is-live .bl-globe-fallback { opacity: 0; }

/* ---------- Sections ---------- */
.bl-section { padding: 96px 0; background: #fff; }
.bl-section-soft { background: var(--dp-soft); }
.bl-section-dark { background: var(--dp-navy); }

/* ---------- Steps ---------- */
.bl-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.bl-steps-line { position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: var(--dp-line); }
.bl-steps-line span { display: block; height: 100%; background: var(--dp-blue); transform-origin: left center; }
.bl-step { position: relative; }
.bl-step-n {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dp-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 0 0 8px #fff;
}
.dp-landing .bl-step h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 600; color: var(--dp-navy); }
.dp-landing .bl-step p { margin: 0; font-size: 15.5px; line-height: 1.65; }

/* ---------- Features ---------- */
.bl-features { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bl-feature {
    grid-column: span 3;
    padding: 28px 26px;
    border-radius: var(--bl-radius);
    background: #fff;
    border: 1px solid var(--dp-line);
}
.bl-feature-wide { grid-column: span 12; display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 12px 40px; align-items: start; padding: 36px 34px; border-left: 4px solid var(--dp-blue); }
.dp-landing .bl-feature h3 { margin: 0 0 10px; font-size: 18.5px; font-weight: 600; line-height: 1.3; color: var(--dp-navy); }
.dp-landing .bl-feature-wide h3 { font-size: 24px; }
.dp-landing .bl-feature p { margin: 0; font-size: 15.5px; line-height: 1.65; }
.bl-ticks { margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: #1E293B; }
.bl-ticks li { position: relative; padding: 0 0 0 28px; margin: 0 0 10px; }
.bl-ticks li:last-child { margin-bottom: 0; }
.bl-ticks li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: .3em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--dp-wa);
    border-bottom: 2px solid var(--dp-wa);
    transform: rotate(-45deg);
}
.bl-ticks-light { color: #E2E8F0; }

/* ---------- Any country / any time ---------- */
.bl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.bl-split-col + .bl-split-col { padding-left: 72px; border-left: 1px solid rgba(255, 255, 255, .12); }
.dp-landing .bl-section-dark .bl-h2 { color: #fff; }
.dp-landing .bl-section-dark p { margin: 16px 0 26px; font-size: 16.5px; line-height: 1.7; color: #B9C4D8; }
.bl-regions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bl-regions li { padding: 8px 15px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18); font-size: 14.5px; font-weight: 500; color: #E2E8F0; }

/* ---------- Use cases ---------- */
.bl-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin: 0; }
.bl-uses > div { padding: 24px 0; border-top: 1px solid var(--dp-line); }
.bl-uses dt { font-size: 18.5px; font-weight: 600; color: var(--dp-navy); }
.bl-uses dd { margin: 8px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--dp-muted); }
.bl-quote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 56px;
    padding: 30px 34px;
    border-radius: var(--bl-radius);
    background: var(--dp-blue-soft);
    border: 1px solid #D4E4FF;
}
.dp-landing .bl-quote h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: var(--dp-navy); }
.dp-landing .bl-quote p { margin: 0; font-size: 15.5px; }

/* ---------- FAQ ---------- */
.bl-faq-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; }
.bl-faq-wrap .bl-head { margin-bottom: 0; position: sticky; top: 110px; }
.bl-faq-item { border-bottom: 1px solid var(--dp-line); }
.bl-faq-item:first-child { border-top: 1px solid var(--dp-line); }
.bl-faq-item summary {
    position: relative;
    padding: 20px 44px 20px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--dp-navy);
    cursor: pointer;
    list-style: none;
}
.bl-faq-item summary::-webkit-details-marker { display: none; }
.bl-faq-item summary::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -8px;
    border-right: 2px solid var(--dp-blue);
    border-bottom: 2px solid var(--dp-blue);
    transform: rotate(45deg);
    transition: transform var(--bl-quick) var(--bl-ease);
}
.bl-faq-item[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.bl-faq-item summary:focus-visible { outline: 3px solid #7DB1FF; outline-offset: 2px; }
.dp-landing .bl-faq-item p { margin: 0; padding: 0 44px 22px 0; font-size: 15.5px; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
    .bl-section { padding: 68px 0; }
    .bl-hero-inner { min-height: 0; padding-top: 120px; padding-bottom: 64px; }
    .bl-hero-globe { right: -38%; width: 110vw; opacity: .55; }
    .bl-steps { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
    .bl-steps-line { display: none; }
    .bl-step-n { box-shadow: none; }
    .bl-feature { grid-column: span 6; }
    .bl-feature-wide { grid-column: span 12; grid-template-columns: 1fr; }
    .bl-split { grid-template-columns: 1fr; gap: 48px; }
    .bl-split-col + .bl-split-col { padding-left: 0; padding-top: 48px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    .bl-faq-wrap { grid-template-columns: 1fr; gap: 32px; }
    .bl-faq-wrap .bl-head { position: static; }
}
@media (max-width: 640px) {
    .bl-head { margin-bottom: 36px; }
    .dp-landing .bl-lead { font-size: 16.5px; }
    .bl-actions .bl-btn { width: 100%; }
    .bl-steps { grid-template-columns: 1fr; }
    .bl-feature { grid-column: span 12; padding: 24px 22px; }
    .bl-feature-wide { padding: 26px 22px; }
    .bl-uses { grid-template-columns: 1fr; }
    .bl-quote { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .bl-quote .bl-btn { width: 100%; }
}

/* Chinese: no negative tracking, looser headline */
html[lang^="zh"] .dp-landing .bl-h1 { letter-spacing: 0; line-height: 1.22; }
html[lang^="zh"] .dp-landing .bl-kicker { letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
    .bl-btn, .bl-faq-item summary::after, .bl-hero-globe canvas, .bl-globe-fallback { transition: none; }
    .bl-btn:hover { transform: none; }
}

/*
 * DIGIPOKA_LANDING_NEU_V1 - soft (neumorphic) finish for the homepage, matching login/tenant.
 * Presentation only; dark hero and dark coverage band keep their look.
 */
.dp-landing {
    --ln-bg: #E8EDF4;
    --ln-hi: #FFFFFF;
    --ln-lo: #C5CEDB;
    --ln-raise: 9px 9px 20px var(--ln-lo), -9px -9px 20px var(--ln-hi);
    --ln-raise-sm: 5px 5px 12px var(--ln-lo), -5px -5px 12px var(--ln-hi);
    --ln-inset: inset 3px 3px 7px var(--ln-lo), inset -3px -3px 7px var(--ln-hi);
    --ln-grad: linear-gradient(180deg, #38BDF8 0%, #005FFD 100%);
}
/* light sections share one soft canvas */
.dp-landing .bl-section:not(.bl-section-dark),
.dp-landing .bl-section-soft { background: var(--ln-bg) !important; }

/* buttons */
.dp-landing .bl-btn-primary {
    background: var(--ln-grad) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px -12px rgba(0, 95, 253, .75);
}
.dp-landing .bl-btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
.dp-landing .bl-section:not(.bl-section-dark) .bl-btn-ghost {
    background: var(--ln-bg) !important;
    border-color: transparent !important;
    box-shadow: var(--ln-raise-sm);
}
.dp-landing .bl-section:not(.bl-section-dark) .bl-btn-ghost:hover { box-shadow: var(--ln-inset); }

/* steps */
.dp-landing .bl-step {
    background: var(--ln-bg);
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: var(--ln-raise);
    transition: transform .25s ease, box-shadow .25s ease;
}
.dp-landing .bl-step:hover { transform: translateY(-3px); }
.dp-landing .bl-step-n {
    background: var(--ln-grad) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 8px 16px -8px rgba(0, 95, 253, .7), var(--ln-raise-sm);
}
.dp-landing .bl-steps-line { opacity: .55; }

/* feature cards */
.dp-landing .bl-feature,
.dp-landing .bl-feature-wide {
    background: var(--ln-bg) !important;
    border: 0 !important;
    border-radius: 22px !important;
    box-shadow: var(--ln-raise) !important;
    transition: transform .25s ease;
}
.dp-landing .bl-feature:hover { transform: translateY(-3px); }
.dp-landing .bl-feature-wide { border-left: 0 !important; position: relative; }
.dp-landing .bl-feature-wide::before {
    content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px;
    border-radius: 4px; background: var(--ln-grad);
}

/* use cases */
.dp-landing .bl-uses > div {
    background: var(--ln-bg);
    border: 0 !important;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: var(--ln-raise-sm);
}

/* pricing quote */
.dp-landing .bl-quote {
    background: var(--ln-bg) !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: var(--ln-inset) !important;
}

/* FAQ */
.dp-landing .bl-faq-item {
    background: var(--ln-bg);
    border: 0 !important;
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 0 18px;
    box-shadow: var(--ln-raise-sm);
}
.dp-landing .bl-faq-item[open] { box-shadow: var(--ln-inset); }

/* dark band: region chips get a subtle lift */
.dp-landing .bl-regions li { box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .5); }

@media (prefers-reduced-motion: reduce) {
    .dp-landing .bl-step:hover, .dp-landing .bl-feature:hover, .dp-landing .bl-btn-primary:hover { transform: none; }
}

/* DIGIPOKA_GLOBE_COUNTRIES_V1: country labels on the hero globe */
.bl-globe-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.bl-hero-globe.is-live .bl-globe-labels { opacity: 1; }
.bl-globe-label {
    position: absolute; left: 0; top: 0;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 7px 3px 4px;
    border-radius: 999px;
    background: rgba(10, 18, 38, .78);
    border: 1px solid rgba(91, 155, 255, .35);
    color: #E2E8F0;
    font: 600 10.5px/1 'Poppins', ui-sans-serif, system-ui, sans-serif;
    letter-spacing: .04em;
    white-space: nowrap;
    opacity: 0;
    will-change: transform, opacity;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.bl-globe-label img { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.bl-globe-label.is-home { border-color: rgba(37, 211, 102, .7); color: #fff; box-shadow: 0 0 12px rgba(37, 211, 102, .35); }
