[hidden] { display: none !important; }
:root {
  --ink: #2b2340; --ink2: #5d5575; --paper: #fffaf3;
  --pink: #ffc8dd; --blue: #bde0fe; --mint: #c1f2d8; --butter: #fff3b0; --lav: #d8c8ff; --peach: #ffd6ba;
  --hot: #ff5c9a; --r: 22px; --sh: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Roboto', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
::selection { background: var(--pink); }

/* Nút kiểu sticker */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 15px 'Roboto', sans-serif; text-decoration: none; cursor: pointer; box-shadow: var(--sh); transition: transform .15s, box-shadow .15s, background .2s; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.hot { background: var(--hot); color: #fff; }
.btn.sm { padding: 8px 14px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--paper) 80%, transparent); border-bottom: 2px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-color: var(--ink); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 21px; text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 38px; height: 38px; flex: none; border-radius: 11px; box-shadow: 0 4px 12px -4px rgba(169,139,255,.7); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.logo:hover img { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; border-radius: 3px; background: var(--hot); transition: right .25s; }
.nav-links a:hover::after { right: 0; }
@media (max-width: 820px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }
.blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); opacity: .85; animation: morph 14s ease-in-out infinite; z-index: -1; }
.blob.b1 { width: 420px; height: 420px; background: var(--pink); top: -120px; left: -120px; }
.blob.b2 { width: 320px; height: 320px; background: var(--blue); bottom: -80px; left: 38%; animation-delay: -4s; }
.blob.b3 { width: 360px; height: 360px; background: var(--mint); top: 40px; right: -120px; animation-delay: -8s; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--butter); font-weight: 700; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: ping 1.6s infinite; }
h1.big { font-size: clamp(42px, 6.6vw, 82px); line-height: .98; font-weight: 900; letter-spacing: -.035em; margin: 22px 0 18px; }
.hl { position: relative; white-space: nowrap; }
.hl::before { content: ''; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .38em; background: var(--pink); z-index: -1; border-radius: 6px; transform-origin: left; animation: mark 1s .4s both cubic-bezier(.7,0,.2,1); }
.hl.b::before { background: var(--mint); animation-delay: .8s; }
.rotator { display: inline-block; color: var(--hot); }
.lead { font-size: 19px; color: var(--ink2); max-width: 520px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { margin-top: 26px; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink2); }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -8px; display: grid; place-items: center; font-size: 15px; }
.avatars span:first-child { margin-left: 0; }

.fan { position: relative; height: 520px; perspective: 1200px; }
.fan .card { position: absolute; width: min(230px, 19vw); left: 50%; top: 50%; border: 2px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; background: #fff; transition: transform .6s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.fan .card:nth-child(1) { transform: translate(-96%, -48%) rotate(-9deg); }
.fan .card:nth-child(2) { transform: translate(-50%, -54%) rotate(0); z-index: 2; }
.fan .card:nth-child(3) { transform: translate(-4%, -46%) rotate(9deg); }
.fan:hover .card:nth-child(1) { transform: translate(-104%, -50%) rotate(-12deg); }
.fan:hover .card:nth-child(3) { transform: translate(4%, -48%) rotate(12deg); }
.fan .card:hover { z-index: 5; }
.sticker { position: absolute; z-index: 6; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); animation: floaty 5s ease-in-out infinite; }
.sticker.s1 { background: var(--butter); top: 30px; left: 0; transform: rotate(-6deg); }
.sticker.s2 { background: var(--lav); bottom: 40px; left: 10px; animation-delay: -2s; }
.sticker.s3 { background: var(--mint); top: 90px; right: 0; animation-delay: -3.5s; transform: rotate(5deg); }
@media (max-width: 980px) { .fan .card { width: min(230px, 30vw); } }
@media (max-width: 560px) { .fan { height: 400px; } }

/* Marquee */
.marquee { border-block: 2px solid var(--ink); background: var(--ink); color: var(--paper); overflow: hidden; transform: rotate(-1.2deg); margin: 10px -10px; }
.marquee .track { display: flex; gap: 38px; padding: 14px 0; width: max-content; animation: scroll 40s linear infinite; font-weight: 700; font-size: 18px; }
.marquee .track span::after { content: '✿'; margin-left: 38px; color: var(--pink); }

/* Section */
section.block { padding: 100px 0; position: relative; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head .tag { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--blue); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 16px 0 12px; }
.sec-head p { color: var(--ink2); font-size: 17px; margin: 0; }

/* Thư viện */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font: 500 14px 'Roboto'; cursor: pointer; transition: .2s; }
.chip.on { background: var(--ink); color: #fff; }
.chip:hover:not(.on) { background: var(--butter); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.tcard { border: 2px solid var(--ink); border-radius: var(--r); background: #fff; box-shadow: var(--sh); overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; transform-style: preserve-3d; position: relative; }
.tcard:hover { box-shadow: 8px 8px 0 var(--ink); }
.tcard .meta { padding: 12px 14px 14px; border-top: 2px solid var(--ink); }
.tcard .meta b { display: block; font-size: 16px; }
.tcard .meta small { color: var(--ink2); font-size: 13px; }
.tcard .num { position: absolute; top: 10px; left: 10px; z-index: 3; background: #fff; border: 2px solid var(--ink); border-radius: 999px; font-weight: 900; font-size: 12px; padding: 2px 9px; }
.tcard .acts { display: flex; gap: 8px; margin-top: 10px; }
.tcard .acts .btn { flex: 1; padding: 8px 10px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.tcard.hide { display: none; }

/* Các bước */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { border: 2px solid var(--ink); border-radius: 28px; padding: 30px 26px; box-shadow: var(--sh); position: relative; counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; font-weight: 900; font-size: 22px; box-shadow: 3px 3px 0 var(--ink); }
.step:nth-child(1) { background: var(--pink); } .step:nth-child(2) { background: var(--blue); } .step:nth-child(3) { background: var(--mint); }
.step .ic { font-size: 40px; }
.step h3 { font-size: 22px; margin: 10px 0 6px; font-weight: 900; }
.step p { margin: 0; color: var(--ink2); }

/* Tính năng */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feat { display: flex; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; border: 2px solid var(--ink); }
.feat .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 22px; }
.feat h4 { margin: 0 0 4px; font-size: 16px; }
.feat p { margin: 0; font-size: 14px; color: var(--ink2); }

/* Bảng giá */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1050px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }
.plan { border: 2px solid var(--ink); border-radius: 28px; padding: 28px 24px; background: #fff; box-shadow: var(--sh); display: flex; flex-direction: column; position: relative; transition: transform .25s; }
.plan:hover { transform: translateY(-6px); }
.plan.pop { background: var(--butter); box-shadow: 8px 8px 0 var(--ink); }
.plan .badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: var(--hot); color: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 900; }
.plan .for { color: var(--ink2); font-size: 14px; margin: 4px 0 16px; min-height: 42px; }
.plan .price { font-size: 38px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--ink2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; font-size: 14.5px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); border: 1.5px solid var(--ink); font-size: 11px; display: grid; place-items: center; font-weight: 900; }
.plan li.no { color: #a09ab0; } .plan li.no::before { content: '–'; background: #eee; border-color: #bbb; }
.addons { margin-top: 34px; border: 2px dashed var(--ink); border-radius: 24px; padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; background: #fff; }
.addons b { font-weight: 900; }
.addons span { font-size: 15px; } .addons em { font-style: normal; font-weight: 700; color: var(--hot); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 2px solid var(--ink); border-radius: 20px; background: #fff; padding: 4px 22px; transition: background .2s; }
.faq details[open] { background: var(--lav); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink2); }

/* CTA cuối */
.final { margin: 40px auto 80px; border: 2px solid var(--ink); border-radius: 40px; padding: 70px 30px; text-align: center; background: linear-gradient(120deg, var(--pink), var(--lav), var(--blue), var(--mint)); background-size: 300% 300%; animation: grad 12s ease infinite; box-shadow: 10px 10px 0 var(--ink); }
.final h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; letter-spacing: -.03em; margin: 0 0 14px; line-height: 1.05; }
footer.site { border-top: 2px solid var(--ink); padding: 30px 0; font-size: 14px; color: var(--ink2); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal + con trỏ lấp lánh */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.spark { position: fixed; pointer-events: none; z-index: 999; width: 10px; height: 10px; border-radius: 50%; animation: fade .8s forwards; }

@keyframes morph { 50% { border-radius: 58% 42% 35% 65% / 55% 62% 38% 45%; transform: translate(30px, 20px) rotate(20deg) scale(1.05); } }
@keyframes ping { 70%,100% { box-shadow: 0 0 0 10px transparent; } 0% { box-shadow: 0 0 0 0 var(--hot); } }
@keyframes mark { from { transform: scaleX(0); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes floaty { 50% { translate: 0 -10px; } }
@keyframes grad { 50% { background-position: 100% 50%; } }
@keyframes fade { to { transform: translateY(14px) scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* ===== Ảnh thu nhỏ mẫu (ảnh chụp thật) ===== */
.tthumb { position: relative; display: block; aspect-ratio: 390 / 640; overflow: hidden; background: linear-gradient(160deg, var(--bg), color-mix(in srgb, var(--ac) 35%, var(--bg))); }
.tthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tthumb-fb { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font-weight: 900; font-size: 18px; color: var(--fg); }
.tcard:hover .tthumb img { transform: scale(1.05); }
.tc-img { display: block; }
.tcard .meta p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.6em; }
.b3d { position: absolute; z-index: 2; top: 6px; right: 6px; font-style: normal; background: linear-gradient(135deg, #ff5c9a, #8f7cec); color: #fff; border-radius: 6px; font-weight: 900; font-size: 10px; padding: 1px 5px; }
.badge3d { position: absolute; top: 10px; right: 10px; z-index: 3; background: linear-gradient(135deg, #ff5c9a, #8f7cec); color: #fff; border: 2px solid var(--ink); border-radius: 8px; font-weight: 900; font-size: 12px; padding: 2px 7px; transform: rotate(6deg); box-shadow: 2px 2px 0 var(--ink); }
.chip.c3d { background: linear-gradient(135deg, var(--pink), var(--lav)); font-weight: 700; }
.chip.c3d.on { background: var(--ink); }

/* Bảng giá 3 gói */
.pricing.p3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .pricing.p3 { grid-template-columns: 1fr; max-width: 460px; } }
.plan .addon { margin: -8px 0 18px; padding: 8px 12px; border: 2px dashed var(--ink); border-radius: 12px; font-size: 14px; text-align: center; background: #fff; }
footer.site a { color: inherit; }
