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

:root {
  --tw-primary: #1DA1F2;
  --tw-primary-dark: #0D8FED;
  --tw-gradient: linear-gradient(135deg, #1DA1F2 0%, #0D8FED 50%, #0a66c2 100%);
  --tw-gradient-light: linear-gradient(135deg, #E8F5FE 0%, #B3E5FC 100%);
  --tw-accent: #FFD700;
  --tw-accent2: #9C27B0;
  --tw-neon-blue: #00B8D4;
  --tw-neon-cyan: #00E5FF;
  --tw-neon-purple: #D500F9;
  --tw-dark: #0D0D1A;
  --tw-dark2: #14233C;
  --tw-card-bg: rgba(255,255,255,0.95);
  --tw-glass: rgba(255,255,255,0.08);
  --tw-glass-border: rgba(255,255,255,0.12);
  --tw-shadow: 0 8px 32px rgba(29,161,242,0.12);
  --tw-shadow-lg: 0 20px 60px rgba(29,161,242,0.15);
  --tw-radius: 16px;
  --tw-radius-lg: 24px;
}

/* ========== KEYFRAME ANIMATIONS ========== */
@keyframes twFloatUp {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes twPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
@keyframes twGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes twGlow {
  0%,100% { box-shadow: 0 0 20px rgba(29,161,242,0.3); }
  50% { box-shadow: 0 0 40px rgba(29,161,242,0.6); }
}
@keyframes twRGBGlow {
  0% { box-shadow: 0 0 20px rgba(29,161,242,0.5), 0 0 40px rgba(29,161,242,0.2); }
  33% { box-shadow: 0 0 20px rgba(0,229,255,0.5), 0 0 40px rgba(0,229,255,0.2); }
  66% { box-shadow: 0 0 20px rgba(156,39,176,0.5), 0 0 40px rgba(156,39,176,0.2); }
  100% { box-shadow: 0 0 20px rgba(29,161,242,0.5), 0 0 40px rgba(29,161,242,0.2); }
}
@keyframes twNeonPulse {
  0%,100% { opacity: 0.6; filter: blur(8px); }
  50% { opacity: 1; filter: blur(12px); }
}
/* Wizard-customized orbit ring animations */
@keyframes twOrbitSpin {
  /* 55° tilt (less steep than YouTube's 65°) — ring wraps around cape/chest, not through face */
  from { transform: rotateX(55deg) rotateZ(0deg); }
  to { transform: rotateX(55deg) rotateZ(360deg); }
}
@keyframes twBadgeCounterSpin {
  from { transform: rotateZ(0deg) rotateX(-55deg); }
  to { transform: rotateZ(-360deg) rotateX(-55deg); }
}
@keyframes twBadgeAutoFlip {
  0%,15% { transform: rotateY(0deg); }
  25%,90% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes twCatFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(1deg); }
  75% { transform: translateY(-4px) rotate(-1deg); }
}
@keyframes twCatHeartPulse {
  0%,100% { transform: scale(0.9) translate(-50%,-50%); opacity: 0.4; }
  50% { transform: scale(1.12) translate(-50%,-50%); opacity: 0.7; }
}
@keyframes twTrailFloat1 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translate(80px, -120px) scale(1.2); opacity: 0; }
}
@keyframes twTrailFloat2 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translate(-70px, -100px) scale(1); opacity: 0; }
}
@keyframes twTrailFloat3 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translate(60px, 90px) scale(0.8); opacity: 0; }
}
@keyframes twTrailFloat4 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translate(-90px, 60px) scale(1.1); opacity: 0; }
}
@keyframes twShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
@keyframes twMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes twMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ===== KEYWORD ROTATOR ===== */
@keyframes twKwSlideUp {
  0%,5.33% { opacity: 1; transform: translateY(0); }
  6%,6.33% { opacity: 0; transform: translateY(-120%); }
  6.67%,100% { opacity: 0; transform: translateY(100%); }
}

/* ========== SCROLL REVEAL ========== */
.tw-reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.tw-reveal.revealed { opacity: 1; transform: translateY(0); }
.tw-reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.tw-reveal-left.revealed { opacity: 1; transform: translateX(0); }
.tw-reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.tw-reveal-right.revealed { opacity: 1; transform: translateX(0); }
.tw-reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.tw-reveal-scale.revealed { opacity: 1; transform: scale(1); }
.tw-stagger > *:nth-child(1) { transition-delay: 0s; }
.tw-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.tw-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.tw-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.tw-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.tw-stagger > *:nth-child(6) { transition-delay: 0.5s; }

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

/* ========== HERO SECTION ========== */
.twv2-hero {
  position: relative;
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #030b1a 0%, #0a1a30 30%, #14233C 60%, #0D0D1A 100%);
  overflow: visible;
  min-height: 550px;
}
.twv2-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(29,161,242,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.twv2-hero .hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.twv2-hero .hero-orb-1 {
  width: 300px; height: 300px; top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(29,161,242,0.15) 0%, transparent 70%);
  animation: twFloatUp 6s ease-in-out infinite;
}
.twv2-hero .hero-orb-2 {
  width: 200px; height: 200px; bottom: -50px; left: 5%;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
  animation: twFloatUp 8s ease-in-out infinite 1s;
}
.twv2-hero .hero-orb-3 {
  width: 120px; height: 120px; top: 30%; left: 15%;
  background: radial-gradient(circle, rgba(156,39,176,0.1) 0%, transparent 70%);
  animation: twFloatUp 5s ease-in-out infinite 0.5s;
}

/* Hero badge */
.twv2-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,161,242,0.2);
  border: 1px solid rgba(29,161,242,0.3);
  backdrop-filter: blur(8px);
  padding: 8px 20px; border-radius: 50px;
  color: #FFD700; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 1rem;
  animation: twGlow 3s ease-in-out infinite;
}
.twv2-hero-badge i { color: #FFD700; }

/* H1 + Keyword Rotator */
.tw-hero-headline {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.3rem; flex-wrap: nowrap;
}
.twv2-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 0 30px rgba(29,161,242,0.3), 0 2px 20px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.tw-keyword-rotator {
  display: inline-block;
  height: clamp(2.2rem, 4.5vw, 3.2rem);
  overflow: hidden; position: relative;
  min-width: 320px;
}
.tw-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(29,161,242,0.4)),
               0 0 40px var(--kw-glow, rgba(29,161,242,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: twKwSlideUp 45s infinite;
}
.tw-kw:nth-child(1) { animation-delay: 0s; --kw-color: #1DA1F2; --kw-glow: rgba(29,161,242,0.5); }
.tw-kw:nth-child(2) { animation-delay: 3s; --kw-color: #FFD700; --kw-glow: rgba(255,215,0,0.5); }
.tw-kw:nth-child(3) { animation-delay: 6s; --kw-color: #00E5FF; --kw-glow: rgba(0,229,255,0.5); }
.tw-kw:nth-child(4) { animation-delay: 9s; --kw-color: #76FF03; --kw-glow: rgba(118,255,3,0.5); }
.tw-kw:nth-child(5) { animation-delay: 12s; --kw-color: #FF9100; --kw-glow: rgba(255,145,0,0.5); }
.tw-kw:nth-child(6) { animation-delay: 15s; --kw-color: #1DA1F2; --kw-glow: rgba(29,161,242,0.5); }
.tw-kw:nth-child(7) { animation-delay: 18s; --kw-color: #FFD700; --kw-glow: rgba(255,215,0,0.5); }
.tw-kw:nth-child(8) { animation-delay: 21s; --kw-color: #00E5FF; --kw-glow: rgba(0,229,255,0.5); }
.tw-kw:nth-child(9) { animation-delay: 24s; --kw-color: #D500F9; --kw-glow: rgba(213,0,249,0.5); }
.tw-kw:nth-child(10) { animation-delay: 27s; --kw-color: #1DA1F2; --kw-glow: rgba(29,161,242,0.5); }
.tw-kw:nth-child(11) { animation-delay: 30s; --kw-color: #FFD700; --kw-glow: rgba(255,215,0,0.5); }
.tw-kw:nth-child(12) { animation-delay: 33s; --kw-color: #76FF03; --kw-glow: rgba(118,255,3,0.5); }
.tw-kw:nth-child(13) { animation-delay: 36s; --kw-color: #00E5FF; --kw-glow: rgba(0,229,255,0.5); }
.tw-kw:nth-child(14) { animation-delay: 39s; --kw-color: #FF9100; --kw-glow: rgba(255,145,0,0.5); }
.tw-kw:nth-child(15) { animation-delay: 42s; --kw-color: #D500F9; --kw-glow: rgba(213,0,249,0.5); }

/* Hero tagline */
.tw-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  background: linear-gradient(90deg, #1DA1F2, #00E5FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.5rem 0 1rem;
}
.twv2-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem; line-height: 1.7;
  max-width: 560px; margin-bottom: 1.5rem;
}
.twv2-hero-sub strong { color: #FFD700; }

/* Hero stats */
.twv2-hero-stats {
  display: flex; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.twv2-hero-stat {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(29,161,242,0.1);
  border: 1px solid rgba(29,161,242,0.2);
  backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 20px; min-width: 90px;
}
.twv2-hero-stat-num { font-size: 1.5rem; font-weight: 800; color: #FFD700; }
.twv2-hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); text-transform: uppercase; }

/* Hero CTA */
.twv2-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tw-gradient); color: #fff;
  font-weight: 700; font-size: 1.05rem;
  padding: 14px 32px; border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(29,161,242,0.4);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.twv2-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(29,161,242,0.6); color: #fff;
}
.twv2-hero-cta::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: twShimmer 3s ease-in-out infinite;
}

/* ========== WIZARD CAT SCENE — Custom 3D Orbit for Wizard Pose ========== */
.twv2-cat-scene {
  position: relative;
  perspective: 1000px;
  overflow: visible;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
/* Mystical purple/blue aura behind wizard */
.twv2-cat-heart-glow {
  position: absolute; width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,60,180,0.3) 0%, rgba(29,161,242,0.15) 40%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: twCatHeartPulse 3s ease-in-out infinite;
  z-index: 1;
}
.twv2-cat-img {
  position: relative; max-width: 300px; z-index: 5;
  animation: twCatFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 35px rgba(100,60,180,0.4));
}

/* 3D Orbit Ring — z-index:3 = BEHIND the cat (z-index:5).
   Badges pass behind the wizard's body, creating a true 3D wrapping illusion.
   540px ring for maximum clearance around the wizard's full pose.
   Center shifted 30px down so ring orbits around the cape/chest area. */
.twv2-orbit-ring {
  position: absolute;
  width: 540px; height: 540px;
  top: 50%; left: 50%;
  margin-top: -240px; /* shifted 30px down from center (-270+30) */
  margin-left: -270px;
  transform-style: preserve-3d;
  animation: twOrbitSpin 25s linear infinite;
  z-index: 3; /* BEHIND cat (z-index:5) — badges orbit behind the wizard */
}
/* Purple/blue mystical ring glow trail (wizard theme — not red/RGB like YouTube) */
.twv2-orbit-ring::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(29,161,242,0.4);
  border-right-color: rgba(100,60,180,0.35);
  border-bottom-color: rgba(0,229,255,0.3);
  border-left-color: rgba(156,39,176,0.35);
  animation: twGlow 4s ease infinite;
}

/* Flip badges — pill shape with icon+text (NOT plain circles)  */
.twv2-flip-badge {
  position: absolute;
  width: 62px; height: 62px;
  animation: twBadgeCounterSpin 25s linear infinite;
}
.twv2-flip-inner {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: twBadgeAutoFlip 5s ease-in-out infinite;
}
/* Staggered wave: 3/4 show text, 1/4 show icon at any time */
.tw-pos-1 .twv2-flip-inner { animation-delay: 0s; }
.tw-pos-2 .twv2-flip-inner { animation-delay: -0.625s; }
.tw-pos-3 .twv2-flip-inner { animation-delay: -1.25s; }
.tw-pos-4 .twv2-flip-inner { animation-delay: -1.875s; }
.tw-pos-5 .twv2-flip-inner { animation-delay: -2.5s; }
.tw-pos-6 .twv2-flip-inner { animation-delay: -3.125s; }
.tw-pos-7 .twv2-flip-inner { animation-delay: -3.75s; }
.tw-pos-8 .twv2-flip-inner { animation-delay: -4.375s; }

.twv2-flip-front, .twv2-flip-back {
  position: absolute; inset: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backface-visibility: hidden;
  font-weight: 700;
}
.twv2-flip-front {
  background: rgba(29,161,242,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(100,60,180,0.35);
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(100,60,180,0.25);
}
.twv2-flip-back {
  background: linear-gradient(135deg, rgba(100,60,180,0.85), rgba(29,161,242,0.85));
  color: #fff; transform: rotateY(180deg);
  font-size: 0.6rem; text-align: center; padding: 4px;
  box-shadow: 0 0 20px rgba(100,60,180,0.4);
  line-height: 1.2;
}

/* Badge positions — 8 evenly spaced on the 540px orbit circle */
.tw-pos-1 { top: 0; left: 50%; margin-left: -31px; }
.tw-pos-2 { top: 14%; right: 0; }
.tw-pos-3 { top: 50%; right: -8px; margin-top: -31px; }
.tw-pos-4 { bottom: 14%; right: 0; }
.tw-pos-5 { bottom: 0; left: 50%; margin-left: -31px; }
.tw-pos-6 { bottom: 14%; left: 0; }
.tw-pos-7 { top: 50%; left: -8px; margin-top: -31px; }
.tw-pos-8 { top: 14%; left: 0; }

/* Mystical particle trails (purple/blue/gold theme) */
.twv2-trail { position: absolute; width: 5px; height: 5px; border-radius: 50%; z-index: 4; }
.twv2-trail.t1 { background: #9C27B0; top: 15%; left: 25%; animation: twTrailFloat1 3s ease-in-out infinite; }
.twv2-trail.t2 { background: #1DA1F2; top: 55%; right: 20%; animation: twTrailFloat2 4s ease-in-out infinite 0.5s; }
.twv2-trail.t3 { background: #D500F9; bottom: 20%; left: 20%; animation: twTrailFloat3 3.5s ease-in-out infinite 1s; }
.twv2-trail.t4 { background: #FFD700; top: 30%; right: 15%; animation: twTrailFloat4 4.5s ease-in-out infinite 1.5s; }
.twv2-trail.t5 { background: #00E5FF; bottom: 30%; right: 30%; animation: twTrailFloat1 5s ease-in-out infinite 2s; }
.twv2-trail.t6 { background: #9C27B0; top: 40%; left: 10%; animation: twTrailFloat2 3s ease-in-out infinite 0.8s; }
.twv2-trail.t7 { background: #1DA1F2; bottom: 10%; left: 35%; animation: twTrailFloat3 4s ease-in-out infinite 1.2s; }
.twv2-trail.t8 { background: #FFD700; top: 10%; left: 40%; animation: twTrailFloat4 3.5s ease-in-out infinite 0.3s; }

/* ========== STICKY TOC (Dark theme like YouTube) ========== */
.twv2-toc {
  background: var(--tw-dark);
  border-bottom: 1px solid rgba(29,161,242,0.15);
  position: sticky; top: 0; z-index: 10;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.twv2-toc-inner {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 0; overflow-x: auto; scrollbar-width: none;
}
.twv2-toc-inner::-webkit-scrollbar { display: none; }
.twv2-toc-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem; white-space: nowrap; margin-right: 8px;
}
.twv2-toc-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: 0.8rem;
  padding: 6px 14px; border-radius: 20px;
  white-space: nowrap; transition: all 0.3s;
  border: 1px solid transparent;
}
.twv2-toc-link:hover, .twv2-toc-link.active {
  color: #fff;
  background: rgba(29,161,242,0.2);
  border-color: rgba(29,161,242,0.3);
}

/* ========== SECTIONS ========== */
.twv2-section { padding: 60px 0; position: relative; }
.twv2-section-alt { background: #f8f9fa; }
.twv2-dark-section { background: linear-gradient(135deg, #0D0D1A 0%, #14233C 50%, #1a3a5c 100%); }
.twv2-dark-section .twv2-section-title,
.twv2-dark-section .twv2-sub-heading { color: #fff !important; }
.twv2-dark-section .twv2-section-desc { color: rgba(255,255,255,0.7) !important; }

.twv2-section-title {
  text-align: center; font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800; color: #1a1a2e; margin-bottom: 8px;
}
.twv2-gradient-line {
  width: 80px; height: 4px; margin: 0 auto 16px;
  background: var(--tw-gradient); border-radius: 4px;
}
.twv2-section-desc {
  text-align: center; color: #666; font-size: 1rem;
  max-width: 700px; margin: 0 auto 32px; line-height: 1.6;
}
.twv2-sub-heading {
  font-size: 1.2rem; font-weight: 700; color: #1a1a2e;
  margin-bottom: 1rem; display: flex; align-items: center;
}

/* ========== SERVICE CARDS ========== */
.twv2-svc-card {
  background: var(--tw-card-bg); border-radius: var(--tw-radius);
  padding: 24px 20px; text-align: center;
  border: 1px solid #eee; transition: all 0.3s ease;
  height: 100%; display: flex; flex-direction: column;
}
.twv2-svc-card:hover {
  transform: translateY(-6px); box-shadow: var(--tw-shadow-lg);
  border-color: var(--tw-primary);
}
.twv2-svc-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tw-gradient-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 1.4rem; color: var(--tw-primary);
}
.twv2-svc-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.twv2-svc-name a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.twv2-svc-name a:hover { color: var(--tw-primary); }
.twv2-svc-desc { font-size: 0.85rem; color: #666; line-height: 1.5; flex-grow: 1; margin-bottom: 10px; }
.twv2-svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--tw-primary); font-weight: 600; font-size: 0.85rem;
  text-decoration: none; padding: 8px 20px; border-radius: 20px;
  border: 1px solid var(--tw-primary); transition: all 0.3s ease;
  margin-top: auto;
}
.twv2-svc-link:hover { background: var(--tw-primary); color: #fff; }

/* ========== INTRO ========== */
.twv2-intro-text { font-size: 0.95rem; color: #444; line-height: 1.8; }
.twv2-intro-text p { margin-bottom: 1rem; }
.twv2-intro-highlight {
  background: var(--tw-gradient-light); border-left: 4px solid var(--tw-primary);
  padding: 16px 20px; border-radius: 0 12px 12px 0;
  margin: 1rem 0; font-size: 0.9rem; line-height: 1.7;
}
.twv2-intro-img-wrap { max-width: 500px; margin: 0 auto; }
.twv2-intro-img-wrap img {
  width: 100%; border-radius: var(--tw-radius);
  max-height: 400px; object-fit: contain;
}

/* ========== BENEFIT ITEMS ========== */
.twv2-benefit-item {
  display: flex; gap: 16px; padding: 16px 20px;
  background: var(--tw-card-bg); border-radius: 12px;
  border: 1px solid #eee; transition: all 0.3s ease; height: 100%;
}
.twv2-benefit-item:hover { box-shadow: var(--tw-shadow); border-color: var(--tw-primary); }
.twv2-benefit-item i { font-size: 1.3rem; margin-top: 4px; flex-shrink: 0; }
.twv2-benefit-item div { font-size: 0.9rem; line-height: 1.6; color: #444; }

/* ========== COMMIT CARDS ========== */
.twv2-commit-card {
  background: var(--tw-card-bg); border-radius: var(--tw-radius);
  padding: 20px; text-align: center; border: 1px solid #eee;
  height: 100%; transition: all 0.3s ease;
}
.twv2-commit-card:hover { box-shadow: var(--tw-shadow); transform: translateY(-4px); }
.twv2-commit-card > strong { display: block; font-size: 0.95rem; margin: 10px 0 6px; color: #1a1a2e; }
.twv2-commit-card p { font-size: 0.85rem; color: #666; line-height: 1.5; margin: 0; }

/* ========== WOW CARDS (Algorithm, Guide) ========== */
.tw-wow-img-frame { max-width: 700px; margin: 0 auto 2rem; }
.tw-wow-img-frame img {
  width: 100%; border-radius: var(--tw-radius);
  max-height: 400px; object-fit: contain;
  box-shadow: var(--tw-shadow);
}
.tw-wow-cards { display: flex; flex-direction: column; gap: 16px; }
.tw-wow-card {
  display: flex; gap: 16px; padding: 20px; border-radius: var(--tw-radius);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease; color: #fff;
}
.tw-wow-card:hover { background: rgba(29,161,242,0.1); border-color: rgba(29,161,242,0.3); transform: translateX(5px); }
.tw-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.tw-wow-card div:last-child { font-size: 0.9rem; line-height: 1.6; }
.tw-wow-card strong { color: #fff; display: block; margin-bottom: 6px; font-size: 0.95rem; }
.tw-wow-card p { margin: 0; color: rgba(255,255,255,0.7); }

/* Light section wow cards */
.twv2-section:not(.twv2-dark-section) .tw-wow-card {
  background: var(--tw-card-bg); border: 1px solid #eee; color: #333;
}
.twv2-section:not(.twv2-dark-section) .tw-wow-card:hover { border-color: var(--tw-primary); }
.twv2-section:not(.twv2-dark-section) .tw-wow-card strong { color: #1a1a2e; }
.twv2-section:not(.twv2-dark-section) .tw-wow-card p { color: #666; }
.twv2-section:not(.twv2-dark-section) .tw-card-icon { background: var(--tw-gradient-light); }

/* ========== FEATURE GRID (Why Choose) ========== */
.twv2-feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.twv2-feature-card {
  background: var(--tw-card-bg); border-radius: var(--tw-radius);
  padding: 28px 24px; border: 1px solid #eee; text-align: center;
  transition: all 0.3s ease;
}
.twv2-feature-card:hover { transform: translateY(-6px); box-shadow: var(--tw-shadow-lg); border-color: var(--tw-primary); }
.twv2-feature-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--tw-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.4rem;
}
.twv2-feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.twv2-feature-card p { font-size: 0.85rem; color: #666; line-height: 1.6; margin: 0; }

/* ========== HOW-TO STEPS ========== */
.twv2-steps { display: flex; flex-direction: column; gap: 16px; }
.twv2-step-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--tw-card-bg);
  border-radius: var(--tw-radius); border: 1px solid #eee;
  transition: all 0.3s ease;
}
.twv2-step-card:hover { border-color: var(--tw-primary); box-shadow: var(--tw-shadow); }
.twv2-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--tw-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}
.twv2-step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: #1a1a2e; }
.twv2-step-card p { font-size: 0.85rem; color: #666; line-height: 1.5; margin: 0; }

/* ========== PRICING TABLE ========== */
.twv2-price-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
  background: var(--tw-card-bg); border-radius: var(--tw-radius);
  overflow: hidden; box-shadow: var(--tw-shadow);
}
.twv2-price-table thead { background: var(--tw-gradient); color: #fff; }
.twv2-price-table th { padding: 14px 16px; font-weight: 700; text-align: left; }
.twv2-price-table td { padding: 12px 16px; border-top: 1px solid #eee; }
.twv2-price-table tbody tr:hover { background: rgba(29,161,242,0.04); }
.twv2-price-table .price-highlight { color: var(--tw-primary); font-weight: 800; font-size: 1.1rem; }

/* ========== TESTIMONIALS MARQUEE ========== */
.twv2-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);
}
.twv2-testimonial-row {
  display: flex; gap: 20px; width: max-content; padding: 10px 0;
}
.twv2-testimonial-row.row-1 { animation: twMarqueeLeft 50s linear infinite; }
.twv2-testimonial-row.row-2 { animation: twMarqueeRight 55s linear infinite; margin-top: 16px; }
.twv2-testimonial-row:hover { animation-play-state: paused; }
.twv2-testimonial-card {
  width: 340px; flex-shrink: 0; padding: 20px;
  background: var(--tw-card-bg); border-radius: var(--tw-radius);
  border: 1px solid #eee; transition: all 0.3s ease;
}
.twv2-testimonial-card:hover { border-color: var(--tw-primary); box-shadow: var(--tw-shadow); }
.twv2-testimonial-tag {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 700; margin-bottom: 8px;
}
.twv2-tag-like { background: #FFEBEE; color: #F44336; }
.twv2-tag-follow { background: #E3F2FD; color: #1DA1F2; }
.twv2-tag-retweet { background: #E8F5E9; color: #4CAF50; }
.twv2-tag-view { background: #F3E5F5; color: #9C27B0; }
.twv2-testimonial-stars { color: #FFD700; font-size: 0.85rem; margin-bottom: 8px; }
.twv2-testimonial-text { font-size: 0.85rem; color: #555; line-height: 1.6; margin-bottom: 12px; min-height: 80px; }
.twv2-testimonial-author { display: flex; align-items: center; gap: 10px; }
.twv2-testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--tw-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.twv2-testimonial-name { font-weight: 700; font-size: 0.85rem; color: #1a1a2e; }
.twv2-testimonial-role { font-size: 0.75rem; color: #888; }
.twv2-testimonial-svc { font-size: 0.7rem; color: var(--tw-primary); font-weight: 600; }
.twv2-testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.twv2-testimonial-nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--tw-primary); background: transparent;
  color: var(--tw-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; font-size: 0.9rem;
}
.twv2-testimonial-nav-btn:hover { background: var(--tw-primary); color: #fff; }

/* ========== FAQ ========== */
.twv2-faq-item {
  border: 1px solid #eee; border-radius: 12px;
  margin-bottom: 10px; overflow: hidden; transition: all 0.3s ease;
}
.twv2-faq-item:hover { border-color: var(--tw-primary); }
.twv2-faq-item.active { border-color: var(--tw-primary); box-shadow: var(--tw-shadow); }
.twv2-faq-q {
  padding: 16px 20px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: #1a1a2e; background: #fff;
}
.twv2-faq-q i { transition: transform 0.3s ease; color: var(--tw-primary); }
.twv2-faq-item.active .twv2-faq-q i { transform: rotate(180deg); }
.twv2-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  padding: 0 20px; background: #fafafa;
}
.twv2-faq-item.active .twv2-faq-a { max-height: 500px; padding: 16px 20px; }
.twv2-faq-a p { font-size: 0.9rem; color: #555; line-height: 1.7; margin: 0; }

/* ========== CTA FINAL ========== */
.twv2-cta-final {
  padding: 60px 0; text-align: center;
  background: linear-gradient(135deg, #030b1a 0%, #0a1a30 30%, #14233C 60%, #0D0D1A 100%);
  position: relative; overflow: hidden;
}
.twv2-cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(29,161,242,0.15) 0%, transparent 70%);
}
.twv2-cta-final h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  color: #fff; margin-bottom: 12px;
}
.twv2-cta-final p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 600px; margin: 0 auto 24px; }
.twv2-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; border-radius: 50px;
  background: var(--tw-gradient); color: #fff; font-weight: 700;
  font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 4px 24px rgba(29,161,242,0.4);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.twv2-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(29,161,242,0.6); color: #fff; }
.twv2-cta-btn::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: twShimmer 3s ease-in-out infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .twv2-hero { padding: 40px 0 30px; min-height: auto; }
  /* Center ALL hero content like YouTube mobile — target the Bootstrap column wrapper */
  .twv2-hero .col-lg-7 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .tw-hero-headline {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .twv2-hero-badge { margin: 0 auto 1rem; }
  .twv2-hero-title { white-space: normal; text-align: center; }
  .tw-keyword-rotator { min-width: 280px; text-align: center; }
  .tw-kw { left: 0; right: 0; text-align: center; }
  .tw-hero-tagline { text-align: center; width: 100%; }
  .twv2-hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .twv2-hero-stats { justify-content: center; width: 100%; }
  .twv2-hero-cta { margin: 0 auto; }
  /* Orbit & cat */
  .twv2-cat-scene { height: 400px; }
  .twv2-cat-img { max-width: 230px; }
  .twv2-orbit-ring { width: 400px; height: 400px; margin-top: -185px; margin-left: -200px; }
  .twv2-flip-badge { width: 50px; height: 50px; }
  .twv2-flip-front { font-size: 0.95rem; }
  .twv2-flip-back { font-size: 0.55rem; }
  .twv2-toc { display: none; }
  .twv2-section { padding: 40px 0; }
}
@media (max-width: 575px) {
  .twv2-hero { padding: 30px 0 20px; }
  .twv2-cat-scene { height: 340px; }
  .twv2-cat-img { max-width: 180px; }
  .twv2-orbit-ring { width: 320px; height: 320px; margin-top: -145px; margin-left: -160px; }
  .twv2-flip-badge { width: 42px; height: 42px; }
  .twv2-flip-front { font-size: 0.85rem; }
  .twv2-flip-back { font-size: 0.5rem; }
  .twv2-hero-stats { gap: 10px; }
  .twv2-hero-stat { padding: 10px 12px; min-width: 70px; }
  .twv2-testimonial-card { width: 280px; }
  .twv2-price-table { font-size: 0.8rem; }
  .twv2-price-table th, .twv2-price-table td { padding: 10px 8px; }
  .tw-keyword-rotator { min-width: 220px; }
  .twv2-hero-title { font-size: 1.5rem; }
  .tw-kw { font-size: 1.3rem; line-height: 1.8rem; }
}

/* ========== INLINE IMG CONSTRAINTS ========== */
#section-unique-a .twv2-intro-img-wrap img,
#section-unique-b .twv2-intro-img-wrap img,
#section-unique-c .twv2-intro-img-wrap img {
  max-height: 400px; width: 100%; object-fit: contain; border-radius: 16px;
}
.container-fluid { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
