/* ─────────────────────────────────────────────────────────────────
   WebPro — Shared Stylesheet (v2 — full redesign)
   ───────────────────────────────────────────────────────────────── */

/* == Variables ===================================================== */
:root {
  --blue:         #2563eb;
  --blue-d:       #1d4ed8;
  --blue-l:       #eff6ff;
  --blue-xl:      #dbeafe;
  --green:        #059669;
  --green-d:      #047857;
  --green-l:      #ecfdf5;
  --purple:       #7c3aed;
  --red:          #dc2626;
  --yellow:       #f59e0b;
  --dark:         #0f172a;
  --text:         #1e293b;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --border-d:     #cbd5e1;
  --bg:           #f8fafc;
  --bg-card:      #ffffff;
  --white:        #ffffff;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 16px 40px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.13), 0 8px 16px rgba(0,0,0,.06);
  --shadow-blue:  0 8px 24px rgba(37,99,235,.3);
  --shadow-green: 0 8px 24px rgba(5,150,105,.3);

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font:      'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.22s ease;
  --transition-slow: 0.4s ease;
}

/* == Keyframes ===================================================== */
@keyframes fadeUp    { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes slideLeft { from { opacity:0; transform:translateX(-28px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideRight{ from { opacity:0; transform:translateX(28px); } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn   { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
@keyframes gradientFlow { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes floatY    { 0%,100% { transform:translateY(0px); } 50% { transform:translateY(-10px); } }
@keyframes pulseRing { 0% { transform:scale(1); box-shadow:0 0 0 0 rgba(0,104,255,.4); } 70% { transform:scale(1.05); box-shadow:0 0 0 12px rgba(0,104,255,0); } 100% { transform:scale(1); } }
@keyframes spin      { to { transform:rotate(360deg); } }
@keyframes toastIn   { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes shimmerSlide { 0% { left:-100%; } 100% { left:100%; } }
@keyframes countIn   { from { opacity:0; transform:scale(0.7); } to { opacity:1; transform:scale(1); } }
@keyframes heroOrb   { 0%,100% { transform:translate(0,0) scale(1); } 33% { transform:translate(20px,-15px) scale(1.04); } 66% { transform:translate(-15px,10px) scale(.97); } }
@keyframes navbarIn  { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

/* == Scroll Reveal ================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,.99), transform 0.65s cubic-bezier(.22,.68,0,.99);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,.99), transform 0.65s cubic-bezier(.22,.68,0,.99);
}
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.22,.68,0,1.1);
}
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* == Reset ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
ul, ol { padding-left: 1.5rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .6rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; background: var(--bg); }
tr:last-child td { border-bottom: none; }
code, pre { font-family: 'Fira Code', 'Cascadia Code', monospace; font-size: .875rem; }
pre {
  background: var(--dark);
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.25rem 0;
}
code { background: var(--blue-l); color: var(--blue-d); padding: .1em .35em; border-radius: 4px; }
pre code { background: transparent; color: inherit; padding: 0; }

/* == Typography ==================================================== */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* == Layout ======================================================== */
.container        { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow{ max-width: 820px; margin: 0 auto; padding: 0 1.25rem; }
.section          { padding: 4rem 0; }
.section--lg      { padding: 6rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }  .mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }.mb-2 { margin-bottom: 1rem; }.mb-3 { margin-bottom: 1.5rem; }.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.text-sm     { font-size: .875rem; }
.text-lg     { font-size: 1.125rem; }
.fw-600      { font-weight: 600; }
.hidden      { display: none !important; }

/* == Buttons ======================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .68rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem; font-weight: 700;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn:hover::after { left: 150%; transition: left 0.5s ease; }
.btn--primary {
  background: linear-gradient(135deg, var(--green), var(--green-d));
  color: white; border-color: var(--green-d);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); color: white; }
.btn--blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: white; border-color: var(--blue-d);
}
.btn--blue:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); color: white; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-l); transform: translateY(-1px); }
.btn--outline-white { background: transparent; color: white; border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: white; color: white; }
.btn--ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn--ghost:hover { background: var(--bg); color: var(--text); }
.btn--sm  { padding: .42rem 1rem; font-size: .85rem; }
.btn--lg  { padding: .9rem 2.25rem; font-size: 1.0625rem; }
.btn--full{ width: 100%; }
.btn--zalo {
  background: linear-gradient(135deg, #0068FF, #0057d6);
  color: white; border-color: #0057d6;
}
.btn--zalo:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,104,255,.35); color: white; }

/* == Navbar ======================================================== */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  animation: navbarIn 0.4s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 24px rgba(15,23,42,.08);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.navbar__logo {
  font-size: 1.375rem; font-weight: 800;
  color: var(--dark); letter-spacing: -.4px; text-decoration: none;
}
.navbar__logo span { color: var(--blue); }
.navbar__logo em   { color: var(--green); font-style: normal; }
.navbar__nav {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; padding: 0; margin: 0;
}
.navbar__nav a {
  position: relative;
  padding: .5rem .9rem;
  font-size: .9375rem; font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: all var(--transition);
}
.navbar__nav a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--blue); border-radius: 2px;
  transition: left 0.22s ease, right 0.22s ease;
}
.navbar__nav a:hover { color: var(--blue); background: var(--blue-l); }
.navbar__nav a:hover::after,
.navbar__nav a.active::after { left: .9rem; right: .9rem; }
.navbar__nav a.active { color: var(--blue); background: var(--blue-l); font-weight: 600; }
.navbar__cta { margin-left: .75rem; }
.navbar__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: .5rem; border: none; background: none;
}
.navbar__toggle span {
  width: 22px; height: 2.5px;
  background: var(--dark); border-radius: 2px;
  transition: all var(--transition); display: block;
}
.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* == Alert Banner ================================================== */
.alert-banner {
  background: linear-gradient(90deg, #1d4ed8, #7c3aed, #059669, #1d4ed8);
  background-size: 300% 100%;
  animation: gradientFlow 6s ease infinite;
  color: white; text-align: center;
  padding: .6rem 1rem; font-size: .875rem; font-weight: 500;
}
.alert-banner a { color: #fde68a; text-decoration: underline; text-underline-offset: 2px; }

/* == Hero ========================================================== */
.hero {
  background: linear-gradient(145deg, var(--dark) 0%, #0d2559 45%, #1a3f8f 100%);
  color: white;
  padding: 5.5rem 0 4.5rem;
  position: relative; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px);
  animation: heroOrb 12s ease-in-out infinite;
}
.hero__orb--1 { width:400px; height:400px; background:rgba(37,99,235,.3); top:-100px; right:-50px; animation-delay:0s; }
.hero__orb--2 { width:280px; height:280px; background:rgba(5,150,105,.2); bottom:0; left:30%; animation-delay:-5s; }
.hero__orb--3 { width:200px; height:200px; background:rgba(124,58,237,.2); top:30%; left:-60px; animation-delay:-9s; }

.hero__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; z-index: 1;
}
.hero__content { max-width: 860px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #bfdbfe;
  padding: .3rem .85rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: .05em;
  animation: fadeIn 0.6s ease;
}
.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800; line-height: 1.12;
  margin-bottom: 1.25rem; color: white;
  animation: fadeUp 0.6s ease .1s both;
}
.hero__title .highlight {
  color: #6ee7b7;
  position: relative; display: inline-block;
}
.hero__subtitle {
  font-size: 1.125rem; color: rgba(255,255,255,.78);
  max-width: 640px; margin: 0 auto 2rem; line-height: 1.7;
  animation: fadeUp 0.6s ease .2s both;
}
.hero__actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.6s ease .3s both;
}
.hero__trust {
  display: flex; gap: 2rem; margin-top: 2.75rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.6s ease .4s both;
}
.hero__trust-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.72); font-size: .875rem; }
.hero__trust-item svg { color: #6ee7b7; flex-shrink: 0; }

/* Hero Visual Card */
.hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem; color: white; width: 100%; max-width: 320px;
  animation: scaleIn 0.7s cubic-bezier(.22,.68,0,1.1) .3s both;
}
.hero-card__live {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: rgba(255,255,255,.7);
}
.hero-card__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7;
  animation: pulseRing 2s infinite;
}
.hero-card__divider { height: 1px; background: rgba(255,255,255,.1); margin: 1rem 0; }
.hero-card__stat    { margin-bottom: 1rem; }
.hero-card__stat:last-of-type { margin-bottom: 0; }
.hero-card__num   { font-size: 2rem; font-weight: 800; color: #6ee7b7; line-height: 1; }
.hero-card__label { font-size: .8125rem; color: rgba(255,255,255,.6); margin-top: .2rem; }

/* == Stats Bar ===================================================== */
.stats-bar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 2rem 0; position: relative;
}
.stats-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--green));
}
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; text-align: center;
}
.stats-bar__item { position: relative; }
.stats-bar__item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}
.stats-bar__num {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stats-bar__label { font-size: .8125rem; color: var(--muted); margin-top: .3rem; }

/* == Section Headers =============================================== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header__label {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--blue-l); color: var(--blue);
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .35rem 1rem; border-radius: 999px;
  margin-bottom: .85rem; border: 1px solid var(--blue-xl);
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--muted); font-size: 1.0625rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* == Feature Cards ================================================= */
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.2); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 52px; height: 52px;
  background: var(--blue-l); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  transition: transform var(--transition), background var(--transition);
}
.feature-card:hover .feature-card__icon { transform: scale(1.1); background: var(--blue-xl); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.feature-card p  { font-size: .875rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* == Blog Cards ==================================================== */
.blog-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.blog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--border-d); }
.blog-card:hover::before { transform: scaleX(1); }
.blog-card__img-wrap { position: relative; overflow: hidden; }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.blog-card:hover .blog-card__img { transform: scale(1.06); }
.blog-card__body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .2rem .65rem; border-radius: 999px;
  font-size: .5rem; font-weight: 600;
  background: var(--blue-l); color: var(--blue);
}
.badge--green  { background: var(--green-l); color: var(--green-d); }
.badge--purple { background: #f3e8ff; color: var(--purple); }
.badge--red    { background: #fef2f2; color: var(--red); }
.blog-card__readtime { font-size: .8125rem; color: var(--muted); margin-left: auto; }
.blog-card__title {
  font-size: 1.0625rem; font-weight: 700; color: var(--dark);
  margin-bottom: .6rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__title a { color: inherit; transition: color var(--transition); }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__excerpt {
  font-size: .9rem; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; flex: 1;
}
.blog-card__footer {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.blog-card__date  { font-size: .8125rem; color: var(--muted); }
.blog-card__views { font-size: .8125rem; color: var(--muted); display: flex; align-items: center; gap: .25rem; }

/* == Portfolio Cards =============================================== */
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  cursor: pointer; background: var(--dark);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-xl); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.93) 0%, rgba(15,23,42,.4) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.35rem;
  opacity: 0; transition: opacity var(--transition-slow);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__cat {
  font-size: .75rem; font-weight: 700; color: #6ee7b7;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .35rem;
}
.portfolio-card__title { font-size: 1rem; font-weight: 700; color: white; margin-bottom: .25rem; }
.portfolio-card__desc  { font-size: .8125rem; color: rgba(255,255,255,.7); }
.portfolio-card__tech {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(15,23,42,.75); backdrop-filter: blur(8px);
  color: #bfdbfe; font-size: .7rem; font-weight: 600;
  padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}
.portfolio-card__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .7rem; padding: .38rem .9rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; color: white; font-size: .8125rem; font-weight: 700;
  backdrop-filter: blur(4px); transition: background var(--transition);
  align-self: flex-start;
}
.portfolio-card:hover .portfolio-card__cta { background: rgba(255,255,255,.28); }
a.portfolio-card { display: block; text-decoration: none; }

/* == Pricing Cards ================================================= */
.pricing-card {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  position: relative; transition: all var(--transition);
  display: flex; flex-direction: column;
}
.pricing-card .btn { margin-top: auto; }
.pricing-card:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 20px 50px rgba(37,99,235,.1), 0 4px 8px rgba(0,0,0,.05);
  transform: translateY(-6px);
}
.pricing-card--popular {
  border-color: var(--blue);
  background: linear-gradient(145deg, #f0f7ff 0%, #e6f0ff 50%, #ffffff 100%);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(37,99,235,.15);
}
.pricing-card--popular:hover { transform: scale(1.03) translateY(-6px); box-shadow: 0 24px 60px rgba(37,99,235,.22); }
.pricing-card__badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white; font-size: .75rem; font-weight: 700;
  padding: .28rem 1.1rem; border-radius: 0 0 10px 10px;
  letter-spacing: .04em; white-space: nowrap;
}
.pricing-card__name  { font-size: 1.125rem; font-weight: 700; color: var(--dark); margin-bottom: .35rem; text-align: center; margin-top: 1rem;}
.pricing-card__desc  { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.pricing-card__price { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; line-height: 1; text-align: center}
.pricing-card__features { list-style: none; padding: 0; margin-bottom: 1.75rem; }
.pricing-card__features li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; padding: .5rem 0;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features .check { color: var(--green); flex-shrink: 0; margin-top: 1px; font-weight: 700; }
.pricing-card__features .cross { color: var(--border-d); flex-shrink: 0; margin-top: 1px; }

/* == Testimonials carousel ========================================= */
.testimonials-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right,transparent 0%,#000 7%,#000 93%,transparent 100%);
  mask-image: linear-gradient(to right,transparent 0%,#000 7%,#000 93%,transparent 100%);
}
.testimonials-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: tc-scroll 40s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes tc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial-card {
  flex-shrink: 0; width: 360px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: .5rem; right: 1.25rem;
  font-size: 6rem; line-height: 1; color: var(--blue-xl);
  font-family: serif; pointer-events: none; user-select: none;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: var(--border-d); transform: translateY(-3px); }
.testimonial-card__stars { color: #f59e0b; font-size: 1rem; margin-bottom: .85rem; letter-spacing: 2px; }
.testimonial-card__text  { font-size: .9375rem; color: var(--text); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; flex: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white; font-size: 1.125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-card__info { display: flex; flex-direction: column; min-width: 0; }
.testimonial-card__name { font-weight: 700; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.testimonial-card__role { font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* == FAQ =========================================================== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
  font-weight: 600; font-size: .9375rem;
  cursor: pointer; color: var(--dark);
  gap: 1rem; user-select: none;
}
.faq-question:hover { color: var(--blue); }
.faq-icon { font-size: 1.25rem; line-height: 1; flex-shrink: 0; transition: transform var(--transition); color: var(--muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-answer {
  font-size: .9375rem; color: var(--muted); line-height: 1.7;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.1rem; }

/* == CTA Banner ==================================================== */
.cta-banner {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed, #0f172a);
  background-size: 200% 200%;
  animation: gradientFlow 8s ease infinite;
  padding: 5rem 0; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.04) 0%, transparent 50%);
}
.cta-banner h2 { color: white; margin-bottom: .85rem; position: relative; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.0625rem; margin-bottom: 2rem; position: relative; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* == AdSense Zones ================================================= */
.ad-zone {
  background: #fffbeb; border: 1px dashed #d97706;
  border-radius: var(--radius); text-align: center; padding: 1rem;
  color: #92400e; font-size: .8125rem; font-weight: 500;
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .25rem;
}
.ad-zone::before {
  content: attr(data-label);
  font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .04em;
}
.ad-zone--leaderboard { min-height: 90px; }
.ad-zone--rectangle   { min-height: 280px; max-width: 336px; margin: 0 auto; }
.ad-zone--sidebar     { min-height: 250px; }
.ad-zone--in-article  { margin: 1.5rem 0; }

/* == Affiliate Box ================================================= */
.affiliate-box {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid #fed7aa; border-left: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.affiliate-box h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .75rem; }
.affiliate-box ul { padding-left: 1.25rem; }
.affiliate-box ul li { margin-bottom: .4rem; font-size: .9375rem; }
.affiliate-box a { color: var(--blue); font-weight: 500; }
.affiliate-box a:hover { color: var(--blue-d); text-decoration: underline; }
.affiliate-disclosure {
  font-size: .8rem; color: var(--muted); margin-top: .75rem;
  padding-top: .75rem; border-top: 1px solid #fed7aa;
}

/* == Float CTA ===================================================== */
.float-cta {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  z-index: 900; display: flex; flex-direction: column;
  gap: .7rem; align-items: flex-end;
}
.float-btn {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.13); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.float-btn__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: #1e293b; color: #fff; font-size: .8125rem; font-weight: 600;
  padding: .35rem .85rem; border-radius: 8px; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity .18s;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.float-btn__tip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: #1e293b;
}
.float-btn:hover .float-btn__tip { opacity: 1; }
.float-btn--phone { background: linear-gradient(135deg,#059669,#047857); }
.float-btn--zalo  { background: #0068FF; animation: pulseRing 2.5s ease-in-out infinite; }
.float-btn--zalo:hover  { animation: none; }
.float-btn--chat  { background: linear-gradient(135deg,#7c3aed,#5b21b6); animation: pulseRing 3s ease-in-out .8s infinite; }
.float-btn--chat:hover  { animation: none; }

/* Chat Popup */
.float-chat-wrap { position: relative; }
.chat-popup {
  position: absolute; bottom: calc(100% + 12px); right: 0; width: 296px;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.1);
  border: 1px solid var(--border);
  transform: translateY(10px) scale(.95); opacity: 0; pointer-events: none;
  transition: all .25s cubic-bezier(.34,1.56,.64,1); transform-origin: bottom right;
}
.chat-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.chat-popup__head {
  display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem;
  background: linear-gradient(135deg,#7c3aed,#5b21b6); color: white;
}
.chat-popup__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.chat-popup__name   { font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.chat-popup__status { font-size: .75rem; opacity: .85; display: flex; align-items: center; gap: .35rem; margin-top: .1rem; }
.chat-popup__sdot   { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; flex-shrink: 0; }
.chat-popup__close  {
  margin-left: auto; background: rgba(255,255,255,.18); border: none; color: white;
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s;
}
.chat-popup__close:hover { background: rgba(255,255,255,.35); }
.chat-popup__body   { padding: 1rem 1.1rem; }
.chat-popup__bubble {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px; padding: .8rem 1rem;
  font-size: .875rem; line-height: 1.6; color: var(--text); margin-bottom: .85rem;
}
.chat-popup__chips  { display: flex; flex-direction: column; gap: .45rem; }
.chat-popup__chip   {
  display: block; padding: .55rem .9rem; background: var(--bg-card);
  border: 1.5px solid var(--border); border-radius: 8px; color: var(--blue);
  font-size: .85rem; font-weight: 600; text-decoration: none; text-align: center; transition: all .15s;
}
.chat-popup__chip:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* == Footer ======================================================== */
#footer {
  background: linear-gradient(145deg, #0c1a2e 0%, var(--dark) 100%);
  color: rgba(255,255,255,.65); padding: 4rem 0 1.75rem; position: relative;
}
#footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--green));
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer__brand {}
.footer__logo {
  font-size: 1.375rem; font-weight: 800; color: white;
  margin-bottom: .75rem; display: inline-block;
}
.footer__logo span { color: #60a5fa; }
.footer__tagline { font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--blue); color: white; border-color: var(--blue); transform: translateY(-2px); }
.footer__col h4 { color: white; font-size: .9375rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: .55rem; }
.footer__links a {
  font-size: .875rem; color: rgba(255,255,255,.55);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: .35rem;
}
.footer__links a:hover { color: #60a5fa; padding-left: .25rem; }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .875rem; margin-bottom: .65rem; color: rgba(255,255,255,.6);
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: #60a5fa; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer__copyright { font-size: .8125rem; }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a { font-size: .8125rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer__legal a:hover { color: rgba(255,255,255,.8); }

/* == Toast ========================================================= */
.toast-container {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; align-items: center;
  gap: .5rem; pointer-events: none;
}
.toast {
  background: var(--dark); color: white;
  padding: .7rem 1.25rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease;
  pointer-events: auto;
}
.toast--success { background: var(--green-d); }
.toast--error   { background: var(--red); }

/* == Blog Layout (blog.html + blog-post.html) ====================== */
.blog-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 2.5rem; align-items: start;
}
.blog-sidebar {}
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--border); color: var(--dark);
}
.sidebar-post {
  display: flex; gap: .75rem; margin-bottom: .85rem;
  padding-bottom: .85rem; border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-post img { width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-post__title { font-size: .8375rem; font-weight: 600; color: var(--dark); line-height: 1.3; margin-bottom: .2rem; }
.sidebar-post__title a:hover { color: var(--blue); }
.sidebar-post__meta { font-size: .775rem; color: var(--muted); }
.sidebar-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-d) 100%);
  color: white; text-align: center; padding: 1.5rem;
  border-radius: var(--radius-lg); margin-bottom: 1.5rem;
}
.sidebar-cta h3 { color: white; font-size: 1rem; margin-bottom: .5rem; }
.sidebar-cta p  { color: rgba(255,255,255,.8); font-size: .8375rem; margin-bottom: 1rem; }
.sidebar-affiliate {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid #fed7aa; padding: 1.25rem;
  border-radius: var(--radius-lg); margin-bottom: 1.5rem;
}
.sidebar-affiliate h3 { font-size: .9375rem; color: var(--dark); margin-bottom: .75rem; }
.sidebar-affiliate ul { list-style: none; padding: 0; }
.sidebar-affiliate ul li { display: flex; align-items: flex-start; gap: .4rem; margin-bottom: .5rem; font-size: .8375rem; color: var(--text); }
.sidebar-affiliate ul a { color: var(--blue); font-weight: 600; }

/* == Article (blog post) =========================================== */
.article-header { margin-bottom: 2rem; }
.article-header__title { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; margin-bottom: 1rem; }
.article-meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem;
}
.article-meta__sep { opacity: .3; }
.article-hero-img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius-lg); margin-bottom: 2rem;
}
.article-content { font-size: 1.0125rem; line-height: 1.8; color: var(--text); }
.article-content h2 {
  font-size: 1.625rem; margin: 2.25rem 0 1rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--blue-xl); color: var(--dark);
}
.article-content h3  { font-size: 1.2rem; margin: 1.75rem 0 .75rem; color: var(--dark); }
.article-content p   { margin-bottom: 1.15rem; }
.article-content ul,
.article-content ol  { margin-bottom: 1.15rem; padding-left: 1.75rem; }
.article-content ul li,
.article-content ol li { margin-bottom: .4rem; }
.article-content table { margin: 1.25rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article-content th { background: var(--blue-l); color: var(--blue-d); font-size: .875rem; }
.article-content td { font-size: .9rem; }
.article-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--blue-d); }
.article-content blockquote {
  border-left: 4px solid var(--blue); background: var(--blue-l);
  padding: 1rem 1.25rem; margin: 1.25rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--blue-d);
}

/* == Tags ========================================================== */
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--muted); font-size: .8rem;
  padding: .25rem .7rem; border-radius: 999px;
}
.tag:hover { background: var(--blue-l); color: var(--blue); border-color: var(--blue-xl); }

/* == Breadcrumb ==================================================== */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8125rem; color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb__sep { opacity: .4; }

/* == Category Filter =============================================== */
.cat-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.cat-filter__btn {
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  border: 2px solid var(--border); background: var(--bg-card);
  color: var(--muted); transition: all var(--transition);
}
.cat-filter__btn:hover,
.cat-filter__btn.active { background: var(--blue); border-color: var(--blue); color: white; }

/* == Pagination ==================================================== */
.pagination {
  display: flex; gap: .4rem; align-items: center;
  justify-content: center; margin-top: 2.5rem;
}
.pagination__btn {
  min-width: 38px; height: 38px; padding: 0 .65rem;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text);
  font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.pagination__btn:hover { border-color: var(--blue); color: var(--blue); }
.pagination__btn.active { background: var(--blue); border-color: var(--blue); color: white; }
.pagination__btn:disabled { opacity: .4; cursor: default; }

/* == Loading Spinner =============================================== */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .7s linear infinite;
  margin: 2rem auto;
}

/* == Form ========================================================== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--dark); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .9375rem; color: var(--text);
  background: white; transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint  { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.form-error { font-size: .8rem; color: var(--red); margin-top: .3rem; }

/* == Comments ====================================================== */
.comments-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--border); }
.comments-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 1.75rem;
}
.comments-title svg { color: var(--blue); flex-shrink: 0; }

.comment-item {
  display: flex; gap: 1rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-of-type { border-bottom: none; }
.comment-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0;
}
.comment-body { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; flex-wrap: wrap; }
.comment-name { font-weight: 700; font-size: .9375rem; color: var(--dark); }
.comment-date { font-size: .8125rem; color: var(--muted); }
.comment-content { font-size: .9375rem; color: var(--text); line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.comment-empty { text-align: center; padding: 2rem 0; color: var(--muted); font-size: .9375rem; }

.comment-form-wrap {
  margin-top: 2rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.comment-form-wrap h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--dark); }
.comment-char { font-size: .8rem; color: var(--muted); text-align: right; margin-top: .25rem; }

/* == Article CTA Box =============================================== */
.article-cta-box {
  background: linear-gradient(135deg, var(--blue-l), white);
  border: 2px solid var(--blue-xl); border-radius: var(--radius-lg);
  padding: 1.75rem; text-align: center; margin: 2.5rem 0;
}
.article-cta-box h3 { margin-bottom: .6rem; color: var(--dark); }
.article-cta-box p  { color: var(--muted); font-size: .9375rem; margin-bottom: 1.25rem; }

/* == Process Steps ================================================= */
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}
.process-steps::before {
  content: ''; position: absolute;
  top: calc(52px / 2); left: calc(12.5% + 0px); right: calc(12.5% + 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 0;
}
.process-step { text-align: center; padding: 1.5rem 1rem; z-index: 1; }
.process-step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: white; font-size: 1.125rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: var(--shadow-blue);
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover .process-step__num { transform: scale(1.12); box-shadow: 0 12px 30px rgba(37,99,235,.4); }
.process-step__title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.process-step__desc  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* == Page Hero (secondary pages) =================================== */
.page-hero {
  background: linear-gradient(145deg, var(--dark) 0%, #0d2559 100%);
  color: white; padding: 4rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(37,99,235,.3), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(1.75rem,4vw,2.75rem); margin-bottom: .75rem; animation: fadeUp .5s ease both; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.0625rem; max-width: 560px; margin: 0 auto; animation: fadeUp .5s ease .1s both; }

/* == Responsive ==================================================== */
@media (max-width: 1024px) {
  .hero__inner      { flex-direction: column; }
  .grid-4           { grid-template-columns: repeat(2, 1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .blog-layout      { grid-template-columns: 1fr; }
  .blog-sidebar     { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .blog-sidebar .sidebar-widget:first-child { grid-column: 1 / -1; }
  .process-steps    { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-bar__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2  { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .section--lg { padding: 4rem 0; }
  .navbar__nav {
    display: none; flex-direction: column;
    position: absolute; top: 66px; left: 0; right: 0;
    background: white; border-top: 1px solid var(--border);
    padding: 1rem; gap: .25rem; box-shadow: var(--shadow);
  }
  .navbar__nav.open  { display: flex; }
  .navbar__nav a     { padding: .6rem 1rem; border-radius: 8px; }
  .navbar__cta       { display: none; }
  .navbar__toggle    { display: flex; }
  .hero              { padding: 3.5rem 0 3rem; }
  .hero__trust       { gap: 1.25rem; }
  .float-btn__tip    { display: none; }
  .blog-sidebar      { grid-template-columns: 1fr; }
  .article-hero-img  { height: 240px; }
  .footer__grid      { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bottom    { flex-direction: column; text-align: center; }
  .pricing-card--popular { transform: none; }
  .process-steps     { grid-template-columns: 1fr; }
  .stats-bar__grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item::after { display: none; }
}

@media (max-width: 480px) {
  .hero__actions      { flex-direction: column; }
  .cta-banner__actions{ flex-direction: column; align-items: center; }
  .stats-bar__grid    { grid-template-columns: 1fr 1fr; }
  .float-cta          { bottom: 1rem; right: 1rem; }
  .float-btn          { width: 48px; height: 48px; }
  .chat-popup         { width: 270px; }
}

/* == Policy Pages (privacy.html, terms.html) ======================= */
.policy-wrap {
  max-width: 780px; margin: 0 auto; padding: 3rem 0 4rem;
}
.policy-meta {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: .875rem; color: var(--muted); margin-bottom: 2.5rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.policy-meta span { display: flex; align-items: center; gap: .35rem; }
.policy-body h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin: 2.25rem 0 .85rem; padding-left: 1rem;
  border-left: 3px solid var(--blue);
}
.policy-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 1.5rem 0 .5rem;
}
.policy-body p  { color: var(--text); line-height: 1.85; margin-bottom: .9rem; }
.policy-body ul { padding-left: 1.4rem; margin-bottom: .9rem; }
.policy-body ul li { color: var(--text); line-height: 1.8; margin-bottom: .35rem; list-style: disc; }
.policy-body a  { color: var(--blue); text-decoration: underline; }
.policy-body a:hover { color: var(--blue-d); }
.policy-box {
  background: var(--blue-l); border: 1px solid var(--blue-xl);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.policy-box p { margin-bottom: 0; color: var(--blue-d); font-size: .9375rem; }
.policy-toc {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2.25rem;
}
.policy-toc h4 { font-size: .9375rem; font-weight: 700; margin-bottom: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.policy-toc ol { padding-left: 1.25rem; margin: 0; }
.policy-toc ol li { font-size: .9375rem; line-height: 1.85; }
.policy-toc ol li a { color: var(--blue); text-decoration: none; }
.policy-toc ol li a:hover { text-decoration: underline; }
.policy-related {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem;
}
.policy-related a {
  display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-decoration: none; color: var(--text);
  font-weight: 600; font-size: .9375rem; transition: all var(--transition);
}
.policy-related a:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
@media (max-width: 600px) { .policy-related { grid-template-columns: 1fr; } }
