:root {
  --site-scale: 1.1;
  --ink: #272633;
  --muted: #6f6d7b;
  --soft: #f4f3f8;
  --panel: rgba(255, 255, 255, 0.76);
  --line: rgba(47, 45, 62, 0.1);
  --blue: #4277ff;
  --coral: #fa6e5b;
  --lavender: #f1eefb;
  --shadow: 0 24px 70px rgba(48, 43, 66, 0.13);
  --deep-shadow: 0 18px 52px rgba(29, 27, 38, 0.22);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  zoom: var(--site-scale);
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(66, 119, 255, 0.13), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(250, 110, 91, 0.11), transparent 30%),
    linear-gradient(180deg, #f4f3fa 0%, #f7f6fb 48%, #f0eef7 100%);
  font-family: "Be Vietnam Pro", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(39, 38, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 38, 51, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(66, 119, 255, 0.45);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  pointer-events: auto;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
}

.site-header.is-scrolled {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-shell {
  width: min(100% - 48px, var(--container));
  height: 72px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
  z-index: 4;
  transition:
    height 240ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 240ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms ease,
    border-color 220ms ease,
    border-radius 240ms ease,
    box-shadow 240ms ease;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 44%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.site-header.is-scrolled .nav-shell {
  height: 58px;
  margin-top: 8px;
  padding: 0 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 255, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  box-shadow:
    0 14px 34px rgba(15, 24, 53, 0.12),
    0 3px 10px rgba(66, 119, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(66, 119, 255, 0.08);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.site-header.is-scrolled .nav-shell::before {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.brand-logo-img {
  height: 25px;
  width: auto;
  display: block;
}

.dash-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.core-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1f1d27;
  border-radius: 9px;
  font-size: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.desktop-nav,
.nav-actions {
  display: flex;
  align-items: center;
}

.desktop-nav {
  flex: 1;
  justify-content: center;
  gap: 2px;
}

.nav-actions {
  flex: 0 0 auto;
  gap: 10px;
}

.nav-entry {
  display: flex;
  align-items: center;
}

.nav-link,
.nav-trigger {
  min-height: 40px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #4f4d5d;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(66, 119, 255, 0.06);
}

.nav-link:focus-visible,
.nav-trigger:focus-visible,
.nav-login-button:focus-visible,
.mega-item:focus-visible,
.mega-menu-footer a:focus-visible {
  outline: 3px solid rgba(66, 119, 255, 0.24);
  outline-offset: 2px;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-login-button {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(15, 24, 53, 0.18);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(15, 24, 53, 0.06);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-login-button:hover {
  color: var(--blue);
  border-color: rgba(66, 119, 255, 0.34);
  box-shadow: 0 8px 22px rgba(66, 119, 255, 0.1);
  transform: translateY(-1px);
}

.btn {
  min-height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  color: #fff;
  background: #1f1d27;
  box-shadow: 0 13px 28px rgba(31, 29, 39, 0.22), 0 0 0 4px rgba(250, 110, 91, 0.08);
}

.btn-soft {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(39, 38, 51, 0.1);
}

.btn-small {
  min-height: 34px;
  padding: 0 16px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #1f1d27;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: #fff;
  border-radius: 99px;
}

.mobile-drawer {
  display: none;
}

.mega-menu {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 5;
  width: min(calc(100vw - 48px), 1120px);
  max-height: calc(100dvh - 96px);
  overflow: auto;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 24, 53, 0.08);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 28px 70px rgba(15, 24, 53, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 180ms ease;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 26px 28px 24px;
}

.mega-section {
  min-width: 0;
}

.mega-section-heading {
  margin-bottom: 16px;
}

.mega-section-heading p,
.mega-aside-label {
  margin: 0 0 5px;
  color: #7b8194;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mega-section-heading h2,
.mega-aside h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0;
}

.mega-product-grid,
.mega-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.mega-item {
  min-width: 0;
  min-height: 67px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  border-radius: 8px;
  transition: background 180ms ease, transform 180ms ease;
}

.mega-item.no-icon {
  grid-template-columns: minmax(0, 1fr) 16px;
}

.mega-item:hover {
  background: #f5f7fb;
  transform: translateY(-1px);
}

.mega-item-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-item strong,
.mega-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-item strong {
  margin-bottom: 3px;
  color: #17203c;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 800;
}

.mega-item small {
  color: #74798b;
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}

.mega-item-arrow {
  color: #b0b5c3;
  font-size: 15px;
  transition: color 180ms ease, transform 180ms ease;
}

.mega-item:hover .mega-item-arrow {
  color: var(--blue);
  transform: translateX(2px);
}

.mega-aside {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f2f6ff;
  border-radius: 12px;
}

.mega-aside-coral {
  background: #fff4f1;
}

.mega-aside > p:not(.mega-aside-label) {
  margin: 10px 0 18px;
  color: #62697b;
  font-size: 11.5px;
  line-height: 1.6;
}

.mega-primary-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 800;
}

.mega-primary-link:hover span {
  transform: translateX(3px);
}

.mega-primary-link span {
  transition: transform 180ms ease;
}

.mega-aside-metrics {
  width: 100%;
  margin-top: 20px;
  padding-top: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(15, 24, 53, 0.08);
}

.mega-aside-metrics span {
  color: #74798b;
  font-size: 10px;
  font-weight: 700;
}

.mega-aside-metrics strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
}

.mega-menu-footer {
  padding: 13px 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #f8f9fc;
  border-top: 1px solid rgba(15, 24, 53, 0.07);
}

.mega-menu-footer a {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #5e6477;
  font-size: 10.5px;
  font-weight: 700;
}

.mega-menu-footer a:hover {
  color: var(--blue);
}

.mega-backdrop {
  position: fixed;
  inset: 72px 0 0;
  z-index: 2;
  border: 0;
  background: rgba(15, 24, 53, 0.3);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.site-header.mega-open .mega-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.mega-menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 128px 0 32px;
  overflow: hidden;
}

.ambient {
  position: absolute;
  width: 440px;
  height: 220px;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-blue {
  left: -80px;
  top: 250px;
  background: rgba(66, 119, 255, 0.22);
}

.ambient-coral {
  right: -40px;
  top: 300px;
  background: rgba(250, 110, 91, 0.17);
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content .eyebrow {
  margin: 0 auto 16px;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 6px 10px;
  color: #58566a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.play-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 50%, #fff 0 3px, transparent 4px),
    #1f1d27;
}

.integration-strip {
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(48, 43, 66, 0.08);
}

.integration-strip span {
  padding: 8px 14px;
  color: #4f4d5d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(39, 38, 51, 0.07);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

.hero-visual {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  aspect-ratio: 16 / 9;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop Styles (min-width: 980px) */
@media (min-width: 980px) {
  .hero-inner {
    text-align: left;
    display: grid;
    grid-template-columns: 35fr 65fr;
    align-items: center;
    gap: 48px;
  }

  .hero-content {
    align-items: flex-start;
  }

  .hero-content .eyebrow {
    margin: 0 0 16px 0;
  }

  .hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(28px, 2.8vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    max-width: 100%;
    margin: 18px 0 0;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .hero-actions {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .hero-visual {
    max-width: 100%;
  }
}

.dashboard-showcase {
  position: relative;
  width: min(100%, 920px);
  min-height: 470px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 168px 1fr;
  overflow: hidden;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.dashboard-sidebar {
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-right: 1px solid rgba(39, 38, 51, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.dash-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1f1d27;
  border-radius: 9px;
  font-weight: 800;
}

.dashboard-sidebar a {
  color: #626071;
  font-size: 12px;
  font-weight: 700;
}

.ai-note {
  margin-top: auto;
  padding: 12px;
  color: #56536a;
  background: linear-gradient(135deg, #efeaff, #fef3ef);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-main {
  padding: 24px;
}

.dash-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dash-topline strong {
  font-size: 15px;
}

.dash-topline button {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

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

.metric-grid article,
.task-table,
.status-card,
.value-card,
.industry-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(48, 43, 66, 0.08);
}

.metric-grid article {
  padding: 18px;
}

.metric-grid span,
.metric-grid small,
.status-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin: 7px 0;
  color: #201e29;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.work-area {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 14px;
  margin-top: 14px;
}

.task-table {
  padding: 14px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 10px;
  padding: 11px 0;
  color: #5f5c70;
  border-bottom: 1px solid rgba(39, 38, 51, 0.06);
  font-size: 11px;
  font-weight: 650;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row.head {
  color: #9b98a7;
  font-size: 10px;
  text-transform: uppercase;
}

.table-row b {
  color: var(--blue);
  font-weight: 800;
}

.status-card {
  padding: 18px;
}

.status-card strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 19px;
}

.status-card i {
  display: block;
  width: var(--w);
  height: 8px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--blue), #f5c75d, var(--coral));
  border-radius: 999px;
}

.demo-pill {
  position: absolute;
  left: 50%;
  top: 58%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  color: #fff;
  background: #24212c;
  border-radius: 999px;
  box-shadow: var(--deep-shadow);
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 118px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2,
.product-board h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.section-heading p,
.product-board p,
.value-card p,
.industry-card p,
.final-cta p {
  color: var(--muted);
}

.connector-map {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  gap: 72px;
}

.connector-map::before,
.connector-map::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 31%;
  height: 1px;
  background: rgba(39, 38, 51, 0.14);
}

.connector-map::before {
  left: 21%;
}

.connector-map::after {
  right: 21%;
}

.connector-side {
  display: grid;
  gap: 16px;
}

.connector-side span,
.connector-core {
  position: relative;
  z-index: 1;
  min-height: 58px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 13px;
  box-shadow: 0 16px 36px rgba(48, 43, 66, 0.1);
  font-weight: 850;
}

.connector-core {
  min-height: 66px;
  color: #fff;
  background: #24212c;
  border-radius: 999px;
  box-shadow: var(--deep-shadow);
}

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

.value-card {
  min-height: 210px;
  padding: 26px;
}

.value-card h3,
.industry-card h3,
.board-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.product-board {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 58px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.board-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  text-align: left;
}

.board-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(39, 38, 51, 0.07);
  border-radius: 18px;
}

.board-card.large {
  grid-row: span 2;
}

.board-card.blue { background: linear-gradient(135deg, #eaf2ff, #fff); }
.board-card.peach { background: linear-gradient(135deg, #fff0eb, #fff); }
.board-card.pink { background: linear-gradient(135deg, #fff0f7, #fff); }
.board-card.lilac { background: linear-gradient(135deg, #f1edff, #fff); }
.board-card.yellow { background: linear-gradient(135deg, #fff8d8, #fff); }

.mini-dashboard {
  margin-top: 26px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 38, 51, 0.07);
  border-radius: 16px;
}

.mini-dashboard strong {
  display: block;
  margin-top: 8px;
  font-size: 54px;
  letter-spacing: -0.06em;
}

.board-orb {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #24212c;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: var(--deep-shadow);
  transform: translate(-50%, -50%);
  font-weight: 900;
  font-size: 24px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 68px;
  align-items: center;
  max-width: 860px;
}

.quote-card {
  display: grid;
  gap: 12px;
}

.avatar-card,
.revenue-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(48, 43, 66, 0.1);
  font-weight: 800;
}

.avatar-card {
  color: #fff;
  background: #1f1d27;
}

.avatar-card small {
  color: rgba(255, 255, 255, 0.68);
}

.revenue-card span {
  color: var(--muted);
  font-size: 12px;
}

.revenue-card strong {
  display: block;
  font-size: 48px;
  letter-spacing: -0.05em;
}

blockquote {
  margin: 0;
  max-width: 620px;
  color: #343240;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 750;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  min-height: 190px;
  padding: 24px;
}

.final-cta {
  padding: 110px 0;
}

.cta-inner {
  max-width: 920px;
  padding: 66px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 44px 0 100px;
  color: #605d70;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(39, 38, 51, 0.08);
  padding-top: 28px;
  font-size: 12px;
  font-weight: 700;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
}

.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: -82px;
  color: rgba(39, 38, 51, 0.04);
  font-size: clamp(86px, 18vw, 250px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: translateX(-50%);
  pointer-events: none;
}

.core-values {
  position: relative;
  z-index: 2;
  margin-top: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
}

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

/* Thiết kế lại Core Value Cards theo phong cách tối giản không đóng khung (theo reference) */
.core-values .value-card {
  position: relative;
  min-height: auto;
  padding: 12px 8px;
  background: transparent;
  border: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  box-shadow: none;
  border-radius: 0;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Override bo góc bất đối xứng cho thẻ khi không đóng khung */
.core-values .value-card:nth-child(1),
.core-values .value-card:nth-child(2),
.core-values .value-card:nth-child(3),
.core-values .value-card:nth-child(4) {
  border-radius: 0;
}

/* Wrapper cho Icon - dạng hộp vuông nhỏ bo góc có shadow nhẹ */
.value-card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.value-icon {
  width: 36px;
  height: 36px;
}

.value-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.core-values .value-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  transition: color 300ms ease;
}

.core-values .value-card p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
  text-wrap: balance;
}

/* Hover States cho thẻ tối giản */
.core-values .value-card:hover {
  transform: translateY(-4px);
}

.core-values .value-card:hover .value-card-icon-wrapper {
  transform: none;
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.core-values .value-card:hover h3 {
  color: var(--card-accent);
}

.modules-section {
  padding-top: 84px;
  background:
    radial-gradient(circle at 12% 4%, rgba(66, 119, 255, 0.08), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(250, 110, 91, 0.08), transparent 26%);
}

.ecosystem-console {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(48, 43, 66, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  margin-top: 32px;
  overflow: hidden;
  height: 630px;
}

.console-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(39, 38, 51, 0.08);
  padding-right: 16px;
}

.sidebar-category {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.console-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.console-tab {
  display: block;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  color: #4f4d5d;
  font-weight: 700;
  font-size: 14.5px;
  transition: all 220ms ease;
  width: 100%;
}

.console-tab:hover {
  background: rgba(66, 119, 255, 0.04);
  color: var(--ink);
  transform: translateX(4px);
}

.console-tab.active {
  background: rgba(66, 119, 255, 0.08);
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px rgba(66, 119, 255, 0.15);
  transform: translateX(4px);
}

.console-content {
  position: relative;
  width: 100%;
  height: 550px;
}

.console-panel {
  animation: fadeInScale 380ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.985) translateY(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.panel-body {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.panel-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-header-block {
  margin-bottom: 4px;
}

.panel-title {
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title .arrow {
  color: var(--blue);
  transition: transform 220ms ease;
}

.console-panel:hover .panel-title .arrow {
  transform: translateX(4px);
}

.panel-description {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 55ch;
  font-weight: 500;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sub-feature-card {
  display: block;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(39, 38, 51, 0.05);
  border-radius: 18px;
  cursor: pointer;
  transition: all 220ms ease;
}

.sub-feature-card:hover,
.sub-feature-card.active {
  background: #ffffff;
  border-color: rgba(66, 119, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(48, 43, 66, 0.06);
}

.sub-feature-card.active {
  box-shadow:
    inset 0 0 0 1px rgba(66, 119, 255, 0.16),
    0 14px 34px rgba(66, 119, 255, 0.1);
}

.sub-feature-card:focus-visible {
  outline: 3px solid rgba(66, 119, 255, 0.22);
  outline-offset: 3px;
}

.sub-text h4 {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 3px 0;
}

.sub-text p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.panel-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.panel-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 530px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.visual-backlight {
  position: absolute;
  inset: -10px;
  z-index: -1;
  background: radial-gradient(circle, var(--glow-color, rgba(66, 119, 255, 0.1)) 0%, transparent 70%);
  filter: blur(20px);
  opacity: 0.85;
}

.visual-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(48, 43, 66, 0.08));
  transition:
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease;
}

.feature-visual-image {
  width: min(100%, 340px);
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(48, 43, 66, 0.14));
}

.panel-visual:hover .visual-image {
  transform: scale(1.03);
}


.journey-section {
  position: relative;
  background: 
    radial-gradient(circle at 10% 20%, rgba(66, 119, 255, 0.05), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(250, 110, 91, 0.05), transparent 30%);
  padding-top: clamp(48px, 6vw, 72px);
}

.journey-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.journey-row {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 40px;
  border-radius: 28px;
  padding: 44px 40px;
  align-items: center;
  box-shadow: 
    0 16px 40px rgba(15, 24, 53, 0.04), 
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
}

/* Stacking cards on scroll for desktop */
@media (min-width: 981px) {
  .journey-row:nth-child(1) {
    position: sticky;
    top: 90px;
    z-index: 1;
  }
  .journey-row:nth-child(2) {
    position: sticky;
    top: 90px;
    z-index: 2;
  }
  .journey-row:nth-child(3) {
    position: sticky;
    top: 90px;
    z-index: 3;
  }
}

/* Multi-colored light glassmorphic cards: Cam / Trắng / Xanh */
.journey-row:nth-child(1) {
  background: linear-gradient(135deg, rgba(250, 110, 91, 0.06) 0%, rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(250, 110, 91, 0.16);
}

.journey-row:nth-child(2) {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(39, 38, 51, 0.08);
}

.journey-row:nth-child(3) {
  background: linear-gradient(135deg, rgba(66, 119, 255, 0.06) 0%, rgba(255, 255, 255, 0.65) 100%);
  border: 1px solid rgba(66, 119, 255, 0.16);
}

.journey-row-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.journey-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--row-accent-rgb), 0.08);
  color: var(--row-accent);
  border: 1px solid rgba(var(--row-accent-rgb), 0.18);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.journey-row-left h3 {
  font-size: 26px;
  font-weight: 850;
  color: #0F1835; /* Navy */
  line-height: 1.35;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.journey-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.journey-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #475467; /* Secondary Text */
}

.journey-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--row-accent);
  border-radius: 50%;
}

.journey-list li strong {
  color: #0F1835; /* Navy */
}

.journey-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--row-accent);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

.journey-more-link svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: transform 200ms ease;
}

.journey-more-link:hover {
  transform: translateX(4px);
  opacity: 0.85;
}

.journey-row-right {
  width: 100%;
}

.journey-mockup-wrapper {
  width: 100%;
  overflow: visible;
  border: 0;
  box-shadow: none;
  transition: transform 300ms ease;
}

.journey-mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

.journey-row:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 24px 48px rgba(var(--row-accent-rgb), 0.08), 
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.journey-row:hover .journey-mockup-wrapper {
  transform: translateY(-4px);
}

@media (min-width: 981px) and (max-width: 1120px) {
  .nav-shell {
    gap: 10px;
  }

  .desktop-nav {
    gap: 0;
  }

  .nav-link,
  .nav-trigger {
    padding-inline: 6px;
    font-size: 11.5px;
  }

  .nav-login-button {
    padding-inline: 14px;
    font-size: 11.5px;
  }

  .mega-menu-body {
    grid-template-columns: minmax(0, 1fr) 270px;
    padding-inline: 22px;
  }

  .mega-item {
    padding-inline: 9px;
  }
}

@media (max-width: 980px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .journey-row {
    position: static;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }
}

.ai-section,
.integrations-section,
.testimonials {
  background: rgba(255, 255, 255, 0.24);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.ai-card {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: #ffffff;
  border: 1.5px solid rgba(66, 119, 255, 0.07);
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(48, 43, 66, 0.03);
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease;
}

.ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 119, 255, 0.15);
  box-shadow: 0 16px 40px rgba(48, 43, 66, 0.07);
}

.ai-card-content {
  width: 58%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.ai-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.25;
}

.ai-card p {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: #5f5c71;
  line-height: 1.5;
  font-weight: 650;
}

.ai-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-weight: 850;
  font-size: 12px;
  text-decoration: none;
  transition: gap 200ms ease;
}

.ai-link .arrow {
  transition: transform 200ms ease;
}

.ai-card:hover .ai-link {
  gap: 8px;
}

.ai-card:hover .ai-link .arrow {
  transform: translateX(2px);
}

.ai-card-image {
  width: 38%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.ai-card-image img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(48, 43, 66, 0.06));
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-card:hover .ai-card-image img {
  transform: translateY(-3px) scale(1.06);
}



.capability-grid span,
.flow-line span {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(48, 43, 66, 0.07);
  font-size: 13px;
  font-weight: 800;
}





.capabilities-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(234, 242, 255, 0.35));
}

.caps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 16px;
  padding: 6px 14px;
  color: var(--blue);
  background: rgba(66, 119, 255, 0.08);
  border: 1px solid rgba(66, 119, 255, 0.15);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.flow-line-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 32px auto 48px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 8px 16px;
}

.flow-line-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.flow-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid rgba(39, 38, 51, 0.07);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(39, 38, 51, 0.03);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  flex-shrink: 0;
}

.flow-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 38, 51, 0.07);
  border-color: rgba(66, 119, 255, 0.2);
}

.flow-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(66, 119, 255, 0.25);
  transform: translateY(-2px);
}

.flow-tab.active .flow-text {
  color: #fff;
}

.flow-icon {
  font-size: 16px;
}

.flow-text {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  transition: color 220ms ease;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(66, 119, 255, 0.5);
  flex-shrink: 0;
}

.flow-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.capabilities-bento {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 1.34 / 1;
}

.capabilities-bento.active {
  display: grid;
}

/* Bento General Item */
.bento-item {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(39, 38, 51, 0.06);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(39, 38, 51, 0.015);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms ease;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(39, 38, 51, 0.06);
  border-color: rgba(66, 119, 255, 0.18);
}

/* Common Text Elements */
.bento-card-header {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.bento-eyebrow {
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.bento-eyebrow.dark-mode {
  color: #ffcad4;
}

.bento-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.bento-title.dark-mode {
  color: #fff;
}

.bento-caption {
  font-size: 12px;
  font-weight: 700;
  color: rgba(39, 38, 51, 0.55);
  margin: 0;
  line-height: 1.4;
}

.bento-caption.dark-mode {
  color: rgba(255, 255, 255, 0.7);
}

/* Card-Specific Coordinates — 9-card square layout */
.item-team {
  grid-column: 4 / 5;
  grid-row: 1 / 4;
}

.item-hero {
  grid-column: 2 / 4;
  grid-row: 3 / 7;
  background: #fde2e4;
  border-color: rgba(253, 226, 228, 0.2);
  align-items: center;
  justify-content: flex-end;
}

.item-agency {
  grid-column: 1 / 2;
  grid-row: 1 / 5;
  background: #121118;
  border-color: rgba(255, 255, 255, 0.03);
}

.item-funding {
  grid-column: 4 / 5;
  grid-row: 4 / 7;
  background: #fde2e4;
  border-color: rgba(253, 226, 228, 0.2);
}

.item-ads-chatbot {
  grid-column: 1 / 2;
  grid-row: 5 / 7;
}

.item-font {
  grid-column: 4 / 5;
  grid-row: 7 / 9;
}

.item-cubo {
  grid-column: 1 / 2;
  grid-row: 7 / 9;
  justify-content: center;
}

.item-zalo-notif {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.item-retention {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.item-future {
  grid-column: 2 / 4;
  grid-row: 7 / 9;
  background: #fde2e4;
  border-color: rgba(253, 226, 228, 0.2);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Progress Loader - Card 1 */
.funding-circle-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  padding: 12px 0;
}

.progress-ring {
  width: 130px;
  height: 130px;
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 8;
}

.progress-ring-bar {
  fill: none;
  stroke: url(#ringGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 402;
  stroke-dashoffset: 100; /* 75% completed */
  transform: rotate(-90deg);
  transform-origin: center;
}

.progress-text-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.progress-num {
  font-size: 26px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1;
}

.progress-status {
  font-size: 10px;
  font-weight: 750;
  color: rgba(39, 38, 51, 0.5);
  margin-top: 2px;
}

.funding-footer {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
  margin-top: auto;
}

.funding-metric {
  font-size: 13.5px;
  color: var(--ink);
}

.funding-metric strong {
  font-size: 16px;
  font-weight: 850;
}

.funding-submetric {
  font-size: 11px;
  font-weight: 700;
  color: rgba(39, 38, 51, 0.5);
  margin-top: 2px;
}

/* Card 2: Views Details */
.views-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
}

.views-stat {
  font-size: 32px;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.heart-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(250, 110, 91, 0.08);
  color: var(--coral);
  border-radius: 50%;
}

.heart-icon-box svg {
  width: 18px;
  height: 18px;
}

/* Card 3: Users Details */
.users-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
}

.users-stat {
  font-size: 32px;
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.trend-indicator {
  font-size: 11px;
  font-weight: 800;
  color: #24b23e;
  background: rgba(36, 178, 62, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Card 4: Team CSKH Details */
.avatar-stack {
  display: flex;
  align-items: center;
  margin: 18px 0;
}

.stack-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.stack-avatar.extra-count {
  background: #f1f2f4;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.team-footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 14px;
}

.spring-wrapper {
  height: 24px;
  margin-bottom: 8px;
  opacity: 0.65;
}

.spring-svg {
  width: 100px;
  height: 100%;
}

.team-metric {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.team-metric strong {
  font-size: 15px;
  font-weight: 850;
}

.metric-trend {
  color: #24b23e;
  font-weight: 800;
  margin-left: 2px;
}

/* Card 5: Large Hero Character Card */
.hero-mascot-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(39, 38, 51, 0.06);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(39, 38, 51, 0.07);
  z-index: 2;
  display: flex;
  transition: transform 300ms ease;
}

.bento-item:hover .floating-badge {
  transform: translateY(-2px);
}

.badge-chart {
  top: 24px;
  left: 24px;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.badge-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.badge-label {
  font-size: 9px;
  font-weight: 800;
  color: rgba(39, 38, 51, 0.5);
  text-transform: uppercase;
}

.badge-num {
  font-size: 13.5px;
  font-weight: 850;
  color: var(--ink);
}

.mini-chart {
  width: 100px;
  height: 20px;
  opacity: 0.85;
}

.badge-engagement {
  bottom: 24px;
  right: 24px;
  align-items: center;
  gap: 8px;
}

.badge-heart {
  font-size: 14px;
}

.engagement-text {
  display: flex;
  flex-direction: column;
}

.badge-percent {
  font-size: 12px;
  font-weight: 850;
  color: var(--ink);
  line-height: 1.1;
}

.badge-sub {
  font-size: 9px;
  font-weight: 700;
  color: rgba(39, 38, 51, 0.5);
}

/* Floating Stat Badges (from removed stat cards) */
.badge-stat-views {
  top: 24px;
  right: 24px;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.badge-stat-users {
  bottom: 24px;
  left: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.badge-stat-ctr {
  bottom: 50%;
  right: 24px;
  transform: translateY(50%);
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.badge-stat-big {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.badge-stat-sub {
  font-size: 9px;
  font-weight: 800;
  color: rgba(39, 38, 51, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-stat-trend {
  font-size: 10px;
  font-weight: 800;
  color: #24b23e;
  line-height: 1;
}

/* Card 6: AI Smart Closing */
.agency-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.agent-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 14px;
  transition: background 200ms ease;
}

.agent-pill:hover {
  background: rgba(255, 255, 255, 0.07);
}

.pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

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

.pill-info {
  display: flex;
  flex-direction: column;
}

.pill-name {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.pill-role {
  font-size: 9px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.4);
}

.pill-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px #34c759;
  margin-left: auto;
}

/* Card 7: Cubo Smax Logo */
.cubo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cubo-logo {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.03));
}

.cubo-text {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--ink);
}

/* Card 8: Voice Swatches */
.voice-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.swatch-pill {
  font-size: 10px;
  font-weight: 750;
  padding: 6px 10px;
  background: rgba(39, 38, 51, 0.04);
  color: rgba(39, 38, 51, 0.55);
  border-radius: 999px;
  transition: all 200ms ease;
  cursor: pointer;
}

.swatch-pill.active {
  background: var(--swatch-color);
  color: var(--text-color, #fff);
  box-shadow: 0 2px 8px rgba(66, 119, 255, 0.15);
}

/* Card 9: CRM & Order Sync */
.future-content {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.future-desc {
  font-size: 12px;
  font-weight: 650;
  color: rgba(39, 38, 51, 0.55);
  line-height: 1.4;
  margin: 8px 0 0 0;
}

.future-visual {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.starburst-svg {
  width: 100%;
  height: 100%;
  transition: transform 12s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-item:hover .starburst-svg {
  transform: rotate(360deg);
}

/* Bento Card Feature Lists & Action Tags */
.bento-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
  padding: 0;
}

.bento-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(39, 38, 51, 0.75);
  line-height: 1.3;
}

.bento-feature-item::before {
  content: "—";
  opacity: 0.35;
  font-weight: 400;
}


.bento-feature-item.dark-mode {
  color: rgba(255, 255, 255, 0.75);
}

.bento-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(66, 119, 255, 0.1);
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

.bento-feature-icon.success {
  background: rgba(52, 199, 89, 0.1);
  color: #24b23e;
}

.bento-feature-icon.pink {
  background: rgba(250, 110, 91, 0.1);
  color: var(--coral);
}

.bento-card-action {
  margin-top: 10px;
}

.action-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--blue);
  background: rgba(66, 119, 255, 0.06);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(66, 119, 255, 0.1);
  transition: transform 200ms ease;
}

.action-tag.success {
  color: #24b23e;
  background: rgba(52, 199, 89, 0.06);
  border-color: rgba(52, 199, 89, 0.1);
}

.bento-item:hover .action-tag {
  transform: scale(1.02);
}

@media (max-width: 980px) {
  .capabilities-bento {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
    grid-auto-rows: minmax(130px, auto);
    aspect-ratio: unset;
    gap: 16px;
  }
  
  .capabilities-bento.active {
    display: grid;
  }
  
  .item-team {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-funding {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .item-hero {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .item-agency {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .item-ads-chatbot {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .item-font {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .item-cubo {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-zalo-notif {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-retention {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .item-future {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .flow-line-wrapper {
    gap: 8px;
    justify-content: flex-start;
  }
  
  .flow-tab {
    padding: 8px 16px;
  }
  
  .flow-arrow {
    width: 20px;
  }
}

@media (max-width: 680px) {
  .capabilities-bento {
    display: none;
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    grid-auto-rows: auto;
    aspect-ratio: unset;
    gap: 16px;
  }
  
  .capabilities-bento.active {
    display: flex;
    flex-direction: column;
  }
  
  .bento-item {
    grid-column: span 1 !important;
    grid-row: auto !important;
    min-height: unset;
    height: auto;
  }
  
  .item-hero {
    order: 1;
    height: 300px;
    justify-content: flex-end;
  }

  .badge-stat-views,
  .badge-stat-users {
    display: none !important;
  }

  .badge-chart {
    top: 16px !important;
    left: 16px !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
  }

  .badge-engagement {
    bottom: 16px !important;
    right: 16px !important;
    padding: 6px 10px !important;
    border-radius: 12px !important;
  }
  
  .hero-mascot-img {
    height: 85%;
  }
  
  .item-team {
    order: 3;
  }
  
  .item-agency {
    order: 2;
  }

  .item-funding {
    order: 4;
  }

  .item-ads-chatbot {
    order: 5;
  }
  
  .item-font {
    order: 6;
  }
  
  .item-cubo {
    order: 7;
  }

  .item-zalo-notif {
    order: 8;
  }

  .item-retention {
    order: 9;
  }
  
  .item-future {
    order: 10;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 16px;
  }
  
  .future-content {
    max-width: 100%;
  }
  
  .flow-line-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    width: 100%;
  }

  .flow-line-wrapper::-webkit-scrollbar {
    display: none;
  }

  .flow-tab {
    flex-shrink: 0;
  }
  
  .flow-arrow {
    transform: none;
    flex-shrink: 0;
  }
}

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

.industry-card strong {
  color: var(--blue);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid rgba(39, 38, 51, 0.08);
  padding-top: 30px;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 9px;
  color: #605d70;
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  color: #797689;
  font-size: 12px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 999;
    display: block;
    max-height: calc(100dvh - 72px);
    padding: 12px 24px 24px;
    overflow-y: auto;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(18px);
    border: 0;
    border-bottom: 1px solid rgba(39, 38, 51, 0.08);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 30px rgba(29, 27, 38, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-drawer > a,
  .mobile-nav-group > summary {
    min-height: 48px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    color: var(--ink);
    border-bottom: 1px solid rgba(15, 24, 53, 0.07);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-nav-group > summary {
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav-group > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-group > summary::after {
    content: "+";
    color: var(--blue);
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-nav-group[open] > summary::after {
    content: "−";
  }

  .mobile-nav-submenu {
    padding: 8px 0 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .mobile-nav-submenu a {
    min-height: 40px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    color: #62697b;
    background: #f7f8fb;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
  }

  .mobile-login-button {
    margin-top: 14px;
    justify-content: center;
    color: #fff !important;
    background: var(--ink);
    border: 0 !important;
    border-radius: 999px;
  }

  .dashboard-showcase,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: none;
  }

  .value-grid,
  .value-grid.four,
  .journey-grid,
  .ai-grid,
  .data-layout,
  .integration-groups,
  .capability-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-console {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    border-radius: 24px;
    min-height: auto;
    height: auto !important;
  }

  .console-content {
    min-height: auto;
    height: auto !important;
  }

  .console-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(39, 38, 51, 0.08);
    padding-right: 0;
    padding-bottom: 16px;
    min-width: 0 !important;
    width: 100% !important;
  }

  .console-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .console-nav::-webkit-scrollbar {
    display: none;
  }

  .console-tab {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 12px;
  }

  .panel-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .panel-left {
    order: 2;
  }

  .panel-right {
    order: 1;
    width: 100%;
  }

  .panel-visual {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
  }

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

  .connector-map {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .connector-map::before,
  .connector-map::after {
    display: none;
  }

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

  .ai-card.feature {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 32px, var(--container));
  }

  .mobile-drawer {
    padding-inline: 16px;
  }

  .mobile-nav-submenu {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.5vw, 34px);
    line-height: 1.15;
    text-wrap: balance;
  }

  .dashboard-showcase {
    min-height: auto;
  }

  .dashboard-main {
    padding: 16px;
  }

  .metric-grid,
  .work-area,
  .value-grid,
  .value-grid.four,
  .journey-grid,
  .ai-grid,
  .data-layout,
  .integration-groups,
  .capability-grid,
  .board-grid,
  .industry-grid,
  .trust-bento-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-console {
    padding: 16px;
    border-radius: 20px;
    gap: 16px;
  }

  .panel-title {
    font-size: 22px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sub-feature-card {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .panel-visual {
    padding: 0;
    border-radius: 0;
    height: auto;
  }

  .stage-grid {
    grid-template-columns: repeat(5, 220px);
  }

  .demo-pill,
  .board-orb {
    display: none;
  }

  .product-board,
  .cta-inner {
    padding: 30px 20px;
    border-radius: 26px;
  }

  .footer-inner,
  .footer-inner nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }


}



/* Responsive for AI Capabilities Bento Grid */
@media (max-width: 980px) {
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .ai-card {
    padding: 20px;
    min-height: 150px;
    border-radius: 18px;
  }
  .ai-card-content {
    width: 65%;
  }
  .ai-card-image {
    width: 30%;
    height: 90px;
  }
  .ai-card-image img {
    max-height: 90px;
  }
}

@media (max-width: 640px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Bento Trust Grid --- */
.testimonials {
  padding: 120px 0;
  background: #faf9fd; /* Very soft light purple-gray background to make the cards pop */
}

.trust-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  grid-auto-flow: dense;
}

.bento-card {
  background: #f4f2f8; /* Soft lavender-gray tint matching the image */
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(75, 50, 195, 0.08);
}

/* col-spans */
.bento-card[data-card="cost-reduction"] {
  grid-column: span 1;
}

.bento-card[data-card="coolmate-testimonial"] {
  grid-column: span 2;
  background: #f0ecf6; /* Slightly warmer/lighter */
}

.bento-card[data-card="meta-partner"] {
  grid-column: span 1;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.bento-card[data-card="interactions"] {
  grid-column: span 1;
  background: linear-gradient(135deg, #18113c 0%, #2b1f5e 100%);
  color: #fff;
  min-height: 240px;
}

.bento-card[data-card="security"] {
  grid-column: span 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bento-card[data-card="yody-testimonial"] {
  grid-column: span 2;
  background: #f0ecf6;
}

.bento-card[data-card="social-growth"] {
  grid-column: span 1;
}

/* Card details styling */
.bento-card-brand {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.text-indigo { color: #5b3fb6; }
.text-emerald { color: #10b981; }

.bento-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-large-num {
  font-size: clamp(64px, 6vw, 84px);
  font-weight: 350; /* Elegant thin font just like in the image */
  line-height: 1.0;
  color: #3b2f8a;
  letter-spacing: -0.04em;
}

.bento-card[data-card="interactions"] .bento-large-num {
  color: #ffffff;
}

.bento-metric-label {
  font-size: 14px;
  font-weight: 700;
  color: #555268;
  line-height: 1.4;
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

/* Quote styles */
.bento-quote {
  margin: 0 0 32px 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: #2b2935;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
}

.bento-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.bento-author.right-aligned {
  justify-content: flex-end;
  text-align: right;
}

.bento-author-info {
  display: flex;
  flex-direction: column;
}

.bento-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #2b2935;
}

.bento-author-title {
  font-size: 12px;
  color: #797689;
  font-weight: 600;
}

.bento-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  filter: grayscale(20%) contrast(110%);
}

/* Partner Logo Card */
.partner-logo-wrapper {
  background: #ffffff;
  padding: 24px 36px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(48, 43, 66, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease;
}

.bento-card:hover .partner-logo-wrapper {
  transform: scale(1.03);
}

.meta-partner-img {
  height: 44px;
  object-fit: contain;
}

/* Visual Card (Gradient + floating bubbles) */
.bento-card[data-card="interactions"] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
}

.bento-visual-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(91, 63, 182, 0.4) 0%, transparent 70%);
}

.visual-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.visual-bubble.b1 {
  top: 20%;
  left: 10%;
  transform: rotate(-3deg);
  animation: floatBubble1 6s ease-in-out infinite alternate;
}

.visual-bubble.b2 {
  top: 45%;
  right: -5%;
  transform: rotate(2deg);
  animation: floatBubble2 7s ease-in-out infinite alternate;
}

.visual-bubble.b3 {
  top: 70%;
  left: 15%;
  transform: rotate(-1deg);
  animation: floatBubble3 5s ease-in-out infinite alternate;
}

@keyframes floatBubble1 {
  0% { transform: translate(0, 0) rotate(-3deg); }
  100% { transform: translate(4px, -6px) rotate(-1deg); }
}

@keyframes floatBubble2 {
  0% { transform: translate(0, 0) rotate(2deg); }
  100% { transform: translate(-6px, -4px) rotate(4deg); }
}

@keyframes floatBubble3 {
  0% { transform: translate(0, 0) rotate(-1deg); }
  100% { transform: translate(5px, 5px) rotate(-3deg); }
}

.bento-visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Security / Compliant Card */
.bento-compliant-title {
  font-size: 14px;
  font-weight: 800;
  color: #3b2f8a;
  margin-bottom: 24px;
}

.bento-compliant-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  height: 60px;
}

.badge-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(48, 43, 66, 0.05);
  font-size: 20px;
  font-weight: 900;
  color: #0084ff; /* Zalo blue */
  border: 1px solid rgba(39, 38, 51, 0.05);
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge-zalo {
  transform: translateX(12px);
  z-index: 1;
}

.badge-meta {
  color: #0066ff;
  font-size: 24px;
  font-weight: 500;
  z-index: 2;
}

.badge-secure {
  color: #10b981;
  transform: translateX(-12px);
  z-index: 1;
}

.bento-card:hover .badge-zalo {
  transform: translateX(20px) scale(1.05);
}

.bento-card:hover .badge-secure {
  transform: translateX(-20px) scale(1.05);
}

.secure-check-icon {
  width: 20px;
  height: 20px;
}

.bento-compliant-desc {
  font-size: 12px;
  font-weight: 700;
  color: #797689;
  letter-spacing: 0.02em;
}

/* Trust CTA Wrapper */
.trust-cta-wrapper {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* Responsive for Bento Trust Grid */
@media (max-width: 980px) {
  .testimonials {
    padding: 80px 0;
  }

  .trust-bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 40px;
  }
  
  .bento-card {
    grid-column: span 1 !important;
    padding: 30px;
  }

  .bento-large-num {
    font-size: 72px;
  }

  .bento-author.right-aligned {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
}

@media (max-width: 640px) {
  .testimonials {
    padding: 60px 0;
  }

  .bento-card {
    padding: 24px;
    border-radius: 24px;
  }
  
  .bento-large-num {
    font-size: 60px;
  }
}

/* --- Integrations Section Redesign (showcase layout) --- */
.integrations-section {
  padding: 100px 0;
  background: #fbfbfc;
  position: relative;
  overflow: hidden;
}

.integrations-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.integrations-header-left {
  max-width: 620px;
}

.integrations-title {
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 850;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.highlight-wrapper {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.highlight-svg {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: auto;
  color: var(--blue);
  z-index: 1;
  pointer-events: none;
}

.integrations-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0 0;
}

.integrations-header-right {
  display: flex;
  justify-content: center;
}

.integrations-illustration {
  width: 256px;
  height: auto;
  object-fit: contain;
}

/* Integrations Showcase Grid */
.integrations-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  margin-top: 64px;
}

.showcase-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.showcase-item:hover {
  transform: translateY(-2px);
}

.showcase-icon-box {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.showcase-info {
  display: flex;
  flex-direction: column;
}

.showcase-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.showcase-info p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  margin: 4px 0 0 0;
}

/* Responsive for Integrations Redesign */
@media (max-width: 980px) {
  .integrations-section {
    padding: 80px 0;
  }

  .integrations-header-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .integrations-header-left {
    max-width: 100%;
    margin: 0 auto;
  }

  .integrations-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .integrations-header-right {
    order: -1; /* Put illustration on top in mobile */
  }
}

@media (max-width: 640px) {
  .integrations-section {
    padding: 60px 0;
  }

  .integrations-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ==========================================================================
   COMPREHENSIVE SKILLS SECTION (BỘ KỸ NĂNG TOÀN DIỆN)
   ========================================================================== */

.comprehensive-skills-section {
  position: relative;
  background: transparent;
  padding: 100px 0;
}

.skills-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.skills-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid rgba(39, 38, 51, 0.07);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(39, 38, 51, 0.03);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  flex-shrink: 0;
}

.skills-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 38, 51, 0.07);
  border-color: rgba(66, 119, 255, 0.2);
}

.skills-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(66, 119, 255, 0.25);
  transform: translateY(-2px);
}

.skills-panes-wrapper {
  position: relative;
  width: 100%;
}

.skills-pane {
  display: none;
  width: 100%;
}

.skills-pane.active {
  display: block;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.skills-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

/* Small Cards */
.skills-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(39, 38, 51, 0.06);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(39, 38, 51, 0.015);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
  height: 100%;
}

.skills-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(39, 38, 51, 0.05);
  border-color: rgba(66, 119, 255, 0.18);
}

.skills-card-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skills-card-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2px;
}

/* Themes for icon wrappers */
.marketing-theme {
  background: rgba(66, 119, 255, 0.07);
  color: var(--blue);
}

.sales-theme {
  background: rgba(250, 110, 91, 0.07);
  color: var(--coral);
}

.cs-theme {
  background: rgba(18, 183, 106, 0.07);
  color: #12b76a;
}

.automation-theme {
  background: rgba(139, 92, 246, 0.07);
  color: #8b5cf6;
}

.analytics-theme {
  background: rgba(245, 158, 11, 0.07);
  color: #f59e0b;
}

.skills-card-title {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.skills-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Center Large Card */
.skills-center-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(39, 38, 51, 0.06);
  box-shadow: 0 8px 32px rgba(39, 38, 51, 0.025);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.skills-center-visual {
  position: relative;
  height: 330px;
  overflow: hidden;
  transition: background 300ms ease;
}

/* Dynamic visual backgrounds for different themes */
.skills-pane[data-pane="marketing"] .skills-center-visual {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.skills-pane[data-pane="sales"] .skills-center-visual {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
}

.skills-pane[data-pane="cs"] .skills-center-visual {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.skills-pane[data-pane="automation"] .skills-center-visual {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.skills-pane[data-pane="analytics"] .skills-center-visual {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.skills-center-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 96%;
  object-fit: contain;
  z-index: 1;
}

/* Floating Stats Boxes */
.skills-stat-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(39, 38, 51, 0.06);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(39, 38, 51, 0.04);
  z-index: 2;
  min-width: 105px;
}

.skills-stat-label {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.skills-stat-value-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.skills-stat-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.skills-stat-trend {
  font-size: 10px;
  font-weight: 850;
  color: #12b76a;
  background: rgba(18, 183, 106, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Stats Coordinates */
.stat-top-left {
  top: 18px;
  left: 18px;
}

.stat-top-right {
  top: 18px;
  right: 18px;
}

.stat-bottom-left {
  bottom: 18px;
  left: 18px;
}

.stat-bottom-right {
  bottom: 18px;
  right: 18px;
}

/* Info Section of large card */
.skills-center-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 300ms ease, border-color 300ms ease;
}

/* Dynamic themed backgrounds for center info box */
.skills-pane[data-pane="marketing"] .skills-center-info {
  background: rgba(66, 119, 255, 0.03);
  border-top: 1px solid rgba(66, 119, 255, 0.06);
}

.skills-pane[data-pane="sales"] .skills-center-info {
  background: rgba(250, 110, 91, 0.03);
  border-top: 1px solid rgba(250, 110, 91, 0.06);
}

.skills-pane[data-pane="cs"] .skills-center-info {
  background: rgba(18, 183, 106, 0.03);
  border-top: 1px solid rgba(18, 183, 106, 0.06);
}

.skills-pane[data-pane="automation"] .skills-center-info {
  background: rgba(139, 92, 246, 0.03);
  border-top: 1px solid rgba(139, 92, 246, 0.06);
}

.skills-pane[data-pane="analytics"] .skills-center-info {
  background: rgba(245, 158, 11, 0.03);
  border-top: 1px solid rgba(245, 158, 11, 0.06);
}

.skills-center-info-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.skills-center-info-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.skills-center-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
  color: var(--blue);
  text-decoration: none;
  transition: gap 220ms ease;
  width: fit-content;
}

.skills-center-link:hover {
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT FOR COMPREHENSIVE SKILLS
   ========================================================================== */

@media (max-width: 980px) {
  .comprehensive-skills-section {
    padding: 80px 0;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .skills-col-center {
    order: -1; /* Display focal graphic at the top of the stack on tablet/mobile */
  }

  .skills-center-card {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .skills-col {
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .skills-tabs-wrapper {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 0;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .skills-tab {
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 13px;
  }

  .skills-center-visual {
    height: 280px;
  }

  .skills-stat-box {
    padding: 8px 12px;
    min-width: 95px;
  }

  .skills-stat-value {
    font-size: 14px;
  }
}

/* Bento Hero mascot image style to cover the full card */
.bento-hero-mascot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   TEMPLATE STORE SECTION
   ========================================================================== */
.templates-section {
  background: #f9fafb;
  border-top: 1px solid rgba(39, 38, 51, 0.04);
  border-bottom: 1px solid rgba(39, 38, 51, 0.04);
}

.template-search-wrapper {
  position: relative;
  max-width: 480px;
  margin: 24px auto 0;
  width: 100%;
}

#template-search {
  width: 100%;
  padding: 14px 20px;
  padding-right: 56px;
  border-radius: 99px;
  border: 1px solid rgba(39, 38, 51, 0.12);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(39, 38, 51, 0.02);
  transition: all 250ms ease;
  outline: none;
}

#template-search:focus {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(66, 119, 255, 0.12);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
}

.search-btn svg {
  width: 18px;
  height: 18px;
}

.search-btn:hover {
  background: #2b60e6;
  transform: translateY(-50%) scale(1.05);
}

.template-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 32px;
  flex-wrap: wrap;
}

.template-tab {
  background: #ffffff;
  border: 1px solid rgba(39, 38, 51, 0.06);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 750;
  padding: 10px 24px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.template-tab:hover {
  border-color: rgba(39, 38, 51, 0.15);
  color: var(--ink);
}

.template-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(39, 38, 51, 0.08);
}

/* Layout Split: Left Sidebar, Right Grid */
.templates-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.templates-filters {
  background: #ffffff;
  border: 1px solid rgba(39, 38, 51, 0.05);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(39, 38, 51, 0.01);
  position: sticky;
  top: 100px;
}

.filter-group h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
}

.filter-section {
  border-top: 1px solid rgba(39, 38, 51, 0.06);
  padding: 20px 0 10px;
}

.filter-section h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  letter-spacing: 0.05em;
}

.filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.filter-radio input[type="radio"] {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
}

.platform-filters-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.platform-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: all 200ms ease;
}

.platform-filter .p-icon {
  width: 16px;
  height: 16px;
  opacity: 0.65;
  transition: opacity 200ms ease;
}

.platform-filter:hover {
  background: rgba(39, 38, 51, 0.03);
  color: var(--ink);
}

.platform-filter:hover .p-icon {
  opacity: 1;
}

.platform-filter.active {
  background: rgba(66, 119, 255, 0.08);
  border-color: rgba(66, 119, 255, 0.12);
  color: var(--blue);
}

.platform-filter.active .p-icon {
  opacity: 1;
  color: var(--blue);
}

/* Right Grid cards */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.template-card {
  background: #ffffff;
  border: 1px solid rgba(39, 38, 51, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(39, 38, 51, 0.01);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease;
  position: relative;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(39, 38, 51, 0.04);
  border-color: rgba(66, 119, 255, 0.15);
}

.template-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
  border-bottom: 1px solid rgba(39, 38, 51, 0.04);
}

.template-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover .template-card-image {
  transform: scale(1.04);
}

.template-access-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
}

.template-access-badge.public {
  background: rgba(52, 199, 89, 0.12);
  color: #24b23e;
}

.template-access-badge.private {
  background: rgba(142, 142, 147, 0.12);
  color: #8e8e93;
}

.template-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.template-card-content h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.template-card-content p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  flex-grow: 1;
}

.template-rating-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(39, 38, 51, 0.08);
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.template-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffb800;
}

.template-stars svg {
  width: 12px;
  height: 12px;
}

.template-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.template-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.template-platform-tag {
  display: flex;
  align-items: center;
  gap: 6px;
}

.template-platform-tag svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.template-platform-name {
  font-size: 11px;
  font-weight: 750;
  color: var(--muted);
  text-transform: capitalize;
}

.template-type-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 750;
  color: var(--blue);
}

/* Detail Button Hover Reveal */
.template-card-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 70%, rgba(255, 255, 255, 0));
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
  z-index: 5;
}

.template-card:hover .template-card-hover-overlay {
  transform: translateY(0);
  opacity: 1;
}

.btn-template-detail {
  width: 100%;
  background: var(--coral);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
  transition: all 200ms ease;
}

.btn-template-detail:hover {
  background: #ff5252;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3);
  transform: translateY(-1px);
}

.btn-template-detail:active {
  transform: scale(0.97);
}

/* Empty State / Search Not Found */
.templates-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed rgba(39, 38, 51, 0.1);
  border-radius: 24px;
  width: 100%;
}

.empty-icon {
  width: 48px;
  height: 48px;
  color: var(--muted);
  margin-bottom: 16px;
  opacity: 0.65;
}

.templates-empty-state p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

/* Responsive Templates */
@media (max-width: 980px) {
  .templates-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .templates-filters {
    position: static;
    width: 100%;
  }

  .platform-filters-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .platform-filter {
    width: auto;
  }
}


/* ==========================================================================
   TEMPLATE STORE EXTENSIONS (SORT BAR, MODAL, TOASTS, LOADER)
   ========================================================================== */

/* Template Store Top Bar */
.templates-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: nowrap;
}

.templates-results-count {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--muted);
}

.templates-results-count span {
  color: var(--ink);
  font-weight: 900;
}

.templates-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.templates-sort-label {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--muted);
  white-space: nowrap;
}

.templates-sort-select {
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(39, 38, 51, 0.12);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  transition: all 200ms ease;
}

.templates-sort-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66, 119, 255, 0.15);
}

/* Sidebar Extensions for Industry Filter & Close Button */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  user-select: none;
}

.filter-checkbox input[type="checkbox"] {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.sidebar-mobile-header {
  display: none;
}

.btn-mobile-filter {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
}

.btn-mobile-filter:hover {
  background: rgba(39, 38, 51, 0.08);
}

.btn-mobile-filter svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

/* Active Filter Tags */
.templates-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}

.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 750;
  border: 1px solid rgba(39, 38, 51, 0.04);
}

.active-tag-close {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: all 150ms ease;
}

.active-tag-close:hover {
  background: rgba(39, 38, 51, 0.1);
  color: var(--ink);
}

.active-tag-close svg {
  width: 10px;
  height: 10px;
}

.btn-clear-all {
  background: transparent;
  border: none;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 8px;
}

.btn-clear-all:hover {
  text-decoration: underline;
}

/* Modal Backdrop Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 38, 51, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* Modal Dialog Box */
.template-modal {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 960px;
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--deep-shadow);
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.98);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.is-active .template-modal {
  transform: translateY(0) scale(1);
}

/* Modal Close Button */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(39, 38, 51, 0.1);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
}

/* Modal Layout Grid */
.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: 100%;
  max-height: 90vh;
  overflow: hidden;
}

/* Left Column: Visuals & Flow steps */
.modal-visual-flow {
  background: var(--soft);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid rgba(39, 38, 51, 0.06);
  overflow-y: auto;
}

.modal-image-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 30px rgba(39, 38, 51, 0.04);
  background: #ffffff;
  border: 1px solid rgba(39, 38, 51, 0.05);
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-flow-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-flow-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.flow-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(66, 119, 255, 0.25);
  z-index: 2;
}

.flow-step-content {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  flex-grow: 1;
  box-shadow: 0 2px 10px rgba(39, 38, 51, 0.02);
  border: 1px solid rgba(39, 38, 51, 0.03);
  line-height: 1.4;
}

/* Connecting Line for steps */
.flow-steps::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(66, 119, 255, 0.15);
  z-index: 1;
}

/* Right Column: Metadata & Features */
.modal-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

.modal-details h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.modal-rating-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffb800;
}

.modal-rating-stars svg {
  width: 14px;
  height: 14px;
}

.modal-rating-text {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.modal-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.modal-description {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  font-weight: 550;
}

.modal-features-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-features-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.modal-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.modal-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.modal-features-list li svg {
  width: 16px;
  height: 16px;
  color: #34c759;
  flex-shrink: 0;
}

.modal-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  width: fit-content;
}

.modal-platform-badge svg {
  width: 16px;
  height: 16px;
}

.modal-actions {
  margin-top: auto;
  padding-top: 20px;
}

.btn-modal-install {
  width: 100%;
  background: var(--blue);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(66, 119, 255, 0.2);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-modal-install:hover {
  background: #2b60e6;
  box-shadow: 0 12px 30px rgba(66, 119, 255, 0.3);
  transform: translateY(-2px);
}

.btn-modal-install:active {
  transform: scale(0.98);
}

/* Glassmorphic Loader Overlay */
.glass-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  gap: 16px;
}

.glass-loader.is-active {
  opacity: 1;
  pointer-events: all;
}

.glass-loader-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--soft);
  border-top: 4px solid var(--blue);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.glass-loader-text {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Toasts Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast-notification {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(29, 27, 38, 0.15);
  border: 1px solid rgba(39, 38, 51, 0.05);
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: all;
  transform: translateX(100px);
  opacity: 0;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.is-active {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.12);
  color: #34c759;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 16px;
  height: 16px;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  opacity: 1;
}

/* Store Specific Responsive Adjustments */
@media (max-width: 980px) {
  .templates-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  
  .templates-sidebar.is-open {
    transform: translateX(0);
  }
  
  .templates-filters {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    height: 100%;
    overflow-y: auto;
    padding: 24px;
  }
  
  .sidebar-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--soft);
  }
  
  .sidebar-mobile-title {
    font-size: 18px;
    font-weight: 850;
    color: var(--ink);
  }
  
  .sidebar-mobile-close {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-visual-flow {
    padding: 24px;
    overflow-y: visible;
  }

  .modal-details {
    padding: 24px;
    overflow-y: visible;
  }
}


/* ==========================================================================
   HOMEPAGE TEMPLATES SLIDER (Added dynamically)
   ========================================================================== */
.templates-slider-wrapper {
  position: relative;
  width: 100%;
}

.templates-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 20px 4px;
  margin: 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.templates-slider-track::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.templates-slider-track {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.templates-slider-track .template-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 280px;
  margin: 0;
}

/* Responsive sizes for templates slider cards */
@media (max-width: 1023px) {
  .templates-slider-track .template-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .templates-slider-track {
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .templates-slider-track .template-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  
  .templates-slider-wrapper {
    margin-left: -16px;
    width: calc(100% + 32px);
  }
}

/* Slider Controls */
.templates-slider-btn {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(39, 38, 51, 0.08);
  box-shadow: 0 4px 16px rgba(39, 38, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  padding: 0;
}

.templates-slider-btn.prev {
  left: -22px;
}

.templates-slider-btn.next {
  right: -22px;
}

.templates-slider-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  transform: scale(1.05);
}

.templates-slider-btn:active {
  transform: scale(0.95);
}

.templates-slider-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1023px) {
  .templates-slider-btn {
    display: none;
  }
}

/* Dots indicator */
.templates-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.templates-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(39, 38, 51, 0.15);
  cursor: pointer;
  transition: all 200ms ease;
}

.templates-slider-dots .dot.active {
  background: var(--blue);
  width: 20px;
  border-radius: 4px;
}

/* Automation Map comparison bento */
.automation-bento-section {
  padding: 112px 0 124px;
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(39, 38, 51, 0.06);
  border-bottom: 1px solid rgba(39, 38, 51, 0.06);
}

.automation-bento-heading {
  max-width: 700px;
  margin: 0 auto 46px;
  text-align: center;
}

.automation-bento-heading .eyebrow {
  margin-bottom: 10px;
}

.automation-bento-heading h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}

.automation-bento-heading > p:last-child {
  max-width: 700px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.automation-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 340px 340px 330px;
  gap: 18px;
}

.automation-bento-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 18px;
  isolation: isolate;
  box-shadow: 0 16px 36px rgba(48, 43, 66, 0.06);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease;
}

.automation-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(48, 43, 66, 0.11);
}

.automation-bento-attract {
  grid-column: 1 / span 4;
  grid-row: 1;
  background: linear-gradient(145deg, #effbf6 0%, #f8fcfa 54%, #e5f6ff 100%);
}

.automation-bento-consult {
  grid-column: 1 / span 4;
  grid-row: 2 / span 2;
  background: linear-gradient(150deg, #edf7ff 0%, #f7fbff 52%, #e8efff 100%);
}

.automation-bento-core {
  grid-column: 5 / span 4;
  grid-row: 1 / span 2;
  background: linear-gradient(150deg, #f1f0ff 0%, #fafaff 55%, #e9efff 100%);
  border-color: rgba(66, 119, 255, 0.16);
}

.automation-bento-close {
  grid-column: 9 / span 4;
  grid-row: 1;
  background: linear-gradient(145deg, #fff1ed 0%, #fff9f7 55%, #ffe9e6 100%);
}

.automation-bento-operate {
  grid-column: 9 / span 4;
  grid-row: 2;
  background: linear-gradient(145deg, #f3f0ff 0%, #f8f8ff 52%, #e8f7ff 100%);
}

.automation-bento-retain {
  grid-column: 5 / span 8;
  grid-row: 3;
  background: linear-gradient(120deg, #fff8e8 0%, #fffaf0 52%, #ffece4 100%);
}

.automation-bento-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 24px 24px 4px;
}

.automation-bento-copy h3 {
  margin: 2px 0 6px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.automation-bento-copy div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.automation-stage-number,
.automation-core-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(39, 38, 51, 0.14);
}

.automation-bento-attract .automation-stage-number { background: #10a875; }
.automation-bento-consult .automation-stage-number { background: #2482ee; }
.automation-bento-close .automation-stage-number { background: #f56759; }
.automation-bento-operate .automation-stage-number { background: #7455e9; }
.automation-bento-retain .automation-stage-number { background: #efa70a; }

.automation-core-mark {
  background: linear-gradient(145deg, #386ff7, #6851ef);
  font-size: 18px;
}

.automation-stage-name {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.automation-bento-attract .automation-stage-name { color: #07875e; }
.automation-bento-close .automation-stage-name { color: #df5548; }
.automation-bento-operate .automation-stage-name { color: #6545d8; }
.automation-bento-retain .automation-stage-name { color: #c88000; }

.automation-bento-visual {
  min-height: 0;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2px 18px 18px;
}

.automation-bento-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(40, 52, 92, 0.08));
}

.automation-bento-visual-portrait,
.automation-bento-visual-core {
  padding: 6px 10px 14px;
}

.automation-bento-visual-wide {
  padding: 0 12px 14px;
}

.automation-retain-copy {
  position: absolute;
  inset: 16px 24px auto;
  z-index: 2;
  width: auto;
  height: auto;
  display: block;
  padding: 0;
}

.automation-retain-topline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.automation-retain-copy h3 {
  max-width: none;
  margin: 8px 0 5px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.automation-retain-copy > p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.automation-bento-visual-retain {
  position: absolute;
  inset: 112px 0 0;
  padding: 0;
  z-index: 1;
  overflow: hidden;
}

.automation-bento-visual-retain img {
  position: absolute;
  inset: unset;
  width: 90%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  clip-path: none;
  transform: none;
  transform-origin: center bottom;
}

.automation-core-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 20px 20px;
  padding: 12px 14px;
  color: #4f4c62;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(66, 119, 255, 0.1);
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.automation-core-status span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.automation-core-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19b879;
  box-shadow: 0 0 0 4px rgba(25, 184, 121, 0.12);
}

.automation-bento-cta {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.automation-bento-cta .btn {
  min-height: 50px;
  padding-inline: 24px;
}

@media (max-width: 980px) {
  .automation-bento-section {
    padding: 88px 0 100px;
  }

  .automation-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(360px, auto);
  }

  .automation-bento-attract,
  .automation-bento-consult,
  .automation-bento-core,
  .automation-bento-close,
  .automation-bento-operate,
  .automation-bento-retain {
    grid-column: auto;
    grid-row: auto;
  }

  .automation-bento-consult,
  .automation-bento-core {
    min-height: 460px;
  }

  .automation-bento-retain {
    grid-column: 1 / -1;
    min-height: 340px;
  }

}

@media (max-width: 680px) {
  .automation-bento-section {
    padding: 72px 0 84px;
  }

  .automation-bento-heading {
    margin-bottom: 34px;
  }

  .automation-bento-heading h2 {
    font-size: 34px;
  }

  .automation-bento-heading > p:last-child {
    font-size: 14px;
  }

  .automation-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .automation-bento-card {
    min-height: 390px;
    border-radius: 16px;
  }

  .automation-bento-consult,
  .automation-bento-core {
    min-height: 420px;
  }

  .automation-bento-retain {
    min-height: 430px;
  }

  .automation-bento-copy {
    padding: 20px 20px 4px;
  }

  .automation-bento-copy h3 {
    font-size: 18px;
  }

  .automation-retain-copy {
    position: absolute;
    inset: 16px 20px auto;
    width: auto;
    height: auto;
    display: block;
    padding: 0;
  }

  .automation-retain-copy h3,
  .automation-retain-copy > p {
    white-space: normal;
  }

  .automation-retain-copy h3 {
    font-size: 17px;
  }

  .automation-bento-visual-retain {
    position: absolute;
    inset: 136px 0 0;
    padding: 0;
  }

  .automation-bento-visual-retain img {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
    transform-origin: center bottom;
  }

  .automation-core-status {
    flex-direction: column;
    align-items: flex-start;
  }

  .automation-bento-cta .btn {
    width: 100%;
    min-height: 56px;
    text-align: center;
  }
}






/* ==========================================================================
   ADVANCED PLATFORM INTEGRATIONS SECTION (Synced with Ecosystem Phân hệ Style)
   ========================================================================== */
.advanced-integrations-section {
  padding: 100px 0;
  background: var(--light-surface, #F5F6FA);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15, 24, 53, 0.05);
}

.advanced-integrations-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(66, 119, 255, 0.04) 0%, rgba(66, 119, 255, 0) 70%);
  pointer-events: none;
}

.advanced-integrations-section .section-heading h2 {
  color: var(--ink, #0F1835) !important;
}

.advanced-integrations-section .section-heading p {
  color: var(--muted, #475467) !important;
}

/* Redesigned grid to match the ecosystem console frame exactly */
.advanced-integrations-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr); /* 15% narrower sidebar than original 320px */
  gap: 32px; /* Matches ecosystem-console gap */
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(39, 38, 51, 0.08);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(48, 43, 66, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  margin-top: 56px;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .advanced-integrations-grid {
    height: 680px; /* Increased height to 680px to provide absolute abundant breathing room for any long description text */
  }
}

/* Sidebar Styling: Matched console-sidebar */
.advanced-integrations-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(39, 38, 51, 0.08);
  padding-right: 16px;
  background: transparent;
}

.sidebar-track-line {
  display: none;
}

.sidebar-group-btn {
  display: block;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  color: #4f4d5d;
  font-weight: 700;
  transition: all 220ms ease;
  width: 100%;
}

.sidebar-group-indicator {
  display: none;
}

.sidebar-group-btn.active {
  background: rgba(66, 119, 255, 0.08);
  color: var(--blue, #4277FF) !important;
  box-shadow: inset 0 0 0 1.5px rgba(66, 119, 255, 0.15);
  transform: translateX(4px);
}

.sidebar-group-btn:hover:not(.active) {
  background: rgba(66, 119, 255, 0.04);
  color: var(--ink, #0F1835);
  transform: translateX(4px);
}

.sidebar-group-btn .group-info h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: inherit;
}

.sidebar-group-btn .group-info p {
  font-size: 11.5px;
  margin: 0;
  color: #667085;
  line-height: 1.4;
  font-weight: 400;
}

/* Right Content Area: Matched console-content styling */
.advanced-integrations-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Horizontal Sub Tabs Container (Fixed height to prevent vertical layout jumps on tab wrapping) */
.sub-tabs-container {
  border-bottom: none;
  margin-bottom: 32px;
  height: 92px; /* Fixed height to hold 1 or 2 lines of wrapped tabs stably */
  display: flex;
  align-items: center; /* Vertically center the tabs row */
}

.sub-tabs-row {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

.sub-tabs-row.active {
  display: flex;
}

.sub-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted, #475467);
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin-right: 28px; /* Space for the "|" separator */
  box-shadow: none !important;
}

.sub-tab .tab-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.sub-tab:hover .tab-icon {
  transform: scale(1.1);
}

.sub-tab:last-child {
  margin-right: 0;
}

/* Vertical "|" Separator */
.sub-tab:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -16px;
  color: rgba(15, 24, 53, 0.18);
  font-weight: 300;
  pointer-events: none;
}

.sub-tab:hover {
  color: var(--ink, #0F1835);
  background: transparent !important;
}

.sub-tab.active {
  color: var(--process-blue, #4277FF) !important;
  border-bottom-color: var(--process-blue, #4277FF) !important;
}

/* Canvas Display Area: Light Grid style */
.canvas-display-screen {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Image 60% Text 40% */
  gap: 32px;
  align-items: start;
}

.canvas-visual-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.canvas-visual {
  background: #F8F9FC;
  border: 1px solid rgba(15, 24, 53, 0.05);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px; /* Reduced from 400px as requested */
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(rgba(15, 24, 53, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.flow-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 280px; /* Reduced to match canvas height */
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 6px 20px rgba(15, 24, 53, 0.06));
}

/* Canvas Details & Flow Steps: Horizontal Grid Layout */
.canvas-details {
  padding: 8px 0 0 0;
}

.flow-desc-box {
  display: none;
}

.flow-desc-box.active {
  display: block;
}

.flow-desc-header {
  margin-bottom: 24px;
}

.flow-desc-box h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink, #0F1835);
  margin: 0 0 8px 0;
}

.flow-desc-box p {
  font-size: 14px;
  color: var(--muted, #475467);
  margin: 0;
  line-height: 1.5;
}

/* Steps list rendered in a vertical flex list */
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-steps li {
  display: flex;
  align-items: start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #475467);
}

.flow-steps li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--coral, #FA6E5B);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(250, 110, 91, 0.2);
}

.flow-steps li div {
  width: 100%;
}


.flow-steps li strong {
  color: var(--ink, #0F1835);
}

/* Carousel Controls Styling (Unified inline row: Arrow - Dots - Arrow) */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Space between arrows and dots */
  margin-top: 8px;
  padding: 8px 0;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  border: 1px solid rgba(15, 24, 53, 0.08) !important;
  background: #FFFFFF !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 24, 53, 0.04);
  flex-shrink: 0;
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  fill: #475467;
  transition: fill 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--process-blue, #4277FF) !important;
  border-color: var(--process-blue, #4277FF) !important;
  box-shadow: 0 4px 12px rgba(66, 119, 255, 0.2);
}

.carousel-arrow:hover svg {
  fill: #FFFFFF;
}

.carousel-arrow:active {
  transform: scale(0.9);
}

/* Dots Indicator Styling */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E4E7EC; /* Light gray for inactive dots */
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dots .dot:hover {
  background: #D0D5DD;
}

.carousel-dots .dot.active {
  width: 24px; /* Pill shape for active dot */
  border-radius: 4px;
  background: var(--process-blue, #4277FF); /* Accent color */
  box-shadow: 0 2px 6px rgba(66, 119, 255, 0.15);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive CSS */
@media (max-width: 1199px) {
  .advanced-integrations-grid {
    grid-template-columns: 1fr !important;
    border-radius: 24px;
    padding: 24px;
  }
  
  .advanced-integrations-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 0 8px 0;
    border-right: none;
    border-bottom: 1px solid rgba(39, 38, 51, 0.08);
    min-width: 0 !important;
    width: 100% !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .advanced-integrations-sidebar::-webkit-scrollbar {
    display: none;
  }

  .advanced-integrations-display {
    min-width: 0 !important;
    width: 100% !important;
  }

  .canvas-visual-container {
    min-width: 0 !important;
    width: 100% !important;
  }

  .canvas-visual {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .sidebar-group-btn {
    flex-shrink: 0;
    min-width: 220px;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    transform: none !important;
  }
  
  .sidebar-group-btn.active {
    background: rgba(66, 119, 255, 0.08);
    box-shadow: inset 0 0 0 1.5px rgba(66, 119, 255, 0.15);
  }
  
  .canvas-display-screen {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .advanced-integrations-section {
    padding: 60px 0;
  }
  
  .sidebar-group-btn {
    min-width: 180px;
  }
  
  .canvas-visual-container {
    min-width: 0 !important;
    width: 100% !important;
  }

  .canvas-visual {
    min-height: 280px;
    padding: 16px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  .canvas-visual .flow-image {
    width: auto !important;
    max-width: none !important;
    height: 240px !important;
    max-height: none !important;
  }
  
  .sub-tabs-container {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sub-tabs-container::-webkit-scrollbar {
    display: none;
  }
  
  .sub-tabs-row {
    flex-wrap: nowrap;
    width: max-content;
  }
}

.mega-lucide-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mega-item:hover .mega-lucide-icon {
  transform: scale(1.1);
  filter: brightness(0.9);
}

.mega-item-platforms {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.mega-item:hover .mega-item-platforms {
  opacity: 1;
}

.platform-mini-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #f1f3f9;
  padding: 3px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mega-item:hover .platform-mini-logo {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.platform-mini-logo:hover {
  transform: scale(1.2);
}

.platform-mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- FAQ Accordion Section Style --- */
.faq-section {
  padding: 120px 0;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(15, 24, 53, 0.05);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #F8F9FC;
  border: 1px solid rgba(39, 38, 51, 0.04);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(66, 119, 255, 0.15);
  box-shadow: 0 4px 20px rgba(15, 24, 53, 0.02);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 700;
  color: #0F1835;
  gap: 20px;
}

.faq-icon-wrapper {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(39, 38, 51, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-icon-wrapper svg {
  width: 12px;
  height: 12px;
  color: #0F1835;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #475467;
}

/* Active State */
.faq-item.active {
  background: #FFFFFF;
  border-color: #4277FF;
  box-shadow: 0 10px 30px rgba(66, 119, 255, 0.06);
}

.faq-item.active .faq-icon-wrapper {
  background: #4277FF;
  border-color: #4277FF;
}

.faq-item.active .faq-icon-wrapper svg {
  color: #FFFFFF;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }
  .faq-trigger {
    padding: 20px;
    font-size: 15px;
  }
  .faq-content-inner {
    padding: 0 20px 20px;
    font-size: 14px;
  }
}




/* ==========================================================================
   AI Chip / Tag Badge Premium Styling
   ========================================================================== */
.ai-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  line-height: 1;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ai-chip:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   Feature Carousel Component (Premium 3-Column Bento Styling)
   ========================================================================== */
.feature-carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  box-sizing: border-box;
}

.feature-carousel-card {
  display: flex;
  flex-direction: row;
  min-height: 540px;
  height: 560px;
  border-radius: 40px;
  border: 1px solid rgba(15, 24, 53, 0.08);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 24, 53, 0.04);
}

/* Column 1: List các AI (Navigation) */
.carousel-nav-column {
  width: 25%;
  position: relative;
  background: #62B2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-nav-gradient {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 5;
  pointer-events: none;
}
.carousel-nav-gradient.top {
  top: 0;
  background: linear-gradient(to bottom, #62B2FE 0%, rgba(98, 178, 254, 0.8) 50%, transparent 100%);
}
.carousel-nav-gradient.bottom {
  bottom: 0;
  background: linear-gradient(to top, #62B2FE 0%, rgba(98, 178, 254, 0.8) 50%, transparent 100%);
}

.carousel-nav-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav-list {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-chip-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, border-color 0.3s ease, background-color 0.3s ease;
  z-index: 2;
  box-sizing: border-box;
}

.carousel-chip-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

.carousel-chip-btn.active {
  background: #FFFFFF;
  color: #62B2FE;
  border-color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 24, 53, 0.08);
  z-index: 10;
}

.chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: currentColor;
}
.chip-icon svg {
  width: 100%;
  height: 100%;
}

/* Column 2: Hình ảnh các AI (Showcase Mascot) */
.carousel-image-column {
  width: 40%;
  background: #F8F9FC;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(15, 24, 53, 0.05);
}

.carousel-cards-deck {
  position: relative;
  width: 280px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  background: #FFFFFF;
  border: 4px solid #FFFFFF;
  box-shadow: 0 16px 32px rgba(15, 24, 53, 0.08);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.card-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF2F6;
  padding: 16px;
  box-sizing: border-box;
}

.card-image-wrapper img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(15, 24, 53, 0.08));
}

.carousel-card-item.active {
  transform: translateX(0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 20;
  pointer-events: auto;
}

.carousel-card-item.prev {
  transform: translateX(-80px) scale(0.85) rotate(-3deg);
  opacity: 0.3;
  z-index: 10;
  filter: grayscale(100%) blur(1px) brightness(85%);
}

.carousel-card-item.next {
  transform: translateX(80px) scale(0.85) rotate(3deg);
  opacity: 0.3;
  z-index: 10;
  filter: grayscale(100%) blur(1px) brightness(85%);
}

.carousel-card-item.hidden {
  opacity: 0;
  transform: scale(0.7);
  z-index: 0;
}

/* Live Session Indicator */
.card-live-indicator {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.carousel-card-item.active .card-live-indicator {
  opacity: 1;
  transition-delay: 0.2s;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #62B2FE;
  box-shadow: 0 0 8px #62B2FE;
  animation: livePulse 1.5s infinite;
}

.card-live-indicator span {
  color: #62B2FE;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: monospace;
}

@keyframes livePulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* Column 3: Các tính năng AI làm được (Details & Checklist) */
.carousel-details-column {
  width: 35%;
  background: #FFFFFF;
  position: relative;
  box-sizing: border-box;
}

.details-deck {
  width: 100%;
  height: 100%;
  position: relative;
}

.details-panel-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
}

.details-panel-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-badge {
  background: #EEF4FF;
  color: #4277FF;
  border: 1px solid rgba(66, 119, 255, 0.15);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
  margin-bottom: 16px;
}

.details-panel-item h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-navy, #0F1835);
  margin-bottom: 12px;
  margin-top: 0;
}

.panel-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary, #475467);
  margin-bottom: 24px;
  margin-top: 0;
}

.panel-features-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-features-checklist h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-navy, #0F1835);
  margin: 0 0 4px;
}

.panel-features-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-features-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-secondary, #475467);
}

.panel-features-checklist li svg {
  width: 16px;
  height: 16px;
  color: #12B76A; /* Màu xanh lá cho dấu check */
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive adjustment */
@media (max-width: 1023px) {
  .feature-carousel-card {
    flex-direction: column;
    height: auto;
    min-height: auto;
    border-radius: 24px;
  }
  
  .carousel-nav-column {
    width: 100%;
    height: 80px;
    padding: 10px 0;
  }
  
  .carousel-nav-gradient {
    width: 60px;
    height: 100%;
    top: 0;
    bottom: 0;
  }
  .carousel-nav-gradient.top {
    left: 0;
    right: auto;
    background: linear-gradient(to right, #62B2FE 0%, transparent 100%);
  }
  .carousel-nav-gradient.bottom {
    right: 0;
    left: auto;
    background: linear-gradient(to left, #62B2FE 0%, transparent 100%);
  }
  
  .carousel-nav-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .carousel-nav-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-nav-list {
    position: relative;
    width: max-content;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 40px;
    gap: 12px;
  }
  
  .carousel-chip-btn {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 0.65 !important;
    padding: 10px 20px;
    font-size: 11px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  
  .carousel-chip-btn.active {
    opacity: 1 !important;
    background: #FFFFFF;
    color: #62B2FE;
  }
  
  .carousel-image-column {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    border-right: none;
    border-top: 1px solid rgba(15, 24, 53, 0.05);
  }
  
  .carousel-cards-deck {
    width: 260px;
    height: 320px;
  }
  
  .carousel-card-item.prev {
    transform: translateX(-50px) scale(0.85) rotate(-2deg);
  }
  
  .carousel-card-item.next {
    transform: translateX(50px) scale(0.85) rotate(2deg);
  }
  
  .carousel-details-column {
    width: 100%;
    border-top: 1px solid rgba(15, 24, 53, 0.05);
  }
  
  .details-deck {
    height: auto;
    min-height: 380px;
  }
  
  .details-panel-item {
    position: relative;
    opacity: 0;
    transform: none;
    display: none;
    padding: 32px 24px;
    height: auto;
  }
  
  .details-panel-item.active {
    display: flex;
    opacity: 1;
  }
}

/* ==========================================
   REMARKETING REDESIGN STYLES
   ========================================== */

/* WebGL canvas style */
.gl-wave-canvas-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gl-wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero Section */
.remarketing-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: url('https://raw.githubusercontent.com/prebuiltui/prebuiltui/main/assets/hero/gridBackground.png') no-repeat center center;
  background-size: cover;
  color: #0f1835;
  border-bottom: 1px solid rgba(15, 24, 53, 0.05);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 24, 53, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  opacity: 0.15;
  z-index: 1;
}

.remarketing-hero .container {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Glassmorphic Central Board */
.hero-glass-board {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 60px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 24, 53, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(15, 24, 53, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Board Row 1 (Split Content) */
.board-row-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.board-row-split h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: #0f1835;
  text-shadow: 0 4px 12px rgba(15, 24, 53, 0.03);
}

.board-row-split h1 .highlight-blue {
  color: #2563eb;
}

.board-row-split p {
  font-size: 16px;
  line-height: 1.5;
  color: #475467;
  margin: 0;
  max-width: 380px;
}

/* Board Row 2 (Logos + Text) */
.board-row-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(15, 24, 53, 0.06);
  padding-top: 40px;
}

.stacked-logos-group {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.stacked-logo-item {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 16px rgba(15, 24, 53, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.stacked-logo-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.stacked-logo-item:hover {
  transform: translateY(-8px) scale(1.1);
  z-index: 10 !important;
}

.board-row-logos h2 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-align: right;
  color: #0f1835;
}

/* Board Row 3 (Action + Text) */
.board-row-action {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(15, 24, 53, 0.06);
  padding-top: 40px;
}

.board-row-action h2 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  color: #0f1835;
}

.board-row-action .btn-hero {
  padding: 18px 48px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 9999px;
  background: #0f1835;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 30px rgba(15, 24, 53, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.board-row-action .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
  background: #2563eb;
  color: #ffffff;
}

/* Infinite Marquee */
.marquee-wrapper-hero {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.marquee-track-hero {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-track-hero:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-card-hero {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 24, 53, 0.06);
  border-radius: 16px;
  padding: 20px 24px;
  min-width: 320px;
  max-width: 340px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(15, 24, 53, 0.03);
  transition: all 0.3s ease;
}

.marquee-card-hero:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}

.marquee-icon-hero {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 24, 53, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marquee-icon-hero img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.marquee-info-hero {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.marquee-header-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 8px;
}

.marquee-title-hero {
  font-size: 15px;
  font-weight: 700;
  color: #0f1835;
  margin: 0;
}

.marquee-price-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.marquee-price-tag.free {
  background: rgba(74, 222, 128, 0.15);
  color: #16a34a;
  border-color: rgba(74, 222, 128, 0.2);
}

.marquee-price-tag.dev {
  background: rgba(251, 146, 60, 0.15);
  color: #ea580c;
  border-color: rgba(251, 146, 60, 0.2);
}

.marquee-desc-hero {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Bento Grid Remarketing Channels */
.bento-channels-section {
  padding: 100px 0;
  background: #fbfbfc;
}

.bento-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bento-channel-card {
  background: #ffffff;
  border: 1px solid rgba(15, 24, 53, 0.06);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms ease;
  position: relative;
}

.bento-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(39, 38, 51, 0.06);
  border-color: rgba(66, 119, 255, 0.18);
}

.channel-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.channel-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.channel-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f1835;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.channel-card-body p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.channel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(15, 24, 53, 0.04);
  padding-top: 20px;
  margin-top: 24px;
}

.channel-card-price {
  font-size: 13px;
  font-weight: 700;
  color: #0f1835;
}

.channel-card-price span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
}

.channel-card-btn {
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.2s ease;
}

.channel-card-btn:hover {
  color: #1d4ed8;
}

.bento-channel-card.disabled {
  opacity: 0.75;
  background: #f8fafc;
}

.bento-channel-card.disabled .channel-card-btn {
  color: #94a3b8;
  cursor: not-allowed;
}

/* Bento Grid Spans */
.bento-channels-grid .span-2 {
  grid-column: span 2;
}

/* Responsive adjustments for redesign */
@media (max-width: 1024px) {
  .bento-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .board-row-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .board-row-split p {
    max-width: 100%;
  }
  
  .board-row-logos h2,
  .board-row-action h2 {
    font-size: 42px;
  }
  
  .board-row-split h1 {
    font-size: 54px;
  }
}

@media (max-width: 768px) {
  .hero-glass-board {
    padding: 30px;
    gap: 30px;
  }
  
  .board-row-logos {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .board-row-logos h2 {
    text-align: left;
  }
  
  .board-row-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .board-row-split h1 {
    font-size: 38px;
  }
  
  .board-row-logos h2,
  .board-row-action h2 {
    font-size: 32px;
  }
  
  .bento-channels-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-channels-grid .span-2 {
    grid-column: span 1;
  }
}

/* Key Metrics Section */
.metrics-section {
  padding: 80px 0;
  background: #F8F9FC;
  border-bottom: 1px solid rgba(15, 24, 53, 0.05);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.metric-card {
  padding: 24px;
}

.metric-value {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--process-blue, #4277FF);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.metric-value span.coral {
  color: var(--primary-coral, #FA6E5B);
}

.metric-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy, #0F1835);
  margin-bottom: 12px;
}

.metric-desc {
  font-size: 14px;
  color: var(--text-secondary, #475467);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

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

/* Pure Typography Accent Section (Light-mode Grid & Pastel Glows) */
.pure-typo-section {
  padding: 160px 0;
  background: radial-gradient(circle at center, #ffffff 0%, #f4f7ff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15, 24, 53, 0.05);
  border-bottom: 1px solid rgba(15, 24, 53, 0.05);
}

.typo-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 24, 53, 0.08) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.typo-bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transform: scale(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.typo-bg-glows::before,
.typo-bg-glows::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.7;
  animation: moveGlow 20s infinite alternate ease-in-out;
}

.typo-bg-glows::before {
  background: radial-gradient(circle at center, rgba(66, 119, 255, 0.15) 0%, rgba(66, 119, 255, 0) 70%);
  top: -150px;
  left: 10%;
}

.typo-bg-glows::after {
  background: radial-gradient(circle at center, rgba(250, 110, 91, 0.15) 0%, rgba(250, 110, 91, 0) 70%);
  bottom: -150px;
  right: 10%;
  animation-delay: -7s;
}

@keyframes moveGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 60px) scale(1.15);
  }
}

.pure-typo-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.pure-typo-section h2 {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0f1835;
  margin: 0;
  text-shadow: 0 4px 12px rgba(15, 24, 53, 0.03);
}

.pure-typo-section h2 span.gradient-text-1 {
  background: linear-gradient(135deg, #1d4ed8 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pure-typo-section h2 span.gradient-text-2 {
  background: linear-gradient(135deg, #ea580c 0%, #db2777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pure-typo-section h2 span.underline-effect {
  position: relative;
  display: inline-block;
}

.pure-typo-section h2 span.underline-effect::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(66, 119, 255, 0.12);
  z-index: -1;
  border-radius: 4px;
}

.pure-typo-cta-btn {
  padding: 20px 56px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 9999px;
  background: #0f1835;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 30px rgba(15, 24, 53, 0.15);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pure-typo-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(66, 119, 255, 0.25);
  background: #4277ff;
  color: #ffffff;
}

@media (max-width: 768px) {
  .pure-typo-section {
    padding: 100px 0;
  }
  .pure-typo-section h2 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
  .pure-typo-section h2 span.underline-effect::after {
    height: 8px;
    bottom: 6px;
  }
}

/* Flowing connection line dash animation */
.flowing-dash {
  animation: flowLine 2s linear infinite;
}

/* ==========================================================================
   FEATURE PAGES MOBILE OVERRIDES (Anti-Slop & Premium UI adjustments)
   ========================================================================== */
@media (max-width: 1024px) {
  .stacked-card {
    height: auto !important;
    position: relative !important;
    top: auto !important;
  }
  
  .iphone-wrapper {
    height: 350px !important;
    border-radius: 36px !important;
    border: 4px solid #000000 !important;
    margin-bottom: 0 !important;
  }
}

@keyframes flowLine {
  to {
    stroke-dashoffset: -20;
  }
}
