body { overflow-x: hidden; }
.tkv2-hero,
.tkv2-breadcrumb,
.tkv2-toc,
.tkv2-cta-final {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

:root {
  --tk-primary: #FF0050;
  --tk-primary-dark: #1464CC;
  --tk-gradient: linear-gradient(135deg, #FF0050 0%, #CC0040 50%, #CC0040 100%);
  --tk-gradient-light: linear-gradient(135deg, #FFE6ED 0%, #FFD1DC 100%);
  --tk-accent: #00C853;
  --tk-accent2: #FF6D00;
  --tk-gold: #FFB300;
  --tk-dark: #1A1A2E;
  --tk-card-bg: rgba(255,255,255,0.95);
  --tk-glass: rgba(255,255,255,0.15);
  --tk-shadow: 0 8px 32px rgba(255,0,80,0.12);
  --tk-shadow-lg: 0 20px 60px rgba(255,0,80,0.15);
  --tk-radius: 16px;
  --tk-radius-lg: 24px;
}

/* --- Keyframe Animations --- */
@keyframes fbFloatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fbPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
@keyframes fbSlideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fbGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fbShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes fbBounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}
@keyframes fbGlow {
  0%,100% { box-shadow: 0 0 20px rgba(255,0,80,0.3); }
  50% { box-shadow: 0 0 40px rgba(255,0,80,0.6); }
}
@keyframes fbTypewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes fbRotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0deg) scale(1); }
}
@keyframes fbSlideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fbProgressBar {
  from { width: 0; }
  to { width: var(--progress-width, 100%); }
}
@keyframes fbRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes fbParticle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  50% { opacity: 1; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-40px) scale(0); }
}

/* --- Scroll Reveal Classes --- */
.tk-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.tk-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.tk-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.tk-reveal-left.revealed { opacity: 1; transform: translateX(0); }
.tk-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.tk-reveal-right.revealed { opacity: 1; transform: translateX(0); }
.tk-reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}
.tk-reveal-scale.revealed { opacity: 1; transform: scale(1); }
.tk-reveal-rotate {
  opacity: 0;
  transform: rotate(-5deg) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34,1.56,0.64,1);
}
.tk-reveal-rotate.revealed { opacity: 1; transform: rotate(0) translateY(0); }

/* Stagger delays */
.tk-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.tk-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.tk-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.tk-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.tk-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.tk-stagger > *:nth-child(6) { transition-delay: 0.3s; }
.tk-stagger > *:nth-child(7) { transition-delay: 0.35s; }
.tk-stagger > *:nth-child(8) { transition-delay: 0.4s; }
.tk-stagger > *:nth-child(9) { transition-delay: 0.45s; }

/* ========== HERO SECTION ========== */
.tkv2-hero {
  position: relative;
  background: var(--tk-gradient);
  background-size: 200% 200%;
  animation: fbGradientShift 8s ease infinite;
  padding: 80px 0 100px;
  overflow: visible;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.tkv2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.tkv2-hero .hero-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.tkv2-hero .hero-orb-1 { width: 300px; height: 300px; top: -80px; right: -60px; animation: fbFloatUp 6s ease-in-out infinite; }
.tkv2-hero .hero-orb-2 { width: 200px; height: 200px; bottom: -50px; left: 5%; animation: fbFloatUp 8s ease-in-out infinite 1s; }
.tkv2-hero .hero-orb-3 { width: 120px; height: 120px; top: 30%; left: 15%; animation: fbFloatUp 5s ease-in-out infinite 0.5s; }

.tkv2-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: clamp(2.4rem, 5.5vw, 3.6rem);
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* Flex wrapper — H1 + keyword rotator on same line (desktop) */
.tk-hero-headline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  flex-wrap: nowrap;
}

/* ========== KEYWORD ROTATOR — Option A: Slide Up & Glow ========== */
.tk-keyword-rotator {
  display: inline-block;
  height: clamp(2.2rem, 4.5vw, 3.2rem);
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  min-width: 380px;
}
.tk-keyword-rotator::after {
  display: none;
}
@keyframes tkCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.tk-kw {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--kw-color, #FFFFFF);
  text-shadow: 0 0 20px var(--kw-glow, rgba(255,255,255,0.4)),
               0 0 40px var(--kw-glow, rgba(255,255,255,0.2)),
               0 2px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(100%);
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  animation: tkSlideUp 37.5s infinite;
}
@keyframes tkSlideUp {
  0%      { opacity: 0; transform: translateY(80%); }
  0.5%    { opacity: 1; transform: translateY(0); }
  6%      { opacity: 1; transform: translateY(0); }
  6.67%   { opacity: 0; transform: translateY(-80%); }
  100%    { opacity: 0; transform: translateY(-80%); }
}

/* 15 keywords × 2.5s each = 37.5s total cycle — soft pastel colors on dark red bg */
.tk-kw:nth-child(1)  { animation-delay: 0s;      --kw-color: #FFFFFF;  --kw-glow: rgba(255,255,255,0.5); }
.tk-kw:nth-child(2)  { animation-delay: 2.5s;    --kw-color: #E1BEE7;  --kw-glow: rgba(206,147,216,0.5); }
.tk-kw:nth-child(3)  { animation-delay: 5s;      --kw-color: #B3E5FC;  --kw-glow: rgba(129,212,250,0.5); }
.tk-kw:nth-child(4)  { animation-delay: 7.5s;    --kw-color: #FFE0B2;  --kw-glow: rgba(255,204,128,0.5); }
.tk-kw:nth-child(5)  { animation-delay: 10s;     --kw-color: #FFF9C4;  --kw-glow: rgba(255,241,118,0.5); }
.tk-kw:nth-child(6)  { animation-delay: 12.5s;   --kw-color: #B2EBF2;  --kw-glow: rgba(128,222,234,0.5); }
.tk-kw:nth-child(7)  { animation-delay: 15s;     --kw-color: #F5F5F5;  --kw-glow: rgba(255,255,255,0.4); }
.tk-kw:nth-child(8)  { animation-delay: 17.5s;   --kw-color: #FFCDD2;  --kw-glow: rgba(239,154,154,0.5); }
.tk-kw:nth-child(9)  { animation-delay: 20s;     --kw-color: #C8E6C9;  --kw-glow: rgba(165,214,167,0.5); }
.tk-kw:nth-child(10) { animation-delay: 22.5s;   --kw-color: #FFCCBC;  --kw-glow: rgba(255,171,145,0.5); }
.tk-kw:nth-child(11) { animation-delay: 25s;     --kw-color: #D1C4E9;  --kw-glow: rgba(179,157,219,0.5); }
.tk-kw:nth-child(12) { animation-delay: 27.5s;   --kw-color: #FFCDD2;  --kw-glow: rgba(239,154,154,0.5); }
.tk-kw:nth-child(13) { animation-delay: 30s;     --kw-color: #80DEEA;  --kw-glow: rgba(0,242,234,0.5); }
.tk-kw:nth-child(14) { animation-delay: 32.5s;   --kw-color: #A5D6A7;  --kw-glow: rgba(129,199,132,0.5); }
.tk-kw:nth-child(15) { animation-delay: 35s;     --kw-color: #FFE082;  --kw-glow: rgba(255,213,79,0.5); }

/* Tagline — styled like old H1 span but as separate element */
.tkv2-hero-tagline {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  background: linear-gradient(90deg, #FFD54F, #FF6F00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Responsive — keyword rotator */
@media (max-width: 991px) {
  .tk-keyword-rotator { min-width: 350px; }
}
@media (max-width: 576px) {
  .tk-hero-headline { flex-direction: column; align-items: center; gap: 0; }
  .tkv2-hero-title { text-align: center; white-space: normal; }
  .tk-keyword-rotator { height: 2.6rem; min-width: auto; width: 100%; overflow: visible; text-align: center; display: block; }
  .tk-keyword-rotator::after { display: none; }
  .tk-kw {
    font-size: 1.8rem;
    line-height: 2.6rem;
    left: 50%;
    animation-name: tkSlideUpCenter;
  }
  .tkv2-hero-tagline { font-size: 1.3rem; text-align: center; }
}
@keyframes tkSlideUpCenter {
  0%      { opacity: 0; transform: translateX(-50%) translateY(80%); }
  0.5%    { opacity: 1; transform: translateX(-50%) translateY(0); }
  6%      { opacity: 1; transform: translateX(-50%) translateY(0); }
  6.67%   { opacity: 0; transform: translateX(-50%) translateY(-80%); }
  100%    { opacity: 0; transform: translateX(-50%) translateY(-80%); }
}
.tkv2-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  max-width: 600px;
}
.tkv2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fbPulse 3s ease-in-out infinite;
}
.tkv2-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 2rem;
}
.tkv2-hero-stat { text-align: center; color: #fff; }
.tkv2-hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.tkv2-hero-stat-label { font-size: 0.8rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }
.tkv2-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--tk-primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.tkv2-hero-cta::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,0,80,0.1), transparent);
  animation: fbShimmer 3s ease-in-out infinite;
}
.tkv2-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  color: var(--tk-primary-dark);
}
/* ========== CAT ROBOT HERO SCENE (Elegant #5) ========== */
.tkv2-cat-scene {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Heart glow behind cat robot — synced with robot's chest LED */
.tkv2-cat-heart-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,242,234,0.25) 0%, rgba(255,0,80,0.1) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: catHeartPulse 2.5s ease-in-out infinite;
  z-index: 0;
}
.tkv2-cat-heart-glow::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(0,242,234,0.06);
  animation: catRingSpin 15s linear infinite;
}

/* Cat robot image — translateZ places it INSIDE the 3D orbit sphere */
.tkv2-cat-img {
  position: relative;
  z-index: 5;
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)) drop-shadow(0 0 60px rgba(0,242,234,0.08));
  animation: catFloat 4s ease-in-out infinite;
  transform: translateZ(40px);
}

/* ===== 3D ORBIT — Custom fit for TikTok landscape gaming desk ===== */
.tkv2-orbit-ring {
  position: absolute;
  width: 520px; height: 520px;
  top: 50%; left: 50%;
  margin-top: -260px;
  margin-left: -260px;
  transform-style: preserve-3d;
  animation: tkOrbitSpin 30s linear infinite;
  z-index: 3;
  pointer-events: none;
}
/* Visible neon orbit path — behind badges via translateZ in 3D context */
.tkv2-orbit-ring::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(0,242,234,0.4);
  border-right-color: rgba(255,0,80,0.3);
  border-bottom-color: rgba(0,242,234,0.35);
  border-left-color: rgba(255,0,80,0.25);
  animation: tkRingPulse 4s ease-in-out infinite;
  transform: translateZ(-2px);
}

@keyframes tkOrbitSpin {
  from { transform: rotateX(65deg) rotateZ(0deg); }
  to   { transform: rotateX(65deg) rotateZ(360deg); }
}
@keyframes tkRingPulse {
  0%,100% { filter: drop-shadow(0 0 6px rgba(0,242,234,0.15)); }
  50% { filter: drop-shadow(0 0 12px rgba(255,0,80,0.2)); }
}

/* ===== ORBIT BADGES — Readable size for full text ===== */
.tkv2-flip-badge {
  position: absolute;
  width: 56px; height: 56px;
  animation: tkBadgeCounterSpin 30s linear infinite;
  pointer-events: auto;
}
@keyframes tkBadgeCounterSpin {
  from { transform: rotateZ(0deg) rotateX(-65deg); }
  to   { transform: rotateZ(-360deg) rotateX(-65deg); }
}

.tkv2-flip-inner {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: tkBadgeAutoFlip 5s ease-in-out infinite;
}

@keyframes tkBadgeAutoFlip {
  0%,15%  { transform: rotateY(0deg); }
  25%,90% { transform: rotateY(180deg); }
  100%    { transform: rotateY(360deg); }
}

/* Staggered delays — wave effect */
.tkv2-flip-badge:nth-child(1) .tkv2-flip-inner { animation-delay: 0s; }
.tkv2-flip-badge:nth-child(2) .tkv2-flip-inner { animation-delay: -0.625s; }
.tkv2-flip-badge:nth-child(3) .tkv2-flip-inner { animation-delay: -1.25s; }
.tkv2-flip-badge:nth-child(4) .tkv2-flip-inner { animation-delay: -1.875s; }
.tkv2-flip-badge:nth-child(5) .tkv2-flip-inner { animation-delay: -2.5s; }
.tkv2-flip-badge:nth-child(6) .tkv2-flip-inner { animation-delay: -3.125s; }
.tkv2-flip-badge:nth-child(7) .tkv2-flip-inner { animation-delay: -3.75s; }
.tkv2-flip-badge:nth-child(8) .tkv2-flip-inner { animation-delay: -4.375s; }

.tkv2-flip-front, .tkv2-flip-back {
  position: absolute; inset: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  font-weight: 700;
}

/* Front = ICON — dark glass with cyan LED border */
.tkv2-flip-front {
  background: rgba(10, 10, 30, 0.85);
  border: 1.5px solid rgba(0,242,234,0.45);
  color: #00F2EA;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(0,242,234,0.15), inset 0 0 8px rgba(0,242,234,0.05);
}

/* Back = TEXT — full Vietnamese names with pink neon accent */
.tkv2-flip-back {
  background: rgba(30, 5, 20, 0.9);
  border: 1.5px solid rgba(255,0,80,0.5);
  color: #FF6B9D;
  transform: rotateY(180deg);
  font-size: 0.52rem;
  text-align: center;
  padding: 4px 2px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  box-shadow: 0 0 10px rgba(255,0,80,0.12), inset 0 0 8px rgba(255,0,80,0.05);
}

/* Hover */
.tkv2-flip-badge:hover .tkv2-flip-inner {
  animation-play-state: paused;
}

/* 8 positions on 520px circle */
.tk-pos-1 { top: 0; left: 50%; margin-left: -28px; }
.tk-pos-2 { top: 14%; right: 0; }
.tk-pos-3 { top: 50%; right: -8px; margin-top: -28px; }
.tk-pos-4 { bottom: 14%; right: 0; }
.tk-pos-5 { bottom: 0; left: 50%; margin-left: -28px; }
.tk-pos-6 { bottom: 14%; left: 0; }
.tk-pos-7 { top: 50%; left: -8px; margin-top: -28px; }
.tk-pos-8 { top: 14%; left: 0; }

/* ===== PARTICLE TRAILS ===== */
.tkv2-trail {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(168,216,234,0.8) 0%, rgba(212,165,116,0.3) 60%, transparent 100%);
}
.t1 { width: 5px; height: 5px; top: 8%;   left: 25%;  animation: trailPath1 7s ease-in-out infinite; }
.t2 { width: 4px; height: 4px; top: 65%;  right: 15%; animation: trailPath2 9s ease-in-out infinite 0.5s; }
.t3 { width: 6px; height: 6px; bottom: 15%; left: 20%; animation: trailPath3 8s ease-in-out infinite 1s; }
.t4 { width: 3px; height: 3px; top: 30%;  right: 30%; animation: trailPath4 6s ease-in-out infinite 1.5s; }
.t5 { width: 5px; height: 5px; bottom: 35%; right: 25%; animation: trailPath1 10s ease-in-out infinite 2s; }
.t6 { width: 4px; height: 4px; top: 20%;  left: 40%; animation: trailPath2 7s ease-in-out infinite 2.5s; }
.t7 { width: 3px; height: 3px; top: 75%;  left: 35%; animation: trailPath3 8s ease-in-out infinite 0.8s; }
.t8 { width: 6px; height: 6px; bottom: 25%; right: 35%; animation: trailPath4 9s ease-in-out infinite 1.2s; }

/* ===== CAT ROBOT KEYFRAMES ===== */
@keyframes catFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) translateZ(40px); }
  25% { transform: translateY(-10px) rotate(0.5deg) translateZ(40px); }
  50% { transform: translateY(-18px) rotate(0deg) translateZ(40px); }
  75% { transform: translateY(-10px) rotate(-0.5deg) translateZ(40px); }
}

@keyframes catHeartPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes catRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotateX(65deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(65deg) rotateZ(360deg); }
}

@keyframes badgeCounterSpin {
  from { transform: rotateZ(0deg) rotateX(-65deg); }
  to { transform: rotateZ(-360deg) rotateX(-65deg); }
}

@keyframes badgeAutoFlip {
  0%, 35% { transform: rotateY(0deg); }
  40%, 75% { transform: rotateY(180deg); }
  80%, 100% { transform: rotateY(0deg); }
}

@keyframes trailPath1 {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 0.9; }
  30% { transform: translate(30px, -40px); opacity: 0.7; }
  50% { transform: translate(-20px, -60px); opacity: 0.4; }
  70% { transform: translate(40px, -30px); opacity: 0.6; }
  90% { opacity: 0.1; }
}

@keyframes trailPath2 {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 0.8; }
  35% { transform: translate(-25px, 35px); opacity: 0.6; }
  55% { transform: translate(15px, 50px); opacity: 0.3; }
  75% { transform: translate(-35px, 20px); opacity: 0.7; }
  95% { opacity: 0.1; }
}

@keyframes trailPath3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 1; transform: translate(20px, -15px) scale(1.3); }
  50% { transform: translate(-15px, -40px) scale(0.8); opacity: 0.5; }
  80% { transform: translate(25px, -20px) scale(1.1); opacity: 0.3; }
}

@keyframes trailPath4 {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 0.7; }
  40% { transform: translate(-30px, -25px); opacity: 0.9; }
  60% { transform: translate(10px, -50px); opacity: 0.4; }
  85% { transform: translate(-20px, -15px); opacity: 0.2; }
}

/* ========== BREADCRUMB ========== */
.tkv2-breadcrumb {
  padding: 16px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}
.tkv2-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.tkv2-breadcrumb a { color: var(--tk-primary); text-decoration: none; }
.tkv2-breadcrumb a:hover { text-decoration: underline; }
.tkv2-breadcrumb .separator { color: #aaa; }
.tkv2-breadcrumb .current { color: #666; font-weight: 600; }

/* ========== TABLE OF CONTENTS ========== */
.tkv2-toc {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  position: sticky;
  top: 130px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.tkv2-toc.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.tkv2-toc-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.tkv2-toc-inner::-webkit-scrollbar { display: none; }
.tkv2-toc-label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--tk-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tkv2-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  border: 1px solid transparent;
}
.tkv2-toc-link:hover, .tkv2-toc-link.active {
  background: var(--tk-gradient-light);
  color: var(--tk-primary);
  border-color: rgba(255,0,80,0.2);
  transform: translateY(-2px);
}

/* ========== SECTION COMMON ========== */
.tkv2-section {
  padding: 80px 0;
  position: relative;
}
.tkv2-section-alt { background: #f8fafc; }
.tkv2-section-dark { background: var(--tk-dark); color: #fff; }
.tkv2-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 0.5rem;
}
.tkv2-section-dark .tkv2-section-title { color: #fff; }
.tkv2-section-desc {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.tkv2-section-dark .tkv2-section-desc { color: rgba(255,255,255,0.7); }
.tkv2-gradient-line {
  width: 80px;
  height: 4px;
  background: var(--tk-gradient);
  border-radius: 2px;
  margin: 12px auto 1.5rem;
}

/* ========== INTRO "DICH VU FACEBOOK LA GI" ========== */
.tkv2-intro-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.9;
}
.tkv2-intro-text p { margin-bottom: 1rem; }
.tkv2-intro-highlight {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-radius: var(--tk-radius);
  padding: 24px;
  border-left: 4px solid var(--tk-primary);
  margin: 1.5rem 0;
}
.tkv2-intro-highlight strong { color: var(--tk-primary); }
.tkv2-intro-img-wrap {
  position: relative;
  border-radius: var(--tk-radius-lg);
  overflow: hidden;
  box-shadow: var(--tk-shadow-lg);
}
.tkv2-intro-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255,0,80,0.08) 100%);
  pointer-events: none;
}
.tkv2-intro-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.tkv2-intro-img-wrap:hover img { transform: scale(1.03); }

/* Sub heading within sections */
.tkv2-sub-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

/* Benefit item rows */
.tkv2-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tkv2-benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,0,80,0.12);
  border-color: rgba(255,0,80,0.15);
}
.tkv2-benefit-item > i {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Commitment cards */
.tkv2-commit-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 24px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.tkv2-commit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255,0,80,0.12);
  border-color: rgba(255,0,80,0.12);
}
.tkv2-commit-card strong {
  font-size: 1rem;
  color: #1a1a2e;
}
.tkv2-commit-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

/* ========== SERVICE CARDS ========== */
.tkv2-svc-card {
  background: var(--tk-card-bg);
  border-radius: var(--tk-radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tkv2-svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tk-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.tkv2-svc-card:hover::before { opacity: 1; }
.tkv2-svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tk-shadow-lg);
  border-color: transparent;
}
.tkv2-svc-card > * { position: relative; z-index: 1; }
.tkv2-svc-card:hover .tkv2-svc-icon { color: #fff; background: rgba(255,255,255,0.2); }
.tkv2-svc-card:hover .tkv2-svc-name,
.tkv2-svc-card:hover .tkv2-svc-desc { color: #fff; }
.tkv2-svc-card:hover .tkv2-svc-link { background: #fff; color: var(--tk-primary); }

.tkv2-svc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--tk-gradient-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--tk-primary);
  margin: 0 auto 16px;
  transition: all 0.4s ease;
}
.tkv2-svc-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  transition: color 0.4s ease;
}
.tkv2-svc-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  flex-grow: 1;
  transition: color 0.4s ease;
}
.tkv2-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--tk-gradient-light);
  color: var(--tk-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ========== TOP 6 FEATURED SERVICES ========== */
.tkv2-featured-card {
  background: #fff;
  border-radius: var(--tk-radius);
  padding: 28px;
  border: 1px solid #eef2f7;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.tkv2-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--tk-gradient);
  transition: height 0.5s ease;
}
.tkv2-featured-card:hover::before { height: 100%; }
.tkv2-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tk-shadow-lg);
  border-color: rgba(255,0,80,0.15);
}
.tkv2-featured-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.tkv2-featured-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.tkv2-featured-card:hover .tkv2-featured-icon { transform: scale(1.15) rotate(5deg); }
.tkv2-featured-title { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin: 0; }
.tkv2-featured-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 14px;
}
.tkv2-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: #94a3b8;
}
.tkv2-featured-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 50px;
  background: #FFF3E0;
  color: #E65100;
  font-weight: 700;
  font-size: 0.8rem;
}
.tkv2-featured-link {
  color: var(--tk-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
  font-size: 0.85rem;
}
.tkv2-featured-link:hover { gap: 8px; }

/* ========== STATS COUNTER ========== */
.tkv2-stats {
  background: var(--tk-gradient);
  background-size: 200% 200%;
  animation: fbGradientShift 8s ease infinite;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.tkv2-stat-item { text-align: center; padding: 20px; color: #fff; }
.tkv2-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.tkv2-stat-label { font-size: 0.9rem; opacity: 0.85; font-weight: 500; }

/* ========== WHY CHOOSE US ========== */
.tkv2-why-card {
  background: #fff;
  border-radius: var(--tk-radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #eef2f7;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.tkv2-why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tk-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.tkv2-why-card:hover::after { transform: scaleX(1); }
.tkv2-why-card:hover { transform: translateY(-6px); box-shadow: var(--tk-shadow); }
.tkv2-why-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.tkv2-why-card:hover .tkv2-why-icon-wrap { transform: scale(1.1) rotate(5deg); }
.tkv2-why-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.tkv2-why-text { font-size: 0.88rem; color: #64748b; line-height: 1.6; }

/* ========== COMPARISON TABLE ========== */
.tkv2-compare-wrap {
  border-radius: var(--tk-radius-lg);
  overflow: hidden;
  box-shadow: var(--tk-shadow-lg);
}
.tkv2-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.tkv2-compare-table thead th {
  padding: 20px 16px;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  vertical-align: bottom;
}
.tkv2-compare-table thead th:first-child { text-align: left; background: #f8fafc; color: #475569; }
.tkv2-compare-table .col-boost {
  background: linear-gradient(180deg, #FF0050 0%, #CC0040 100%);
  color: #fff;
  position: relative;
}
.tkv2-compare-table .col-boost::before {
  content: '⭐ KHUYẾN NGHỊ';
  display: block;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.tkv2-compare-table .col-ads { background: #FFF3E0; color: #E65100; }
.tkv2-compare-table .col-spam { background: #FFEBEE; color: #C62828; }
.tkv2-compare-table tbody td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  transition: background 0.2s ease;
}
.tkv2-compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #334155;
  background: #fafbfc;
}
.tkv2-compare-table tbody tr:hover td { background: #f8fafc; }
.tkv2-compare-table tbody tr:hover td:first-child { background: #f1f5f9; }
.compare-yes { color: #16a34a; font-weight: 700; font-size: 1.1rem; }
.compare-no { color: #dc2626; font-weight: 700; font-size: 1.1rem; }
.compare-mid { color: #f59e0b; font-weight: 700; font-size: 1.1rem; }
.tkv2-compare-desc {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

/* ========== PRICING TABLE ========== */
.tkv2-price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--tk-radius);
  overflow: hidden;
  box-shadow: var(--tk-shadow);
  font-size: 0.9rem;
}
.tkv2-price-table thead th {
  background: var(--tk-gradient);
  color: #fff;
  padding: 16px 14px;
  font-weight: 600;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tkv2-price-table tbody td {
  padding: 14px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  vertical-align: middle;
  transition: background 0.2s ease;
}
.tkv2-price-table tbody tr:hover td { background: #f8fafc; }
.tkv2-price-table .price-highlight { background: #FFF3E0 !important; font-weight: 600; }

/* ========== HOW IT WORKS ========== */
.tkv2-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: var(--tk-radius);
  border: 1px solid #eef2f7;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  margin-bottom: 16px;
  position: relative;
}
.tkv2-step::after {
  content: '';
  position: absolute;
  left: 44px;
  bottom: -16px;
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--tk-primary) 0%, transparent 100%);
}
.tkv2-step:last-child::after { display: none; }
.tkv2-step:hover { box-shadow: var(--tk-shadow); transform: translateX(6px); }
.tkv2-step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: var(--tk-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 0.3s ease;
}
.tkv2-step:hover .tkv2-step-num { transform: scale(1.1); }
.tkv2-step-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.tkv2-step-text { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin: 0; }

/* ========== TIPS SECTION ========== */
.tkv2-tip-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  border: 1px solid #eef2f7;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  height: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.tkv2-tip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF0050, #00f2ea);
  border-radius: 16px 16px 0 0;
}
.tkv2-tip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,0,80,0.12);
  border-color: rgba(255,0,80,0.2);
}
.tkv2-tip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF0050, #00f2ea);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(255,0,80,0.25);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.tkv2-tip-card:hover .tkv2-tip-num { transform: scale(1.15) rotate(8deg); }
.tkv2-tip-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.tkv2-tip-text { font-size: 0.85rem; color: #64748b; line-height: 1.65; margin: 0; }
@media (max-width: 576px) {
  .tkv2-tip-card { padding: 20px 14px; border-radius: 14px; }
  .tkv2-tip-num { width: 36px; height: 36px; font-size: 0.8rem; margin-bottom: 10px; }
  .tkv2-tip-title { font-size: 0.85rem; margin-bottom: 5px; }
  .tkv2-tip-text { font-size: 0.75rem; line-height: 1.5; }
}

/* ========== FAQ ========== */
.tkv2-faq-item {
  background: #fff;
  border-radius: var(--tk-radius);
  border: 1px solid #eef2f7;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.tkv2-faq-item:hover { border-color: var(--tk-primary); box-shadow: 0 4px 15px rgba(255,0,80,0.08); }
.tkv2-faq-q {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: #1a1a2e;
  transition: color 0.3s ease;
}
.tkv2-faq-q:hover { color: var(--tk-primary); }
.tkv2-faq-q i { transition: transform 0.3s ease; color: var(--tk-primary); font-size: 0.8rem; }
.tkv2-faq-q[aria-expanded="true"] i { transform: rotate(180deg); }
.tkv2-faq-a { padding: 0 24px 18px; font-size: 0.9rem; color: #64748b; line-height: 1.7; }

/* ========== TESTIMONIALS MARQUEE (Instagram V2 Layout) ========== */
@keyframes tkMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes tkMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.tkv2-testimonial-wrapper {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tkv2-testimonial-row {
  display: flex; gap: 20px; width: max-content; padding: 10px 0;
}
.tkv2-testimonial-row.row-1 { animation: tkMarqueeLeft 50s linear infinite; }
.tkv2-testimonial-row.row-2 { animation: tkMarqueeRight 55s linear infinite; margin-top: 16px; }
.tkv2-testimonial-row:hover { animation-play-state: paused; }
.tkv2-testimonial-card {
  width: 340px; flex-shrink: 0; padding: 20px;
  background: #fff; border-radius: var(--tk-radius);
  border: 1px solid #eef2f7; transition: all 0.3s ease;
}
.tkv2-testimonial-card:hover { border-color: var(--tk-primary); box-shadow: var(--tk-shadow); }
.tkv2-testimonial-tag {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 700; margin-bottom: 8px;
}
/* TikTok tag colors — each service gets a unique color */
.tkv2-tag-view { background: #E3F2FD; color: #1565C0; }
.tkv2-tag-follow { background: #FCE4EC; color: #C62828; }
.tkv2-tag-tim { background: #FFF3E0; color: #E65100; }
.tkv2-tag-comment { background: #E8F5E9; color: #2E7D32; }
.tkv2-tag-save { background: #F3E5F5; color: #7B1FA2; }
.tkv2-tag-share { background: #E0F7FA; color: #00838F; }
.tkv2-tag-live { background: #FFEBEE; color: #FF0050; }

.tkv2-testimonial-stars { color: #FFD700; font-size: 0.85rem; margin-bottom: 8px; }
.tkv2-testimonial-text { font-size: 0.85rem; color: #555; line-height: 1.6; margin-bottom: 12px; min-height: 80px; }
.tkv2-testimonial-author { display: flex; align-items: center; gap: 10px; }
.tkv2-testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--tk-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.tkv2-testimonial-name { font-weight: 700; font-size: 0.85rem; color: #1a1a2e; }
.tkv2-testimonial-role { font-size: 0.75rem; color: #888; }
.tkv2-testimonial-svc { font-size: 0.7rem; color: var(--tk-primary); font-weight: 600; }

/* Marquee nav buttons */
.tkv2-testimonial-nav {
  display: flex; justify-content: center; gap: 12px; margin-top: 1.5rem;
}
.tkv2-testimonial-nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--tk-primary); background: #fff; color: var(--tk-primary);
  font-size: 1rem; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.tkv2-testimonial-nav-btn:hover {
  background: var(--tk-primary); color: #fff; transform: scale(1.1);
}

/* Mobile responsive for marquee */
@media (max-width: 575px) {
  .tkv2-testimonial-card { width: 280px; }
}

/* ========== CTA SECTION ========== */
.tkv2-cta {
  background: var(--tk-gradient);
  background-size: 200% 200%;
  animation: fbGradientShift 8s ease infinite;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tkv2-cta-title { color: #fff; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin-bottom: 1rem; }
.tkv2-cta-desc { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 550px; margin: 0 auto 2rem; }
.tkv2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--tk-primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.tkv2-cta-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,0,80,0.15), transparent);
  animation: fbShimmer 2.5s ease-in-out infinite;
}
.tkv2-cta-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 40px rgba(0,0,0,0.2); color: var(--tk-primary-dark); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .tkv2-hero { padding: 60px 0 80px; min-height: auto; }
  .tkv2-cat-scene { height: 380px; }
  .tkv2-cat-img { max-width: 200px; }
  .tkv2-orbit-ring { width: 480px; height: 480px; margin-top: -240px; margin-left: -240px; }
  .tkv2-flip-badge { width: 42px; height: 42px; }
  .tkv2-flip-front { font-size: 0.8rem; }
  .tkv2-flip-back { font-size: 0.5rem; }
  .tkv2-cat-img { max-width: 240px; transform: translateZ(30px); }
  .tkv2-hero-stats { justify-content: center; flex-wrap: wrap; }
  .tkv2-section { padding: 60px 0; }
  .tkv2-toc { display: none; }
}
@media (max-width: 767px) {
  .tkv2-hero { padding: 40px 0 60px; text-align: center; }
  .tkv2-hero-sub { margin: 0 auto; }
  .tkv2-hero-stats { gap: 20px; }
  .tkv2-hero-stat-num { font-size: 1.5rem; }
  .tkv2-hero-cta { width: 100%; justify-content: center; }
  .tkv2-cat-scene { height: auto !important; min-height: 300px; margin-top: 1rem; overflow: visible !important; }
  .tkv2-cat-img { max-width: 100% !important; transform: translateZ(20px); }
  .tkv2-orbit-ring { width: 360px; height: 360px; margin-top: -180px; margin-left: -180px; }
  .tkv2-flip-badge { width: 38px; height: 38px; }
  .tkv2-flip-front { font-size: 0.7rem; }
  .tkv2-flip-back { font-size: 0.45rem; padding: 2px; }
  .tkv2-cat-heart-glow { width: 150px; height: 150px; }
  .tkv2-trail { display: none; }
  .tkv2-section { padding: 50px 0; }
  .tkv2-price-table { font-size: 0.8rem; }
  .tkv2-price-table thead th, .tkv2-price-table tbody td { padding: 10px 8px; }
  .tkv2-compare-table { font-size: 0.75rem; }
  .tkv2-compare-table thead th, .tkv2-compare-table tbody td { padding: 10px; }
}


/* ========== TIKTOK V2 OVERRIDES ========== */
:root { --tk-accent: #00F2EA; }

/* Dark Hero */
.tkv2-hero { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%) !important; }
.tkv2-hero-title, .tkv2-hero-sub { color: #fff !important; }
.tkv2-hero-badge { background: rgba(255,0,80,0.15) !important; color: #FF0050 !important; border: 1px solid rgba(255,0,80,0.3) !important; }
.tkv2-hero-stat { border-color: rgba(255,255,255,0.15) !important; }
.tkv2-hero-stat-num { color: #00F2EA !important; }
.tkv2-hero-stat-label { color: rgba(255,255,255,0.7) !important; }
.tkv2-hero-cta { background: linear-gradient(135deg, #FF0050, #FF2D78) !important; box-shadow: 0 4px 20px rgba(255,0,80,0.4) !important; }
.tkv2-hero-cta:hover { box-shadow: 0 6px 30px rgba(255,0,80,0.6) !important; transform: translateY(-2px); }

/* Landscape gamer image scene */
.tkv2-cat-scene { height: auto !important; min-height: 280px; perspective: 900px !important; overflow: visible !important; }
.tkv2-cat-img { max-width: 100% !important; width: 100% !important; height: auto !important; border-radius: 16px; animation: catFloat 4s ease-in-out infinite; filter: drop-shadow(0 10px 40px rgba(255,0,80,0.25)) drop-shadow(0 5px 20px rgba(0,242,234,0.15)); position: relative; z-index: 5 !important; }
.tkv2-cat-heart-glow { background: radial-gradient(ellipse at center, rgba(255,0,80,0.12) 0%, rgba(0,242,234,0.08) 40%, transparent 70%) !important; width: 120% !important; height: 120% !important; }




/* Particle trails with TikTok colors */
.tkv2-trail { background: #FF0050 !important; }
.tkv2-trail:nth-child(even) { background: #00F2EA !important; }

/* Stats counter dark bg */
.tkv2-stats { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%) !important; }
.tkv2-stats .tkv2-stat-number { color: #00F2EA !important; }
.tkv2-stats .tkv2-stat-label { color: rgba(255,255,255,0.8) !important; }

/* CTA with TikTok gradient */
.tkv2-cta { background: linear-gradient(135deg, #FF0050 0%, #1a1a2e 50%, #00F2EA 100%) !important; }

/* Section title accent */

/* ========== LAYOUT FIX 2026-03-27 ========== */
/* Reduce section spacing — was 80px, too much gap */
.tkv2-section { padding: 50px 0; }
.tkv2-section-alt { padding: 50px 0; }

/* Reduce row gap in new sections — g-5 is 48px, too much */
.tkv2-section .row.g-5 { --bs-gutter-y: 1.5rem; --bs-gutter-x: 2rem; }

/* Intro section — image should be bigger */
.tkv2-intro-img-wrap img {
  max-height: 450px;
  object-fit: contain;
}

/* Stats grid compact */
.tkv2-intro-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  margin: 16px 0 !important;
}

/* Section desc spacing */
.tkv2-section-desc { margin: 0 auto 2rem; }

/* Hero CTA — ensure visible with high contrast */
.tkv2-hero-cta {
  background: linear-gradient(135deg, #FF0050, #FF4081) !important;
  color: #fff !important;
  font-size: 1.05rem;
  padding: 16px 36px;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 30px rgba(255,0,80,0.35);
  border: 2px solid rgba(255,255,255,0.3);
}
.tkv2-hero-cta:hover {
  background: linear-gradient(135deg, #FF4081, #FF0050) !important;
  color: #fff !important;
  box-shadow: 0 12px 40px rgba(255,0,80,0.5);
}
.tkv2-hero-cta::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
}

/* New sections — compact layout */
#thuat-toan-fyp .tkv2-intro-img-wrap,
#tiktok-shop .tkv2-intro-img-wrap,
#cam-nang-viral .tkv2-intro-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
#thuat-toan-fyp .tkv2-intro-img-wrap img,
#tiktok-shop .tkv2-intro-img-wrap img,
#cam-nang-viral .tkv2-intro-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

/* Factor cards in FYP section */
#thuat-toan-fyp .tkv2-intro-text h3 { margin-bottom: 10px; }
#thuat-toan-fyp .tkv2-intro-text p { margin-bottom: 10px; }

/* TikTok Shop cards */
#tiktok-shop .col-md-6 > div {
  transition: all 0.3s ease;
}
#tiktok-shop .col-md-6 > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Cẩm Nang tip cards */
#cam-nang-viral .col-md-6 > div {
  transition: all 0.3s ease;
}
#cam-nang-viral .col-md-6 > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Gradient line spacing */
.tkv2-gradient-line { margin: 8px auto 1.2rem; }

/* Mobile responsive fixes for new sections */
@media (max-width: 991px) {
  .tkv2-section { padding: 40px 0; }
  .tkv2-intro-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #thuat-toan-fyp .row,
  #tiktok-shop .row,
  #cam-nang-viral .row {
    flex-direction: column;
  }
}
@media (max-width: 575px) {
  .tkv2-section { padding: 30px 0; }
  .tkv2-intro-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

.tkv2-section-title::after { background: linear-gradient(90deg, #FF0050, #00F2EA) !important; }

/* Service card hover accent */
.tkv2-service-card:hover { border-color: #FF0050 !important; }
.tkv2-service-cta { color: #FF0050 !important; }
.tkv2-service-cta:hover { background: #FF0050 !important; color: #fff !important; border-color: #FF0050 !important; }

/* Mobile adjustments */
@media (max-width: 991px) {
  .tkv2-cat-scene { min-height: 200px; }
  .tkv2-cat-img { max-width: 90% !important; margin: 0 auto; display: block; }
}

/* ========== TIKTOK V2 LAYOUT REDESIGN ========== */

/* Hero CTA — High contrast button */
.tiktok-hero-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #FFFFFF !important;
  color: #FF0050 !important;
  padding: 16px 36px !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  text-decoration: none !important;
  margin-top: 2rem !important;
  position: relative !important;
  z-index: 10 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 3px rgba(255,255,255,0.3) !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.3px !important;
  overflow: visible !important;
}
.tiktok-hero-cta-btn:hover {
  background: #FF0050 !important;
  color: #fff !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 40px rgba(255,0,80,0.5), 0 0 0 3px rgba(255,0,80,0.4) !important;
}
.tiktok-hero-cta-btn i {
  font-size: 1.2rem !important;
  color: inherit !important;
}
.tiktok-hero-cta-btn::after,
.tiktok-hero-cta-btn::before {
  display: none !important;
}

/* Prominent image wrapper — for larger image display */
.tiktok-intro-img-prominent {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  position: relative;
}
.tiktok-intro-img-prominent img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.tiktok-intro-img-prominent:hover img {
  transform: scale(1.02);
}

/* Stats row */
.tiktok-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.tiktok-stat-box {
  background: var(--stat-bg);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  transition: transform 0.3s ease;
}
.tiktok-stat-box:hover { transform: translateY(-3px); }
.tiktok-stat-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--stat-color);
}
.tiktok-stat-lbl {
  display: block;
  font-size: 0.7rem;
  color: #666;
  margin-top: 3px;
}

/* Highlight box */
.tiktok-highlight-box {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-radius: 16px;
  padding: 24px 28px;
  border-left: 4px solid #FF0050;
  line-height: 1.8;
  font-size: 0.95rem;
  color: #334155;
}
.tiktok-highlight-box strong { color: #FF0050; }

/* ====== GLOBAL OVERFLOW FIX FOR RESTRUCTURED SECTIONS ====== */
/* Prevent ANY image from overflowing its container */
#gioi-thieu,
#thuat-toan-fyp,
#tiktok-shop,
#cam-nang-viral {
  overflow: hidden !important;
}
#gioi-thieu .container-fluid,
#thuat-toan-fyp .container-fluid,
#tiktok-shop .container-fluid,
#cam-nang-viral .container-fluid {
  overflow: hidden !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
#gioi-thieu img,
#thuat-toan-fyp img,
#tiktok-shop img,
#cam-nang-viral img {
  max-width: 100% !important;
  height: auto !important;
}
/* Ensure all col elements clip their content */
#gioi-thieu [class*="col-"],
#thuat-toan-fyp [class*="col-"],
#tiktok-shop [class*="col-"],
#cam-nang-viral [class*="col-"] {
  overflow: hidden !important;
}

/* Comparison block */
.tiktok-compare-block { overflow: hidden !important; }
.tiktok-compare-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}
.tiktok-compare-title i { color: #FF0050; margin-right: 8px; }
.tiktok-compare-img-center {
  text-align: center;
  max-width: 600px !important;
  margin: 0 auto;
  overflow: hidden !important;
}
.tiktok-compare-img-center img {
  width: 100% !important;
  max-width: 600px !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Constrain prominent image wrappers */
.tiktok-intro-img-prominent {
  max-height: 400px !important;
  overflow: hidden !important;
}
.tiktok-intro-img-prominent img {
  max-width: 100% !important;
  max-height: 400px !important;
  object-fit: contain !important;
}

/* Stats row fix — ensure grid renders properly */
.tiktok-stats-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  margin: 18px 0 !important;
  max-width: 100% !important;
}
.tiktok-stat-box {
  border-radius: 12px !important;
  padding: 14px 8px !important;
  text-align: center !important;
}
.tiktok-stat-val {
  display: block !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
}
.tiktok-stat-lbl {
  display: block !important;
  font-size: 0.7rem !important;
  color: #666 !important;
  margin-top: 3px !important;
}

/* Sub title for sections */
.tiktok-sub-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Factor cards — FYP section */
.tiktok-factor-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FF0050;
  margin-top: 30px;
  margin-bottom: 5px;
}
.tiktok-factor-card {
  background: var(--fc-bg, #f8f9fa);
  border-left: 4px solid var(--fc-border, #FF0050);
  border-radius: 14px;
  padding: 18px 16px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}
.tiktok-factor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.tiktok-fc-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tiktok-factor-card strong {
  font-size: 0.9rem;
  color: #111;
  display: block;
  margin-bottom: 5px;
}
.tiktok-factor-card p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 576px) {
  .tiktok-factor-card { padding: 14px 12px; border-radius: 12px; }
  .tiktok-fc-icon { width: 34px; height: 34px; font-size: 1.2rem; margin-bottom: 6px; }
  .tiktok-factor-card strong { font-size: 0.78rem; margin-bottom: 3px; }
  .tiktok-factor-card p { font-size: 0.7rem; line-height: 1.4; }
  .tiktok-factor-title { font-size: 0.9rem; }
  .tiktok-factor-title + .row { flex-direction: row !important; flex-wrap: wrap !important; }
}

/* Shop cards */
.tiktok-shop-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 22px 18px;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}
.tiktok-shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255,0,80,0.1);
  border-color: rgba(255,0,80,0.15);
}
.tiktok-shop-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.tiktok-shop-card strong {
  display: block;
  font-size: 0.95rem;
  color: #111;
  margin-bottom: 8px;
}
.tiktok-shop-card p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

/* Tip cards — Cẩm Nang */
.tiktok-tip-card {
  background: linear-gradient(135deg, var(--tc-bg), #fff);
  border-left: 4px solid var(--tc-color);
  border-radius: 12px;
  padding: 18px 16px;
  height: 100%;
  transition: all 0.3s ease;
}
.tiktok-tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.tiktok-tip-card strong {
  color: var(--tc-color);
  display: block;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.tiktok-tip-card p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

/* Blog link block */
.tiktok-blog-link {
  padding: 15px 20px;
  background: #F5F5F5;
  border-radius: 12px;
  text-align: center;
}
.tiktok-blog-link p {
  margin: 0 0 5px;
  font-size: 0.9rem;
  color: #555;
}
.tiktok-blog-link a {
  color: #FF0050;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.tiktok-blog-link a:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 991px) {
  .tiktok-stats-row { grid-template-columns: repeat(2, 1fr); }
  .tiktok-hero-cta-btn { padding: 14px 28px; font-size: 1rem; }
}
@media (max-width: 575px) {
  .tiktok-stats-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tiktok-stat-val { font-size: 1.2rem; }
  .tiktok-hero-cta-btn { padding: 12px 24px; font-size: 0.95rem; }
}