/* =========================================================
   SonnyWeb - trang dich vu thiet ke website (sonnyweb.com)
   CSS rieng cua site. Hieu ung la CSS thuan (khoi HTML cua CMS khong cho script).
   1. Bien  2. Nen  3. Khung  4. Nut  5. Hero + khung thiet bi  6. Dai nganh
   7. Website da lam  8. Vi sao chon  9. Bang gia  10. Quy trinh  11. CTA + form
   12. FAQ  13. Header / footer  14. Hieu ung cuon  15. Responsive  16. Giam chuyen dong
   ========================================================= */

/* 1. Bien */
:root {
  --sw-ink: #0F1222;
  --sw-text: #2B3047;
  --sw-muted: #646A85;
  --sw-line: #E6E8F2;
  --sw-bg: #FFFFFF;
  --sw-soft: #F6F7FC;
  --sw-violet: #5B4CF0;
  --sw-violet-2: #7C6CFF;
  --sw-sky: #0EA5E9;
  --sw-mint: #10B981;
  --sw-grad: linear-gradient(100deg, #5B4CF0 0%, #8B5CF6 45%, #0EA5E9 100%);
  --sw-shadow: 0 30px 70px -30px rgba(40, 32, 120, .35);
  --sw-ease: cubic-bezier(.2, .7, .1, 1);
}
html body {
  --primary: #5B4CF0;
  --primary-hover: #4A3BE0;
  --primary-light: rgba(91, 76, 240, .12);
  --on-primary: #FFFFFF;
  --bg-canvas: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-main: #2B3047;
  --text-muted: #646A85;
  --border-color: #E6E8F2;
  background: #fff;
  color: var(--sw-text);
}
.theme-toggle-btn { display: none !important; }
::selection { background: var(--sw-violet); color: #fff; }

/* 2-3. Khung chung */
.custom-html-block { padding: 0 !important; background: none !important; }
.sw-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sw-sec { position: relative; padding: 104px 0; }
.sw-sec.soft { background: var(--sw-soft); }
.sw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.sw-head.center { flex-direction: column; align-items: center; text-align: center; }
.sw-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  padding: 6px 14px; border-radius: 999px; background: rgba(91, 76, 240, .08); color: var(--sw-violet);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.sw-h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: var(--sw-ink); max-width: 20ch; }
.sw-head.center .sw-h2 { max-width: 22ch; }
.sw-h2 em, .sw-h1 em { font-style: normal; background: var(--sw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-sub { margin: 14px 0 0; max-width: 56ch; font-size: 1.08rem; line-height: 1.65; color: var(--sw-muted); }
.sw-head.center .sw-sub { margin-left: auto; margin-right: auto; }

/* 4. Nut */
.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border-radius: 999px; background: var(--sw-violet); color: #fff !important; font-weight: 700; font-size: 1rem;
  text-decoration: none !important; border: 1px solid transparent; box-shadow: 0 14px 30px -12px rgba(91, 76, 240, .7);
  transition: transform .25s var(--sw-ease), box-shadow .25s var(--sw-ease), background .25s;
}
.sw-btn:hover { transform: translateY(-2px); background: #4A3BE0; box-shadow: 0 18px 36px -12px rgba(91, 76, 240, .8); }
.sw-btn.ghost { background: #fff; color: var(--sw-ink) !important; border-color: var(--sw-line); box-shadow: none; }
.sw-btn.ghost:hover { border-color: var(--sw-violet); color: var(--sw-violet) !important; }
.sw-btn.zalo { background: #0068FF; box-shadow: 0 14px 30px -12px rgba(0, 104, 255, .65); }
.sw-btn.zalo:hover { background: #0057D9; }
.sw-arr { width: 16px; height: 16px; display: inline-block; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* 5. Hero */
.sw-progress { position: fixed; left: 0; top: 0; z-index: 9999; width: 100%; height: 3px; background: var(--sw-grad); transform-origin: 0 50%; transform: scaleX(0); display: none; }
.sw-hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 96px; }
.sw-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(124, 108, 255, .22), transparent 70%),
    radial-gradient(35% 45% at 85% 15%, rgba(14, 165, 233, .20), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, rgba(139, 92, 246, .16), transparent 70%);
  animation: swBlob 16s ease-in-out infinite alternate;
}
.sw-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(15, 18, 34, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 18, 34, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.sw-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.sw-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--sw-line); box-shadow: 0 6px 20px -10px rgba(40, 32, 120, .25); font-size: .9rem; font-weight: 600; color: var(--sw-text);
  animation: swRise .8s var(--sw-ease) both; }
.sw-eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--sw-mint); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: swPing 1.8s infinite; }
.sw-h1 { margin: 0; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: var(--sw-ink); }
.sw-h1 .w { display: inline-block; animation: swWord .9s var(--sw-ease) both; }
.sw-h1 .w:nth-child(2) { animation-delay: .08s; } .sw-h1 .w:nth-child(3) { animation-delay: .16s; } .sw-h1 .w:nth-child(4) { animation-delay: .24s; }
.sw-h1 em { background-size: 200% 100%; animation: swWord .9s var(--sw-ease) .24s both, swShine 6s linear 1.2s infinite; }
.sw-lead { margin: 22px 0 0; max-width: 52ch; font-size: 1.15rem; line-height: 1.65; color: var(--sw-muted); animation: swRise .9s var(--sw-ease) .35s both; }
.sw-lead b { color: var(--sw-ink); }
.sw-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; animation: swRise .9s var(--sw-ease) .45s both; }
.sw-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; animation: swRise .9s var(--sw-ease) .55s both; }
.sw-trust li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--sw-text); font-weight: 600; }
.sw-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sw-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

/* Khung thiet bi */
.sw-devices { position: relative; padding: 10px 40px 40px 0; animation: swDevIn 1.2s var(--sw-ease) .2s both; }
.sw-browser { position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--sw-line); box-shadow: var(--sw-shadow); }
.sw-browser::before { content: ""; display: block; height: 30px; background: radial-gradient(circle at 16px 15px, #FF6159 4.5px, transparent 5px), radial-gradient(circle at 32px 15px, #FFBD2E 4.5px, transparent 5px), radial-gradient(circle at 48px 15px, #28C941 4.5px, transparent 5px), #F1F2F8; border-bottom: 1px solid var(--sw-line); }
.sw-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.sw-phone { position: absolute; right: 0; bottom: 0; width: 31%; border-radius: 30px; padding: 7px; background: #0F1222; box-shadow: 0 30px 60px -20px rgba(15, 18, 34, .55); animation: swFloat 6s ease-in-out infinite; }
.sw-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 24px; }
.sw-phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 34%; height: 12px; transform: translateX(-50%); border-radius: 999px; background: #0F1222; z-index: 1; }
.sw-toast { position: absolute; left: -26px; bottom: 18%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--sw-line);
  box-shadow: 0 20px 40px -18px rgba(40, 32, 120, .45); animation: swToast 1s var(--sw-ease) 1.4s both, swFloat 7s ease-in-out 2.4s infinite; }
.sw-toast i { width: 40px; height: 40px; border-radius: 12px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4zM4 7l8 6 8-6' stroke='white' stroke-width='2' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat, var(--sw-grad); }
.sw-toast b { display: block; font-size: .92rem; color: var(--sw-ink); }
.sw-toast small { display: block; font-size: .8rem; color: var(--sw-muted); }
.sw-chip { position: absolute; top: -6px; right: 8%; padding: 8px 14px; border-radius: 999px; background: var(--sw-ink); color: #fff; font-size: .85rem; font-weight: 700;
  box-shadow: 0 16px 30px -14px rgba(15, 18, 34, .6); animation: swToast 1s var(--sw-ease) 1.7s both; }
.sw-chip span { color: #A5F3D0; }

/* 6. Dai nganh chay ngang */
.sw-ticker { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--sw-line); background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sw-track { display: flex; width: max-content; animation: swMarquee 38s linear infinite; }
.sw-track span { display: inline-flex; align-items: center; gap: 14px; padding: 0 26px; font-weight: 700; font-size: 1.05rem; color: var(--sw-ink); white-space: nowrap; }
.sw-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sw-grad); margin-left: 26px; }

/* 7. Website da lam */
.sw-works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sw-work { position: relative; display: block; border-radius: 22px; padding: 22px 22px 24px; background: #fff; border: 1px solid var(--sw-line);
  text-decoration: none !important; color: inherit !important; transition: transform .35s var(--sw-ease), box-shadow .35s var(--sw-ease), border-color .35s; }
.sw-work:hover { transform: translateY(-6px); border-color: rgba(91, 76, 240, .35); box-shadow: var(--sw-shadow); }
.sw-shot { position: relative; padding-right: 15%; padding-bottom: 6%; }
.sw-shot .sw-browser { border-radius: 12px; box-shadow: 0 18px 40px -26px rgba(40, 32, 120, .45); }
.sw-shot .sw-browser::before { height: 22px; background-size: auto; background-image: radial-gradient(circle at 12px 11px, #FF6159 3.5px, transparent 4px), radial-gradient(circle at 24px 11px, #FFBD2E 3.5px, transparent 4px), radial-gradient(circle at 36px 11px, #28C941 3.5px, transparent 4px); }
.sw-shot .sw-browser img { transition: transform 6s linear; }
.sw-work:hover .sw-shot .sw-browser img { transform: translateY(-4%); }
.sw-shot .sw-phone { width: 24%; border-radius: 20px; padding: 5px; animation: none; transition: transform .5s var(--sw-ease); }
.sw-shot .sw-phone img { border-radius: 16px; }
.sw-shot .sw-phone::before { top: 9px; height: 8px; }
.sw-work:hover .sw-shot .sw-phone { transform: translateY(-10px) rotate(-2deg); }
.sw-work-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 18px; }
.sw-tag { display: inline-block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sw-violet); }
.sw-work h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--sw-ink); letter-spacing: -.01em; }
.sw-work p { margin: 6px 0 0; color: var(--sw-muted); font-size: .98rem; line-height: 1.55; }
.sw-go { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sw-soft); color: var(--sw-ink); transition: background .3s, color .3s, transform .3s var(--sw-ease); }
.sw-go .sw-arr { transform: rotate(-45deg); }
.sw-work:hover .sw-go { background: var(--sw-violet); color: #fff; transform: scale(1.08); }
.sw-note { margin: 26px 0 0; font-size: .9rem; color: var(--sw-muted); text-align: center; }

/* 8. Vi sao chon */
.sw-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sw-feat { position: relative; padding: 30px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--sw-line); overflow: hidden; transition: transform .35s var(--sw-ease), box-shadow .35s; }
.sw-feat::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 108, 255, .16), transparent); transition: transform .5s var(--sw-ease); }
.sw-feat:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(40, 32, 120, .4); }
.sw-feat:hover::after { transform: scale(1.4); }
.sw-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(91, 76, 240, .08); margin-bottom: 18px; }
.sw-feat h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; color: var(--sw-ink); }
.sw-feat p { margin: 0; color: var(--sw-muted); line-height: 1.6; }

/* 9. Bang gia */
.sw-incl { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 44px; padding: 0; list-style: none; }
.sw-incl li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--sw-line); font-size: .92rem; font-weight: 600; color: var(--sw-text); }
.sw-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.sw-plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--sw-line); transition: transform .35s var(--sw-ease), box-shadow .35s; }
.sw-plan:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(40, 32, 120, .45); }
.sw-plan.hot { border: 0; color: #E9E8FF; background: linear-gradient(160deg, #2B1F8F 0%, #4B3BD9 55%, #1E7BC7 100%); box-shadow: 0 30px 60px -26px rgba(75, 59, 217, .75); transform: translateY(-10px); }
.sw-plan.hot:hover { transform: translateY(-14px); }
.sw-badge { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; background: #FDE68A; color: #6B4E00; font-size: .75rem; font-weight: 800; letter-spacing: .06em; }
.sw-plan h3 { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--sw-ink); }
.sw-plan .for { margin: 4px 0 18px; font-size: .92rem; color: var(--sw-muted); }
.sw-price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--sw-ink); line-height: 1.1; }
.sw-price small { font-size: .9rem; font-weight: 600; color: var(--sw-muted); letter-spacing: 0; margin-right: 4px; }
.sw-keep { margin: 6px 0 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--sw-line); font-size: .88rem; color: var(--sw-muted); }
.sw-plan ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.sw-plan li { position: relative; padding-left: 26px; font-size: .95rem; line-height: 1.45; color: var(--sw-text); }
.sw-plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: rgba(16, 185, 129, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%2310B981' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.sw-plan li code { font-family: inherit; font-weight: 700; color: var(--sw-violet); background: rgba(91, 76, 240, .08); padding: 1px 6px; border-radius: 6px; }
.sw-plan .sw-btn { width: 100%; min-height: 50px; }
.sw-plan.hot h3, .sw-plan.hot .sw-price { color: #fff; }
.sw-plan.hot .for, .sw-plan.hot .sw-keep, .sw-plan.hot .sw-price small { color: #C9C6FF; }
.sw-plan.hot .sw-keep { border-color: rgba(255, 255, 255, .2); }
.sw-plan.hot li { color: #F1F0FF; }
.sw-plan.hot li code { color: #fff; background: rgba(255, 255, 255, .15); }
.sw-plan.hot li::before { background-color: rgba(255, 255, 255, .16); }
.sw-plan.hot .sw-btn { background: #fff; color: #3B2DC4 !important; box-shadow: none; }
.sw-extra { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin-top: 26px; }
.sw-box { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--sw-line); }
.sw-box h3 { margin: 0 0 14px; font-size: 1.08rem; font-weight: 800; color: var(--sw-ink); }
.sw-box p { margin: 0 0 16px; color: var(--sw-muted); line-height: 1.6; }
.sw-box.erp { background: linear-gradient(150deg, #F3F1FF, #E8F6FE); border-color: transparent; }
.sw-rows { margin: 0; padding: 0; list-style: none; }
.sw-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sw-line); font-size: .95rem; }
.sw-rows li:last-child { border-bottom: 0; }
.sw-rows b { color: var(--sw-ink); white-space: nowrap; }
.sw-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sw-list li { position: relative; padding-left: 18px; font-size: .95rem; line-height: 1.5; color: var(--sw-text); }
.sw-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--sw-violet); }
.sw-fine { margin: 22px 0 0; text-align: center; color: var(--sw-muted); font-size: .95rem; }
.sw-fine a { color: var(--sw-violet) !important; font-weight: 700; }

/* 10. Quy trinh */
.sw-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.sw-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, #D9DCEB 0 8px, transparent 8px 16px); }
.sw-step { position: relative; text-align: center; padding: 0 6px; }
.sw-step i { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; background: #fff; border: 1px solid var(--sw-line);
  font-style: normal; font-weight: 800; font-size: 1.15rem; color: var(--sw-violet); box-shadow: 0 10px 24px -14px rgba(40, 32, 120, .45); transition: background .3s, color .3s, transform .3s var(--sw-ease); }
.sw-step:hover i { background: var(--sw-violet); color: #fff; transform: translateY(-4px) rotate(-4deg); }
.sw-step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; color: var(--sw-ink); }
.sw-step p { margin: 0; color: var(--sw-muted); line-height: 1.55; font-size: .97rem; }

/* 11. CTA + form lien he cua CMS */
.sw-cta { position: relative; overflow: hidden; isolation: isolate; padding: 100px 0 30px; text-align: center; color: #fff; background: #120E3A; }
.sw-cta::before { content: ""; position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(35% 45% at 20% 30%, rgba(124, 108, 255, .55), transparent 70%), radial-gradient(35% 45% at 80% 40%, rgba(14, 165, 233, .45), transparent 70%);
  animation: swBlob 14s ease-in-out infinite alternate; }
.sw-cta .sw-kicker { background: rgba(255, 255, 255, .12); color: #DCD8FF; }
.sw-cta .sw-h2 { color: #fff; margin: 0 auto; max-width: 18ch; }
.sw-cta .sw-h2 em { background: linear-gradient(100deg, #C4B5FD, #7DD3FC); -webkit-background-clip: text; background-clip: text; }
.sw-cta .sw-sub { color: #CFCBF5; margin: 16px auto 0; }
.sw-cta .sw-sub a { color: #fff !important; font-weight: 700; }
.sw-cta .sw-actions { justify-content: center; animation: none; }
.sw-cta .sw-btn.ghost { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .25); }
.block-contact {
  position: relative; max-width: 760px; margin: -10px auto 100px !important; padding: 40px !important; border-radius: 26px !important;
  background: #fff !important; border: 1px solid var(--sw-line) !important; box-shadow: 0 40px 80px -40px rgba(40, 32, 120, .45);
}
.sw-cta + * .block-contact, .block-contact { z-index: 2; }
.block-contact .block-title { color: var(--sw-ink) !important; }
.block-contact .form-control { border-radius: 12px !important; min-height: 50px; border-color: #DADDEB !important; }
.block-contact .form-control:focus { border-color: var(--sw-violet) !important; box-shadow: 0 0 0 3px rgba(91, 76, 240, .18) !important; }
.block-contact .btn-primary { min-height: 54px; border-radius: 999px !important; background: var(--sw-violet) !important; border-color: var(--sw-violet) !important; font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(91, 76, 240, .7); }
.block-contact .btn-primary:hover { background: #4A3BE0 !important; }
.block-contact a { color: var(--sw-violet) !important; }

/* 12. FAQ */
.block-faq-accordion { background: var(--sw-soft); padding-top: 80px !important; padding-bottom: 90px !important; }
.block-faq-accordion .block-title { color: var(--sw-ink) !important; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.nx-faq-item { background: #fff !important; border: 1px solid var(--sw-line) !important; border-radius: 16px !important; padding: 1.1rem 1.4rem !important; transition: border-color .3s, box-shadow .3s; }
.nx-faq-item[open] { border-color: rgba(91, 76, 240, .4) !important; box-shadow: 0 16px 34px -24px rgba(40, 32, 120, .45); }
.nx-faq-question { color: var(--sw-ink) !important; font-weight: 700; }

/* 13. Header / footer */
.site-header { background: rgba(255, 255, 255, .78) !important; border-bottom: 1px solid rgba(230, 232, 242, .9) !important;
  backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); }
.site-logo span { color: var(--sw-ink) !important; font-weight: 800; letter-spacing: -.01em; }
.site-nav a, .site-nav .nav-parent { color: var(--sw-text) !important; font-weight: 600; }
.site-nav a:hover, .site-nav a.active { color: var(--sw-violet) !important; }
.site-header .header-cta, .header-actions > a.header-cta { background: #0068FF !important; border-color: #0068FF !important; color: #fff !important; border-radius: 999px !important; font-weight: 700; }
.site-footer { background: #0D0B26 !important; color: #A9A6CC !important; }
.site-footer a { color: #D3D0F0 !important; }
.site-footer a:hover { color: #fff !important; }
.site-footer h4, .site-footer .footer-col-title { color: #fff !important; }
.site-footer .footer-slogan { color: #C4B5FD !important; }
.site-footer .footer-bottom, .site-footer .footer-bottom * { color: #8D8AB5 !important; }

/* 14. Hieu ung theo cuon (Chrome/Edge, Safari moi). Trinh duyet chua ho tro: van du noi dung. */
@supports (animation-timeline: view()) {
  .sw-progress { display: block; animation: swGrow linear both; animation-timeline: scroll(root); }
  .sw-h2 { animation: swTitle linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .sw-work, .sw-feat, .sw-plan, .sw-step, .sw-box { animation: swCard linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .sw-plan.hot { animation-name: swCardHot; }
  .sw-hero .sw-devices { animation: swDevIn 1.2s var(--sw-ease) .2s both; }
}
@keyframes swBlob { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.08); } }
@keyframes swPing { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }
@keyframes swRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes swWord { from { opacity: 0; transform: translateY(50%); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes swShine { to { background-position: -200% 0; } }
@keyframes swDevIn { from { opacity: 0; transform: translateY(40px) rotate(1.5deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes swFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes swToast { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes swMarquee { to { transform: translateX(-50%); } }
@keyframes swGrow { to { transform: scaleX(1); } }
@keyframes swTitle { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes swCard { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes swCardHot { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: translateY(-10px); } }

/* 15. Responsive - dien thoai truoc */
@media (max-width: 1100px) {
  .sw-plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .sw-plan.hot { transform: none; }
  @supports (animation-timeline: view()) { .sw-plan.hot { animation-name: swCard; } }
  .sw-extra { grid-template-columns: 1fr 1fr; }
  .sw-extra .erp { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .sw-sec { padding: 76px 0; }
  .sw-hero { padding: 40px 0 64px; }
  .sw-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .sw-devices { max-width: 620px; }
  .sw-feats { grid-template-columns: 1fr 1fr; }
  .sw-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .sw-steps::before { display: none; }
  .sw-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
}
@media (max-width: 680px) {
  .sw-wrap { padding: 0 18px; }
  .sw-works { grid-template-columns: 1fr; gap: 20px; }
  .sw-work { padding: 16px 16px 20px; }
  .sw-plans { grid-template-columns: 1fr; }
  .sw-extra { grid-template-columns: 1fr; }
  .sw-feats { grid-template-columns: 1fr; }
  .sw-actions .sw-btn { flex: 1 1 100%; }
  .sw-devices { padding: 0 26px 26px 0; }
  .sw-toast { left: -6px; bottom: 6%; padding: 9px 12px 9px 9px; }
  .sw-toast i { width: 32px; height: 32px; }
  .sw-chip { right: 4%; font-size: .78rem; }
  .sw-incl { margin-top: -8px; }
  .block-contact { padding: 24px 18px !important; margin: 0 12px 70px !important; }
  .sw-cta { padding-top: 80px; }
}
@media (max-width: 420px) {
  .sw-steps { grid-template-columns: 1fr; }
  .sw-h1 { font-size: 2.15rem; }
}

/* 16. Giam chuyen dong */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sw-progress { display: none !important; }
}

/* 17. Trang van ban (chinh sach) */
.sw-narrow { max-width: 860px; }
.sw-narrow p { margin: 0 0 16px; color: var(--sw-text); line-height: 1.7; }
.sw-back { margin-top: 28px; }

/* 18. Sua sau QA local */
.site-footer .site-logo span, .site-footer .footer-brand span, .site-footer .footer-logo span, .site-footer [class*="logo"] span { color: #fff !important; }
.sw-plan .sw-btn { padding: 0 12px; font-size: .93rem; white-space: nowrap; }
.sw-head.center .sw-h2 { max-width: 26ch; }
.sw-plan.hot li::before { background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* 19. Header: can giua, nut VI | EN (chu /en dich bang localeOverrides + CmsLocalizer) */
.site-header .header-container { align-items: center !important; }
.site-header .header-actions { display: flex; align-items: center !important; gap: 18px; }
.site-header .header-actions > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.site-header .lang-switcher { display: inline-flex; align-items: center; line-height: 1; }
.site-header { background: rgba(255, 255, 255, .95) !important; }
.site-header .lang-switcher .lang-link { font-weight: 700; color: var(--sw-text) !important; }
.site-header .lang-switcher .lang-link.active { color: var(--sw-violet) !important; }

/* 20. Dien thoai (<=1024px): hien lai nut VI | EN o dau trang (CMS chung an nut nay tu 24/11) */
@media (max-width: 1024px) {
  .site-header .header-actions { gap: 8px !important; }
  .site-header .header-actions .lang-switcher { display: inline-flex !important; gap: 2px; padding: 3px; border: 1px solid #E2E8F0; border-radius: 10px; background: #fff; }
  .site-header .lang-switcher .lang-sep { display: none; }
  .site-header .lang-switcher .lang-link { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 6px; border-radius: 7px; font-size: 13.5px; }
  .site-header .lang-switcher .lang-link.active { background: var(--sw-violet); color: #fff !important; }
}

/* 20 · review 3 vòng 27/11 */
.sw-callback{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:6px;font-weight:600;color:var(--sw-violet);text-decoration:underline;text-underline-offset:3px}
.sw-plan-form{display:block;margin-top:12px;text-align:center;font-size:14px;color:inherit;opacity:.85;text-decoration:underline;text-underline-offset:3px;min-height:24px}
.sw-work-box{display:flex;flex-direction:column;gap:10px;min-width:0}
.sw-work-box>.sw-work{flex:1}
.sw-use{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;background:var(--sw-violet);color:#fff!important;font-weight:600;font-size:14.5px;text-decoration:none}
.sw-use:hover{filter:brightness(1.08)}
.sw-more>summary{list-style:none;cursor:pointer;display:flex;justify-content:center;margin-top:28px}
.sw-more>summary::-webkit-details-marker{display:none}
.sw-more>summary span{display:inline-flex;align-items:center;min-height:48px;padding:0 28px;border-radius:999px;border:1.5px solid var(--sw-violet);color:var(--sw-violet);font-weight:700;background:#fff}
.sw-more[open]>summary{display:none}
.sw-more[open]>.sw-works{margin-top:28px}

/* 21 · xem tất cả mẫu (:target) 27/11 */
.sw-all:not(:target) .sw-work-box:nth-child(n+7){display:none}
.sw-more-btn{display:flex;width:max-content;max-width:100%;margin:28px auto 0;align-items:center;min-height:48px;padding:0 28px;border-radius:999px;border:1.5px solid var(--sw-violet);color:var(--sw-violet)!important;font-weight:700;background:#fff;text-decoration:none}
.sw-all:target .sw-more-btn{display:none}
#tat-ca-mau{scroll-margin-top:90px}

/* 22 · mobile tap 27/11 */
.sw-callback{display:inline-block;padding:10px 0;line-height:1.5}
.sw-plan-form{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:6px}
