/*
Theme Name: LivePhoto
Theme URI: https://livephoto.cloud
Author: LivePhoto.cloud
Description: Theme nhẹ cho LivePhoto.cloud — trang giới thiệu, bảng giá, blog. Chỉnh kéo thả trong Giao diện → Trình chỉnh sửa.
Version: 1.0.8
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: livephoto
*/

:root { --lp-brand: #5B5BF6; --lp-brand2: #8B5CF6; --lp-live: #FF3B5C; --lp-ink: #0F1222; --lp-ink2: #3A3F55; --lp-mut: #6B7088; --lp-line: #E7E8F0; --lp-soft: #F5F6FB; --lp-soft2: #EEF0FF; --lp-dark: #0B0E1C; --lp-ok: #16A34A; --lp-r: 18px; --lp-sh: 0 10px 40px rgba(20, 24, 60, .08); }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.lp-wrap { max-width: 1180px; margin-left: auto !important; margin-right: auto !important; padding-left: 20px; padding-right: 20px; }
/* lưới: bỏ khoảng cách khối mặc định của WordPress giữa các ô */
.lp-grid > * { margin-block: 0 !important; }
.lp-grid { margin-block-start: 0; }

/* nút */
.wp-block-button.lp-pri .wp-block-button__link { background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand2)); color: #fff; box-shadow: 0 8px 24px rgba(91, 91, 246, .35); }
.wp-block-button.lp-ghost .wp-block-button__link { background: #fff; color: var(--lp-ink); border: 1px solid var(--lp-line); }
.wp-block-button.lp-light .wp-block-button__link { background: #fff; color: var(--lp-ink); }
.wp-block-button .wp-block-button__link { transition: transform .15s; white-space: nowrap; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.lp-sm .wp-block-button__link { padding: 9px 18px; font-size: 14px; }

.lp-tag { display: inline-flex !important; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--lp-brand); background: var(--lp-soft2); border-radius: 999px; padding: 6px 14px; width: auto; margin: 0 auto; }
.lp-dot, .lp-tag-live::before { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-live); box-shadow: 0 0 0 4px rgba(255, 59, 92, .18); animation: lp-blink 1.4s infinite; display: inline-block; }
.lp-tag-live::before { content: ""; }
@keyframes lp-blink { 50% { opacity: .35; } }
.grad { background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand2) 60%, var(--lp-live)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-soon { font-size: 11px; font-weight: 700; color: #B45309; background: #FEF3C7; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.lp-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; } .lp-marquee-track, .lp-dot { animation: none !important; } }

/* mục */
.lp-sec { padding-top: 96px !important; padding-bottom: 96px !important; }
.lp-soft { background: var(--lp-soft); }
.lp-hd { text-align: center; max-width: 720px; margin: 0 auto 52px !important; }
.lp-hd h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 14px; }
.lp-hd p { color: var(--lp-mut); font-size: 18px; }

/* header */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lp-header.scrolled { border-bottom-color: var(--lp-line); }
.admin-bar .lp-header { top: 32px; }
.lp-nav { min-height: 72px; gap: 24px; }
.lp-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--lp-ink) !important; text-decoration: none !important; }
.lp-logo img { width: 34px; height: 34px; }
.lp-logo small { color: var(--lp-mut); font-weight: 600; }
.lp-menu { font-weight: 500; font-size: 15px; }
.lp-menu a { color: var(--lp-ink2); text-decoration: none; }
.lp-menu a:hover { color: var(--lp-brand); }
.lp-login a { color: var(--lp-ink); font-weight: 600; text-decoration: none; }
/* Mobile: đưa nút Đăng nhập + Dùng thử ra ngoài, xếp thành hàng riêng cho dễ bấm */
@media (max-width: 900px) {
  .lp-nav { gap: 10px !important; min-height: 60px; }
  .lp-nav .wp-block-buttons { display: flex !important; gap: 8px !important; flex-wrap: nowrap; }
  .lp-nav .wp-block-button { width: auto !important; margin: 0 !important; display: inline-block !important; }
  .lp-nav .wp-block-button__link { padding: 9px 12px !important; font-size: 13px !important; white-space: nowrap; border-radius: 10px !important; }
}
@media (max-width: 640px) {
  .lp-header .lp-nav { flex-wrap: wrap !important; row-gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .lp-header .lp-nav .wp-block-buttons { width: 100% !important; order: 3; gap: 8px !important; }
  .lp-header .lp-nav .wp-block-button { flex: 1 1 0 !important; }
  .lp-header .lp-nav .wp-block-button__link { width: 100% !important; text-align: center; padding: 10px 12px !important; font-size: 13.5px !important; }
  .lp-ghost .wp-block-button__link { background: #fff !important; color: #0f1b33 !important; border: 1px solid #c6d3e8 !important; }
}

/* Ẩn cụm nút CTA cũ của header (đã thay bằng cặp nút cam do lp-site.js chèn) */
.lp-nav .wp-block-buttons{display:none !important}

/* hero */
.lp-hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.lp-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 760px; background: radial-gradient(closest-side, rgba(139, 92, 246, .16), transparent 70%), radial-gradient(closest-side at 80% 30%, rgba(91, 91, 246, .14), transparent 70%); z-index: 0; pointer-events: none; }
.lp-hero > * { position: relative; }
.lp-hero-grid { display: grid !important; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lp-hero h1 { font-size: clamp(36px, 5.6vw, 64px); margin: 18px 0 18px !important; }
.lp-hero .lp-lead { font-size: 19px; color: var(--lp-ink2); max-width: 560px; }
.lp-hero .lp-tag { margin: 0; }
.lp-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px !important; color: var(--lp-mut); font-size: 14px; }
.lp-check { display: inline-flex; align-items: center; gap: 7px; }
.lp-check::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lp-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
@media (max-width: 960px) { .lp-hero-grid { grid-template-columns: 1fr; } .lp-hero { padding-top: 36px; } }

/* sân khấu demo */
.lp-stage { position: relative; height: 560px; }
.lp-cam { position: absolute; left: 0; top: 60px; width: 210px; background: #fff; border-radius: 20px; box-shadow: var(--lp-sh); padding: 14px; border: 1px solid var(--lp-line); }
.lp-cam .shot { aspect-ratio: 4/3; border-radius: 12px; background: linear-gradient(135deg, #f9c6a4, #e98d7d 45%, #6d5bd0); position: relative; overflow: hidden; }
.lp-cam .shot::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; animation: lp-flash 4.8s infinite; }
@keyframes lp-flash { 0%, 6% { opacity: 0; } 8% { opacity: .9; } 14% { opacity: 0; } }
.lp-cam .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--lp-mut); }
.lp-cam .row b { color: var(--lp-ink); }
.lp-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; background: #FFE8EC; color: var(--lp-live); border-radius: 999px; padding: 3px 10px; }
.lp-beam { position: absolute; left: 190px; top: 150px; width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--lp-brand) 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: lp-flow 1s linear infinite; opacity: .7; }
@keyframes lp-flow { to { background-position: 32px 0; } }
.lp-ai { position: absolute; left: 0; top: 330px; background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: var(--lp-sh); padding: 12px 14px; font-size: 13px; width: 220px; }
.lp-ai b { display: block; font-size: 14px; margin-bottom: 6px; }
.lp-ai .bar { height: 6px; border-radius: 6px; background: var(--lp-soft2); overflow: hidden; margin: 6px 0 2px; }
.lp-ai .bar i { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, var(--lp-brand), var(--lp-brand2)); animation: lp-prog 4.8s infinite; }
@keyframes lp-prog { 0% { width: 8%; } 70%, 100% { width: 100%; } }
.lp-phone { position: absolute; right: 0; top: 0; width: 270px; height: 550px; border-radius: 44px; background: var(--lp-dark); padding: 12px; box-shadow: 0 30px 80px rgba(11, 14, 28, .35); }
.lp-screen { width: 100%; height: 100%; border-radius: 34px; background: #fff; overflow: hidden; position: relative; }
.lp-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: var(--lp-dark); z-index: 3; }
.lp-scr { position: absolute; inset: 0; padding: 44px 16px 16px; opacity: 0; transition: opacity .5s; display: flex; flex-direction: column; }
.lp-scr.on { opacity: 1; }
.lp-scr h4 { margin: 6px 0 4px; font-size: 17px; }
.lp-scr p { margin: 0; font-size: 13px; color: var(--lp-mut); }
.lp-qr { width: 150px; height: 150px; margin: 26px auto 14px; border-radius: 16px; background: conic-gradient(from 90deg at 18% 18%, var(--lp-ink) 0 25%, transparent 0) 0 0/36px 36px, linear-gradient(var(--lp-soft), var(--lp-soft)); position: relative; border: 10px solid #fff; box-shadow: 0 0 0 1px var(--lp-line); }
.lp-qr::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--lp-live); top: 0; animation: lp-scan 1.6s ease-in-out infinite alternate; box-shadow: 0 0 12px var(--lp-live); }
@keyframes lp-scan { to { top: calc(100% - 3px); } }
.lp-face { width: 150px; height: 150px; margin: 26px auto 14px; border-radius: 50%; border: 3px dashed var(--lp-brand); display: flex; align-items: center; justify-content: center; position: relative; }
.lp-face::before { content: ""; width: 92px; height: 112px; border-radius: 46px 46px 40px 40px; background: linear-gradient(180deg, #f6c9a8, #e7a988); }
.lp-face::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--lp-brand2); animation: lp-spin 1s linear infinite; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-found { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.lp-found i { aspect-ratio: 3/4; border-radius: 10px; display: block; }
.lp-found i:nth-child(1) { background: linear-gradient(160deg, #f8b9a0, #7a62d6); }
.lp-found i:nth-child(2) { background: linear-gradient(160deg, #a7c8ff, #5a4ad1); }
.lp-found i:nth-child(3) { background: linear-gradient(160deg, #ffd59a, #ff6b8a); }
.lp-found i:nth-child(4) { background: linear-gradient(160deg, #b8f0d5, #3f8fd8); }
.lp-scr .go { margin-top: auto; background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand2)); color: #fff; text-align: center; border-radius: 14px; padding: 11px; font-weight: 600; font-size: 14px; }
.lp-toast { position: absolute; right: 230px; bottom: 40px; background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: var(--lp-sh); padding: 12px 16px; font-size: 13px; display: flex; gap: 10px; align-items: center; animation: lp-pop 4.8s infinite; }
.lp-toast .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--lp-brand), var(--lp-live)); flex: none; }
@keyframes lp-pop { 0%, 55% { opacity: 0; transform: translateY(10px); } 65%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 560px) { .lp-stage { height: 520px; } .lp-phone { position: relative; margin: 0 auto; right: auto; width: 250px; height: 510px; } .lp-cam, .lp-beam, .lp-ai, .lp-toast { display: none; } }

/* số liệu */
.lp-stats { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px !important; }
.lp-stat { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 22px; text-align: center; }
.lp-stat p { margin: 0; }
.lp-stat .lp-num { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--lp-ink); }
.lp-stat .lp-cap { color: var(--lp-mut); font-size: 14px; }
@media (max-width: 760px) { .lp-stats { grid-template-columns: 1fr 1fr; gap: 10px; } .lp-stat { padding: 16px 12px; } .lp-stat .lp-num { font-size: 22px; } .lp-stat .lp-cap { font-size: 13px; } }

/* dải sự kiện */
.lp-marquee { overflow: hidden; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-marquee-track { display: flex; gap: 14px; width: max-content; animation: lp-slide 40s linear infinite; }
.lp-marquee span { font-weight: 600; color: var(--lp-ink2); background: var(--lp-soft); border-radius: 999px; padding: 9px 18px; white-space: nowrap; }
@keyframes lp-slide { to { transform: translateX(-50%); } }

/* thẻ (tính năng, bước, đánh giá) */
.lp-cards { display: grid !important; gap: 16px; }
.lp-cards.c4 { grid-template-columns: repeat(4, 1fr); }
.lp-cards.c3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 22px; transition: box-shadow .2s, transform .2s; position: relative; }
.lp-card:hover { box-shadow: var(--lp-sh); transform: translateY(-2px); }
.lp-card h3 { font-size: 17px; margin: 0 0 6px !important; }
.lp-card p { margin: 0; color: var(--lp-mut); font-size: 14.5px; }
.lp-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--lp-soft2); color: var(--lp-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lp-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .lp-cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .lp-cards.c3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lp-cards.c4 { grid-template-columns: 1fr; } }

.lp-steps { counter-reset: lps; }
.lp-step { padding: 30px 26px; }
.lp-step::before { counter-increment: lps; content: counter(lps); width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand2)); margin-bottom: 18px; }
.lp-step h3 { font-size: 20px; }
.lp-step p { font-size: 16px; }

/* hệ sinh thái */
.lp-eco { border-radius: 24px; padding: 30px; color: #fff; min-height: 260px; position: relative; overflow: hidden; }
.lp-eco::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; bottom: -80px; background: rgba(255, 255, 255, .12); }
.lp-eco .k { font-size: 13px; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.lp-eco h3 { font-size: 26px; margin: 10px 0 10px !important; color: #fff; }
.lp-eco p { margin: 0; opacity: .9; }
.lp-eco.e1 { background: linear-gradient(150deg, #5B5BF6, #3B3BD1); }
.lp-eco.e2 { background: linear-gradient(150deg, #1F2440, #0B0E1C); }
.lp-eco.e3 { background: linear-gradient(150deg, #FF5C7A, #E0294F); }

/* trước / sau */
.lp-ba { display: grid !important; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.lp-ba h2 { font-size: clamp(28px, 4vw, 44px); }
.lp-ba .lp-li { display: flex; gap: 10px; align-items: flex-start; color: var(--lp-ink2); margin: 0 0 10px !important; }
.lp-ba .lp-li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 3px; background: var(--lp-soft2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5BF6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.lp-compare { position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; box-shadow: var(--lp-sh); user-select: none; touch-action: pan-y; }
.lp-compare .b, .lp-compare .a { position: absolute; inset: 0; background-size: cover; background-position: center; }
.lp-compare .b { background-image: linear-gradient(135deg, #b8a99a, #7d6f68 50%, #4c4a5c); filter: saturate(.7) brightness(.85); }
.lp-compare .a { background-image: linear-gradient(135deg, #ffd2b8, #f08f82 50%, #6c58d6); clip-path: inset(0 0 0 50%); }
.lp-compare .lbl { position: absolute; top: 14px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .35); border-radius: 999px; padding: 4px 12px; }
.lp-compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); }
.lp-compare .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--lp-brand); box-shadow: var(--lp-sh); }
.lp-note { font-size: 12.5px; color: var(--lp-mut); text-align: center; }
@media (max-width: 860px) { .lp-ba { grid-template-columns: 1fr; } }

/* ứng dụng / album mẫu */
.lp-case { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--lp-line); transition: transform .2s, box-shadow .2s; padding: 0 !important; }
.lp-case:hover { transform: translateY(-3px); box-shadow: var(--lp-sh); }
.lp-case .wp-block-cover, .lp-case .lp-cv { aspect-ratio: 16/10; min-height: 0 !important; margin: 0 !important; border-radius: 0; }
.lp-case .lp-bd { padding: 16px 18px 18px; }
.lp-case h3 { font-size: 17px; margin: 0 0 4px !important; }
.lp-case p { margin: 0; color: var(--lp-mut); font-size: 14px; }
.lp-cv1 { background: linear-gradient(135deg, #ffd6c9, #f29fb0 50%, #8a6ad8); }
.lp-cv2 { background: linear-gradient(135deg, #c6d4ff, #6b7cf0 55%, #24295a); }
.lp-cv3 { background: linear-gradient(135deg, #ffe2a8, #ff8f6b 55%, #a2305a); }
.lp-cv4 { background: linear-gradient(135deg, #bff3dd, #52c7a6 55%, #1f5e7a); }
.lp-cv5 { background: linear-gradient(135deg, #f7d0ff, #b07af0 55%, #3c2a7a); }
.lp-cv6 { background: linear-gradient(135deg, #ffe9d6, #f6b48b 55%, #7a4a2a); }
@media (max-width: 900px) { .lp-cards.cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-cards.cases { grid-template-columns: 1fr; } }

/* đánh giá */
.lp-quote p.lp-q { color: var(--lp-ink2); font-size: 16px; margin-bottom: 18px !important; }
.lp-quote .lp-who { font-size: 14px; color: var(--lp-mut); }
.lp-quote .lp-who strong { color: var(--lp-ink); display: block; }
.lp-sample { position: absolute; top: 14px; right: 14px; font-size: 11px !important; font-weight: 700; color: #B45309 !important; background: #FEF3C7; border-radius: 999px; padding: 2px 8px; }

/* bảng giá */
.lp-plans { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.lp-plan { border-radius: 22px; padding: 26px; display: flex !important; flex-direction: column; }
.lp-plan .lp-pn { font-weight: 700; color: var(--lp-brand); margin: 0; }
.lp-plan .lp-qty { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--lp-ink); margin: 6px 0 2px !important; }
.lp-plan .lp-desc { min-height: 44px; }
.lp-plan .lp-price { font-size: 26px; font-weight: 800; color: var(--lp-ink); margin: 18px 0 2px !important; }
.lp-plan .lp-per { font-size: 13px; margin-bottom: 20px !important; }
.lp-plan .wp-block-buttons { margin-top: auto !important; }
.lp-plan .wp-block-button, .lp-plan .wp-block-button__link { width: 100%; text-align: center; }
.lp-plan.best { border: 2px solid var(--lp-brand); box-shadow: 0 18px 50px rgba(91, 91, 246, .18); }
.lp-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand2)); color: #fff !important; font-size: 12px !important; font-weight: 700; border-radius: 999px; padding: 4px 14px; white-space: nowrap; margin: 0 !important; }
.lp-plan.dark { background: var(--lp-dark); border-color: var(--lp-dark); }
.lp-plan.dark .lp-pn { color: #A5A6FF; }
.lp-plan.dark .lp-qty, .lp-plan.dark .lp-price { color: #fff; }
.lp-plan.dark p { color: #A4A8C3; }
.lp-incl { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--lp-ink2); font-size: 14.5px; }
@media (max-width: 1000px) { .lp-plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-plans { grid-template-columns: 1fr; } }

/* hỏi đáp */
.lp-faq { max-width: 820px; margin: 0 auto !important; }
.lp-faq .wp-block-details { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; margin: 0 0 12px !important; padding: 4px 22px; }
.lp-faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; gap: 14px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 22px; color: var(--lp-brand); line-height: 1; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 18px; color: var(--lp-ink2); }

/* liên hệ */
.lp-cta { background: linear-gradient(135deg, #5B5BF6, #8B5CF6 55%, #FF5C7A); border-radius: 32px; padding: 56px !important; color: #fff; display: grid !important; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.lp-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.lp-cta p { opacity: .92; font-size: 18px; }
.lp-direct a { display: inline-block; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: #fff; text-decoration: none; margin: 0 8px 8px 0; }
.lp-form { background: #fff; border-radius: 22px; padding: 26px; color: var(--lp-ink); display: grid; gap: 12px; }
.lp-form b { font-size: 18px; }
.lp-form input { width: 100%; border: 1px solid var(--lp-line); border-radius: 12px; padding: 13px 14px; font: inherit; outline: none; }
.lp-form input:focus { border-color: var(--lp-brand); box-shadow: 0 0 0 4px var(--lp-soft2); }
.lp-form button { border: 0; cursor: pointer; font: inherit; font-weight: 600; border-radius: 999px; padding: 13px 24px; color: #fff; background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand2)); }
.lp-ok { display: none; color: var(--lp-ok); font-weight: 600; font-size: 14px; }
@media (max-width: 860px) { .lp-cta { grid-template-columns: 1fr; padding: 32px 22px !important; border-radius: 24px; } }

/* footer */
.lp-footer { background: var(--lp-dark); color: #B7BAD0; padding: 64px 0 30px !important; margin-top: 96px !important; }
.lp-footer a { color: #B7BAD0; text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.lp-fgrid { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.lp-footer h5, .lp-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px !important; }
.lp-footer p { font-size: 14px; margin: 0 0 9px; }
.lp-footer .lp-logo { color: #fff !important; }
.lp-fbot { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px !important; padding-top: 22px; display: flex !important; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
@media (max-width: 860px) { .lp-fgrid { grid-template-columns: 1fr 1fr; } }

/* blog */
.lp-page-hd { text-align: center; padding: 72px 20px 40px !important; }
.lp-page-hd h1 { font-size: clamp(32px, 5vw, 52px); }
.lp-blog .wp-block-post { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); overflow: hidden; padding-bottom: 18px; }
.lp-blog .wp-block-post > *:not(.wp-block-post-featured-image) { padding: 0 18px; }
.lp-blog .wp-block-post-title { font-size: 19px; margin-top: 14px; }
.lp-blog .wp-block-post-title a { color: var(--lp-ink); text-decoration: none; }
.lp-blog .wp-block-post-excerpt, .lp-blog .wp-block-post-date { color: var(--lp-mut); font-size: 14px; }
.lp-article { max-width: 760px; margin: 0 auto !important; padding: 56px 20px 40px !important; font-size: 17px; }
.lp-article h1 { font-size: clamp(30px, 4.5vw, 46px); }

/* trong trình chỉnh sửa: luôn hiện (không có hiệu ứng cuộn) */
.editor-styles-wrapper .lp-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .lp-header { position: relative; }
