/*
 * DIGIPOKA_FRONTEND_V1 - public website theme for chatlycloud.com
 * Brand reference: chatlycloud.com (Poppins, #005FFD blue, #0F172A navy, #06B6D4 cyan).
 * Landing-page rules are scoped to body.dp-landing; the WhatsApp button works everywhere.
 */
:root {
    --dp-blue: #005FFD;
    --dp-blue-dark: #0047BE;
    --dp-blue-soft: #ECF3FF;
    --dp-navy: #0F172A;
    --dp-ink: #091527;
    --dp-cyan: #06B6D4;
    --dp-muted: #475569;
    --dp-line: #E2E8F0;
    --dp-soft: #F8FAFC;
    --dp-wa: #25D366;
}

/* ---------- Base ---------- */
.dp-landing {
    font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--dp-ink);
    -webkit-font-smoothing: antialiased;
}
.dp-landing h1, .dp-landing h2, .dp-landing h3, .dp-landing .font-display {
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.02em;
}
.dp-landing p { color: var(--dp-muted); }
.dp-landing ::selection { background: #D4E4FF; }
.dp-landing section[id] { scroll-margin-top: 84px; }

/* ---------- Header ---------- */
.dp-landing header nav {
    background: rgba(255, 255, 255, .92) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}
.dp-landing header nav ul a { font-size: 15px; font-weight: 500; color: #1E293B; }
.dp-landing header nav ul a:hover { color: var(--dp-blue); }
.dp-landing header a[href$="/login"] button {
    background: #fff !important;
    color: var(--dp-blue) !important;
    border: 1px solid #A8C9FF !important;
}
.dp-landing header a[href$="/login"] button:hover { background: var(--dp-blue-soft) !important; }

/* ---------- Buttons ---------- */
.dp-landing #home a button, .dp-landing #home a.inline-flex {
    border-radius: 12px !important;
    padding: 13px 22px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
.dp-landing #home a button { box-shadow: 0 12px 24px -10px rgba(0, 95, 253, .55); }

/* ---------- Hero ---------- */
.dp-landing #home > div > section {
    background:
        radial-gradient(900px 480px at 88% 8%, rgba(0, 95, 253, .12), transparent 62%),
        radial-gradient(700px 420px at 0% 100%, rgba(6, 182, 212, .12), transparent 60%),
        #ffffff !important;
}
.dp-landing #heroSectionText {
    color: var(--dp-navy);
    font-weight: 700;
    line-height: 1.12;
    display: block;
}
.dp-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dp-blue-dark);
    background: var(--dp-blue-soft);
    border: 1px solid #D4E4FF;
    border-radius: 999px;
    padding: 7px 15px;
    margin-bottom: 20px;
}
.dp-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dp-wa);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
}
.dp-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.dp-hero-points span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: #334155; }
.dp-hero-points svg { width: 18px; height: 18px; color: var(--dp-wa); flex-shrink: 0; }

/* ---------- Industries strip (partner logos) ---------- */
.dp-landing .logo-image {
    filter: none !important;
    opacity: 1 !important;
    height: 52px !important;
    max-width: none !important;
}
.dp-landing .logo-container { filter: drop-shadow(0 6px 14px rgba(15, 23, 42, .06)); }

/* ---------- Features ---------- */
.dp-landing #features { background: var(--dp-soft) !important; }
.dp-landing #features [style*="featuresec-bg"] {
    background-image: radial-gradient(closest-side, rgba(0, 95, 253, .13), rgba(6, 182, 212, .07) 58%, transparent 76%) !important;
}
.dp-landing #features h2 { color: var(--dp-navy); font-weight: 700; }
.dp-landing #features img { filter: drop-shadow(0 30px 40px rgba(15, 23, 42, .10)); }
.dp-landing .text-\[\#4f46e5\] { color: var(--dp-blue) !important; }
.dp-landing #features ul li span { font-size: 15.5px; }

/* ---------- Pricing ---------- */
.dp-landing #pricing [style*="plansection-bg"] { background-image: none !important; }
.dp-landing #pricing h2 { color: var(--dp-navy); }
.dp-landing #pricing .lg\:grid-cols-3 { gap: 24px; }
@media (min-width: 1024px) {
    .dp-landing #pricing .lg\:grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .dp-landing #pricing .lg\:grid-cols-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dp-landing .pricing-card {
    border-radius: 20px !important;
    border: 1px solid var(--dp-line) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
    padding: 28px 24px !important;
}
.dp-landing .pricing-card:hover { box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .18) !important; transform: translateY(-2px); }
.dp-landing .pricing-card.ring-2 { border-color: transparent !important; box-shadow: 0 24px 48px -18px rgba(0, 95, 253, .45) !important; }
.dp-landing .pricing-card h3 { color: var(--dp-navy); font-weight: 700; }
.dp-landing .pricing-card > p {
    word-break: normal !important;
    overflow-wrap: break-word;
    font-size: 14.5px !important;
    line-height: 1.55;
    min-height: 90px;
}
.dp-landing .pricing-card .text-5xl { font-size: 2.6rem !important; letter-spacing: -0.03em; }
.dp-landing .pricing-card ul { font-size: 14.5px; }
.dp-landing .pricing-card .bg-danger-500 { background: linear-gradient(90deg, var(--dp-blue), var(--dp-cyan)) !important; }
.dp-pricing-note {
    max-width: 760px;
    margin: 28px auto 0;
    font-size: 14px;
    color: var(--dp-muted);
    background: #fff;
    border: 1px dashed #A8C9FF;
    border-radius: 14px;
    padding: 14px 18px;
}
.dp-pricing-note a { color: var(--dp-blue); font-weight: 600; }

/* ---------- FAQ ---------- */
.dp-landing #faq { background: var(--dp-soft); }
.dp-landing #faq > div > div { padding-top: 72px; padding-bottom: 80px; }
.dp-landing #faq h2.font-display { color: var(--dp-navy); }
.dp-landing #faq .grid { gap: 14px; }
.dp-landing #faq .grid > div {
    background: #fff;
    border: 1px solid var(--dp-line);
    border-radius: 16px;
    padding: 6px 20px !important;
    align-self: start;
}
.dp-landing #faq .grid > div h2 { font-size: 16px !important; font-weight: 600 !important; color: var(--dp-navy) !important; }
.dp-landing #faq .border-primary-600 { border-color: transparent !important; padding-top: 2px !important; padding-bottom: 16px !important; line-height: 1.7; }

/* ---------- Footer ---------- */
.dp-footer { background: var(--dp-navy); color: #CBD5E1; font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif; }
.dp-footer a { color: #CBD5E1; text-decoration: none; transition: color .15s; }
.dp-footer a:hover { color: #fff; }
.dp-footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 24px 28px; }
.dp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 768px) { .dp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .dp-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.dp-footer-logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 18px; }
.dp-footer-logo img { height: 34px; width: auto; }
.dp-footer p { color: #94A3B8; font-size: 14px; line-height: 1.7; margin: 0; }
.dp-footer h3 { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.dp-footer ul { list-style: none; margin: 0; padding: 0; }
.dp-footer li { margin-bottom: 11px; font-size: 14px; }
.dp-footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.dp-footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--dp-cyan); }
.dp-social { display: flex; gap: 10px; margin-top: 22px; }
.dp-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; }
.dp-social a:hover { background: var(--dp-blue); }
.dp-social svg { width: 18px; height: 18px; color: #fff; }
.dp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 44px;
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    font-size: 13px;
    color: #94A3B8;
}
.dp-footer-bottom a { color: #E2E8F0; font-weight: 500; }
.dp-footer-cta {
    background: linear-gradient(120deg, var(--dp-blue) 0%, #0B4FD1 55%, var(--dp-cyan) 130%);
    border-radius: 22px;
    padding: 34px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 56px;
}
.dp-footer-cta h3 { font-size: 24px; margin: 0 0 6px; }
.dp-footer-cta p { color: #DBEAFE; }
.dp-footer-cta .dp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dp-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 15px; }
.dp-btn-white { background: #fff; color: var(--dp-blue) !important; }
.dp-btn-white:hover { background: #ECF3FF; }
.dp-btn-wa { background: var(--dp-wa); color: #fff !important; }
.dp-btn-wa:hover { background: #1EBE5A; }

/* ---------- Floating WhatsApp support button ---------- */
.dp-wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}
.dp-wa-float .dp-wa-label {
    background: #fff;
    color: #0F172A;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, .3);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}
.dp-wa-float:hover .dp-wa-label, .dp-wa-float:focus .dp-wa-label { opacity: 1; transform: none; }
.dp-wa-float .dp-wa-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dp-wa);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7);
    transition: transform .2s;
}
.dp-wa-float:hover .dp-wa-icon { transform: scale(1.06); }
.dp-wa-float .dp-wa-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--dp-wa);
    animation: dp-wa-pulse 2.2s ease-out infinite;
    z-index: -1;
}
.dp-wa-float svg { width: 32px; height: 32px; }
@keyframes dp-wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 640px) {
    .dp-wa-float { right: 16px; bottom: 16px; }
    .dp-wa-float .dp-wa-icon { width: 54px; height: 54px; }
    .dp-wa-float .dp-wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dp-wa-float .dp-wa-icon::before { animation: none; } }

/* FAQ cards: the accordion's own divider is not needed inside a card */
.dp-landing #faq .grid .border-b.border-slate-200 { border-bottom: 0 !important; padding-bottom: 10px !important; padding-top: 10px; }

/* ---------- Mobile header & hero spacing ---------- */
.dp-mobile-login { display: none; }
@media (max-width: 640px) {
    .dp-landing header nav > div > a img { width: 120px !important; }
    .dp-landing header nav .lg\:order-2 > div:first-child { margin-right: 6px !important; font-size: 12px; }
    .dp-landing header nav .lg\:order-2 > div:first-child a { padding: 3px 8px !important; }
    .dp-landing header nav .lg\:order-2 .gap-3 { gap: 6px !important; }
    .dp-landing header nav .lg\:order-2 button { padding: 7px 11px !important; font-size: 12.5px !important; white-space: nowrap; }
    .dp-landing header a[href$="/login"] { display: none !important; }
    .dp-landing .dp-mobile-login { display: list-item; }
    .dp-landing .dp-badge { font-size: 11.5px; padding: 6px 12px; }
}
@media (max-width: 1023px) {
    .dp-landing #home > div > section > div { padding-top: 96px !important; }
}

/* ---------- Auth pages (login / register / password): brand gradient instead of purple ---------- */
.bg-gradient-to-br.from-primary-600.to-purple-700 {
    background-image: linear-gradient(140deg, #005FFD 0%, #0B3FA8 55%, #0F172A 100%) !important;
}

/* LANDING_ZH_V1: Chinese pages - pair Poppins with a proper CJK system font */
html[lang^="zh"] .dp-landing,
html[lang^="zh"] .dp-landing h1,
html[lang^="zh"] .dp-landing h2,
html[lang^="zh"] .dp-landing h3,
html[lang^="zh"] .dp-landing .font-display,
html[lang^="zh"] .dp-footer {
    font-family: 'Poppins', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0;
}
html[lang^="zh"] .dp-landing #heroSectionText { line-height: 1.25; }

/* ---------- DIGIPOKA_BULK_SERVICE_V1: bulk campaign service section ---------- */
.dp-bulk { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(6,182,212,.22), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(0,95,253,.30), transparent 60%), linear-gradient(135deg, #0B1324 0%, var(--dp-navy) 55%, #0A1A3A 100%); color: #fff; }
.dp-bulk-inner { max-width: 1280px; margin: 0 auto; padding: 72px 16px; }
.dp-bulk-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.dp-bulk-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7DE3F4; background: rgba(6,182,212,.12); border: 1px solid rgba(6,182,212,.35); }
.dp-landing .dp-bulk-title { margin: 18px 0 14px; font-size: clamp(26px, 4vw, 42px); font-weight: 700; line-height: 1.15; color: #fff; }
.dp-landing .dp-bulk-sub { font-size: 17px; line-height: 1.7; color: #CBD5E1; }
.dp-bulk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dp-bulk-card { padding: 24px 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(6px); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.dp-bulk-card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,.45); background: rgba(255,255,255,.07); }
.dp-bulk-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--dp-blue), var(--dp-cyan)); box-shadow: 0 8px 22px rgba(0,95,253,.35); }
.dp-bulk-ico svg { width: 24px; height: 24px; }
.dp-landing .dp-bulk-card h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 600; color: #fff; }
.dp-landing .dp-bulk-card p { font-size: 14.5px; line-height: 1.6; color: #94A3B8; }
.dp-bulk-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: 18px; background: linear-gradient(90deg, rgba(37,211,102,.14), rgba(0,95,253,.14)); border: 1px solid rgba(37,211,102,.35); }
.dp-bulk-cta-text { display: flex; flex-direction: column; gap: 4px; }
.dp-bulk-cta-text strong { font-size: 19px; font-weight: 600; color: #fff; }
.dp-bulk-cta-text span { font-size: 15px; color: #CBD5E1; }
.dp-bulk-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; color: #fff !important; background: var(--dp-wa); box-shadow: 0 10px 26px rgba(37,211,102,.35); transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.dp-bulk-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.45); }
.dp-bulk-btn svg { width: 22px; height: 22px; }
@media (max-width: 1024px) { .dp-bulk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dp-bulk-inner { padding: 52px 16px; } .dp-bulk-grid { grid-template-columns: 1fr; } .dp-bulk-cta { padding: 20px; } .dp-bulk-btn { width: 100%; justify-content: center; } }
