/* ==========================================================================
   TRUE TECH 2026 — PRODUCT PAGE STYLES (CONSOLIDATED & MASTER M3)
   Prefix: pp- (product page)
   Maps to Global Design System tokens & Clean Architecture
   ========================================================================== */

/* ==========================================================================
   1. PRODUCT-SPECIFIC TOKENS
   ========================================================================== */
:root {
  --pp-stats-bg: var(--tt-color-primary, #037F8C);
  --pp-counter-size: clamp(2rem, 4vw, 3rem);
  --pp-featured-border: var(--tt-color-accent);
  --pp-section-width: 640px;
  --pp-hero-desc-width: 580px;
  --pp-stacked-width: 800px;
  
  /* Background Overlay Defaults (Single Source of Truth) */
  --pp-bg-overlay-rgb: 255 255 255;
  --pp-bg-opacity: 0.85;
}

/* ==========================================================================
   2. TEMPLATE BASE & CONTAINERS
   ========================================================================== */
.product-template { 
  font-family: var(--tt-font-family); 
}

.product-template__inner { 
  overflow-x: hidden; 
  width: 100%; 
}

.product-template .container,
.pp-container {
  max-width: var(--tt-max-width) !important;
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: var(--tt-space-5) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (min-width: 640px) { 
  .product-template .container,
  .pp-container { 
    padding-inline: var(--tt-space-6) !important; 
  } 
}

@media (min-width: 1024px) { 
  .product-template .container,
  .pp-container { 
    padding-inline: var(--tt-space-8) !important; 
  } 
}

/* ==========================================================================
   3. SHARED SECTION & BACKGROUND OVERLAYS
   ========================================================================== */
.pp-section { 
  padding-block: var(--tt-space-12); 
  position: relative; 
  overflow: hidden; 
}

@media (min-width: 768px) { 
  .pp-section { 
    padding-block: var(--tt-space-16); 
  } 
}

/* Theme nền section */
.pp-section--white { background: var(--tt-color-surface); --pp-bg-overlay-rgb: 255 255 255; }
.pp-section--gray  { background: var(--tt-color-bg-gray);  --pp-bg-overlay-rgb: 242 244 245; }
.pp-section--dark  { --pp-bg-overlay-rgb: 13 13 13; }
.tt-dark .pp-section { --pp-bg-overlay-rgb: 13 13 13; }

/* Hệ thống Background Image dùng chung */
.pp-section__bg {
  position: absolute; 
  inset: 0; 
  z-index: 0; 
  pointer-events: none;
  background-image: var(--pp-bg-url, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.pp-section__bg[data-position="top"]    { background-position: top center; background-size: cover; }
.pp-section__bg[data-position="bottom"] { background-position: bottom center; background-size: cover; }
.pp-section__bg[data-position="center"] { background-position: center center; background-size: cover; }
.pp-section__bg[data-position="full"]   { background-position: center center; background-size: cover; }

.pp-section__bg::before {
  content: ''; 
  position: absolute; 
  inset: 0;
  background-color: rgb(var(--pp-bg-overlay-rgb, 255 255 255) / var(--pp-bg-opacity, 0.85));
  transition: background-color var(--tt-transition-base);
}

.pp-section > .container,
.pp-section > .pp-container { 
  position: relative; 
  z-index: 1; 
}

/* Section Header Typography */
.pp-section-header { 
  text-align: center; 
  margin-bottom: var(--tt-space-8); 
  max-width: var(--pp-section-width); 
  margin-inline: auto; 
}

@media (min-width: 768px) { 
  .pp-section-header { 
    margin-bottom: var(--tt-space-12); 
  } 
}

.pp-section-header h2 { 
  font-size: var(--tt-h2-size); 
  font-weight: var(--tt-h2-weight); 
  color: var(--tt-color-text-primary); 
  margin-bottom: var(--tt-space-4); 
  letter-spacing: -0.02em; 
  line-height: 1.25;
}

.pp-section-header p,
.pp-section-header__desc { 
  font-size: var(--tt-text-lg); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.7; 
}

.pp-section-header__desc p { margin-bottom: 0.5em; }
.pp-section-header__desc p:last-child { margin-bottom: 0; }
.pp-section-header__desc strong { color: var(--tt-color-text-primary); }
.pp-section-header__desc a { 
  color: var(--tt-color-accent); 
  font-weight: 500; 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 2px; 
}

/* ==========================================================================
   4. BUTTONS & SHARED ACTIONS
   ========================================================================== */
.pp-btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: var(--tt-space-2); 
  padding: var(--tt-space-3) var(--tt-space-6);
  font-family: var(--tt-font-family); 
  font-size: var(--tt-text-sm); 
  font-weight: 600;
  border-radius: var(--tt-radius-full); 
  cursor: pointer; 
  text-decoration: none;
  border: none; 
  line-height: 1.4; 
  white-space: nowrap; 
  position: relative;
  transition: background var(--tt-transition-base), box-shadow var(--tt-transition-base),
              color var(--tt-transition-base), border-color var(--tt-transition-base);
}

.pp-btn--primary { 
  background: var(--tt-color-accent); 
  color: var(--tt-color-on-accent); 
  box-shadow: 0 1px 2px rgba(3,127,140,0.15), 0 1px 3px rgba(3,127,140,0.1); 
}

.pp-btn--primary:hover { 
  background: var(--tt-color-accent-hover); 
  color: var(--tt-color-on-accent); 
  box-shadow: 0 4px 12px rgba(3,127,140,0.25); 
}

.pp-btn--secondary,
.pp-btn--outline { 
  background: transparent; 
  color: var(--tt-color-accent); 
  border: 1.5px solid var(--tt-color-accent); 
}

.pp-btn--secondary:hover,
.pp-btn--outline:hover { 
  background: var(--tt-color-accent-light); 
  color: var(--tt-color-accent-hover); 
}

.pp-btn svg {
  width: 1.125em; 
  height: 1.125em; 
  min-width: 16px; 
  min-height: 16px; 
  flex-shrink: 0;
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round;
  transition: transform var(--tt-transition-base);
}
.pp-section-cta { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-top: var(--tt-space-12); 
  gap: var(--tt-space-4); 
  flex-wrap: wrap; 
}

/* ==========================================================================
   5. HERO SECTION (#overview)
   ========================================================================== */
.pp-hero {
  min-height: clamp(520px, calc(100svh - var(--tt-hdr-height) - 40px), 820px);
  display: flex;
  align-items: center;
  padding-block: var(--tt-space-10) var(--tt-space-8);
  position: relative;
  overflow: hidden;
  background-color: var(--tt-color-surface);
}

.pp-hero__shader-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

@media (min-width: 768px) {
  .pp-hero {
    padding-block: var(--tt-space-12) var(--tt-space-10);
  }
}

.pp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tt-space-8);
  align-items: center;
  width: 100%;
}

/* Điều khiển vị trí ảnh & Text Hero bằng Grid */
@media (min-width: 768px) {
  .pp-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--tt-space-10);
  }
  .pp-hero__content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .pp-hero__visual {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  /* Đảo chiều khi Content Position = Right */
  .pp-hero__grid--r {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .pp-hero__grid--r .pp-hero__visual {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .pp-hero__grid--r .pp-hero__content {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

@media (min-width: 1024px) {
  .pp-hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--tt-space-12);
  }
  .pp-hero__grid--r {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

/* Mobile Hero Order */
@media (max-width: 767px) {
  .pp-hero__grid {
    grid-template-columns: 1fr;
  }
  .pp-hero__visual {
    grid-column: 1;
    grid-row: 1;
  }
  .pp-hero__content {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Breadcrumb */
.pp-hero__breadcrumb {
  display: flex; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: var(--tt-space-1);
  margin-bottom: var(--tt-space-4); 
  font-size: var(--tt-text-xs); 
  font-weight: 500;
  color: var(--tt-color-text-tertiary);
}

.pp-hero__breadcrumb a { 
  color: var(--tt-color-text-tertiary); 
  text-decoration: none; 
  transition: color var(--tt-transition-base); 
}

.pp-hero__breadcrumb a:hover { color: var(--tt-color-accent); }

.pp-hero__breadcrumb .bc-sep {
  width: 14px; 
  height: 14px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  opacity: 0.5; 
  flex-shrink: 0;
}

.pp-hero__breadcrumb .bc-current { 
  color: var(--tt-color-text-secondary); 
  font-weight: 600; 
}

/* Logo Hero tự cân đối */
.pp-hero__pinfo {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-3);
  margin-bottom: var(--tt-space-4);
}

.pp-hero__plogo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: clamp(36px, 4vw, 44px);
  max-width: 140px;
  flex-shrink: 0;
}

.pp-hero__plogo {
  width: auto !important;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.pp-hero__pname {
  font-size: var(--tt-text-sm);
  font-weight: 700;
  color: var(--tt-color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.pp-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px var(--tt-space-3);
  background: var(--tt-color-accent-light);
  color: var(--tt-color-accent);
  border-radius: var(--tt-radius-full);
  font-size: var(--tt-text-xs);
  font-weight: 600;
  margin-bottom: var(--tt-space-4);
  letter-spacing: 0.02em;
}

/* Hero Typography */
.pp-hero__title {
  font-size: var(--tt-h1-size);
  font-weight: var(--tt-h1-weight);
  color: var(--tt-color-text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--tt-space-4);
}

.pp-hero__title-highlight { color: var(--tt-color-accent); }

.pp-hero__subtitle {
  font-size: var(--tt-text-lg);
  font-weight: 500;
  color: var(--tt-color-text-primary);
  margin-bottom: var(--tt-space-3);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.pp-hero__desc {
  font-size: var(--tt-text-base);
  color: var(--tt-color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--tt-space-6);
  max-width: var(--pp-hero-desc-width);
}

.pp-hero__desc p { margin-bottom: var(--tt-space-2); }
.pp-hero__desc p:last-child { margin-bottom: 0; }

.pp-hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--tt-space-3);
}

@media (min-width: 640px) {
  .pp-hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Visual: Không cắt xén, không bo góc, không shadow */
.pp-hero__image-wrap {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-hero__image-wrap img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

/* Video Wrapper Hero */
.pp-hero__video-wrap {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}

.pp-hero__video-poster {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

.pp-hero__video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 127, 140, 0.05);
  border-radius: var(--tt-radius-md);
}

.pp-hero__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(3, 127, 140, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(3, 127, 140, 0.4);
  pointer-events: none;
  z-index: 5;
}

.pp-hero__video-play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.pp-hero__video-wrap:hover .pp-hero__video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(3, 127, 140, 1);
  box-shadow: 0 6px 24px rgba(3, 127, 140, 0.55);
}

@media (max-width: 767px) {
  .pp-hero__video-play { width: 52px; height: 52px; }
  .pp-hero__video-play svg { width: 20px; height: 20px; }
}

/* ====================================================
   HERO BACKGROUND VIDEO & TOGGLE (M3 Tokens & Dual Themes)
   ==================================================== */
.pp-hero__bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.pp-hero__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Nút Toggle cơ sở: Sử dụng Glassmorphism thích ứng */
.pp-hero__video-toggle {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  outline: none;
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.pp-hero__video-toggle svg {
  display: block;
  transition: transform 0.2s ease;
}

.pp-hero__video-toggle:hover {
  transform: scale(1.08);
}

.pp-hero__video-toggle:active {
  transform: scale(0.95);
}

.pp-hero__video-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--tt-color-primary, #0066cc);
}

/* ----------------------------------------------------
   1. STYLE DÀNH CHO THEME TỐI (Dark Mode / Dark Hero)
   ---------------------------------------------------- */
.pp-hero--theme-dark .pp-hero__video-toggle,
[data-theme="dark"] .pp-hero .pp-hero__video-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.pp-hero--theme-dark .pp-hero__video-toggle:hover,
[data-theme="dark"] .pp-hero .pp-hero__video-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ----------------------------------------------------
   2. STYLE DÀNH CHO THEME SÁNG (Light / White Hero)
   ---------------------------------------------------- */
.pp-hero--theme-white .pp-hero__video-toggle,
.pp-hero--theme-light .pp-hero__video-toggle,
[data-theme="light"] .pp-hero .pp-hero__video-toggle {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.08);
  color: #191C1D;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pp-hero--theme-white .pp-hero__video-toggle:hover,
.pp-hero--theme-light .pp-hero__video-toggle:hover,
[data-theme="light"] .pp-hero .pp-hero__video-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.16);
  color: #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------------
   3. STYLE DÀNH CHO THEME XÁM (Gray Hero)
   ---------------------------------------------------- */
.pp-hero--theme-gray .pp-hero__video-toggle {
  background: rgba(230, 232, 235, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
  color: #2c3035;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pp-hero--theme-gray .pp-hero__video-toggle:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.18);
  color: #191C1D;
}

/* Mobile: Thu gọn kích thước để không che khuất nội dung */
@media (max-width: 640px) {
  .pp-hero__video-toggle {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .pp-hero__video-toggle svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   6. STICKY NAVIGATION (#sticky-nav)
   ========================================================================== */
.pp-sticky-nav {
  display: block !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease !important;
  z-index: var(--tt-z-sticky);
}

.pp-sticky-nav.is-fixed {
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.08), 0 4px 10px 0 rgba(0,0,0,0.04) !important;
  border-bottom: transparent !important;
}

.pp-sticky-nav__container {
  max-width: var(--tt-max-width, 1280px) !important;
  margin: 0 auto;
  padding: 0 20px !important;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, black calc(100% - 40px), transparent);
}

.pp-sticky-nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: var(--tt-space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0; 
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.pp-sticky-nav__inner::-webkit-scrollbar { display: none; }

.pp-sticky-nav__link {
  scroll-snap-align: start;
  padding: 8px 16px;
  font-size: var(--tt-text-sm);
  font-family: var(--tt-font-family);
  font-weight: 500;
  border-radius: var(--tt-radius-full) !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}

@media (max-width: 767px) {
  .pp-sticky-nav__link { font-size: var(--tt-text-xs); padding: 6px 14px; }
}

.pp-sticky-nav--light { background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid var(--tt-color-border-light); }
.pp-sticky-nav--light .pp-sticky-nav__link { color: var(--tt-color-text-secondary); }
.pp-sticky-nav--light .pp-sticky-nav__link:hover, 
.pp-sticky-nav--light .pp-sticky-nav__link.active { background: rgba(3, 127, 140, 0.1); color: var(--tt-color-accent); font-weight: 600; }

.pp-sticky-nav--gray { background: rgba(243, 244, 246, 0.9); border-bottom: 1px solid rgba(0,0,0,0.05); }
.pp-sticky-nav--gray .pp-sticky-nav__link { color: #4B5563; }
.pp-sticky-nav--gray .pp-sticky-nav__link:hover, 
.pp-sticky-nav--gray .pp-sticky-nav__link.active { background: rgba(3, 127, 140, 0.1); color: var(--tt-color-accent); font-weight: 600; }

.pp-sticky-nav--dark { background: rgba(13, 13, 13, 0.85); border-bottom: 1px solid rgba(255,255,255,0.1); }
.pp-sticky-nav--dark .pp-sticky-nav__link { color: rgba(255,255,255,0.7); }
.pp-sticky-nav--dark .pp-sticky-nav__link:hover, 
.pp-sticky-nav--dark .pp-sticky-nav__link.active { background: rgba(5, 181, 200, 0.15); color: #05B5C8; font-weight: 600; }

/* ==========================================================================
   7. VALUE PROPS (#value-props)
   ========================================================================== */
.pp-vc-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--tt-space-5); 
}

@media (min-width: 640px) { 
  .pp-vc-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

@media (min-width: 1024px) { 
  .pp-vc-grid { 
    grid-template-columns: repeat(3, 1fr); 
  } 
}

.pp-vc { 
  background: var(--tt-color-surface); 
  border: 1px solid var(--tt-color-border); 
  border-radius: var(--tt-radius-md); 
  padding: var(--tt-space-6); 
  transition: all var(--tt-transition-slow); 
  display: flex;
  flex-direction: column;
}

.pp-vc:hover { 
  border-color: var(--tt-color-accent); 
  box-shadow: var(--tt-shadow-card-hover); 
}

.pp-vc__icon { 
  width: 48px; 
  height: 48px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: var(--tt-color-accent-light); 
  border-radius: var(--tt-radius-sm); 
  margin-bottom: var(--tt-space-4); 
  color: var(--tt-color-accent); 
}

.pp-vc__icon svg { 
  width: 24px; 
  height: 24px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-vc__title { 
  font-size: var(--tt-card-title-lg); 
  font-weight: 600; 
  color: var(--tt-color-text-primary); 
  margin-bottom: var(--tt-space-4); 
  line-height: 1.35;
}

.pp-vc__desc { 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.7; 
  margin-bottom: var(--tt-space-4); 
}

/* ── DANH SÁCH & ĐƯỜNG KẺ VALUE PROPS ── */
.pp-vc__list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.pp-vc__list li { 
  position: relative; 
  padding-left: var(--tt-space-5); 
  margin-bottom: var(--tt-space-2); 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.6; 
}

/* Căn tâm chấm tròn thẳng hàng với chữ cái đầu dòng */
.pp-vc__list li::before { 
  content: ''; 
  position: absolute; 
  left: 0; 
  top: 0.6em; 
  width: 7px; 
  height: 7px; 
  border-radius: 50%; 
  background: var(--tt-color-accent); 
}

/* Danh sách dạng checkmark */
.pp-vc__list--check li { 
  padding-left: var(--tt-space-6); 
}

.pp-vc__list--check li::before { 
  background: none; 
  border-radius: 0; 
  width: 16px; 
  height: 16px; 
  top: 0.25em; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23037F8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); 
  background-size: contain; 
  background-repeat: no-repeat; 
}

/* Khi bật gạch ngang chia dòng (list_divider) */
.pp-vc__list--divider li {
  padding-block: var(--tt-space-4); 
  margin-bottom: 0;
  border-bottom: 1px solid var(--tt-color-border); 
}

.pp-vc__list--divider li:first-child {
  padding-top: var(--tt-space-2);
}

.pp-vc__list--divider li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Khóa vị trí chấm tròn khi có gạch ngang */
.pp-vc__list--divider li::before {
  top: calc(var(--tt-space-4) + 0.55em);
}

.pp-vc__list--divider li:first-child::before {
  top: calc(var(--tt-space-2) + 0.55em);
}

.pp-vc__list--divider.pp-vc__list--check li::before {
  top: calc(var(--tt-space-4) + 0.2em);
}

.pp-vc__list--divider.pp-vc__list--check li:first-child::before {
  top: calc(var(--tt-space-2) + 0.2em);
}

/* Hỗ trợ gạch ngang ở Dark Mode rõ nét */
.tt-dark .pp-vc__list--divider li,
.pp-section--dark .pp-vc__list--divider li {
  border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}

/* ── LINK & THUMBNAIL ── */
.pp-vc__link { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  margin-top: auto; 
  padding-top: var(--tt-space-4);
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-accent); 
  text-decoration: none;
  transition: gap var(--tt-transition-base), color var(--tt-transition-base); 
}

.pp-vc__link:hover { 
  gap: var(--tt-space-3); 
  color: var(--tt-color-accent-hover); 
}

.pp-vc__link svg { 
  width: 16px; 
  height: 16px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-vc__thumb { 
  width: 100%; 
  margin-bottom: var(--tt-space-5); 
  border-radius: var(--tt-radius-sm); 
  overflow: hidden; 
  position: relative; 
  background: var(--tt-color-bg-gray); 
  aspect-ratio: 16 / 9; 
}

.pp-vc__thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transition: transform var(--tt-transition-slow); 
}

.pp-vc:hover .pp-vc__thumb img { 
  transform: scale(1.04); 
}

.pp-vc__thumb--video { 
  cursor: pointer; 
}

.pp-vc__thumb-overlay { 
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: rgba(0, 0, 0, 0.25); 
  transition: background var(--tt-transition-base); 
}

.pp-vc__thumb--video:hover .pp-vc__thumb-overlay { 
  background: rgba(0, 0, 0, 0.45); 
}

.pp-vc__thumb-overlay svg { 
  width: 52px; 
  height: 52px; 
  fill: #fff; 
  stroke: none; 
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)); 
  flex-shrink: 0; 
}

/* ── BADGES CUỐI SECTION ── */
.pp-badges { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: var(--tt-space-6); 
  margin-top: var(--tt-space-10); 
}

.pp-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  font-size: var(--tt-text-sm); 
  font-weight: 500; 
  color: var(--tt-color-text-secondary); 
}

.pp-badge .material-icons-outlined { 
  font-size: 20px; 
  color: var(--tt-color-accent); 
}

/* ==========================================================
   8. FEATURES (#features) — MATERIAL 3 STANDARDIZED
   ========================================================== */
.pp-fr { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--tt-space-8); 
  align-items: center; 
  padding-block: var(--tt-space-8); 
}

/* Đường kẻ phân cách giữa các hàng tính năng */
.pp-fr + .pp-fr { 
  border-top: 1px solid var(--tt-color-border-light); 
}

/* Tắt gạch ngang khi SCF chọn TẮT divider */
.pp-fr--no-divider .pp-fr,
.pp-fr--no-divider .pp-fr + .pp-fr,
.pp-section--no-divider .pp-fr + .pp-fr { 
  border-top: none !important; 
}

/* ── DESKTOP (TRÊN 768PX): TỰ ĐỘNG SO LE TRÁI / PHẢI ── */
@media (min-width: 768px) {
  .pp-fr { 
    grid-template-columns: 5fr 7fr; 
    gap: var(--tt-space-10); 
    padding-block: var(--tt-space-10); 
  }
  .pp-fr .pp-fr__visual { 
    order: 1 !important; 
  }
  .pp-fr .pp-fr__content { 
    order: 2 !important; 
  }

  .pp-fr--r { 
    grid-template-columns: 7fr 5fr; 
  }
  .pp-fr--r .pp-fr__content { 
    order: 1 !important; 
  }
  .pp-fr--r .pp-fr__visual { 
    order: 2 !important; 
  }
}

/* ── MOBILE (DƯỚI 768PX): ĐIỀU KHIỂN HÌNH NẰM TRÊN HOẶC DƯỚI ── */
@media (max-width: 767px) {
  .pp-fr, 
  .pp-fr--r { 
    grid-template-columns: 1fr !important; 
    gap: var(--tt-space-6) !important; 
  }

  .pp-fr .pp-fr__visual,
  .pp-fr--m-img-top .pp-fr__visual { 
    order: 1 !important; 
  }
  .pp-fr .pp-fr__content,
  .pp-fr--m-img-top .pp-fr__content { 
    order: 2 !important; 
  }

  .pp-fr--m-img-bottom .pp-fr__content,
  .pp-fr--mobile-img-bottom .pp-fr__content { 
    order: 1 !important; 
  }
  .pp-fr--m-img-bottom .pp-fr__visual,
  .pp-fr--mobile-img-bottom .pp-fr__visual { 
    order: 2 !important; 
  }
}

/* ── KHUNG CHỨA HÌNH ẢNH / VIDEO CHUẨN TỶ LỆ ── */
.pp-fr__visual { 
  width: 100% !important;
  max-width: 580px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  max-height: clamp(280px, 35vw, 400px); 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  overflow: hidden;
  background: transparent;
  border-radius: var(--tt-radius-md);
  transition: box-shadow var(--tt-transition-base), border-color var(--tt-transition-base);
}

/* ── CÁC KIỂU HÌNH: VIỀN & BÓNG ĐỔ (THEO TÙY CHỌN ADMIN) ── */
.pp-fr__visual--border { 
  border: 1px solid var(--tt-color-border-light) !important;
  background: var(--tt-color-surface) !important;
  padding: var(--tt-space-3);
}

.pp-fr__visual--shadow { 
  box-shadow: var(--tt-shadow-card-hover) !important;
  background: var(--tt-color-surface) !important;
}

.pp-fr__visual--border.pp-fr__visual--shadow {
  border: 1px solid var(--tt-color-border-light) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

/* ── ẢNH & VIDEO BÊN TRONG: GIỮ NGUYÊN TỶ LỆ, KHÔNG CẮT DỌC ── */
.pp-fr__visual img,
.pp-fr__video-container > img { 
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important; 
  object-position: center !important;
  display: block; 
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important; 
  transition: none !important; 
}

.pp-fr:hover .pp-fr__visual img { 
  transform: none !important; 
}

/* Khung Video */
.pp-fr__video-container { 
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative; 
  cursor: pointer; 
  background: transparent !important;
}

.pp-fr__video-play { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%) scale(1); 
  width: 64px; 
  height: 64px; 
  border-radius: var(--tt-radius-full); 
  background: rgba(3, 127, 140, 0.9); 
  color: #fff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: transform var(--tt-transition-base), background var(--tt-transition-base), box-shadow var(--tt-transition-base); 
  box-shadow: 0 4px 20px rgba(3, 127, 140, 0.4); 
  pointer-events: none; 
  z-index: 5; 
}

.pp-fr__video-play svg { 
  width: 24px; 
  height: 24px; 
  margin-left: 3px; 
  fill: currentColor; 
  stroke: none; 
  flex-shrink: 0; 
}

.pp-fr__video-container:hover .pp-fr__video-play { 
  transform: translate(-50%, -50%) scale(1.1); 
  background: var(--tt-color-accent); 
  box-shadow: 0 6px 24px rgba(3, 127, 140, 0.55); 
}

@media (max-width: 767px) { 
  .pp-fr__visual {
    max-width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 280px;
    margin-bottom: var(--tt-space-2);
  }
  .pp-fr__video-play { width: 50px; height: 50px; } 
  .pp-fr__video-play svg { width: 20px; height: 20px; } 
}

/* ── NỘI DUNG VĂN BẢN & BULLETS ── */
.pp-fr__content h3 { 
  font-size: var(--tt-h3-size); 
  font-weight: 700; 
  color: var(--tt-color-text-primary); 
  margin-bottom: var(--tt-space-4); 
  letter-spacing: -0.01em; 
  line-height: 1.3; 
}

.pp-fr__desc { 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.75; 
  margin-bottom: var(--tt-space-5); 
}

.pp-fr__desc p { margin-bottom: var(--tt-space-3); line-height: 1.75; }
.pp-fr__desc p:last-child { margin-bottom: 0; }
.pp-fr__desc strong { color: var(--tt-color-text-primary); font-weight: 600; }
.pp-fr__desc a { 
  color: var(--tt-color-accent); 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 2px; 
  font-weight: 500; 
}

.pp-fr__bullets { 
  padding: 0; 
  margin: 0 0 var(--tt-space-6) 0; 
  list-style: none;
}

.pp-fr__bullets li { 
  position: relative; 
  padding-left: var(--tt-space-6); 
  margin-bottom: var(--tt-space-3); 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.65; 
}

.pp-fr__bullets li:last-child { margin-bottom: 0; }

.pp-fr__bullets li::before { 
  content: ''; 
  position: absolute; 
  left: 0; 
  top: 0.55rem; 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--tt-color-accent); 
}

.pp-fr__bullets--check li { 
  padding-left: var(--tt-space-8); 
}

.pp-fr__bullets--check li::before { 
  width: 18px; 
  height: 18px; 
  top: 0.25rem; 
  border-radius: 0; 
  background: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23037F8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); 
  background-size: contain; 
  background-repeat: no-repeat; 
}

/* ── TYPOGRAPHY BÊN TRONG BULLETS FEATURES ── */
.pp-fr__bullets li strong,
.pp-fr__bullets li b {
  font-weight: 600;
  color: var(--tt-color-text-primary); /* Đen sẫm nổi bật hơn văn bản thường */
}

.pp-fr__bullets li a {
  color: var(--tt-color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(3, 127, 140, 0.35);
  text-underline-offset: 3px;
  transition: color var(--tt-transition-base), text-decoration-color var(--tt-transition-base);
}

.pp-fr__bullets li a:hover {
  color: var(--tt-color-accent-hover);
  text-decoration-color: var(--tt-color-accent-hover);
}

.pp-fr__bullets li code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875em;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: var(--tt-color-bg-gray);
  color: var(--tt-color-accent);
}

/* ── NÚT BẤM CTA VÀ TEXT LINK MATERIAL 3 ── */
.pp-fr__actions { 
  display: flex; 
  flex-wrap: wrap; 
  gap: var(--tt-space-4); 
  align-items: center; 
  margin-top: var(--tt-space-6); 
}

@media (max-width: 640px) { 
  .pp-fr__actions { 
    flex-direction: column; 
    align-items: stretch; 
  } 
  .pp-fr__actions .pp-btn { 
    width: 100%; 
  } 
}

.pp-fr__link { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-accent); 
  text-decoration: none; 
  padding: 8px 14px;
  border-radius: var(--tt-radius-sm);
  transition: background-color var(--tt-transition-base), color var(--tt-transition-base); 
}

.pp-fr__link:hover { 
  color: var(--tt-color-accent-hover); 
  background-color: var(--tt-color-accent-light);
}

.pp-fr__link svg { 
  width: 1.125em; 
  height: 1.125em; 
  min-width: 16px; 
  min-height: 16px; 
  flex-shrink: 0; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  transition: transform var(--tt-transition-base);
}/* ==========================================================================
   9. STATS (#stats)
   ========================================================================== */
.pp-stats { 
  background: var(--pp-stats-bg); 
  position: relative; 
  overflow: hidden; 
}

.pp-stats::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); 
  background-size: 40px 40px; 
  pointer-events: none; 
}

.pp-stats__grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--tt-space-6); 
  position: relative; 
  z-index: 1; 
}

@media (min-width: 640px) { .pp-stats__grid { grid-template-columns: repeat(3, 1fr); gap: var(--tt-space-12); } }

.pp-stat { text-align: center; padding: var(--tt-space-5) var(--tt-space-4); }
.pp-stat__value { font-size: var(--pp-counter-size); font-weight: 800; color: #fff; line-height: 1; margin-bottom: var(--tt-space-3); letter-spacing: -0.03em; }
.pp-stat__label { font-size: var(--tt-text-base); color: rgba(255,255,255,0.75); font-weight: 500; }

/* ==========================================================
   10. SPECS TABLE (#specs) — GOOGLE MATERIAL SPEC SHEET
   ========================================================== */
.pp-specs {
  position: relative;
}

.pp-section--hide-mobile { 
  display: none; 
}

@media (min-width: 768px) { 
  .pp-section--hide-mobile { 
    display: block; 
  } 
}

.pp-specs__table-wrap { 
  width: 100% !important; 
  max-width: 100% !important; 
  overflow-x: auto !important; 
  -webkit-overflow-scrolling: touch !important; 
  border: 1px solid var(--tt-color-border-light); 
  border-radius: var(--tt-radius-md); 
  background: var(--tt-color-surface); 
  box-shadow: var(--tt-shadow-card);
  position: relative;
}

.pp-specs__table { 
  width: 100%; 
  min-width: 600px; 
  border-collapse: separate; 
  border-spacing: 0; 
  text-align: left;
}

.pp-specs__table thead th { 
  position: sticky; 
  top: 0; 
  background: var(--tt-color-bg-gray); 
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-xs); 
  font-weight: 700; 
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tt-color-text-secondary); 
  padding: var(--tt-space-4) var(--tt-space-5); 
  border-bottom: 2px solid var(--tt-color-border-light); 
  white-space: nowrap; 
  z-index: 3; 
}

.pp-specs__table thead th:first-child, 
.pp-specs__table td:first-child { 
  position: sticky;
  left: 0;
  background: inherit;
  z-index: 2;
  font-weight: 600;
  color: var(--tt-color-text-primary);
  min-width: 180px;
  border-right: 1px solid var(--tt-color-border-light);
}

.pp-specs__table thead th:first-child {
  z-index: 4;
  background: var(--tt-color-bg-gray);
}

.pp-specs__table td { 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-secondary); 
  padding: var(--tt-space-4) var(--tt-space-5); 
  border-bottom: 1px solid var(--tt-color-border-light); 
  vertical-align: middle; 
  line-height: 1.6; 
  transition: background-color var(--tt-transition-base);
}

.pp-specs__table tbody tr {
  background: var(--tt-color-surface);
}

.pp-specs__table tbody tr:last-child td { 
  border-bottom: none; 
}

.pp-specs__table tbody tr:hover td { 
  background-color: var(--tt-color-primary-container, rgba(3, 127, 140, 0.04)); 
}

.pp-col--left   { text-align: left; } 
.pp-col--center { text-align: center; } 
.pp-col--right  { text-align: right; }

.pp-specs__value { 
  font-family: var(--tt-font-family); 
  font-weight: 600; 
  color: var(--tt-color-accent); 
  font-variant-numeric: tabular-nums; 
}

.pp-cell--highlight td { 
  background-color: var(--tt-color-primary-container, rgba(3, 127, 140, 0.04)); 
}

.pp-cell--uppercase {
  text-transform: uppercase;
  font-size: var(--tt-text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pp-cell--strikethrough {
  text-decoration: line-through;
  opacity: 0.5;
}

.pp-cell--icon { 
  text-align: center; 
  width: 64px; 
}

.pp-cell__icon { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 24px; 
  height: 24px; 
  border-radius: var(--tt-radius-full);
}

.pp-cell__icon svg { 
  width: 18px; 
  height: 18px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2.5; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-cell__icon--check { 
  color: var(--tt-color-accent); 
  background: var(--tt-color-accent-light);
}

.pp-cell__icon--cross { 
  color: #DC2626; 
  background: rgba(220, 38, 38, 0.08);
}

.pp-cell__icon--dash { 
  color: var(--tt-color-text-tertiary); 
}

.pp-specs__table td a { 
  color: var(--tt-color-accent); 
  font-weight: 500; 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 2px; 
}

.pp-specs__table td a:hover { 
  text-decoration-color: var(--tt-color-accent); 
}

.pp-specs__foot { 
  display: flex; 
  justify-content: center; 
  align-items: center;
  flex-wrap: wrap;
  gap: var(--tt-space-4);
  margin-top: var(--tt-space-8); 
}

.pp-specs__pdf-link { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-accent); 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 3px; 
  transition: all var(--tt-transition-base); 
}

.pp-specs__pdf-link:hover { 
  color: var(--tt-color-accent-hover); 
  text-decoration-color: var(--tt-color-accent); 
  gap: var(--tt-space-3);
}

.pp-specs__pdf-link svg { 
  width: 18px; 
  height: 18px; 
  flex-shrink: 0; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-specs__cta-link { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: var(--tt-space-2); 
  padding: var(--tt-space-3) var(--tt-space-6); 
  background: var(--tt-color-accent); 
  color: var(--tt-color-on-accent); 
  font-family: var(--tt-font-family); 
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  text-decoration: none; 
  border-radius: var(--tt-radius-full); 
  cursor: pointer; 
  border: none; 
  line-height: 1.4; 
  white-space: nowrap; 
  box-shadow: 0 1px 2px rgba(3, 127, 140, 0.15);
  transition: background var(--tt-transition-base), box-shadow var(--tt-transition-base); 
}

.pp-specs__cta-link:hover { 
  background: var(--tt-color-accent-hover); 
  color: var(--tt-color-on-accent); 
  box-shadow: 0 4px 12px rgba(3, 127, 140, 0.25); 
}

.pp-specs__cta-link svg { 
  width: 1.125em; 
  height: 1.125em; 
  min-width: 16px; 
  min-height: 16px; 
  flex-shrink: 0; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  transition: transform var(--tt-transition-base); 
}
.pp-badge[data-color="green"] .material-icons-outlined { color: #16a34a; }
.pp-badge[data-color="amber"] .material-icons-outlined { color: #d97706; }
.pp-badge[data-color="blue"]  .material-icons-outlined { color: #2563eb; }
.pp-badge[data-color="red"]   .material-icons-outlined { color: #dc2626; }

.material-icons-outlined,
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', 'Material Icons Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* ==========================================================
   11. PRICING SECTION (#pricing) — MATERIAL 3 OPTIMIZED
   ========================================================== */
.pp-prc-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--tt-space-6); 
  align-items: stretch; 
}

@media (min-width: 640px) { 
  .pp-prc-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

@media (min-width: 1024px) { 
  .pp-prc-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: var(--tt-space-8); 
  } 
}

.pp-prc { 
  background: var(--tt-color-surface); 
  border: 1.5px solid var(--tt-color-border-light); 
  border-radius: var(--tt-radius-lg); 
  padding: var(--tt-space-8) var(--tt-space-6); 
  display: flex; 
  flex-direction: column; 
  position: relative; 
  box-shadow: var(--tt-shadow-card);
  transition: border-color var(--tt-transition-base), box-shadow var(--tt-transition-base), transform var(--tt-transition-base); 
}

.pp-prc:hover { 
  border-color: var(--tt-color-accent); 
  box-shadow: var(--tt-shadow-card-hover); 
}

.pp-prc--featured { 
  border-color: var(--tt-color-accent); 
  border-width: 2px;
  box-shadow: 0 8px 30px rgba(3, 127, 140, 0.12); 
}

.pp-prc--featured:hover {
  box-shadow: 0 12px 36px rgba(3, 127, 140, 0.18);
}

.pp-prc__badge { 
  position: absolute; 
  top: -14px; 
  left: 50%; 
  transform: translateX(-50%); 
  background: var(--tt-color-accent); 
  color: #fff; 
  font-size: var(--tt-text-xs); 
  font-weight: 700; 
  padding: 4px var(--tt-space-4); 
  border-radius: var(--tt-radius-full); 
  text-transform: uppercase; 
  letter-spacing: 0.06em; 
  box-shadow: 0 2px 6px rgba(3, 127, 140, 0.3);
  white-space: nowrap;
}

.pp-prc__name { 
  font-size: var(--tt-h3-size); 
  font-weight: 700; 
  color: var(--tt-color-text-primary); 
  margin-bottom: var(--tt-space-2); 
  line-height: 1.3;
}

.pp-prc__desc { 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.6; 
  margin-bottom: var(--tt-space-5); 
  min-height: 2.8em; 
}

.pp-prc__price-block { 
  margin-bottom: var(--tt-space-6); 
  padding-bottom: var(--tt-space-5); 
  border-bottom: 1px solid var(--tt-color-border-light); 
}

.pp-prc__price-row { 
  display: flex; 
  align-items: baseline; 
  gap: var(--tt-space-2); 
  flex-wrap: wrap;
}

.pp-prc__price { 
  font-size: clamp(1.75rem, 3.2vw, 2.25rem); 
  font-weight: 800; 
  color: var(--tt-color-accent); 
  letter-spacing: -0.025em; 
  line-height: 1.15; 
}

.pp-prc__price-period { 
  font-size: var(--tt-text-sm); 
  font-weight: 500; 
  color: var(--tt-color-text-tertiary); 
}

.pp-prc__price-note { 
  display: block; 
  font-size: var(--tt-text-xs); 
  color: var(--tt-color-text-tertiary); 
  margin-top: var(--tt-space-1); 
  line-height: 1.4; 
}

.pp-prc__feat-section { 
  flex-grow: 1; 
  display: flex;
  flex-direction: column;
  margin-bottom: var(--tt-space-6); 
}

.pp-prc__feat-title { 
  font-size: var(--tt-text-xs); 
  font-weight: 700; 
  color: var(--tt-color-text-tertiary); 
  text-transform: uppercase; 
  letter-spacing: 0.06em; 
  margin-bottom: var(--tt-space-3); 
}

.pp-prc__features { 
  display: flex; 
  flex-direction: column; 
  gap: var(--tt-space-3); 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}

.pp-feat { 
  display: flex; 
  align-items: flex-start; 
  gap: var(--tt-space-3); 
}

.pp-feat__icon { 
  width: 18px; 
  height: 18px; 
  flex-shrink: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-top: 2px; 
}

.pp-feat__icon svg { 
  width: 16px; 
  height: 16px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2.5; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-feat__icon--dot::before { 
  content: ''; 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: var(--tt-color-accent); 
}

.pp-feat__icon--check { color: var(--tt-color-accent); }
.pp-feat__icon--x { color: #DC2626; }

.pp-feat__text { 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.5; 
}

.pp-feat__text a { 
  color: var(--tt-color-accent); 
  font-weight: 500; 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 2px; 
}

.pp-feat__text--accent { 
  color: var(--tt-color-accent); 
  font-weight: 600; 
}

.pp-feat--off .pp-feat__text { 
  color: var(--tt-color-text-tertiary); 
  text-decoration: line-through; 
  opacity: 0.7;
}

.pp-prc__ctas { 
  display: flex; 
  flex-direction: column; 
  gap: var(--tt-space-3); 
  margin-top: auto; 
}

.pp-prc__ctas .pp-btn {
  width: 100%;
}

.pp-prc__badges { 
  display: flex; 
  flex-wrap: wrap; 
  gap: var(--tt-space-2); 
  padding-top: var(--tt-space-4); 
  margin-top: var(--tt-space-4);
  border-top: 1px dashed var(--tt-color-border-light); 
}

.pp-badge-pill { 
  display: inline-flex; 
  align-items: center; 
  padding: 3px var(--tt-space-3); 
  background: var(--tt-color-bg-gray); 
  border: 1px solid var(--tt-color-border-light); 
  border-radius: var(--tt-radius-full); 
  font-size: var(--tt-text-xs); 
  font-weight: 500; 
  color: var(--tt-color-text-secondary); 
  text-decoration: none; 
  transition: all var(--tt-transition-base); 
}

a.pp-badge-pill:hover { 
  border-color: var(--tt-color-accent); 
  color: var(--tt-color-accent); 
  background: var(--tt-color-accent-light); 
}

/* ==========================================================================
   12. USE CASES (#use-cases) — MATERIAL 3 STANDARDIZED
   ========================================================================== */
.pp-uc-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--tt-space-5); 
  align-items: stretch;
}

@media (min-width: 640px) { 
  .pp-uc-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

@media (min-width: 1024px) { 
  .pp-uc-grid { 
    grid-template-columns: repeat(3, 1fr); 
  } 
}

/* Thẻ Card */
a.pp-uc-card, 
div.pp-uc-card { 
  background: var(--tt-color-surface); 
  border: 1px solid var(--tt-color-border); 
  border-radius: var(--tt-radius-md); 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  height: 100%; 
  text-decoration: none; 
  color: inherit;
  box-shadow: var(--tt-shadow-card);
  transition: box-shadow var(--tt-transition-base), border-color var(--tt-transition-base), transform var(--tt-transition-base);
}

a.pp-uc-card:hover, 
div.pp-uc-card:hover { 
  border-color: var(--tt-color-accent); 
  box-shadow: var(--tt-shadow-card-hover); 
  color: inherit;
}

/* Hình ảnh Card */
.pp-uc-card__image { 
  width: 100%; 
  height: 200px; 
  overflow: hidden; 
  background: var(--tt-color-bg-gray); 
  flex-shrink: 0;
}

.pp-uc-card__image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transition: transform var(--tt-transition-slow);
}

.pp-uc-card:hover .pp-uc-card__image img { 
  transform: scale(1.05); 
}

/* Thân Card */
.pp-uc-card__body { 
  padding: var(--tt-space-5); 
  display: flex; 
  flex-direction: column; 
  flex: 1; 
}

.pp-uc-card__title { 
  font-size: var(--tt-card-title-lg); 
  font-weight: 600; 
  color: var(--tt-color-text-primary); 
  margin-bottom: var(--tt-space-3); 
  line-height: 1.35;
  transition: color var(--tt-transition-base);
}

.pp-uc-card:hover .pp-uc-card__title { 
  color: var(--tt-color-accent); 
}

.pp-uc-card__desc { 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.7; 
  margin-bottom: var(--tt-space-4); 
}

.pp-uc-card__desc p { 
  margin-bottom: var(--tt-space-2); 
}

.pp-uc-card__desc p:last-child { 
  margin-bottom: 0; 
}

.pp-uc-card__desc strong { 
  color: var(--tt-color-text-primary); 
  font-weight: 600; 
}

.pp-uc-card__desc a { 
  color: var(--tt-color-accent); 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 2px; 
}

/* ── CHECKLIST ĐỦ 4 KIỂU: NONE, DOT, CHECK, DASH ── */
.pp-uc-card__checklist { 
  list-style: none !important; 
  padding: 0 !important; 
  margin: 0 0 var(--tt-space-4) 0 !important; 
}

.pp-uc-card__checklist li { 
  position: relative !important; 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.6; 
  padding-block: var(--tt-space-3); 
  border-bottom: 1px solid var(--tt-color-border-light); 
}

.pp-uc-card__checklist li:first-child { 
  padding-top: var(--tt-space-1); 
}

.pp-uc-card__checklist li:last-child { 
  border-bottom: none !important; 
  padding-bottom: 0; 
}

/* 1. Dạng Chấm tròn (Dot) */
.pp-uc-card__checklist--dot li,
.pp-uc-card__checklist li { 
  padding-left: var(--tt-space-5) !important; 
}

.pp-uc-card__checklist--dot li::before,
.pp-uc-card__checklist li::before { 
  content: '' !important; 
  position: absolute !important; 
  left: 0 !important; 
  top: calc(var(--tt-space-3) + 0.55em) !important; 
  width: 7px !important; 
  height: 7px !important; 
  border-radius: 50% !important; 
  background: var(--tt-color-accent) !important; 
}

.pp-uc-card__checklist--dot li:first-child::before,
.pp-uc-card__checklist li:first-child::before {
  top: calc(var(--tt-space-1) + 0.55em) !important;
}

/* 2. Dạng Gạch ngang (Dash) */
.pp-uc-card__checklist--dash li { 
  padding-left: var(--tt-space-5) !important; 
}

.pp-uc-card__checklist--dash li::before { 
  content: '' !important; 
  position: absolute !important; 
  left: 0 !important; 
  top: calc(var(--tt-space-3) + 0.75em) !important; 
  width: 10px !important; 
  height: 2px !important; 
  border-radius: 1px !important; 
  background: var(--tt-color-accent) !important; 
}

.pp-uc-card__checklist--dash li:first-child::before {
  top: calc(var(--tt-space-1) + 0.75em) !important;
}

/* 3. Dạng Dấu tick (Check) */
.pp-uc-card__checklist--check li { 
  padding-left: var(--tt-space-7) !important; 
}

.pp-uc-card__checklist--check li::before { 
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  width: 18px !important; 
  height: 18px !important; 
  top: calc(var(--tt-space-3) + 0.15em) !important; 
  border-radius: 0 !important; 
  background: none !important; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23037F8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important; 
  background-size: contain !important; 
  background-repeat: no-repeat !important; 
}

.pp-uc-card__checklist--check li:first-child::before {
  top: calc(var(--tt-space-1) + 0.15em) !important;
}

/* Nút / Link ở chân Card */
.pp-uc-card__action, 
.pp-uc-card__link-wrap { 
  margin-top: auto; 
  padding-top: var(--tt-space-4); 
  display: flex;
  justify-content: flex-end;
}

.pp-uc-card__link { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-accent); 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 3px; 
  transition: all var(--tt-transition-base); 
}

.pp-uc-card__link:hover { 
  color: var(--tt-color-accent-hover); 
  text-decoration-color: var(--tt-color-accent); 
  gap: var(--tt-space-3); 
}

.pp-uc-card__link svg { 
  width: 16px; 
  height: 16px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  transition: transform var(--tt-transition-base); 
  flex-shrink: 0; 
}
/* Nút CTA chân Section */
.pp-uc-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--tt-space-10);
}

/* Huy hiệu Badges của Section */
.pp-section-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--tt-space-4) var(--tt-space-6);
  margin-top: var(--tt-space-8);
}

.pp-section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--tt-space-2);
  font-size: var(--tt-text-sm);
  color: var(--tt-color-text-secondary);
  font-weight: 500;
}

.pp-section-badge .material-icons-outlined {
  font-size: 18px;
}

/* Mobile Slider cho Use Cases */
@media (max-width: 767px) {
  .pp-uc-grid {
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--tt-space-4);
    margin-inline: calc(var(--tt-space-5) * -1); 
    padding-inline: var(--tt-space-5);
  }
  .pp-uc-grid::-webkit-scrollbar { 
    display: none; 
  }
  .pp-uc-grid > .pp-uc-card,
  .pp-uc-grid > a.pp-uc-card { 
    flex: 0 0 85%; 
    height: auto;          /* height:100% chặn stretch trong flex → thẻ cao thấp khác nhau */
    align-self: stretch;   /* mọi thẻ cao bằng thẻ cao nhất */
    scroll-snap-align: center; 
  }
}

.pp-pdots { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: var(--tt-space-3); 
  margin-top: var(--tt-space-6); 
}

.pp-pdot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  background: var(--tt-color-border); 
  cursor: pointer; 
  transition: all var(--tt-transition-base); 
  position: relative; 
  padding: 0; 
  border: none; 
}

.pp-pdot.active { 
  background: var(--tt-color-accent); 
  transform: scale(1.3); 
}

/* Hỗ trợ hiển thị riêng trong Dark Mode */
.tt-dark .pp-uc-card__checklist li,
.pp-section--dark .pp-uc-card__checklist li {
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--tt-color-text-secondary) !important;
}

.tt-dark .pp-uc-card__checklist--check li::before,
.pp-section--dark .pp-uc-card__checklist--check li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2305B5C8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   13. INTEGRATIONS SECTION (#integrations)
   ========================================================================== */
.pp-integ {
  max-width: var(--tt-max-width);
  margin-inline: auto;
}

.pp-integ__group { 
  margin-bottom: var(--tt-space-8); 
}

.pp-integ__group:last-child { 
  margin-bottom: 0; 
}

.pp-integ__group-label { 
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-xs); 
  font-weight: 700; 
  color: var(--tt-color-text-tertiary); 
  text-transform: uppercase; 
  letter-spacing: 0.06em; 
  margin-bottom: var(--tt-space-4); 
  display: block;
}

.pp-integ__tags { 
  display: flex; 
  flex-wrap: wrap; 
  gap: var(--tt-space-3); 
  align-items: center;
}

.tag-pill { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2);
  padding: var(--tt-space-2) var(--tt-space-4); 
  background: var(--tt-color-surface); 
  border: 1px solid var(--tt-color-border-light); 
  border-radius: var(--tt-radius-full); 
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-sm); 
  font-weight: 500; 
  color: var(--tt-color-text-secondary); 
  text-decoration: none;
  cursor: default;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.03);
  transition: all var(--tt-transition-base); 
  user-select: none;
  white-space: nowrap;
}

.tag-pill:hover,
a.tag-pill:hover { 
  border-color: var(--tt-color-accent); 
  color: var(--tt-color-accent); 
  background: var(--tt-color-accent-light); 
  box-shadow: 0 2px 6px rgba(3, 127, 140, 0.12);
}

.tag-pill img,
.tag-pill svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================
   14. NEWS SECTION OVERRIDE (.pp-news-section)
   ========================================================== */
.pp-news-section {
  padding-block: var(--tt-space-12);
  overflow-x: clip;
}

@media (min-width: 768px) {
  .pp-news-section {
    padding-block: var(--tt-space-16);
  }
}

.pp-news-section .tt-news-wrapper {
  margin-inline: auto;
}

.pp-news-section .tt-news-card { 
  background: var(--tt-color-surface);
  border: 1px solid var(--tt-color-border-light);
  border-radius: var(--tt-radius-md);
  padding: var(--tt-space-5);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--tt-transition-base), border-color var(--tt-transition-base); 
}

.pp-news-section .tt-news-card:hover { 
  box-shadow: var(--tt-shadow-card-hover);
  border-color: var(--tt-color-accent);
  transform: none; 
}

.pp-news-section .tt-news-card__body {
  display: flex;
  gap: var(--tt-space-4);
  align-items: center;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.pp-news-section .tt-news-card__thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--tt-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--tt-color-bg-gray);
}

.pp-news-section .tt-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tt-transition-slow);
}

.pp-news-section .tt-news-card:hover .tt-news-card__thumb img {
  transform: scale(1.05);
}

/* ==========================================================
   15. FAQ SECTION (#faq)
   ========================================================== */
.pp-faq { 
  max-width: var(--tt-content-width, 900px); 
  margin-inline: auto; 
}

.pp-fi { 
  border: 1px solid var(--tt-color-border); 
  border-radius: var(--tt-radius-md); 
  margin-bottom: var(--tt-space-3); 
  background: var(--tt-color-surface); 
  overflow: hidden; 
  transition: border-color var(--tt-transition-base); 
}

.pp-fi:hover { 
  border-color: var(--tt-color-accent); 
}

.pp-fi__trigger { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  width: 100%; 
  padding: var(--tt-space-5) var(--tt-space-6); 
  font-family: var(--tt-font-family);
  font-size: var(--tt-text-base); 
  font-weight: 600; 
  color: var(--tt-color-text-primary); 
  text-align: left; 
  cursor: pointer; 
  background: none; 
  border: none; 
  gap: var(--tt-space-4); 
  line-height: 1.5; 
  transition: color var(--tt-transition-base);
}

.pp-fi__trigger:focus-visible { 
  outline: 2px solid var(--tt-color-accent); 
  outline-offset: -2px; 
}

.pp-fi__icon { 
  width: 24px; 
  height: 24px; 
  flex-shrink: 0; 
  transition: transform 0.4s ease; 
  color: var(--tt-color-accent); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-fi__icon svg { 
  width: 20px; 
  height: 20px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-fi[aria-expanded="true"] .pp-fi__icon { 
  transform: rotate(45deg); 
}

.pp-fi__content { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.4s cubic-bezier(0.2, 0, 0, 1); 
}

.pp-fi__content-inner { 
  padding: 0 var(--tt-space-6) var(--tt-space-5); 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.75; 
}

.pp-fi__content-inner p { margin-bottom: var(--tt-space-3); }
.pp-fi__content-inner p:last-child { margin-bottom: 0; }
.pp-fi__content-inner a {
  color: var(--tt-color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   16. COMPARE SECTION (#compare)
   ========================================================================== */
.pp-aim { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--tt-space-6); 
  align-items: start; 
  padding-block: var(--tt-space-8); 
}

.pp-aim + .pp-aim { 
  border-top: 1px solid var(--tt-color-border); 
}

@media (min-width: 768px) { 
  .pp-aim { 
    grid-template-columns: 1fr 1fr; 
    gap: var(--tt-space-12); 
    padding-block: var(--tt-space-12); 
  } 
  .pp-aim--r .pp-aim__visual { order: 1; } 
}

@media (max-width: 767px) { 
  .pp-aim__visual { order: -1; } 
}

.pp-aim__visual { 
  border-radius: var(--tt-radius-md); 
  overflow: hidden; 
  background: linear-gradient(135deg, #EFF6F7, #E8F4F5); 
}

.pp-aim__visual img { 
  width: 100%; 
  height: auto; 
  display: block; 
  object-fit: cover; 
}

.pp-aim__accordion { 
  display: flex; 
  flex-direction: column; 
  gap: 0; 
}

.pp-ai { 
  border: 1px solid var(--tt-color-border); 
  border-radius: var(--tt-radius-md); 
  margin-bottom: var(--tt-space-3); 
  background: var(--tt-color-surface); 
  overflow: hidden; 
  transition: border-color var(--tt-transition-base); 
}

.pp-ai:hover { 
  border-color: var(--tt-color-accent); 
}

.pp-ai__trigger { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  width: 100%; 
  padding: var(--tt-space-5) var(--tt-space-6); 
  font-size: var(--tt-text-base); 
  font-weight: 600; 
  color: var(--tt-color-text-primary); 
  text-align: left; 
  cursor: pointer; 
  background: none; 
  border: none; 
  gap: var(--tt-space-4); 
  line-height: 1.5; 
}

.pp-ai__trigger:focus-visible { 
  outline: 2px solid var(--tt-color-accent); 
  outline-offset: -2px; 
}

.pp-ai__chevron { 
  width: 24px; 
  height: 24px; 
  flex-shrink: 0; 
  transition: transform 0.4s ease; 
  color: var(--tt-color-accent); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.pp-ai__chevron svg { width: 20px; height: 20px; }
.pp-ai[aria-expanded="true"] .pp-ai__chevron { transform: rotate(180deg); }

.pp-ai__content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.pp-ai__content-inner { 
  padding: 0 var(--tt-space-6) var(--tt-space-5); 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.75; 
}

.pp-section--no-divider .pp-aim + .pp-aim { border-top: none; }
@media (min-width: 768px) { 
  .pp-aim--stacked { 
    grid-template-columns: 1fr !important; 
    max-width: var(--pp-stacked-width); 
    margin-inline: auto; 
  } 
  .pp-aim--stacked .pp-aim__visual { order: 0 !important; } 
}

.pp-ai__subtitle { 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-tertiary); 
  line-height: 1.6; 
  margin-bottom: var(--tt-space-4); 
}

.pp-ai__list { padding: 0; margin: 0; }
.pp-ai__list li { 
  position: relative; 
  padding-left: var(--tt-space-6); 
  margin-bottom: var(--tt-space-3); 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-secondary); 
  line-height: 1.65; 
}

.pp-ai__list li::before { 
  content: ''; 
  position: absolute; 
  left: 0; 
  top: 0.55rem; 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--tt-color-accent); 
}

.pp-ai__list--check li { padding-left: var(--tt-space-8); }
.pp-ai__list--check li::before { 
  width: 18px; 
  height: 18px; 
  top: 0.3rem; 
  border-radius: 0; 
  background: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23037F8C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); 
  background-size: contain; 
  background-repeat: no-repeat; 
}

.pp-ai__item-cta { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  margin-top: var(--tt-space-4); 
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-accent); 
  text-decoration: underline; 
  text-decoration-color: rgba(3, 127, 140, 0.3); 
  text-underline-offset: 3px; 
}

.pp-ai__item-cta svg { 
  width: 16px; 
  height: 16px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  flex-shrink: 0; 
}

/* ==========================================================
   17. CONSULT FORM (#consult)
   ========================================================== */
.pp-consult { 
  max-width: var(--tt-form-width, 700px); 
  margin-inline: auto; 
}

.pp-frm { 
  max-width: var(--tt-form-width, 700px); 
  margin-inline: auto; 
  display: flex; 
  flex-direction: column; 
  gap: var(--tt-space-5); 
}

.pp-frm__row { display: flex; flex-direction: column; }
.pp-frm__row--2col { display: grid; grid-template-columns: 1fr; gap: var(--tt-space-5); }
@media (min-width: 640px) { .pp-frm__row--2col { grid-template-columns: 1fr 1fr; } }

.pp-frm__field { display: flex; flex-direction: column; }
.pp-frm__label { 
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-text-primary); 
  margin-bottom: var(--tt-space-2); 
}
.pp-frm__req { color: #ef4444; }

.pp-frm__input, .pp-frm__textarea, .pp-frm__select { 
  width: 100%; 
  padding: var(--tt-space-3) var(--tt-space-4); 
  font-family: var(--tt-font-family); 
  font-size: var(--tt-text-base); 
  color: var(--tt-color-text-primary); 
  background: var(--tt-color-surface); 
  border: 1px solid var(--tt-color-border); 
  border-radius: var(--tt-radius-sm); 
  transition: all var(--tt-transition-base); 
  line-height: 1.5; 
}

.pp-frm__input::placeholder, .pp-frm__textarea::placeholder { color: var(--tt-color-text-tertiary); }
.pp-frm__input:focus, .pp-frm__textarea:focus, .pp-frm__select:focus { 
  outline: none; 
  border-color: var(--tt-color-accent); 
  box-shadow: 0 0 0 3px var(--tt-color-accent-light); 
}

.pp-frm__select { 
  appearance: none; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A94A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); 
  background-repeat: no-repeat; 
  background-position: right 1rem center; 
  padding-right: 2.5rem; 
}
.pp-frm__textarea { resize: vertical; min-height: 100px; }
.pp-frm__submit { width: 100%; }

/* ==========================================================
   18. CONTACT SECTION (#contact)
   ========================================================== */
.pp-contact { 
  max-width: var(--tt-form-width, 700px); 
  margin-inline: auto; 
  text-align: center; 
}

.pp-contact__cards { 
  display: flex; 
  flex-direction: column; 
  gap: var(--tt-space-4); 
  margin-bottom: var(--tt-space-8); 
  width: 100%;
}

@media (min-width: 640px) { 
  .pp-contact__cards { 
    flex-direction: row; 
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; 
  } 
}

.pp-contact .contact-card { 
  display: inline-flex !important; 
  align-items: center !important; 
  justify-content: center !important;
  gap: var(--tt-space-3); 
  padding: var(--tt-space-3) var(--tt-space-5) !important; 
  background: var(--tt-color-surface) !important; 
  border: 1px solid var(--tt-color-border) !important; 
  border-radius: var(--tt-radius-full) !important; 
  transition: all var(--tt-transition-base) !important; 
  text-decoration: none !important; 
  color: inherit !important; 
  box-shadow: var(--tt-shadow-card) !important;
  min-width: 180px;
}

.pp-contact .contact-card:hover { 
  border-color: var(--tt-color-accent) !important; 
  color: var(--tt-color-accent) !important; 
  box-shadow: var(--tt-shadow-card-hover) !important;
}

.pp-contact .contact-card__icon { 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0; 
  color: var(--tt-color-accent); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-contact .contact-card__icon svg { 
  width: 18px; 
  height: 18px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

.pp-contact .contact-card__text { 
  font-size: var(--tt-text-sm); 
  font-weight: 600; 
  color: var(--tt-color-text-secondary); 
  white-space: nowrap;
}

.pp-contact .contact-card:hover .contact-card__text {
  color: var(--tt-color-accent);
}

.pp-contact__actions { 
  display: flex; 
  flex-direction: column; 
  gap: var(--tt-space-4); 
  justify-content: center; 
  align-items: center;
  margin-bottom: var(--tt-space-8); 
  width: 100%;
}

@media (min-width: 640px) { 
  .pp-contact__actions { 
    flex-direction: row; 
  } 
}

.trust-badges { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  align-items: center;
  gap: var(--tt-space-4) var(--tt-space-6); 
  width: 100%;
}

.trust-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: var(--tt-space-2); 
  font-size: var(--tt-text-sm); 
  color: var(--tt-color-text-secondary); 
  font-weight: 500; 
}

.trust-badge__check { 
  width: 18px; 
  height: 18px; 
  color: var(--tt-color-accent); 
  flex-shrink: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge__check svg { 
  width: 16px; 
  height: 16px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2.5; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
}

/* ==========================================================
   19. REVEAL ANIMATIONS ON SCROLL
   ========================================================== */
.pp-rv { 
  opacity: 0; 
  transform: translateY(20px); 
  transition: opacity 0.6s ease, transform 0.6s ease; 
}

.pp-rv.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

.pp-rv--d1 { transition-delay: 0.1s; } 
.pp-rv--d2 { transition-delay: 0.2s; }
.pp-rv--d3 { transition-delay: 0.3s; } 
.pp-rv--d4 { transition-delay: 0.4s; }

/* ==========================================================
   20. LIGHTBOX VIDEO MODAL
   ========================================================== */
.pp-lightbox {
  position: fixed; 
  inset: 0; 
  z-index: 99999;
  display: flex; 
  align-items: center; 
  justify-content: center;
  opacity: 0; 
  pointer-events: none; 
  transition: opacity 0.3s ease;
}

.pp-lightbox.active { 
  opacity: 1; 
  pointer-events: auto; 
}

.pp-lightbox__backdrop { 
  position: absolute; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.85); 
  backdrop-filter: blur(8px); 
}

.pp-lightbox__content { 
  position: relative; 
  z-index: 1; 
  width: 90%; 
  max-width: 1100px; 
  aspect-ratio: 16 / 9; 
}

.pp-lightbox__inner, 
.pp-lightbox__iframe-wrap {
  width: 100%; 
  height: 100%;
  border-radius: var(--tt-radius-md); 
  overflow: hidden; 
  background: #000;
}

.pp-lightbox__inner iframe, 
.pp-lightbox__inner video,
.pp-lightbox__iframe-wrap iframe,
.pp-lightbox__iframe-wrap video { 
  width: 100%; 
  height: 100%; 
  border: 0; 
  display: block; 
}

.pp-lightbox__close {
  position: absolute; 
  top: -40px; 
  right: 0;
  width: 36px; 
  height: 36px; 
  border-radius: 50%;
  background: rgba(255,255,255,0.15); 
  color: #fff;
  display: flex; 
  align-items: center; 
  justify-content: center;
  cursor: pointer; 
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0;
  transition: background 0.2s ease;
}

.pp-lightbox__close::before, 
.pp-lightbox__close::after {
  content: ''; 
  position: absolute; 
  width: 16px; 
  height: 2px; 
  background: #fff; 
  border-radius: 1px;
}

.pp-lightbox__close::before { transform: rotate(45deg); }
.pp-lightbox__close::after  { transform: rotate(-45deg); }
.pp-lightbox__close:hover { background: rgba(255,255,255,0.3); }


/* --- Vị trí thanh điều hướng khi ghim: luôn nằm ngay dưới header ---
   Header ẩn khi cuộn xuống (body.tt-header-hidden) → thanh trượt lên sát mép trên. */
#pp-sticky-nav.is-fixed { top: calc(var(--tt-hdr-height) + var(--tt-adminbar)); }
body.tt-header-hidden #pp-sticky-nav.is-fixed { top: var(--tt-adminbar); }

/* ==========================================================
   21. NEWS HORIZONTAL SCROLL (PRODUCT SCOPE)
   ========================================================== */
.tt-news-grid {
  display: flex; 
  gap: 24px;
  overflow-x: auto; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none;
  padding: 0 16px;
}

.tt-news-grid::-webkit-scrollbar { display: none; }
.tt-news-item { flex: 0 0 calc(100% - 32px); scroll-snap-align: start; }
@media (min-width: 640px)  { .tt-news-item { flex: 0 0 calc(50% - 20px); } }
@media (min-width: 1024px) { .tt-news-item { flex: 0 0 calc(33.333% - 18px); } }

/* ==========================================================
   22. DARK THEME MASTER OVERRIDES (FULL COMPREHENSIVE)
   Đặt ở cuối cùng để đè chính xác mọi thành phần trên trang
   ========================================================== */
.tt-dark .pp-section, 
.pp-section--dark { 
  background-color: #101415 !important; 
  color: rgba(255, 255, 255, 0.75) !important; 
}

.tt-dark .pp-section h1, .tt-dark .pp-section h2, .tt-dark .pp-section h3, .tt-dark .pp-section h4,
.pp-section--dark h1, .pp-section--dark h2, .pp-section--dark h3, .pp-section--dark h4 { 
  color: #FFFFFF !important; 
}

.tt-dark .pp-section-header p, .tt-dark .pp-section-header__desc, .tt-dark .pp-fr__desc,
.pp-section--dark .pp-section-header p, .pp-section--dark .pp-section-header__desc, .pp-section--dark .pp-fr__desc { 
  color: rgba(255, 255, 255, 0.65) !important; 
}

.tt-dark .pp-hero__title-highlight { color: #05B5C8 !important; }
.tt-dark .pp-hero__badge { background-color: rgba(5, 181, 200, 0.15) !important; color: #05B5C8 !important; }

/* Cards & Surfaces Dark */
.tt-dark .pp-vc, .pp-section--dark .pp-vc,
.tt-dark .pp-fi, .pp-section--dark .pp-fi,
.tt-dark .pp-prc, .pp-section--dark .pp-prc,
.tt-dark .pp-uc-card, .pp-section--dark .pp-uc-card,
.tt-dark .pp-ai, .pp-section--dark .pp-ai,
.tt-dark .pp-contact .contact-card, .pp-section--dark .pp-contact .contact-card,
.tt-dark .pp-news-section .tt-news-card, .pp-section--dark.pp-news-section .tt-news-card { 
  background-color: #1A1A1A !important; 
  border-color: rgba(255, 255, 255, 0.1) !important; 
}

.tt-dark .pp-prc--featured, .pp-section--dark .pp-prc--featured { 
  border-color: #05B5C8 !important; 
  box-shadow: 0 8px 32px rgba(5, 181, 200, 0.2) !important; 
}

.tt-dark .pp-vc:hover, .pp-section--dark .pp-vc:hover,
.tt-dark .pp-fi:hover, .pp-section--dark .pp-fi:hover,
.tt-dark .pp-prc:hover, .pp-section--dark .pp-prc:hover,
.tt-dark .pp-uc-card:hover, .pp-section--dark .pp-uc-card:hover,
.tt-dark .pp-ai:hover, .pp-section--dark .pp-ai:hover { 
  border-color: #05B5C8 !important; 
  box-shadow: 0 4px 16px rgba(5, 181, 200, 0.15) !important; 
}

.tt-dark .pp-vc__title, .pp-section--dark .pp-vc__title,
.tt-dark .pp-fi__trigger, .pp-section--dark .pp-fi__trigger,
.tt-dark .pp-prc__name, .pp-section--dark .pp-prc__name,
.tt-dark .pp-uc-card__title, .pp-section--dark .pp-uc-card__title,
.tt-dark .pp-ai__trigger, .pp-section--dark .pp-ai__trigger,
.tt-dark .pp-news-section .tt-news-card__title { 
  color: #FFFFFF !important; 
}

.tt-dark .pp-vc__desc, .pp-section--dark .pp-vc__desc,
.tt-dark .pp-prc__desc, .pp-section--dark .pp-prc__desc,
.tt-dark .pp-uc-card__desc, .pp-section--dark .pp-uc-card__desc,
.tt-dark .pp-ai__content-inner, .pp-section--dark .pp-ai__content-inner,
.tt-dark .pp-fi__content-inner, .pp-section--dark .pp-fi__content-inner,
.tt-dark .pp-fr__bullets li, .pp-section--dark .pp-fr__bullets li,
.tt-dark .pp-feat__text, .pp-section--dark .pp-feat__text { 
  color: #EEEEEE; 
}

.tt-dark .pp-fr__bullets li strong, .pp-section--dark .pp-fr__bullets li strong { 
  color: #FFFFFF !important; 
}

.tt-dark .pp-fr__bullets li a, .pp-section--dark .pp-fr__bullets li a { 
  color: #05B5C8 !important; 
}

/* Bullets Checkmark Dark */
.tt-dark .pp-fr__bullets--check li::before, .pp-section--dark .pp-fr__bullets--check li::before,
.tt-dark .pp-ai__list--check li::before, .pp-section--dark .pp-ai__list--check li::before,
.tt-dark .pp-uc-card__checklist--check li::before, .pp-section--dark .pp-uc-card__checklist--check li::before { 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2305B5C8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important; 
}

/* Specs Table Dark */
.tt-dark .pp-specs__table-wrap, .pp-section--dark .pp-specs__table-wrap { 
  background: #101415 !important; 
  border-color: rgba(255,255,255,.1) !important; 
}

.tt-dark .pp-specs__table th, .pp-section--dark .pp-specs__table th { 
  background: #1A1A1A !important; 
  color: #fff !important; 
  border-bottom-color: rgba(255,255,255,.1) !important; 
}

.tt-dark .pp-specs__table td, .pp-section--dark .pp-specs__table td { 
  color: rgba(255,255,255,.7) !important; 
  border-bottom-color: rgba(255,255,255,.06) !important; 
}

.tt-dark .pp-specs__table tr:hover td, .pp-section--dark .pp-specs__table tr:hover td { 
  background: rgba(5, 181, 200, 0.05) !important; 
}

/* Forms Dark */
.tt-dark .pp-frm__input, .tt-dark .pp-frm__textarea, .tt-dark .pp-frm__select,
.pp-section--dark .pp-frm__input, .pp-section--dark .pp-frm__textarea, .pp-section--dark .pp-frm__select { 
  background: #101415 !important; 
  border-color: rgba(255,255,255,.15) !important; 
  color: #fff !important; 
}

.tt-dark .pp-frm__input:focus, .tt-dark .pp-frm__textarea:focus, .tt-dark .pp-frm__select:focus,
.pp-section--dark .pp-frm__input:focus, .pp-section--dark .pp-frm__textarea:focus, .pp-section--dark .pp-frm__select:focus { 
  border-color: #05B5C8 !important; 
  box-shadow: 0 0 0 3px rgba(5, 181, 200, 0.2) !important; 
}

.tt-dark .pp-frm__label, .pp-section--dark .pp-frm__label { 
  color: #FFFFFF !important; 
}

/* Buttons Dark */
.tt-dark .pp-btn--secondary, .pp-section--dark .pp-btn--secondary,
.tt-dark .pp-btn--outline, .pp-section--dark .pp-btn--outline { 
  border-color: #05B5C8 !important; 
  color: #05B5C8 !important; 
  background: transparent !important; 
}

.tt-dark .pp-btn--secondary:hover, .pp-section--dark .pp-btn--secondary:hover,
.tt-dark .pp-btn--outline:hover, .pp-section--dark .pp-btn--outline:hover { 
  background: #05B5C8 !important; 
  color: #fff !important; 
}
/* ==========================================================
   23. ICON SVG (thay font Material Icons)
   ========================================================== */
.pp-badge .tt-icon { width: 20px; height: 20px; }
.pp-badge > .tt-icon { color: var(--pp-badge-color, var(--tt-color-accent)); }
.pp-badge__icon,
.pp-section-badge__icon { display: inline-flex; color: var(--tt-color-accent); }
.pp-badge[data-color="green"] > .tt-icon { color: #16a34a; }
.pp-badge[data-color="amber"] > .tt-icon { color: #d97706; }
.pp-badge[data-color="blue"]  > .tt-icon { color: #2563eb; }
.pp-badge[data-color="red"]   > .tt-icon { color: #dc2626; }
.pp-section-badge .tt-icon { width: 18px; height: 18px; }
.pp-specs__table td .tt-icon { width: 20px; height: 20px; color: var(--tt-color-accent); }
.pp-specs__pdf-link .tt-icon,
.pp-specs__cta-link .tt-icon { width: 18px; height: 18px; }

/* Thông báo form tư vấn */
.pp-consult__notice {
  max-width: var(--tt-form-width, 700px);
  margin: 0 auto var(--tt-space-6);
  padding: var(--tt-space-4) var(--tt-space-5);
  border-radius: var(--tt-radius-sm);
  background: var(--tt-color-accent-light);
  color: var(--tt-color-text-primary);
  font-weight: 500;
}
.pp-consult__notice--error,
.pp-consult__notice--missing { background: rgba(220, 38, 38, 0.08); }
