/* ==========================================================================
   BRAND FOUNDATION — STANDARDIZED DESIGN SYSTEM & STYLESHEET
   Style: Coworking Space — Warm, Clean, Airy, Orange Accents
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens (Standard Brand Palette) ---------- */
:root {
  /* Core Colors */
  --orange: #f58021;
  /* Cam chu dao */
  --orange-cta-start: #e6741b;
  /* Nut CTA cam bat dau */
  --orange-cta-end: #eb781b;
  /* Nut CTA cam ket thuc */
  --badge-bg: #fff8f0;
  /* Nen badge nho */
  --badge-border: #fcd4af;
  --bg-page: #f9f9f7;
  /* Nen tong the off-white */
  --header-bg: #ffffff;
  /* Header bar trang thuan */
  --panel-dark: #5b3a29;
  /* Nau phu: khoi toi, footer */
  --card-bg: #ffffff;
  /* The card trang */
  --border-neutral: #E7DBC6;
  /* Vien neutral beige */
  --border-light: #e5e5e5;
  /* Vien xam nhat */
  --border: var(--border-neutral);
  --bg-tint: #faf6f0;
  --orange-light: var(--badge-bg);

  /* Text Tokens */
  --text-heading: #1a1a1a;
  /* Tieu de */
  --text-body: #6b6b6b;
  /* Text mo ta / phu */
  --text-muted: #767675;
  /* Text phu nhe */
  --text: var(--text-heading);
  --star-gold: #FFC107;
  /* Sao vang gold */

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(91, 58, 41, 0.04);
  --shadow-md: 0 6px 20px rgba(91, 58, 41, 0.06);
  --shadow-lg: 0 12px 36px rgba(91, 58, 41, 0.08);
  --shadow-cta: 0 4px 14px rgba(230, 116, 27, 0.35);
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Language Toggle System ---------- */
body[data-lang="en"] .lang-vi {
  display: none !important;
}

body[data-lang="vi"] .lang-en {
  display: none !important;
}

/* ---------- Global Layout & Typography ---------- */
.wrap,
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.25;
}

h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 17px;
  font-weight: 700;
}

p {
  color: var(--text-body);
  line-height: 1.65;
  font-size: 15px;
}

.lede {
  font-size: 16px;
  color: var(--text-body);
  max-width: 640px;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--badge-bg);
  background: var(--orange);
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section {
  padding: 80px 0;
}

section.divider {
  border-top: 1px dashed var(--border-neutral);
}

section.panel-tint {
  background: #fdf7f0;
}

section.panel-warm {
  background: var(--badge-bg);
}

/* ---------- 0. BUTTONS & CTA (Standard Orange Gradient) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange-cta-end) 0%, var(--orange-cta-start) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: linear-gradient(135deg, #f58021 0%, var(--orange-cta-start) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(230, 116, 27, 0.45);
}

.btn.plain {
  padding: 13px 26px;
  font-size: 15px;
}

.btn.sm {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
}

.btn .arrow-dot {
  font-size: 14px;
  margin-left: 2px;
}

.btn.ghost {
  background: transparent;
  color: var(--text-heading) !important;
  border: 1.5px solid var(--border-neutral);
  box-shadow: none;
  padding: 12px 22px;
}

.btn.ghost:hover {
  background: var(--badge-bg);
  border-color: var(--orange);
  color: var(--orange) !important;
}

/* ---------- 1. HEADER / MENU (Exact Alignment & Colors) ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-header);
  width: 100%;
}

header.nav .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark,
.navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: 20px;
  color: #3D2B1F;
  text-decoration: none;
  line-height: 1;
  flex: none;
  margin-right: 24px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-mark:hover,
.navbar-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-mark svg,
.navbar-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.brand-mark span.highlight,
.navbar-logo span.highlight,
.brand-mark .highlight,
.navbar-logo .highlight,
.brand-mark span span,
.navbar-logo span span {
  color: var(--orange, #F58021);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
}

.navlinks a {
  position: relative;
  padding: 8px 0;
  color: var(--text-body);
  transition: color 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
  display: inline-block;
}

.navlinks a:hover {
  color: var(--orange);
}

.navlinks a.active {
  color: var(--orange);
  font-weight: 600;
}

.navlinks > a::after,
.navlinks .nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.navlinks > a:hover::after,
.navlinks > a.active::after,
.navlinks .nav-dropdown-trigger:hover::after,
.navlinks .nav-dropdown-trigger.active::after {
  transform: scaleX(1);
}

/* ---------- PRODUCT NAV DROPDOWN ---------- */
.nav-item.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--text-body, #6b6b6b);
}

.nav-dropdown-trigger:hover .dropdown-chevron,
.nav-dropdown-trigger.active .dropdown-chevron {
  color: var(--orange, #f58021);
}

.has-dropdown:hover .dropdown-chevron,
.has-dropdown:focus-within .dropdown-chevron,
.has-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 290px;
  background: #ffffff;
  border: 1px solid var(--border-neutral, #e7dbc6);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
}

.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown:focus-within .nav-dropdown-menu,
.has-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px;
  color: var(--text-heading, #1a1a1a) !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  cursor: pointer;
  white-space: normal !important;
  background: transparent;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background: #fff8f0 !important;
  color: #f58021 !important;
}

.dropdown-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #faf6f0;
  color: #767675;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover .dropdown-item-icon,
.nav-dropdown-item:focus .dropdown-item-icon {
  background: #f58021;
  color: #ffffff;
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.15s ease;
  line-height: 1.3;
}

.nav-dropdown-item:hover .dropdown-item-title,
.nav-dropdown-item:focus .dropdown-item-title {
  color: #f58021;
}

.dropdown-item-desc {
  font-size: 11.5px;
  color: #767675;
  font-weight: 400;
  line-height: 1.35;
}

/* Target Audience anchor scroll offset & glow pulse */
#target-audience {
  scroll-margin-top: 80px;
}

@keyframes targetAudienceHighlightGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 128, 33, 0);
  }
  30% {
    box-shadow: 0 0 0 5px rgba(245, 128, 33, 0.45), 0 16px 40px rgba(245, 128, 33, 0.22);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 128, 33, 0);
  }
}

.target-audience-highlight .bf-flow-canvas {
  border-radius: 20px;
  animation: targetAudienceHighlightGlow 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.navcta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.langtoggle {
  display: flex;
  align-items: center;
  background: #f9f9f7;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3px 8px;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.langtoggle button {
  background: none;
  border: none;
  padding: 3px 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 12px;
  transition: all 0.15s ease;
}

.langtoggle button.active {
  background: var(--orange);
  color: #ffffff;
}

.lang-sep {
  color: #d1d1d1;
  font-size: 11px;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--orange-cta-end) 0%, var(--orange-cta-start) 100%);
  color: #ffffff !important;
  border-radius: var(--radius-pill);
}

.navburger {
  display: none;
}

@media (max-width: 900px) {
  .navlinks {
    display: none;
  }

  .navlinks.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-neutral);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    gap: 16px;
    z-index: 99;
  }

  .nav-item.has-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item.has-dropdown .nav-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 0;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid #fcd4af;
    border-radius: 0 8px 8px 0;
    background: #faf6f0;
    margin-top: 4px;
    margin-left: 8px;
    padding: 6px;
    gap: 4px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-item {
    padding: 8px 10px !important;
    background: transparent !important;
  }

  .navburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    font-size: 18px;
    cursor: pointer;
  }
}

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 30px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  flex: 1.15;
}

.trustline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-heading);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.trustline .avatars {
  display: flex;
}

.trustline .avatars span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--badge-bg);
  margin-left: -6px;
}

.trustline .avatars span:first-child {
  margin-left: 0;
}

.trustline-ticker {
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: middle;
  overflow: hidden;
  height: 22px;
  min-width: 280px;
}

.trustline-item {
  display: none;
  align-items: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.trustline-item.active {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: tickerSlideIn 0.35s ease forwards;
}

@keyframes tickerSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--text-heading);
}

.hero .lede {
  margin-bottom: 20px;
}

.hero .tagline {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.microcopy {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.microcopy span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.check {
  color: #16A34A !important;
  font-weight: 800;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.mascot-hero {
  width: 100%;
  max-width: 440px;
  height: auto;
  position: relative;
  z-index: 2;
  border-radius: 24px;
  object-fit: contain;
}

.hero-visual .bg-blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fce6c8 0%, transparent 70%);
  top: -20px;
  z-index: 1;
}

.speech {
  position: absolute;
  top: 10px;
  right: -10px;
  background: #ffffff;
  border: 1px solid var(--border-neutral);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-heading);
  max-width: 160px;
  z-index: 3;
}

@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }
}

/* ---------- STATS & MARQUEE ---------- */
.stats-bar {
  padding: 36px 0 46px;
}

.grid {
  display: grid;
  gap: 16px;
}

.g4 {
  grid-template-columns: repeat(4, 1fr);
}

.g3 {
  grid-template-columns: repeat(3, 1fr);
}

.g2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px) {
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .g3,
  .g2 {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 16px;
  text-align: center;
  box-shadow: none;
}

.stat .num {
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat .num-unit {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--orange);
}

.stat .lbl {
  font-size: 13.5px;
  color: var(--text-body);
  margin-top: 8px;
  line-height: 1.45;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ticker-line {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  padding: 0 16px;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-neutral);
  border-bottom: 1px solid var(--border-neutral);
  padding: 18px 0;
  background: #f5eee0;
  position: relative;
}

.marquee-track,
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 52px;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track,
.logo-strip:hover .logo-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  flex-shrink: 0;
  cursor: default;
}

.marquee-logo-img {
  height: 24px;
  max-height: 26px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
  transition: transform 0.25s ease;
  user-select: none;
}

.marquee-brand-name {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.05em;
  color: #4A3226;
  opacity: 0.88;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.marquee-item:hover .marquee-logo-img {
  transform: scale(1.1);
}

.marquee-item:hover .marquee-brand-name {
  color: #f58021;
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.bf-footer-logo-img {
  max-height: 28px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

/* ---------- DEMO VIDEO PANEL (Single Unified Rectangular Card) ---------- */
.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: var(--panel-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.demo-text-box,
.demo-video-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
  min-height: auto;
}

.demo-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.demo-text-box h2 {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.demo-text-box p {
  color: #D9C9B8;
  font-size: 15px;
  line-height: 1.6;
}

.demo-video-box .video-embed {
  margin-top: 0;
  width: 100%;
  height: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.demo-video-box .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
  }
}

/* ---------- 2. QUALITY COMPARISON (3 TABS: FB / EMAIL / IG) ---------- */
.tag-row {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag-pill {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-neutral);
  color: var(--text-heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-pill.active {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(245, 128, 33, 0.25);
}

.channel-compare {
  display: none;
}

.channel-compare.active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .channel-compare.active {
    grid-template-columns: 1fr;
  }
}

.sc-card {
  height: 100%;
  background: var(--card-bg);
  border: 1.5px solid var(--border-neutral) !important;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.sc-card.good {
  border: 1.5px solid var(--border-neutral) !important;
  background: var(--card-bg);
}

.sc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}

.status-pill.no {
  background: #F5EEE0;
  color: var(--text-body);
  border: 1px solid var(--border-neutral);
}

.status-pill.yes {
  background: var(--badge-bg);
  color: var(--orange);
  border: 1px solid var(--badge-border);
}

.channel-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  background: #F5EEE0;
  color: #4A3226;
  border: 1px solid var(--border-neutral);
}

.sc-prompt-box {
  background: #FAF6F0;
  border-radius: 8px;
  border: 1px solid #F0E6D9;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-context-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sc-prompt {
  font-size: 13px;
  color: var(--text-body);
  font-style: italic;
  padding: 0;
  background: none;
  border: none;
}

/* Generic Mockup Post Card Wrapper */
.mockup-post-card {
  border: 1px solid var(--border-neutral);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

/* --- TAB 1: FACEBOOK MOCKUP --- */
.fb-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F5EEE0;
}

.fb-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #4A3226;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

.fb-avatar.generic {
  background: #94A3B8;
}

.fb-meta-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.fb-meta-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.fb-post-media {
  width: 100%;
  height: 240px;
  background: #F5EEE0;
  overflow: hidden;
}

.fb-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-reactions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid #F5EEE0;
  border-bottom: 1px solid #F5EEE0;
}

.fb-action-buttons {
  display: flex;
  padding: 4px 8px;
  border-bottom: 1px solid #F5EEE0;
}

.fb-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: #4A3226;
  border-radius: 6px;
}

.fb-action-btn:hover {
  background: #FAF6F0;
}

/* --- TAB 2: EMAIL CLIENT / NEWSLETTER MOCKUP --- */
.email-client-window {
  border: 1px solid var(--border-neutral);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.email-window-topbar {
  background: #F2ECE4;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-neutral);
}

.email-window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.email-window-dot.red {
  background: #FF5F56;
}

.email-window-dot.yellow {
  background: #FFBD2E;
}

.email-window-dot.green {
  background: #27C93F;
}

.email-post-header {
  background: #FAF6F0;
  border-bottom: 1px solid var(--border-neutral);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}

.email-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.email-header-from {
  display: flex;
  gap: 6px;
  align-items: center;
}

.email-header-from span {
  color: var(--text-muted);
}

.email-header-from strong {
  color: var(--text-heading);
}

.email-date {
  font-size: 11px;
  color: var(--text-muted);
}

.email-subject-line {
  font-size: clamp(11px, 1.1vw, 12px);
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-neutral);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* Core Distinction Callout */
.sc-takeaway {
  margin: 32px auto 0;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(245, 128, 33, 0.08) 0%, rgba(245, 128, 33, 0.02) 100%);
  border: 1.5px solid rgba(245, 128, 33, 0.35);
  border-left: 5px solid var(--orange);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(245, 128, 33, 0.06);
}

.sc-takeaway-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sc-takeaway-icon {
  flex: none;
  font-size: 22px;
  line-height: 1;
  background: rgba(245, 128, 33, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sc-takeaway-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-heading);
}

.sc-takeaway-text strong {
  color: var(--orange);
  font-weight: 800;
}

.mock-note {
  margin: 14px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 800px;
  line-height: 1.5;
}

.email-brand-banner {
  padding: 8px 16px;
  background: #F5EEE0;
  border-bottom: 1px solid var(--border-neutral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.email-brand-banner.bf {
  background: linear-gradient(90deg, #FFF6EE 0%, #FAF6F0 100%);
  color: var(--orange);
  border-bottom: 1px solid var(--badge-border);
}

.email-post-body {
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-heading);
  flex: 1;
}

.email-cta-box {
  margin: 14px 0 8px;
  text-align: center;
}

.email-cta-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.email-cta-btn.generic {
  background: #64748B;
  color: #ffffff;
}

.email-cta-btn.bf {
  background: linear-gradient(135deg, var(--orange-cta-start) 0%, var(--orange-cta-end) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 116, 27, 0.28);
}

.email-cta-btn.bf:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(230, 116, 27, 0.35);
}

.email-footer-sub {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-neutral);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* --- TAB 3: INSTAGRAM POST MOCKUP --- */
.ig-mock {
  border: 1px solid var(--border-neutral);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.ig-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #F5EEE0;
}

.ig-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--orange), #FFA54F);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ig-avatar.generic {
  background: #CBD5E1;
  padding: 0;
}

.ig-avatar .inner-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-heading);
}

.ig-meta-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ig-meta-loc {
  font-size: 11px;
  color: var(--text-muted);
}

.ig-post-media {
  width: 100%;
  height: 240px;
  background: #F5EEE0;
  overflow: hidden;
}

.ig-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ig-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 4px;
}

.ig-actions-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.ig-icon-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text-heading);
}

.ig-likes-count {
  padding: 2px 14px 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-heading);
}

.ig-caption-text {
  padding: 2px 14px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-heading);
}

.ig-caption-text strong {
  color: var(--text-heading);
  margin-right: 6px;
}

.ig-caption-hashtags {
  font-size: 12px;
  color: #2563EB;
  margin-top: 4px;
  word-break: break-word;
}

.ig-post-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- BALANCED EXPANDABLE READ MORE IN COMPARISONS --- */
.compare-expandable-box {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-heading);
}

.compare-expandable-box:not(.expanded) .caption-expanded-part {
  display: none;
}

.compare-expandable-box.expanded .caption-expanded-part {
  display: block;
}

.btn-compare-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--badge-bg);
  color: var(--orange);
  border: 1px solid var(--badge-border);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  margin-bottom: 2px;
  transition: all 0.15s ease;
  align-self: flex-start;
  text-align: left;
  margin-left: 0;
}

.compare-expandable-box.expanded .btn-compare-readmore {
  order: 10;
  margin-top: 10px;
  margin-bottom: 2px;
  align-self: flex-start;
}

.btn-compare-readmore:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

/* Comparison Stats Row - Always Anchored to Bottom */
.sc-stats {
  display: flex;
  border-top: 1px dashed var(--border-neutral);
  border-bottom: 1px dashed var(--border-neutral);
  padding: 12px 8px;
  background: #FAF6F0;
  border-radius: 8px;
  margin-top: auto;
}

.sc-stats>div {
  flex: 1;
  text-align: center;
}

.sc-stats .v {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-heading);
}

.sc-stats .delta {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  margin-left: 4px;
}

.sc-stats .l {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sc-verdict {
  font-size: 12.5px;
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: auto;
}

.sc-verdict.bad {
  background: #F5EEE0;
  color: var(--text-body);
  border: 1px solid var(--border-neutral);
}

.sc-verdict.good {
  background: var(--badge-bg);
  color: #3D2B1F;
  border: 1px solid var(--badge-border);
}

.sc-verdict strong {
  color: var(--text-heading);
}

/* ---------- 3. WHY BRAND FOUNDATION (Wireframe) ---------- */
.why-bf-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px 32px;
  align-items: center;
  max-width: 1140px;
  margin: 40px auto 32px;
}

.why-bf-block.top-left {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
}

.why-bf-block.bot-left {
  grid-column: 1;
  grid-row: 2;
  text-align: left;
}

.why-bf-center {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-bf-center img {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(91, 58, 41, 0.08);
}

.why-bf-block.top-right {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

.why-bf-block.bot-right {
  grid-column: 3;
  grid-row: 2;
  text-align: left;
}

.why-bf-block {
  background: var(--card-bg);
  border: 1.5px solid rgba(220, 210, 200, 0.65);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.why-bf-block:hover {
  border-color: #FF6B2C !important;
  box-shadow: 0 8px 24px rgba(255, 107, 44, 0.16);
  transform: translateY(-2px);
}

.why-bf-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.why-bf-block p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.why-bf-banner {
  text-align: center;
  margin-top: 36px;
  padding: 16px 24px;
  background: var(--card-bg);
  border: 1.5px dashed var(--border-neutral);
  border-radius: 30px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.why-bf-banner p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
}

.why-bf-banner .highlight {
  color: var(--orange);
  font-weight: 700;
}

@media (max-width: 900px) {
  .why-bf-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-bf-center {
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }

  .why-bf-block.top-left,
  .why-bf-block.bot-left,
  .why-bf-block.top-right,
  .why-bf-block.bot-right {
    text-align: left;
    grid-column: 1;
    grid-row: auto;
  }
}

/* ---------- 4. HOW IT WORKS (3 Steps Left, Mascot Right) ---------- */
.steps-layout {
  display: flex;
  gap: 48px;
  align-items: center;
}

.steps-list {
  flex: 1.15;
}

.stepline {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.stepdot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 4px 12px rgba(245, 128, 33, 0.3);
}

.step-body {
  flex: 1;
  background: var(--card-bg);
  border: 1.5px solid rgba(220, 210, 200, 0.65);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.stepline:hover .step-body,
.step-body:hover {
  border-color: #FF6B2C !important;
  box-shadow: 0 8px 24px rgba(255, 107, 44, 0.16);
  transform: translateY(-2px);
}

.stepline:hover .stepdot {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(245, 128, 33, 0.45);
}

.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.steps-visual {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

@media (max-width: 860px) {
  .steps-layout {
    flex-direction: column;
  }
}

/* ---------- 5. WHAT YOU GET (8 Documents Hover & Active States) ---------- */
.g4card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .g4card {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .g4card {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: all 180ms ease;
  height: 100%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.doc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.doc-card-top .ico {
  margin-bottom: 0 !important;
}

.doc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill, 9999px);
  flex: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.doc-badge.free {
  background: #e8f7ee;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.doc-badge.pro {
  background: #FF6B2C;
  color: #ffffff;
  border: 1px solid #e0551b;
}

/* Inactive icon: nen xam be #f5f0ea, glyph nau xam #6b6b6b */
.doc-card .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f5f0ea;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex: none;
  transition: all 180ms ease;
}

.doc-card .ico svg {
  stroke: currentColor;
}

.doc-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  transition: color 180ms ease;
}

.doc-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}

/* Hover / Active state: icon sang cam nhat #fff2e2, icon glyph cam #f58021, border card cam #f58021 */
.doc-card:hover,
.doc-card.selected,
.doc-card.active {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(245, 128, 33, 0.12);
  transform: translateY(-2px);
}

.doc-card:hover .ico,
.doc-card.selected .ico,
.doc-card.active .ico {
  background: #fff2e2;
  color: var(--orange);
}

.doc-card:hover h3,
.doc-card.selected h3,
.doc-card.active h3 {
  color: var(--orange);
}

.docs-export-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-heading);
  background: var(--card-bg);
  border: 1px solid var(--border-neutral);
  border-radius: 24px;
  padding: 12px 24px;
  max-width: 840px;
  margin: 20px auto 0;
  text-wrap: balance;
  line-height: 1.6;
}

/* ---------- 6. SELECTED PROJECTS WE'RE PROUD OF (Toolkit Carousel) ---------- */
.toolkit-showcase-layout,
.toolkit-layout-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
}

.toolkit-info-col,
.toolkit-intro-col {
  flex: 0 0 360px;
  max-width: 360px;
}

.toolkit-info-col .eyebrow,
.toolkit-intro-col .eyebrow {
  margin-bottom: 12px;
  display: inline-block;
}

.toolkit-info-col h2,
.toolkit-intro-col h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--text-heading);
  margin: 8px 0 16px;
  font-weight: 800;
  text-wrap: balance;
}

.toolkit-info-col p,
.toolkit-intro-col p,
.toolkit-side-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 24px;
}

.toolkit-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 14.5px;
  transition: gap 0.2s ease;
}

.toolkit-cta-link:hover {
  gap: 12px;
}

.toolkit-carousel-col {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.toolkit-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
}

.toolkit-track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.tool-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 250px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.tool-card:hover,
.tool-card.selected {
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(245, 128, 33, 0.12);
  transform: translateY(-3px);
}

/* Banner ratio 800x480 (5:3) */
.tool-img-wrap {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--badge-bg);
}

.tool-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tool-card:hover .tool-preview-img {
  transform: scale(1.03);
}

.tool-card-content {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.tool-header-row h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

/* Badge "Free" goc phai tren */
.tool-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  flex: none;
}

.tool-badge.free {
  background: #e8f7ee;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.tool-badge.pro {
  background: #c2410c;
  color: #ffffff;
}

.tool-meta-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 8px;
}

.tool-card-content p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
}

.toolkit-nav-arrow {
  position: absolute;
  top: 40%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-neutral);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: all 0.2s ease;
}

.toolkit-nav-arrow:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.toolkit-nav-arrow.prev {
  left: -20px;
}

.toolkit-nav-arrow.next {
  right: -20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-neutral);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.carousel-dots .dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .toolkit-showcase-layout,
  .toolkit-layout-row {
    flex-direction: column;
    gap: 32px;
  }

  .toolkit-info-col,
  .toolkit-intro-col {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .tool-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 600px) {
  .tool-card {
    flex: 0 0 100%;
  }
}

/* ---------- 7. REVIEWS ("What our customers are saying") ---------- */
#reviews-section {
  background: var(--badge-bg);
  /* Nen cam rat nhat / be #fff8f0 */
  border-top: 1px dashed var(--border-neutral);
  border-bottom: 1px dashed var(--border-neutral);
}

.reviews-top-head {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-main-heading {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text-heading);
  white-space: nowrap;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .reviews-main-heading {
    white-space: normal;
  }
}

.trustpilot-rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-neutral);
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 13.5px;
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
}

.tp-rating-num {
  font-weight: 800;
  color: var(--text-heading);
}

.tp-stars {
  display: flex;
  align-items: center;
  color: var(--star-gold);
}

.tp-stars svg {
  fill: var(--star-gold);
}

/* NO GREEN - Text theo bang mau chuan */
.tp-logo-text {
  font-weight: 800;
  color: var(--text-heading) !important;
}

.tp-count-text {
  color: var(--text-muted);
}

.reviews-showcase-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.reviews-side-col {
  flex: 0 0 320px;
}

.reviews-quote-symbol {
  font-size: 64px;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 8px;
}

.reviews-side-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.reviews-slider-ctrl {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rev-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-neutral);
  background: #ffffff;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.rev-arrow-btn:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.rev-track-line {
  flex: 1;
  height: 4px;
  background: var(--border-neutral);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.rev-track-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.333%;
  background: var(--orange);
  border-radius: 2px;
  transition: left 0.3s ease;
}

.reviews-cards-col {
  flex: 1;
  min-width: 0;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-speech-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 10px;
}

.speech-bubble {
  background: #ffffff;
  border: 1.5px solid var(--border-neutral);
  border-radius: 20px;
  padding: 32px 36px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.speech-bubble .review-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-heading);
  font-style: italic;
  margin-bottom: 16px;
}

.speech-stars {
  color: var(--star-gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.speech-tail {
  position: absolute;
  bottom: -12px;
  left: 48px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-bottom: 1.5px solid var(--border-neutral);
  border-right: 1.5px solid var(--border-neutral);
  transform: rotate(45deg);
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-left: 20px;
}

.reviewer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--orange);
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
}

.reviewer-time-role {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .reviews-showcase-grid {
    flex-direction: column;
  }

  .reviews-side-col {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .reviews-slider-ctrl {
    justify-content: center;
  }
}

/* ---------- 8. COST COMPARISON & FAQ ACCORDION ---------- */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .cost-grid {
    grid-template-columns: 1fr;
  }
}

.cost-card {
  background: var(--card-bg);
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.cost-card.rec {
  border: 2px solid var(--orange);
  background: var(--badge-bg);
  position: relative;
}

.cost-card .badge-rec {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 10px;
}

.cost-card .price {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 6px 0 2px;
}

.cost-card .price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cost-card ul {
  list-style: none;
}

.cost-card li {
  font-size: 13.5px;
  color: var(--text-body);
  padding: 6px 0;
  display: flex;
  gap: 8px;
}

.accordion {
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
}

details {
  border-bottom: 1px solid var(--border-neutral);
}

details:last-child {
  border-bottom: none;
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-heading);
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary .plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: none;
  transition: transform 0.2s ease;
}

details[open] summary .plus {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  color: var(--text-body);
}

/* ---------- 9. FINAL CTA (Matching Image 2) ---------- */
.final-cta-seamless-section {
  background: var(--panel-dark);
  color: #ffffff;
  padding: 80px 0 70px;
  text-align: center;
}

.final-cta-dark-box {
  max-width: 820px;
  margin: 0 auto;
}

.final-cta-headline {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
}

.final-cta-headline .highlight-orange {
  color: var(--orange);
}

.final-cta-subtext {
  font-size: 16.5px;
  line-height: 1.6;
  color: #D9C9B8;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn-final-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange-cta-end) 0%, var(--orange-cta-start) 100%);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 40px;
  font-size: 16.5px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(230, 116, 27, 0.35);
}

.btn-final-pill:hover {
  background: linear-gradient(135deg, #f58021 0%, var(--orange-cta-start) 100%);
  transform: translateY(-2px);
}

.final-cta-trustline {
  font-size: 13px;
  color: #A89A8C;
  margin-top: 24px;
}

/* ---------- 10. FOOTER (Matching Image 2) ---------- */
footer {
  background: var(--panel-dark);
  color: #ffffff;
  padding: 50px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #A89A8C;
  max-width: 280px;
}

footer h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: #A89A8C;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 32px 0 24px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #A89A8C;
}

.footer-contact-items {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-item a {
  color: #A89A8C;
}

.footer-contact-item a:hover {
  color: var(--orange);
}

.footer-social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.social-icon-btn:hover {
  background: var(--orange);
  color: #ffffff;
}

.footer-bottom-divider-line {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0 16px;
}

.footer-copyright-subbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #767675;
}

.footer-legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-legal-links a {
  color: #767675;
}

.footer-legal-links a:hover {
  color: var(--orange);
}

.floating-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 128, 33, 0.4);
  cursor: pointer;
  z-index: 99;
  transition: transform 0.2s ease;
}

.floating-chat-btn:hover {
  transform: scale(1.08);
}

@media (max-width: 992px) {
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BRAND LIBRARY SPECIFIC STYLES
   ========================================================================== */
.breadcrumb {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-top: 24px;
  padding-bottom: 8px;
}

.breadcrumb a {
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.page-hero {
  padding: 48px 0 54px;
  background-color: #FAF6F0;
  border-bottom: 1px solid var(--border-neutral);
  position: relative;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero.brand-library-hero {
  background-color: #FAF5EE;
  padding: 56px 0 64px;
  overflow: hidden;
}

.page-hero.brand-library-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 960px;
  max-width: 60%;
  background-image: url('brand-library-banner.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 120px, black 250px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 120px, black 250px);
  pointer-events: none;
  z-index: 1;
}

.page-hero.brand-library-hero h1 {
  max-width: 600px;
}

.page-hero.brand-library-hero .lede {
  max-width: 540px;
}

@media (max-width: 900px) {
  .page-hero {
    padding: 36px 0 44px;
  }

  .page-hero.brand-library-hero::after {
    max-width: 100%;
    width: 280px;
    height: 180px;
    top: auto;
    bottom: 0;
    right: 0;
    opacity: 0.35;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .page-hero.brand-library-hero h1,
  .page-hero.brand-library-hero .lede {
    max-width: 100%;
  }
}

.page-hero h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-hero .lede {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.feature-card .ico {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.lib-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.lib-filters {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ffffff;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-pill);
  padding: 4px;
  flex-wrap: nowrap !important;
}

.lib-filters>span {
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lib-filters>span:hover {
  color: var(--orange);
  background: rgba(245, 128, 33, 0.08);
}

.lib-filters>span.active,
.lib-filters span.active {
  background: var(--orange);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(245, 128, 33, 0.22);
}

.lib-filters>span.active span,
.lib-filters span.active span {
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lib-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 640px;
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lib-card {
  background: #ffffff;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex !important;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
  outline: none;
  min-height: 154px;
  justify-content: space-between;
}

.lib-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(245, 128, 33, 0.4);
}

.lib-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.lib-logo-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lib-swatch {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  user-select: none;
  flex: none;
}

.lib-card .name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.lib-card .industry {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex: 1;
}

.lib-card .cta-hint {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s ease;
}

.lib-card:hover .cta-hint {
  gap: 7px;
}

.lib-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 20px;
}

.lib-more-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: #ffffff;
  border: 1.5px solid var(--border-neutral, #e7dbc6);
  border-radius: var(--radius-pill, 9999px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading, #1a1a1a);
  animation: libMoreFloat 3s ease-in-out infinite alternate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.lib-more-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1d1d1;
}

.lib-more-count {
  font-weight: 800;
  font-size: 15.5px;
  color: var(--text-heading, #1a1a1a);
  display: inline-flex;
  align-items: center;
}

.lib-more-text {
  display: inline-flex;
  align-items: center;
  color: var(--text-body, #6b6b6b);
  font-size: 14.5px;
  font-weight: 600;
}

@keyframes libMoreFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-5px);
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 32, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.open,
.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid var(--border-neutral);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f9f9f7;
  border: 1px solid var(--border-neutral);
  cursor: pointer;
  font-size: 15px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: #f0ede8;
  color: var(--text-heading);
}

/* Access levels compare table */
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-neutral);
  margin-top: 24px;
}

table.compare th,
table.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-neutral);
  font-size: 14.5px;
}

table.compare th {
  background: #fdfaf6;
  font-weight: 800;
  color: var(--text-heading);
}

table.compare th:nth-child(2),
table.compare td:nth-child(2) {
  text-align: center;
}

table.compare th.rec-col,
table.compare td.rec-col {
  text-align: center;
  background: rgba(245, 128, 33, 0.05);
  font-weight: 700;
  color: var(--orange);
}

table.compare tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Brand Foundation Access Levels (Free vs Pro Hemingway-style Comparison Table)
   ========================================================================== */
.bf-access-section {
  background: #f9f9f7;
  padding: 76px 0 88px;
  border-top: 1px solid var(--border-neutral);
}

.bf-access-header {
  text-align: center;
  margin-bottom: 44px;
}

.bf-access-pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 9999px;
  background: #FFF2E2;
  color: #E6741B;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 128, 33, 0.2);
  margin-bottom: 14px;
}

.bf-access-title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-align: center;
}

.bf-access-subtitle {
  font-size: 15px;
  color: #7A746E;
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.55;
  text-align: center;
}

/* Compare Table Wrapper - Clean open Hemingway style */
.bf-compare-table-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 28px 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #ECEBE5;
  overflow: visible;
}

.bf-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Column Widths */
.bf-compare-table th.col-feature,
.bf-compare-table td.col-feature {
  width: 42%;
  padding-left: 16px;
  padding-right: 20px;
}

.bf-compare-table th.col-free,
.bf-compare-table td.col-free {
  width: 29%;
  text-align: center;
  padding-left: 12px;
  padding-right: 12px;
}

.bf-compare-table th.col-pro,
.bf-compare-table td.col-pro {
  width: 29%;
  text-align: center;
  padding-left: 12px;
  padding-right: 12px;
}

/* Header Row & Plan Header Blocks */
.bf-compare-table thead th {
  padding-top: 12px;
  padding-bottom: 28px;
  border-bottom: 2px solid #EBE9E2;
  vertical-align: top;
}

.col-feature-lbl {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #9C958E;
  text-transform: uppercase;
  margin-top: 14px;
}

.bf-plan-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bf-plan-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7D766F;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bf-plan-price {
  font-size: 34px;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.bf-plan-cycle {
  font-size: 14px;
  font-weight: 600;
  color: #8C847C;
  letter-spacing: normal;
  margin-left: 2px;
}

.bf-plan-subprice {
  font-size: 13px;
  font-weight: 500;
  color: #9E968E;
  margin-bottom: 18px;
  min-height: 20px;
}

.bf-plan-btn-wrap {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Orange pill button with background matching media_1789638142857.png */
.bf-table-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF7A1A 0%, #E6741B 100%) !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(230, 116, 27, 0.35) !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
  white-space: nowrap;
  border: none !important;
  cursor: pointer;
}

.bf-table-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 116, 27, 0.45) !important;
  filter: brightness(1.05);
}

.bf-plan-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #6E6862;
  max-width: 220px;
  margin: 0 auto;
  font-weight: 400;
}

/* Table Body Rows */
.bf-compare-table tbody tr {
  border-bottom: 1px solid #ECEAE5;
  transition: background 0.15s ease;
}

.bf-compare-table tbody tr:last-child {
  border-bottom: none;
}

.bf-compare-table tbody tr:hover {
  background: rgba(245, 128, 33, 0.025);
}

.bf-compare-table tbody td {
  padding: 20px 14px;
  font-size: 14.5px;
  vertical-align: middle;
}

.bf-compare-table td.col-feature {
  padding-left: 16px;
  color: #4A4540;
  font-weight: 500;
  line-height: 1.45;
}

.bf-compare-table td.col-feature .feature-text {
  color: #26221F;
  font-weight: 600;
}

.bf-compare-table td.col-free,
.bf-compare-table td.col-pro {
  text-align: center;
}

/* Tooltip (?) icon */
.bf-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #F0EDE8;
  color: #8C827A;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  cursor: help;
  position: relative;
  vertical-align: middle;
  transition: all 0.2s ease;
  user-select: none;
}

.bf-tooltip-trigger:hover,
.bf-tooltip-trigger:focus {
  background: #F58021;
  color: #FFFFFF;
}

.bf-tooltip-box {
  visibility: hidden;
  opacity: 0;
  width: 240px;
  background: #1A1A1A;
  color: #FFFFFF;
  text-align: left;
  border-radius: 8px;
  padding: 10px 12px;
  position: absolute;
  z-index: 999;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 400;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  letter-spacing: 0;
  text-transform: none;
}

.bf-tooltip-box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #1A1A1A transparent transparent transparent;
}

.bf-tooltip-trigger:hover .bf-tooltip-box,
.bf-tooltip-trigger:focus .bf-tooltip-box {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Values & Icons */
.val-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bf-icon-check,
.bf-icon-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.val-subtext {
  font-size: 13.5px;
  font-weight: 600;
  color: #55504A;
}

/* Pro Recommended Badge */
.pro-badge {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  background: #FFEEDA;
  color: #E6741B;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(230, 116, 27, 0.2);
}

/* Bottom Full Width CTA matching media_1789638142857.png */
.bf-compare-ctas {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.bf-cta-banner {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF7A1A 0%, #E6741B 100%) !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 34px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 16px rgba(230, 116, 27, 0.35) !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
  border: none !important;
  cursor: pointer;
}

.bf-cta-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 116, 27, 0.45) !important;
  filter: brightness(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bf-compare-table-wrapper {
    padding: 16px 14px 10px;
    border-radius: 14px;
    overflow-x: auto;
  }

  .bf-compare-table {
    min-width: 580px;
  }

  .bf-table-cta {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  .bf-plan-price {
    font-size: 28px;
  }

  .bf-cta-banner {
    padding: 12px 20px !important;
    font-size: 13.5px !important;
    width: 100%;
  }
}

/* ==========================================================================
   BFC Access Levels Cards (Image 1 Redesign)
   ========================================================================== */
.bfc-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 36px auto 0;
  align-items: stretch;
}

.bfc-access-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #EAE2D5;
  border-radius: 22px;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bfc-access-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.bfc-badge-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F4EFE6;
  color: #9A773B;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bfc-card-title {
  font-size: 24px;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.bfc-card-sub {
  font-size: 13px;
  line-height: 1.5;
  color: #7A7065;
  margin: 0 0 24px;
  min-height: 38px;
}

.bfc-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex-grow: 1;
}

.bfc-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #453E36;
}

.bfc-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #CDBFA8;
  color: #9A7336;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.bfc-card-bestfor {
  padding-top: 20px;
  border-top: 1px solid #EFE8DC;
  margin-bottom: 20px;
}

.bfc-bestfor-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9C8E7D;
  margin-bottom: 6px;
}

.bfc-bestfor-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #655B50;
  margin: 0;
  min-height: 48px;
}

.bfc-card-pricing {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #EDE5D8;
}

.bfc-price-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A39585;
  margin-bottom: 6px;
}

.bfc-price-val {
  font-size: 32px;
  font-weight: 800;
  color: #9A6E24;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bfc-price-unit {
  font-size: 13px;
  font-weight: 600;
  color: #9C8E7D;
}

.bfc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  box-sizing: border-box;
}

.bfc-btn-outline {
  border: 1.5px solid #D6C7B2;
  background: transparent;
  color: #8C6225;
}

.bfc-btn-outline:hover {
  background: #FAF5EE;
  border-color: #B4853A;
  color: #724E1A;
}

/* Card 2: Builder (Warm Light Beige / Cream) */
.bfc-access-card.builder {
  background: #F7EEDB;
  border-color: #E8DCBE;
  box-shadow: 0 4px 20px rgba(160, 115, 45, 0.08);
}

.bfc-access-card.builder:hover {
  box-shadow: 0 12px 32px rgba(160, 115, 45, 0.15);
}

.bfc-access-card.builder .bfc-badge-num {
  background: #EADBBE;
  color: #885F1C;
}

.bfc-access-card.builder .bfc-card-title {
  color: #2E2113;
}

.bfc-access-card.builder .bfc-card-sub {
  color: #6E5C47;
}

.bfc-access-card.builder .bfc-card-features li {
  color: #382A1B;
}

.bfc-access-card.builder .bfc-check {
  border-color: #BA9D6C;
  color: #885F1C;
}

.bfc-access-card.builder .bfc-card-bestfor {
  border-top-color: #E6D8BA;
}

.bfc-access-card.builder .bfc-bestfor-lbl {
  color: #8D7658;
}

.bfc-access-card.builder .bfc-bestfor-desc {
  color: #554432;
}

.bfc-access-card.builder .bfc-card-pricing {
  border-top-color: #E6D8BA;
}

.bfc-access-card.builder .bfc-price-lbl {
  color: #8D7658;
}

.bfc-access-card.builder .bfc-price-val {
  color: #2E2113;
}

.bfc-access-card.builder .bfc-price-unit {
  color: #7A654C;
}

.bfc-btn-tan {
  border: 1.5px solid #C7A977;
  background: transparent;
  color: #573A10;
}

.bfc-btn-tan:hover {
  background: #EEDFCA;
  border-color: #885F1C;
  color: #3A2508;
}

/* Card 3: Founder Pro (Rich Golden Ochre) */
.bfc-access-card.founder-pro {
  background: linear-gradient(180deg, #CE932A 0%, #BA801E 100%);
  border: 1px solid #B87E1B;
  color: #FFFFFF;
  box-shadow: 0 14px 40px rgba(186, 128, 30, 0.32);
}

.bfc-access-card.founder-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(186, 128, 30, 0.42);
}

.bfc-access-card.founder-pro .bfc-badge-num {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.bfc-access-card.founder-pro .bfc-card-title {
  color: #FFFFFF;
}

.bfc-access-card.founder-pro .bfc-card-sub {
  color: rgba(255, 255, 255, 0.88);
}

.bfc-access-card.founder-pro .bfc-card-features li {
  color: #FFFFFF;
}

.bfc-access-card.founder-pro .bfc-check {
  border-color: rgba(255, 255, 255, 0.75);
  color: #FFFFFF;
}

.bfc-access-card.founder-pro .bfc-card-bestfor {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.bfc-access-card.founder-pro .bfc-bestfor-lbl {
  color: rgba(255, 255, 255, 0.78);
}

.bfc-access-card.founder-pro .bfc-bestfor-desc {
  color: rgba(255, 255, 255, 0.92);
}

.bfc-access-card.founder-pro .bfc-card-pricing {
  border-top-color: rgba(255, 255, 255, 0.25);
}

.bfc-access-card.founder-pro .bfc-price-lbl {
  color: rgba(255, 255, 255, 0.78);
}

.bfc-access-card.founder-pro .bfc-price-val {
  color: #FFFFFF;
}

.bfc-access-card.founder-pro .bfc-price-unit {
  color: rgba(255, 255, 255, 0.88);
}

.bfc-btn-white {
  background: #FFFFFF;
  border: none;
  color: #9C6A14;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.bfc-btn-white:hover {
  background: #FFF9F0;
  color: #7D510B;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Ribbon Medal Badge */
.bfc-medal-badge {
  position: absolute;
  top: -16px;
  right: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F7D480 0%, #B8801A 70%, #875708 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32), inset 0 1px 2px rgba(255, 255, 255, 0.7);
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  z-index: 10;
}

.bfc-medal-text {
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  display: block;
}

.bfc-medal-badge::before,
.bfc-medal-badge::after {
  content: '';
  position: absolute;
  bottom: -13px;
  width: 16px;
  height: 22px;
  background: #7D4C06;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.bfc-medal-badge::before {
  left: 13px;
  transform: rotate(16deg);
}

.bfc-medal-badge::after {
  right: 13px;
  transform: rotate(-16deg);
}

@media (max-width: 960px) {
  .bfc-access-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .feature-grid-3 {
    grid-template-columns: 1fr;
  }

  .lib-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lib-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .lib-filters {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    width: auto;
    border-radius: var(--radius-pill);
    padding: 4px;
    gap: 4px;
  }

  .lib-filters::-webkit-scrollbar {
    display: none;
  }

  .lib-filters > span {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 14px;
    font-size: 13px;
  }
}

@media (max-width: 580px) {
  .lib-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   USE CASE SECTION STYLES
   ========================================================================== */
.usecase-section {
  padding: 90px 0;
  background-color: var(--bg-page);
}

.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

/* Card: 2-column horizontal row on desktop */
.usecase-card {
  display: flex;
  align-items: center;
  gap: 56px;
  background: #ffffff;
  padding: 44px 48px;
  border-radius: 24px;
  border: 1px solid rgba(231, 219, 198, 0.55);
  box-shadow: 0 4px 24px rgba(91, 58, 41, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.usecase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91, 58, 41, 0.07);
}

/* Subtle individual touches to avoid template monotony */
.usecase-card-1 {
  border-radius: 26px;
}

.usecase-card-2 {
  border-radius: 24px;
}

.usecase-card-3 {
  border-radius: 26px;
}

.usecase-card-4 {
  border-radius: 24px;
}

/* Alternating layout (Zic-zac): Card 2 & 4 have Image on RIGHT, Text on LEFT */
.usecase-card.reverse {
  flex-direction: row-reverse;
}

/* Media Column (Illustration) */
.usecase-media-col {
  flex: 0 0 380px;
  max-width: 380px;
  width: 100%;
}

.usecase-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
}

.usecase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.usecase-card:hover .usecase-img-box img {
  transform: scale(1.03);
}

/* Soft pastel backgrounds for illustrations */
.bg-warm-ivory {
  background: #FAF5EE;
  border: 1px solid rgba(245, 128, 33, 0.1);
}

.bg-warm-cream {
  background: #F7F5F0;
  border: 1px solid rgba(91, 58, 41, 0.08);
}

.bg-warm-peach {
  background: #FFF7F0;
  border: 1px solid rgba(245, 128, 33, 0.12);
}

.bg-warm-light {
  background: #F8F7F4;
  border: 1px solid rgba(91, 58, 41, 0.07);
}

/* Content Column */
.usecase-content-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.usecase-persona-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 14px;
  background: #FFF5EC;
  color: #f58021;
  border: 1px solid rgba(245, 128, 33, 0.25);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.usecase-title {
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.34;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.usecase-desc {
  font-size: 15px;
  line-height: 1.68;
  color: #555555;
  margin-bottom: 24px;
}

/* Two metric boxes side-by-side */
.usecase-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

.usecase-metric-box {
  background: #f7f6f4;
  border: 1px solid rgba(231, 219, 198, 0.6);
  border-radius: 12px;
  padding: 13px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: #767675;
  letter-spacing: 0.02em;
}

.metric-val {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}

/* CTA Pill Button: solid orange #f58021, white text, fully rounded, hover darker */
.usecase-cta-wrap {
  display: flex;
  align-items: center;
}

.usecase-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f58021;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 128, 33, 0.28);
  width: fit-content;
}

.usecase-cta-btn svg {
  transition: transform 0.2s ease;
}

.usecase-cta-btn:hover {
  background-color: #df6e16;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 128, 33, 0.42);
}

.usecase-cta-btn:hover svg {
  transform: translateX(3px);
}

/* ================= Mobile Responsiveness ================= */
@media (max-width: 960px) {

  .usecase-card,
  .usecase-card.reverse {
    flex-direction: column !important;
    /* ALWAYS Image on Top, Text on Bottom */
    gap: 28px;
    padding: 32px 26px;
  }

  .usecase-media-col {
    flex: none;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .usecase-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .usecase-card,
  .usecase-card.reverse {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .usecase-media-col {
    max-width: 100%;
  }

  .usecase-cta-btn {
    width: 100%;
  }
}


/* ==========================================================================
   UNIFIED TABLE DESIGN SYSTEM (COMPARISON & PRICING MATRICES)
   Based on Brand Foundation Reference Specification
   ========================================================================== */

/* Outer Section Layout */
.bf-table-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

/* Unified Table Container */
.bf-table-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(231, 219, 198, 0.7);
  box-shadow: 0 4px 24px rgba(91, 58, 41, 0.04);
  overflow: hidden;
}

.bf-table-container.narrow {
  max-width: 880px;
}

/* Scroll wrapper for responsive mobile/tablet */
.bf-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Base Table Element */
.bf-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.5;
  background: #ffffff;
}

/* Table Header Styles */
.bf-table thead th {
  background: #FAF8F5;
  padding: 24px 18px 22px;
  border-bottom: 1.5px solid rgba(231, 219, 198, 0.75);
  vertical-align: top;
  font-weight: 700;
  color: #1a1a1a;
}

/* First Column Header */
.bf-table thead th.th-feature-main {
  width: 33%;
  min-width: 250px;
  text-align: left;
  padding-left: 26px;
}

.th-feature-main .table-main-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.th-feature-main .table-main-sub {
  font-size: 12px;
  color: #767675;
  line-height: 1.45;
  font-weight: 400;
}

/* Plan Column Headers */
.bf-table thead th.th-plan {
  text-align: center;
  vertical-align: top;
  padding: 20px 14px 22px;
  width: 16.75%;
}

.th-plan-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.th-plan-badge {
  font-size: 11px;
  font-weight: 700;
  color: #e6741b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  min-height: 16px;
  display: block;
}

.th-plan-name {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.th-plan-price {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.th-plan-price .cycle {
  font-size: 13px;
  font-weight: 500;
  color: #767675;
}

.th-plan-note {
  font-size: 11.5px;
  color: #8a8a8a;
  margin-top: 3px;
  margin-bottom: 14px;
  min-height: 16px;
  line-height: 1.35;
}

/* CTA Pill Button inside Table Header */
.bf-table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f58021;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(245, 128, 33, 0.25);
  margin-top: auto;
}

.bf-table-btn:hover {
  background-color: #df6e16;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 128, 33, 0.38);
}

/* Pro Column Highlight (Warm Cream/Beige) */
.bf-table th.col-highlight,
.bf-table td.col-highlight {
  background-color: #FFF9F2 !important;
  border-left: 1px solid rgba(245, 128, 33, 0.12);
  border-right: 1px solid rgba(245, 128, 33, 0.12);
}

.bf-table thead th.col-highlight {
  background-color: #FFF6EC !important;
}

/* Table Body Rows */
.bf-table tbody tr {
  border-bottom: 1px solid rgba(231, 219, 198, 0.5);
  transition: background-color 0.15s ease;
}

.bf-table tbody tr:last-child {
  border-bottom: none;
}

.bf-table tbody tr:hover {
  background-color: rgba(250, 246, 240, 0.45);
}

.bf-table tbody tr:hover td.col-highlight {
  background-color: #FFF3E6 !important;
}

/* Feature Item Cell (Col 1) */
.bf-table tbody td.td-feature {
  padding: 15px 18px 15px 26px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(231, 219, 198, 0.5);
}

.feature-cell-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-cell-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #FFF5EC;
  color: #f58021;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-cell-text {
  flex: 1;
  min-width: 0;
}

.feature-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.feature-desc {
  font-size: 12px;
  color: #767675;
  line-height: 1.45;
  margin-top: 2px;
}

/* Data Cells */
.bf-table tbody td.td-val {
  padding: 15px 14px;
  text-align: center;
  vertical-align: middle;
  font-size: 13px;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(231, 219, 198, 0.5);
}

.bf-table tbody td.td-val.val-bold {
  font-weight: 700;
}

.bf-check {
  color: #f58021;
  font-weight: 800;
  font-size: 15px;
  display: inline-block;
}

.bf-dash {
  color: #b5b0a8;
  font-size: 15px;
}

.bf-tag-status {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: #666666;
}

/* ================= 3-COLUMN TABLES (Access levels & Use Cases diff) ================= */
.bf-table.access-table thead th.col-feature,
.bf-table.diff-table thead th.col-feature {
  width: 44%;
  padding-left: 28px;
}

.bf-table.access-table thead th.col-plan,
.bf-table.diff-table thead th.col-plan {
  width: 28%;
  text-align: center;
}

.bf-table.diff-table thead th {
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
}

.bf-table.diff-table tbody td {
  padding: 15px 22px;
  font-size: 14px;
}

.bf-table.diff-table td.col-highlight {
  font-weight: 700;
  color: #1a1a1a;
}

/* Tooltip styles for features */
.bf-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ECEBE5;
  color: #767675;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 6px;
  position: relative;
  vertical-align: middle;
}

.bf-tooltip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  width: 220px;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.bf-tooltip-trigger:hover .bf-tooltip-box,
.bf-tooltip-trigger:focus .bf-tooltip-box {
  display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .bf-table-container {
    max-width: 100%;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .bf-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 128, 33, 0.4) rgba(0, 0, 0, 0.04);
  }

  .bf-table-scroll::-webkit-scrollbar {
    height: 5px;
  }

  .bf-table-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
  }

  .bf-table-scroll::-webkit-scrollbar-thumb {
    background: rgba(245, 128, 33, 0.4);
    border-radius: 4px;
  }

  .bf-table {
    min-width: 760px;
  }

  .bf-table.diff-table {
    min-width: 520px;
  }

  .bf-table th.th-feature-main,
  .bf-table th.col-feature,
  .bf-table td.td-feature,
  .bf-table td.col-feature {
    position: static !important;
    box-shadow: none !important;
  }

  .bf-table thead th.th-feature-main,
  .bf-table thead th.col-feature {
    position: static !important;
  }

  .bf-table thead th.th-feature-main {
    width: 220px;
    min-width: 200px;
    padding: 16px 14px;
  }

  .bf-table thead th.th-plan {
    width: 135px;
    min-width: 130px;
    padding: 16px 8px 18px;
  }

  .bf-table .th-plan-badge {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .bf-table .th-plan-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .bf-table .th-plan-price {
    font-size: 20px;
  }

  .bf-table .th-plan-note {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .bf-table-btn {
    font-size: 11.5px;
    padding: 7px 12px;
    white-space: nowrap;
  }

  .bf-table tbody td.td-feature {
    padding: 12px 14px;
  }

  .bf-table tbody td.td-val {
    padding: 12px 8px;
  }

  /* Difference Table Mobile Adjustments */
  .bf-table.diff-table thead th.col-feature {
    width: 40%;
    min-width: 190px;
    padding: 14px 14px;
    font-size: 13.5px;
  }

  .bf-table.diff-table thead th.col-plan {
    width: 30%;
    min-width: 150px;
    padding: 14px 10px;
    font-size: 13.5px;
  }

  .bf-table.diff-table tbody td {
    padding: 12px 12px;
    font-size: 13px;
  }

  .bf-table.diff-table td.col-feature {
    padding-left: 14px;
  }
}


/* ==========================================================================
   UNIFIED FINAL CTA & FOOTER (EXACT MATCH REFERENCE IMAGE)
   ========================================================================== */

.bf-final-cta-section {
  background: radial-gradient(circle at 50% 0%, #3a2015 0%, #28140c 55%, #1d0e08 100%);
  color: #ffffff;
  padding: 92px 0 74px;
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.bf-final-cta-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}

.bf-final-cta-heading {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  max-width: 720px;
  margin: 0 auto 16px;
  letter-spacing: -0.015em;
}

.bf-final-cta-heading .accent-orange {
  color: #FF6B2C;
}

.bf-final-cta-subtext {
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 auto 28px;
}

.bf-final-cta-btn-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.btn-final-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FF6B2C;
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 22px rgba(255, 107, 44, 0.36);
}

.btn-final-cta-pill:hover {
  background-color: #f15919;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 107, 44, 0.5);
}

.bf-final-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.bf-final-cta-trust .trust-dot {
  opacity: 0.45;
  font-size: 11px;
}

/* Main Footer */
.bf-main-footer {
  background-color: #1c0d08;
  color: #ffffff;
  padding: 64px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  box-sizing: border-box;
}

.bf-footer-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.bf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 52px;
  margin-bottom: 36px;
}

.bf-footer-logo,
.footer-brand .navbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
}

.bf-footer-logo:hover,
.footer-brand .navbar-logo:hover {
  opacity: 0.92;
}

.bf-footer-logo svg,
.footer-brand .navbar-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.bf-footer-logo span.highlight,
.footer-brand .navbar-logo span.highlight,
.bf-footer-logo .highlight,
.footer-brand .navbar-logo .highlight {
  color: var(--orange, #F58021);
}

.bf-footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  margin: 0;
}

.bf-footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin: 0 0 14px 0;
}

.bf-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bf-footer-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.bf-footer-links a:hover {
  color: #FF6B2C;
}

.bf-footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 32px 0 22px;
}

.bf-footer-mid-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.bf-footer-contact {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
}

.bf-footer-contact .contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bf-footer-contact .contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.bf-footer-contact .contact-item a:hover {
  color: #FF6B2C;
}

.bf-footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bf-social-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.18s ease;
}

.bf-social-btn:hover {
  background: #FF6B2C;
  color: #ffffff;
  transform: translateY(-1px);
}

.bf-footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.bf-footer-bottom-bar .legal-links a {
  color: inherit;
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.15s ease;
}

.bf-footer-bottom-bar .legal-links a:hover {
  color: #FF6B2C;
}

/* Responsive Footer */
@media (max-width: 820px) {
  .bf-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .bf-footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 540px) {
  .bf-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bf-footer-brand {
    grid-column: span 1;
  }

  .bf-footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bf-footer-mid-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .bf-footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bf-footer-bottom-bar .legal-links a {
    margin-left: 0;
    margin-right: 18px;
  }
}


/* ==========================================================================
   REVIEW SLIDER TRACK ENHANCEMENT
   ========================================================================== */
.rev-track-line {
  cursor: pointer;
  user-select: none;
}

.rev-track-thumb {
  pointer-events: none;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BRAND LIBRARY - HOW TO USE SECTION (MATCHING REFERENCE IMAGE 2)
   ========================================================================== */
.lib-how-section {
  padding: 64px 0 72px;
}

.lib-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lib-how-card {
  background-color: #f7f5f0;
  border-radius: 20px;
  padding: 26px 24px 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lib-how-card:hover {
  transform: translateY(-3px);
  background-color: #f0eee8;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.lib-how-tag {
  align-self: flex-start;
  background: #fff3e6;
  color: #eb781b;
  border: 1px solid rgba(245, 128, 33, 0.32);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(245, 128, 33, 0.08);
}

.lib-how-content {
  margin-top: auto;
  padding-top: 22px;
}

.lib-how-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.lib-how-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #55534e;
  margin: 0;
}

@media (max-width: 860px) {
  .lib-how-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lib-how-card {
    min-height: auto;
    padding: 22px 20px;
  }
}

/* ==========================================================================
   BRAND LIBRARY - TARGET AUDIENCE WORKFLOW SECTION (NODE-BASED DIAGRAM)
   ========================================================================== */
.bf-audience-flow-section {
  background-color: #fbfaf8;
  background-image: radial-gradient(#dfd7cc 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}

.bf-flow-canvas {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.bf-audience-flow-section {
  scroll-margin-top: 88px;
}

.bf-flow-workflow {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* TOP ROW: 2 NODES (INPUT + PROCESS) */
.bf-flow-top-nodes {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.bf-flow-top-nodes .node-input,
.bf-flow-top-nodes .node-process {
  flex: 1;
  min-width: 0;
  min-height: 380px;
}

.connector-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  margin-top: 130px;
}

/* DOWNWARD FLOW CONNECTOR */
.bf-flow-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  gap: 6px;
}

.bf-flow-down-line {
  width: 2px;
  height: 20px;
  background: repeating-linear-gradient(to bottom, #f58021, #f58021 4px, transparent 4px, transparent 8px);
}

.bf-flow-down-badge .flow-pill {
  box-shadow: 0 4px 14px rgba(30, 126, 67, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* BOTTOM ROW: LARGE FULL-WIDTH OUTPUT DASHBOARD (Hình 2 layout + BF colors/data) */
.node-output-wide {
  width: 100%;
  max-width: 1240px;
  background: #ffffff;
  border: 1.5px solid #ece6dc;
  border-radius: 20px;
  padding: 26px 30px 22px;
  box-shadow: 0 8px 30px rgba(91, 58, 41, 0.06);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.node-output-wide:hover {
  border-color: #f58021;
  box-shadow: 0 12px 36px rgba(245, 128, 33, 0.15), 0 0 0 1px rgba(245, 128, 33, 0.25);
  transform: translateY(-2px);
}

/* Dashboard Top Bar */
.ta-wide-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ta-wide-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ta-wide-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.ta-summary-bar-wide {
  margin-bottom: 0;
  padding: 9px 18px;
  background: #faf8f5;
  border: 1px solid #ebd9c8;
  border-radius: 12px;
}

/* Dashboard Body: 60% Left / 40% Right */
.ta-wide-body-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.ta-wide-col-table {
  display: flex;
  flex-direction: column;
}

.ta-directory-wide {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 18px 20px 16px;
  background: #ffffff;
  border: 1px solid #ebe5dc;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(91, 58, 41, 0.03);
}

.ta-table-wide {
  font-size: 13px;
  width: 100%;
}

.ta-table-wide th {
  font-size: 11px;
  padding: 0 12px 10px;
  color: #888888;
}

.ta-table-wide td {
  padding: 11px 12px;
}

.ta-table-wide .ta-user-cell {
  gap: 10px;
}

.ta-table-wide .ta-avatar {
  width: 30px;
  height: 30px;
  font-size: 11.5px;
}

.ta-table-wide .ta-user-name {
  font-size: 13.5px;
}

.ta-table-wide .ta-type-pill {
  font-size: 11.5px;
  padding: 3.5px 10px;
}

.ta-table-wide .ta-status-verified {
  font-size: 11.5px;
  padding: 3.5px 10px;
}

.ta-table-footer-info {
  margin-top: 12px;
  font-size: 11.5px;
  color: #999999;
  text-align: right;
  font-weight: 500;
}

/* Charts Column */
.ta-wide-col-charts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ta-card-chart-wide {
  background: #ffffff;
  border: 1px solid #ebe5dc;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(91, 58, 41, 0.03);
  display: flex;
  flex-direction: column;
}

.ta-badge-gray {
  font-size: 10.5px;
  font-weight: 700;
  color: #777777;
  background: #f4f1eb;
  padding: 2px 8px;
  border-radius: 6px;
}

.ta-gender-body-wide {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 6px;
}

.ta-donut-wide {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}

.ta-legend-wide {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.ta-legend-wide .ta-legend-item {
  font-size: 12px;
}

.ta-legend-wide .ta-legend-percent {
  font-size: 12.5px;
}

.ta-relation-wide {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 6px;
}

.ta-relation-wide .ta-relation-meta {
  font-size: 11.5px;
}

.ta-relation-wide .ta-relation-val {
  font-size: 12px;
}

.ta-relation-wide .ta-progress-track {
  height: 6px;
}

/* Footer in Output */
.ta-wide-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #e8e2d8;
}

/* Classic grid fallback */
.bf-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
}

.bf-flow-node {
  background: #ffffff;
  border: 1.5px solid #ece6dc;
  border-radius: 18px;
  padding: 24px 18px 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(91, 58, 41, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.node-input,
.node-process,
.node-output {
  min-height: 400px;
}

.node-output {
  background: #ffffff;
  border: 1.5px solid #ece6dc;
  border-radius: 18px;
  padding: 24px 16px 20px;
  box-shadow: 0 6px 26px rgba(91, 58, 41, 0.06);
}

.bf-flow-node.node-highlight {
  border: 2px solid var(--orange);
  box-shadow: 0 10px 32px rgba(245, 128, 33, 0.14);
  background: #ffffff;
}

/* ==========================================================================
   UNIFIED BORDER-GLOW HOVER EFFECT (ACCENT ORANGE #f58021)
   ========================================================================== */
.bf-flow-node,
.source-item,
.process-step,
.mini-card,
.ta-directory-card,
.ta-chart-card,
.lib-card,
.feature-card,
.bento-card,
.toolkit-slide,
.so-sanh-col,
.usecase-card,
.pricing-card,
.review-card,
.testimonial-card,
.card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .bf-flow-node:hover,
  .ta-directory-card:hover,
  .ta-sub-card:hover {
    border-color: #f58021 !important;
    box-shadow: 0 10px 28px rgba(245, 128, 33, 0.16), 0 0 0 1px rgba(245, 128, 33, 0.3) !important;
    transform: translateY(-3px) !important;
  }

  .source-item:hover,
  .process-step:hover,
  .mini-card:hover {
    border-color: #f58021 !important;
    box-shadow: 0 6px 18px rgba(245, 128, 33, 0.14), 0 0 0 1px rgba(245, 128, 33, 0.22) !important;
    transform: translateY(-2px) !important;
  }

  .lib-card:hover,
  .feature-card:hover,
  .bento-card:hover,
  .pricing-card:hover,
  .usecase-card:hover,
  .so-sanh-col:hover,
  .toolkit-slide:hover,
  .review-card:hover {
    border-color: #f58021 !important;
    box-shadow: 0 12px 32px rgba(245, 128, 33, 0.15), 0 0 0 1px rgba(245, 128, 33, 0.25) !important;
    transform: translateY(-3px) !important;
  }
}

/* Ports on nodes */
.node-port {
  position: absolute;
  top: 175px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 128, 33, 0.15);
  transform: translateY(-50%);
  z-index: 5;
}

.node-port.port-right {
  right: -7px;
}

.node-port.port-left {
  left: -7px;
}

.node-port.port-highlight {
  background: var(--orange);
  border-color: #ffffff;
}

/* Node Badges */
.node-badge-wrap {
  margin-bottom: 12px;
}

.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f4f1eb;
  padding: 3px 10px;
  border-radius: 20px;
}

.flow-pill.pill-ai {
  color: var(--orange);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
}

.flow-pill.pill-output {
  color: #1e7e43;
  background: #edf8f1;
  border: 1px solid #c7ecd4;
}

.node-title {
  font-size: 18px;
  font-weight: 700;
  color: #4a3226;
  margin-bottom: 16px;
}

.node-header-center {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.node-header-center .node-title {
  margin-bottom: 0;
}

.node-header-output {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.node-header-output .node-title {
  margin-bottom: 0;
  font-size: 17px;
}

/* Node 3 Mini Cards (Hình 2 / cdp2.datalytis.com/brand-library.html#target-audience) */
.mini-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.mini-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf8f5;
  border: 1px solid #f0e9df;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  border-color: #f58021;
  box-shadow: 0 4px 14px rgba(245, 128, 33, 0.12);
  transform: translateY(-2px);
}

.mini-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-card-top .card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #767675;
}

.card-meta strong {
  color: #1a1a1a;
  font-weight: 700;
}

.node-icon-filter,
.node-icon-output {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Node 1 Sources */
.node-sources-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.source-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #faf8f5;
  border: 1px solid #f0e9df;
  font-size: 13.5px;
}

.source-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: transparent;
  color: #4a3226;
  flex-shrink: 0;
}

.source-name {
  font-weight: 700;
  color: #1a1a1a;
  min-width: 60px;
}

.source-sub {
  font-size: 11.5px;
  color: #767675;
  margin-left: auto;
}

/* Node 2 Process Steps */
.node-process-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fff8f0;
  border: 1px solid #fcd4af;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  background: #ffffff;
  border: 1px solid var(--badge-border);
  border-radius: 6px;
  padding: 2px 5px;
  flex-shrink: 0;
}

.step-text {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  line-height: 1.35;
}

.step-text strong {
  font-weight: 700;
  color: #1a1a1a;
}

.step-text span {
  color: #767675;
  font-size: 11.5px;
}

/* ==========================================================================
   NODE 3 (OUTPUT) DASHBOARD - PROMINENT MOCKUP LAYOUT (fanpageinsight.com)
   ========================================================================== */

/* Top bar in Node Output */
.node-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.node-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #f58021;
  background: #fff8f0;
  border: 1px solid rgba(245, 128, 33, 0.25);
  padding: 3px 9px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.bf-flow-node.node-output:hover .node-link-pill {
  background: #f58021;
  color: #ffffff;
  border-color: #f58021;
}

.ta-sub-header-info {
  font-size: 11px;
  color: #888888;
  font-weight: 500;
  display: block;
}

/* 4 Metrics Grid (fanpageinsight layout) */
.ta-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.ta-metric-box {
  background: #faf9f6;
  border: 1px solid #ebe5dc;
  border-radius: 10px;
  padding: 7px 9px 5px;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.ta-metric-box:hover {
  background: #ffffff;
  border-color: #dfd7cc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ta-m-label {
  font-size: 10px;
  font-weight: 700;
  color: #7a7a7a;
  text-transform: capitalize;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.ta-m-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 2px;
}

.ta-m-val {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ta-m-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.2;
}

.ta-m-badge.green {
  color: #16a34a;
  background: #dcfce7;
}

.ta-m-badge.gray {
  color: #6b7280;
  background: #f3f4f6;
}

.ta-m-desc {
  font-size: 9.5px;
  color: #8a8a8a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.ta-m-bar {
  height: 3px;
  border-radius: 2px;
  width: 100%;
}

.bar-purple {
  background: #6366f1;
}

.bar-green {
  background: #22c55e;
}

.bar-orange {
  background: #f58021;
}

.bar-blue {
  background: #3b82f6;
}

/* Charts header count */
.ta-sub-count {
  font-size: 10px;
  font-weight: 700;
  color: #888888;
}

/* Relationship Progress fills */
.fill-rel-1 {
  background: #8b5cf6;
}

.fill-rel-2 {
  background: #a78bfa;
}

.fill-rel-3 {
  background: #c4b5fd;
}

.fill-rel-4 {
  background: #ddd6fe;
}

/* Card footer click action */
.ta-card-footer-action {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #e8e2d8;
}

.ta-click-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #f58021;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.bf-flow-node.node-output:hover .ta-click-note {
  color: #d9660c;
  text-decoration: underline;
}

/* A. Thanh tóm tắt đầu card */
.ta-summary-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fbf9f6;
  border: 1px solid #ede8e1;
  border-radius: 10px;
  margin-bottom: 12px;
}

.ta-sum-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f58021;
  box-shadow: 0 0 0 3px rgba(245, 128, 33, 0.22);
  flex-shrink: 0;
}

.ta-sum-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 1.35;
  flex-wrap: wrap;
}

.ta-sum-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ta-sum-label {
  color: #767675;
  font-weight: 500;
}

.ta-sum-val {
  color: #1a1a1a;
  font-weight: 800;
}

.ta-sum-divider {
  width: 1px;
  height: 12px;
  background: #dfd7cc;
}

/* B. Block "Audience Directory" */
.ta-directory-card {
  background: #ffffff;
  border: 1px solid #ebe5dc;
  border-radius: 14px;
  padding: 12px 14px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(91, 58, 41, 0.04);
}

.ta-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ta-card-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ta-title-icon {
  flex-shrink: 0;
}

.ta-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1f1f1f;
  letter-spacing: -0.01em;
}

.ta-badge-orange {
  font-size: 10px;
  font-weight: 700;
  color: #e66a00;
  background: #fdf2e9;
  border: 1px solid rgba(245, 128, 33, 0.2);
  padding: 2px 7px;
  border-radius: 5px;
}

/* Audience Table */
.ta-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.ta-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7a7a7a;
  padding: 0 6px 8px;
  border-bottom: 1px solid #ede8e1;
}

.ta-table th.th-name {
  width: 44%;
}

.ta-table th.th-type {
  width: 28%;
}

.ta-table th.th-status {
  width: 28%;
  text-align: right;
}

.ta-table td {
  padding: 7px 6px;
  border-bottom: 1px solid #f6f3ed;
  vertical-align: middle;
}

.ta-table tr:last-child td {
  border-bottom: none;
}

.ta-user-cell {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ta-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.av-lance {
  background: #fde8d7;
  color: #c25e16;
}

.av-thao {
  background: #ede8fa;
  color: #7856c8;
}

.av-alex {
  background: #e5f3fc;
  color: #1d7fc4;
}

.ta-user-name {
  font-weight: 700;
  color: #1f1f1f;
  white-space: nowrap;
  font-size: 12px;
}

.ta-type-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.pill-fanpage {
  background: #f8efe6;
  color: #4a3226;
  border: 1px solid #ede0d4;
}

.pill-group {
  background: #fff1e0;
  color: #e66a00;
  border: 1px solid #fed8b1;
}

.pill-profile {
  background: #edf4fc;
  color: #2563eb;
  border: 1px solid #d4e4f7;
}

.td-status {
  text-align: right;
}

.ta-status-verified {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: #1ea652;
  background: #edf9f0;
  padding: 2.5px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.ta-status-verified svg {
  flex-shrink: 0;
}

/* C. Hai block nhỏ cạnh nhau (2 cột) */
.ta-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.ta-sub-card {
  background: #ffffff;
  border: 1px solid #ebe5dc;
  border-radius: 14px;
  padding: 12px 10px;
  box-shadow: 0 2px 8px rgba(91, 58, 41, 0.03);
  display: flex;
  flex-direction: column;
}

.ta-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ta-sub-title {
  font-size: 12px;
  font-weight: 800;
  color: #1f1f1f;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.ta-sub-header .ta-sub-title {
  margin: 0;
}

/* Gender Demographics Body */
.ta-gender-body {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: auto;
}

.ta-donut-wrapper {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
}

.ta-donut-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ta-legend-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.ta-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
}

.ta-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ta-legend-name {
  color: #6b6b6b;
  flex: 1;
}

.ta-legend-percent {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 11px;
}

/* Relationship Progress Bars Body */
.ta-relation-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  margin-bottom: auto;
}

.ta-relation-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ta-relation-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
}

.ta-relation-label {
  color: #6b6b6b;
  font-weight: 500;
}

.ta-relation-val {
  font-weight: 800;
  color: #1a1a1a;
  font-size: 11px;
}

.ta-progress-track {
  height: 5px;
  background: #ede7de;
  border-radius: 4px;
  overflow: hidden;
}

.ta-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.fill-single {
  background: linear-gradient(90deg, #f58021, #ff9e42);
}

.fill-married {
  background: linear-gradient(90deg, #4a3226, #6b4d3d);
}

.fill-dating {
  background: linear-gradient(90deg, #bfa085, #d9beab);
}

/* D. Dòng chú thích nhỏ */
.ta-disclaimer-note {
  font-size: 11px;
  line-height: 1.45;
  color: #777777;
  margin: 6px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #e8e2d8;
}

/* Bottom CTA Button (Moved down below closing sentence as circled in red) */
.ta-bottom-cta-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.ta-main-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  background: #f58021;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(245, 128, 33, 0.32);
  transition: all 0.25s ease;
  cursor: pointer;
}

.ta-main-cta-btn:hover {
  background: #e6741b;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 128, 33, 0.42);
}

.ta-full-cta-btn:active {
  transform: translateY(0);
}

/* Node Captions */
.node-caption {
  font-size: 12px;
  line-height: 1.5;
  color: #6b6b6b;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #e8e2d8;
}

/* Connector Lines */
.bf-flow-connector {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: 163px;
}

.connector-svg {
  width: 36px;
  height: 24px;
  display: block;
}

/* Responsive */
@media (max-width: 980px) {
  .bf-flow-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bf-flow-connector {
    width: 24px;
    height: 36px;
    margin: 0 auto !important;
    transform: rotate(90deg);
  }
  .node-port.port-right {
    right: auto;
    left: 50%;
    bottom: -7px;
    top: auto;
    transform: translateX(-50%);
  }
  .node-port.port-left {
    left: 50%;
    top: -7px;
    transform: translateX(-50%);
  }
  .node-input,
  .node-process {
    min-height: auto;
  }
  .ta-two-col-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .ta-two-col-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ta-summary-bar {
    padding: 10px 14px;
  }
  .ta-sum-content {
    gap: 10px;
    font-size: 12.5px;
  }
  .ta-table th, .ta-table td {
    padding: 8px 6px;
  }
}

/* --- SOCIAL PROOF TOAST POPUP (BOTTOM-LEFT) --- */
.bf-social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 13px 15px;
  width: 320px;
  max-width: calc(100vw - 48px);
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  font-family: inherit;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bf-social-proof-toast.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.bf-toast-badge {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--orange, #eb781b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-top: 1px;
  box-shadow: 0 3px 8px rgba(235, 120, 27, 0.28);
}

.bf-toast-content {
  flex: 1;
  min-width: 0;
  padding-right: 12px;
}

.bf-toast-header {
  font-size: 13px;
  line-height: 1.35;
  color: #111827;
}

.bf-toast-name {
  font-weight: 700;
  color: #111827;
}

.bf-toast-role {
  color: #6b7280;
  font-weight: 500;
  font-size: 12px;
  margin-left: 2px;
}

.bf-toast-body {
  font-size: 12.5px;
  line-height: 1.4;
  color: #374151;
  margin-top: 3px;
}

.bf-toast-highlight {
  color: var(--orange, #eb781b);
  font-weight: 600;
}

.bf-toast-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #6b7280;
  margin-top: 5px;
  font-weight: 500;
}

.bf-toast-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--orange, #eb781b);
  display: inline-block;
}

.bf-toast-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.bf-toast-close:hover {
  color: #1f2937;
}

@media (max-width: 640px) {
  .bf-social-proof-toast {
    left: 14px;
    right: 14px;
    bottom: 82px;
    width: auto;
    max-width: calc(100vw - 28px);
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .bf-toast-badge {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .bf-toast-badge svg {
    width: 14px;
    height: 14px;
  }

  .bf-toast-header {
    font-size: 12px;
  }

  .bf-toast-name {
    font-size: 12px;
  }

  .bf-toast-role {
    font-size: 11px;
  }

  .bf-toast-body {
    font-size: 11.5px;
    margin-top: 2px;
  }

  .bf-toast-meta {
    font-size: 10.5px;
    margin-top: 3px;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS (max-width: 768px & 640px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Containers & Global */
  .wrap,
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  section {
    padding: 48px 0;
  }

  /* Headings & Texts */
  h1 {
    font-size: clamp(24px, 6.2vw, 32px);
    line-height: 1.25;
    word-break: break-word;
  }

  h2 {
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.3;
    word-break: break-word;
  }

  .lede {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .section-head {
    margin-bottom: 28px;
  }

  /* Global Buttons - Prevent Overflow */
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .btn.plain {
    padding: 12px 18px;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
  }

  /* Header Navigation */
  header.nav .inner {
    padding: 10px 16px;
    gap: 10px;
    width: 100%;
  }

  .brand-mark,
  .navbar-logo {
    font-size: 18px;
    gap: 8px;
    flex: 1;
    min-width: 0;
    margin-right: 12px;
  }

  .brand-mark svg,
  .navbar-logo svg {
    width: 28px;
    height: 28px;
    flex: none;
  }

  .brand-mark span,
  .navbar-logo span {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navcta {
    gap: 8px;
    flex: none;
  }

  .nav-cta-btn {
    display: none !important;
  }

  /* Hero Section */
  .hero {
    padding: 32px 0 20px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 24px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .trustline {
    max-width: 100%;
    width: 100%;
    font-size: 11.5px;
    padding: 6px 10px;
    margin-bottom: 16px;
    box-sizing: border-box;
  }

  .trustline-ticker {
    min-width: 0;
    flex: 1;
    height: auto;
    overflow: hidden;
  }

  .trustline-item {
    white-space: normal;
    line-height: 1.35;
    word-break: break-word;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .hero-visual .bg-blob {
    width: 260px;
    height: 260px;
  }

  .mascot-hero {
    max-width: 280px;
  }

  .speech {
    right: 0;
    top: 0;
    max-width: 135px;
    font-size: 11px;
    padding: 8px 10px;
  }

  /* Stats Bar */
  .stats-bar {
    padding: 24px 0 28px;
  }

  .grid.g4.stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat {
    padding: 8px 6px;
  }

  .stat .num {
    font-size: 24px;
  }

  .stat .lbl {
    font-size: 11.5px;
    line-height: 1.4;
  }

  /* Ticker Line & Marquee */
  .ticker-line {
    font-size: 12.5px;
    line-height: 1.5;
    padding: 0 16px;
    margin-bottom: 10px;
  }

  /* Demo Video Panel */
  .demo-panel {
    grid-template-columns: 1fr;
    padding: 22px 16px;
    border-radius: 16px;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .demo-text-box h2 {
    font-size: 21px;
    line-height: 1.3;
  }

  .demo-text-box p {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .demo-video-box {
    width: 100%;
  }

  /* Quality Comparison Tabs & Cards */
  .tag-row {
    gap: 6px;
    margin-bottom: 18px;
  }

  .tag-pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .channel-compare.active {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .sc-card {
    padding: 16px 14px;
    gap: 12px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .sc-topbar {
    gap: 8px;
  }

  .status-pill {
    font-size: 11px;
    padding: 4px 10px;
  }

  .channel-pill {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .email-subject-line {
    white-space: normal;
    line-height: 1.4;
    word-break: break-word;
  }

  .sc-stats {
    padding: 10px 4px;
  }

  .sc-stats .v {
    font-size: 14px;
  }

  .sc-stats .l {
    font-size: 10px;
  }

  .sc-verdict {
    font-size: 12px;
    padding: 10px 12px;
  }

  /* Why Brand Foundation */
  .why-bf-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 20px auto 16px;
    width: 100%;
  }

  .why-bf-center {
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }

  .why-bf-center img {
    max-width: 250px;
  }

  .why-bf-block {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .why-bf-block h3 {
    font-size: 15px;
  }

  .why-bf-block p {
    font-size: 13px;
  }

  .why-bf-banner {
    padding: 12px 14px;
    border-radius: 14px;
    margin-top: 18px;
    max-width: 100%;
  }

  .why-bf-banner p {
    font-size: 13px;
  }

  /* How It Works Steps */
  .steps-layout {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }

  .stepline {
    gap: 12px;
    margin-bottom: 14px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 13.5px;
    flex: none;
  }

  .step-body h3 {
    font-size: 15px;
  }

  .step-body p {
    font-size: 13px;
  }

  .steps-visual img {
    max-width: 100%;
    border-radius: 14px;
  }

  /* What You Get - 8 Documents */
  .g4card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doc-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .doc-card .ico {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }

  .doc-card h3 {
    font-size: 14.5px;
  }

  .doc-card p {
    font-size: 12.5px;
  }

  .docs-export-note {
    font-size: 12.5px;
    padding: 10px 14px;
    line-height: 1.5;
  }

  /* Toolkit Showcase Carousel */
  .toolkit-showcase-layout {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .toolkit-info-col {
    width: 100%;
    flex: none;
  }

  .toolkit-info-col h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .toolkit-carousel-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .toolkit-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .tool-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .toolkit-nav-arrow.prev {
    left: 2px !important;
  }

  .toolkit-nav-arrow.next {
    right: 2px !important;
  }

  /* Reviews Showcase Slider */
  .reviews-showcase-grid {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .reviews-main-heading {
    white-space: normal;
    font-size: 22px;
    line-height: 1.3;
  }

  .reviews-side-col {
    width: 100%;
    text-align: center;
    flex: none;
  }

  .reviews-slider-ctrl {
    justify-content: center;
    max-width: 260px;
    margin: 0 auto;
  }

  .reviews-cards-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .reviews-viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .review-speech-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 4px;
  }

  .speech-bubble {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .speech-bubble .review-text {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .reviewer-meta {
    padding-left: 4px;
    gap: 10px;
    margin-top: 14px;
  }

  .reviewer-name {
    font-size: 14.5px;
  }

  .reviewer-time-role {
    font-size: 12px;
  }

  /* Cost Comparison & FAQ */
  .cost-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cost-card {
    padding: 18px 16px;
  }

  .cost-card .price {
    font-size: 22px;
  }

  summary {
    padding: 14px 14px;
    font-size: 14px;
  }

  .accordion-body {
    padding: 0 14px 14px;
    font-size: 13px;
  }

  /* Final CTA Section & Footer */
  .bf-final-cta-section {
    padding: 56px 0 44px;
  }

  .bf-final-cta-heading {
    font-size: 24px;
    line-height: 1.3;
  }

  .bf-final-cta-subtext {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .btn-final-cta-pill {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .bf-main-footer {
    padding: 44px 0 28px;
  }

  .bf-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .bf-footer-brand {
    grid-column: span 1 !important;
  }

  .bf-footer-mid-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .bf-footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .floating-chat-btn {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}
/* ==========================================================================
   CÂN CHỈNH MÃ MÀU ĐỒNG BỘ THEO YÊU CẦU:
   - Miễn phí / Free (Xanh lá): Nền #e8f7ee, Chữ #15803d, Viền #bbf7d0
   - Pro (Cam): Nền #FF6B2C, Chữ #ffffff, Viền #e0551b
   - Áp dụng phạm vi: "Tài sản bàn giao", "QUYỀN TRUY CẬP", "Bảng giá"
   - Giữ nguyên các thành phần khác.
   ========================================================================== */

/* 1. MÃ MÀU CÁC CỤC CHỨA NHÃN DÁN (BADGES, EYEBROWS, TAGS) */
.doc-badge.free,
.brand-badge.free,
.th-plan-badge.free,
.access-badge.free {
  background-color: #e8f7ee !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
  font-weight: 700 !important;
}

.doc-badge.pro,
.brand-badge.pro,
.access-badge.pro {
  background-color: #FF6B2C !important;
  color: #ffffff !important;
  border: 1px solid #e0551b !important;
  font-weight: 700 !important;
}

.eyebrow,
.demo-eyebrow,
.section-label {
  background-color: #E9851E !important;
  color: #ffffff !important;
}

.th-plan-badge {
  color: #E9851E !important;
}

.cost-card .badge-rec,
.tag-pill.active {
  background-color: #E9851E !important;
  color: #ffffff !important;
}

.lib-more-pill .lib-more-count {
  color: #E9851E !important;
}

/* Filter pills active trong Brand Library */
.lib-filters > span.active,
.lib-filters span.active {
  background: #E9851E !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(233, 133, 30, 0.28) !important;
}

/* 2. MÃ MÀU CÁC NÚT & THÀNH PHẦN TRONG BẢNG PHỤ (TABLE BUTTONS, CHECKS, TITLES) */
/* Cột Free trong bảng phụ (màu #e8f7ee & #15803d) */
.bf-table th.col-free .bf-table-btn,
.bf-table.access-table th.col-free .bf-table-btn,
.pricing-matrix-table th.col-free .bf-table-btn,
.bf-compare-table th.col-free .bf-table-cta {
  background-color: #e8f7ee !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.12) !important;
}

.bf-table th.col-free .bf-table-btn:hover,
.bf-table.access-table th.col-free .bf-table-btn:hover,
.pricing-matrix-table th.col-free .bf-table-btn:hover,
.bf-compare-table th.col-free .bf-table-cta:hover {
  background-color: #dcfce7 !important;
  color: #166534 !important;
  border-color: #86efac !important;
}

.bf-table th.col-free .th-plan-name,
.bf-table.access-table th.col-free .th-plan-name,
.pricing-matrix-table th.col-free .th-plan-name {
  color: #15803d !important;
}

.bf-table td.col-free .bf-check,
.bf-table.access-table td.col-free .bf-check,
.pricing-matrix-table td.col-free .bf-check {
  color: #15803d !important;
}

/* Cột Pro, Agency trong bảng phụ (màu #FF6B2C) */
.bf-table th.col-pro .bf-table-btn,
.bf-table.access-table th.col-pro .bf-table-btn,
.pricing-matrix-table th.col-pro .bf-table-btn,
.pricing-matrix-table th.col-agency .bf-table-btn,
.bf-compare-table th.col-pro .bf-table-cta {
  background-color: #FF6B2C !important;
  color: #ffffff !important;
  border: 1px solid #e0551b !important;
  box-shadow: 0 2px 10px rgba(255, 107, 44, 0.28) !important;
}

.bf-table th.col-pro .bf-table-btn:hover,
.bf-table.access-table th.col-pro .bf-table-btn:hover,
.pricing-matrix-table th.col-pro .bf-table-btn:hover,
.pricing-matrix-table th.col-agency .bf-table-btn:hover,
.bf-compare-table th.col-pro .bf-table-cta:hover {
  background-color: #e55b1f !important;
}

.bf-table th.col-pro .th-plan-name,
.bf-table.access-table th.col-pro .th-plan-name,
.pricing-matrix-table th.col-pro .th-plan-name,
.bf-table th.col-pro .th-plan-badge,
.bf-table.access-table th.col-pro .th-plan-badge,
.pricing-matrix-table th.col-pro .th-plan-badge {
  color: #FF6B2C !important;
}

.bf-check,
.bf-table td.col-pro .bf-check,
.bf-table.access-table td.col-pro .bf-check,
.pricing-matrix-table td.col-pro .bf-check,
.pricing-matrix-table td.col-highlight .bf-check,
.diff-table td.col-highlight .bf-check {
  color: #FF6B2C !important;
}

/* 3. CÂN CHỈNH TỈ LỆ RESPONSIVE: KHUNG LỌC BRAND LIBRARY (ĐẢM BẢO KHÔNG BỊ VỠ 2 HÀNG) */
.lib-filters {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  max-width: 100% !important;
  border-radius: 9999px !important;
  padding: 4px !important;
  gap: 3px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-neutral, #e5e0d8) !important;
  box-sizing: border-box !important;
}

.lib-filters::-webkit-scrollbar {
  display: none !important;
}

.lib-filters > span {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  border-radius: 9999px !important;
  padding: 7px 16px !important;
  font-size: 13px !important;
  cursor: pointer !important;
}

/* 4. CÂN CHỈNH TỈ LỆ RESPONSIVE: BẢNG GIÁ & BẢNG ĐỐI CHIẾU TRÊN MOBILE */
@media (max-width: 768px) {
  /* Container cuộn mượt */
  .bf-table-scroll {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(233, 133, 30, 0.4) rgba(0, 0, 0, 0.04) !important;
  }

  /* Bảng giá: Tỉ lệ cột cân đối, không đè lấn, các cột hiển thị trọn vẹn */
  .bf-table.pricing-matrix-table {
    min-width: 700px !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  .bf-table.pricing-matrix-table th.th-feature-main,
  .bf-table.pricing-matrix-table td.td-feature {
    width: 172px !important;
    min-width: 172px !important;
    max-width: 172px !important;
    position: static !important;
    box-shadow: none !important;
    padding: 12px 10px !important;
  }

  .bf-table.pricing-matrix-table th.th-plan,
  .bf-table.pricing-matrix-table td.td-val {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    position: static !important;
    box-shadow: none !important;
    padding: 12px 6px !important;
  }

  .bf-table.pricing-matrix-table .th-plan-badge {
    font-size: 9.5px !important;
    min-height: 14px !important;
  }

  .bf-table.pricing-matrix-table .th-plan-name {
    font-size: 13.5px !important;
    margin-bottom: 2px !important;
  }

  .bf-table.pricing-matrix-table .th-plan-price {
    font-size: 18px !important;
  }

  .bf-table.pricing-matrix-table .th-plan-note {
    font-size: 10.5px !important;
    min-height: 26px !important;
    margin-bottom: 8px !important;
  }

  .bf-table.pricing-matrix-table .bf-table-btn {
    font-size: 11px !important;
    padding: 6px 8px !important;
    width: 100% !important;
    max-width: 118px !important;
    box-sizing: border-box !important;
  }

  /* Bảng khác biệt (diff-table): 3 cột rõ ràng, không bị che mất cột "Không có BF" */
  .bf-table.diff-table {
    min-width: 480px !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  .bf-table.diff-table th.col-feature,
  .bf-table.diff-table td.col-feature {
    width: 38% !important;
    min-width: 160px !important;
    max-width: 180px !important;
    position: static !important;
    box-shadow: none !important;
    padding: 12px 10px !important;
  }

  .bf-table.diff-table th.col-plan,
  .bf-table.diff-table td:not(.col-feature) {
    width: 31% !important;
    min-width: 130px !important;
    position: static !important;
    box-shadow: none !important;
    padding: 12px 8px !important;
    text-align: center !important;
  }

  .bf-table.diff-table td {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .bf-table.diff-table .feature-name {
    font-size: 12.5px !important;
  }
}

/* 5. CÂN CHỈNH TOAST THÔNG BÁO VÀ CHÂN TRANG */
@media (max-width: 640px) {
  .bf-social-proof-toast {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 76px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    z-index: 999 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  }

  .floating-chat-btn {
    bottom: 16px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 1000 !important;
  }

  .bf-final-cta-section {
    padding: 64px 0 80px !important;
  }
}
