/* =========================================================
   SYNCE TOOL – TRANG TỔNG GIẢI PHÁP V2
   Scope toàn bộ trong .synce-solutions để hạn chế xung đột Flatsome
   Màu chính: #0000ff / #ff0000
========================================================= */

.synce-solutions {
  --synce-blue: #0000ff;
  --synce-blue-700: #0000d6;
  --synce-blue-900: #05055f;
  --synce-red: #ff0000;
  --synce-red-700: #d90000;
  --synce-ink: #101828;
  --synce-text: #344054;
  --synce-muted: #667085;
  --synce-line: #e7eaf0;
  --synce-soft: #f6f8ff;
  --synce-white: #fff;
  --synce-radius-lg: 24px;
  --synce-radius-md: 18px;
  --synce-radius-sm: 12px;
  --synce-shadow-sm: 0 10px 30px rgba(16, 24, 40, .07);
  --synce-shadow-md: 0 18px 50px rgba(16, 24, 40, .11);
  --synce-shadow-blue: 0 20px 54px rgba(0, 0, 255, .14);

  width: 100%;
  overflow: hidden;
  color: var(--synce-text);
  background: var(--synce-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
}

.synce-solutions,
.synce-solutions *,
.synce-solutions *::before,
.synce-solutions *::after { box-sizing: border-box; }

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

.synce-solutions a { text-decoration: none; }

.synce-solutions h1,
.synce-solutions h2,
.synce-solutions h3,
.synce-solutions p,
.synce-solutions ul { margin-top: 0; }

.synce-solutions h1,
.synce-solutions h2,
.synce-solutions h3 {
  font-family: inherit;
  font-weight: 700;
  color: var(--synce-ink);
  text-transform: none;
}

.synce-sol-container {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.synce-sol-section {
  position: relative;
  padding: 94px 0;
}

.synce-sol-section--soft {
  background:
    radial-gradient(circle at 10% 10%, rgba(0,0,255,.055), transparent 26%),
    linear-gradient(180deg, #f7f8ff 0%, #fff 100%);
}

/* Heading */
.synce-sol-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
}

.synce-sol-kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  flex: 0 0 30px;
  border-radius: 99px;
  background: var(--synce-red);
}

.synce-sol-kicker--blue { color: var(--synce-blue); }

.synce-sol-heading {
  width: min(820px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.synce-sol-heading h2 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 20px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.synce-sol-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 99px;
  background: var(--synce-red);
  transform: translateX(-50%);
}

.synce-sol-heading p {
  width: min(720px, 100%);
  margin: 0 auto;
  color: var(--synce-muted);
  font-size: 17px;
  line-height: 1.75;
}

.synce-sol-heading--light h2 { color: #fff; }
.synce-sol-heading--light p { color: rgba(255,255,255,.78); }

/* Buttons */
.synce-sol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}

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

.synce-sol-btn--red {
  color: #fff !important;
  background: var(--synce-red);
  box-shadow: 0 14px 32px rgba(255,0,0,.25);
}

.synce-sol-btn--red:hover {
  color: #fff !important;
  background: var(--synce-red-700);
  box-shadow: 0 18px 40px rgba(255,0,0,.32);
}

.synce-sol-btn--outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.synce-sol-btn--outline:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.14);
}

.synce-sol-btn--blue {
  color: #fff !important;
  background: var(--synce-blue);
  box-shadow: 0 14px 32px rgba(0,0,255,.19);
}

.synce-sol-btn--blue:hover {
  color: #fff !important;
  background: var(--synce-blue-700);
  box-shadow: 0 18px 40px rgba(0,0,255,.25);
}

/* Hero */
.synce-sol-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 112px;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.14), transparent 25%),
    radial-gradient(circle at 72% 120%, rgba(255,0,0,.27), transparent 32%),
    linear-gradient(125deg, #05055f 0%, #0000ff 57%, #1111c5 100%);
}

.synce-sol-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -205px;
  left: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018);
}

.synce-sol-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 54px;
  background: rgba(255,0,0,.15);
  transform: rotate(24deg);
}

.synce-sol-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: clamp(46px, 6vw, 82px);
  align-items: center;
}

.synce-sol-hero__copy { width: min(690px, 100%); }

.synce-sol-hero__copy h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.synce-sol-hero__copy h1 span {
  display: block;
  color: #fff;
}

.synce-sol-hero__lead {
  width: min(650px, 100%);
  margin-bottom: 30px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.75;
}

.synce-sol-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.synce-sol-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.synce-sol-hero__checks span {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 600;
}

.synce-sol-hero__checks span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: 900;
}

.synce-sol-hero__visual {
  position: relative;
  min-width: 0;
}

.synce-sol-hero__image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--synce-radius-lg);
  background: #fff;
  box-shadow: 0 30px 90px rgba(1,5,67,.38);
}

.synce-sol-hero__image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,60,.22) 100%);
}

.synce-sol-hero__image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .55s ease;
}

.synce-sol-hero__visual:hover .synce-sol-hero__image img { transform: scale(1.025); }

.synce-sol-hero__badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  z-index: 3;
  display: grid;
  gap: 1px;
  min-width: 174px;
  padding: 13px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--synce-red);
  box-shadow: 0 16px 38px rgba(20,20,60,.25);
}

.synce-sol-hero__badge strong { font-size: 13px; letter-spacing: .08em; }
.synce-sol-hero__badge span { font-size: 11px; opacity: .86; }

/* Benefits */
.synce-sol-benefits {
  position: relative;
  z-index: 5;
  margin-top: -48px;
  padding-bottom: 28px;
}

.synce-sol-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  overflow: hidden;
  border: 1px solid rgba(0,0,255,.08);
  border-radius: var(--synce-radius-md);
  background: #fff;
  box-shadow: var(--synce-shadow-md);
}

.synce-sol-benefit {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 25px 22px;
}

.synce-sol-benefit + .synce-sol-benefit { border-left: 1px solid var(--synce-line); }

.synce-sol-benefit__number {
  flex: 0 0 auto;
  color: var(--synce-red);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.synce-sol-benefit h2 {
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.synce-sol-benefit p {
  margin-bottom: 0;
  color: var(--synce-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Solution cards */
.synce-sol-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
}

.synce-sol-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--synce-line);
  border-radius: var(--synce-radius-md);
  background: #fff;
  box-shadow: var(--synce-shadow-sm);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.synce-sol-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,255,.18);
  box-shadow: var(--synce-shadow-blue);
}

.synce-sol-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #eef1f6;
}

.synce-sol-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(5,5,50,.14));
}

.synce-sol-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.synce-sol-card:hover .synce-sol-card__media img { transform: scale(1.055); }

.synce-sol-card__body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 25px 22px 24px;
}

.synce-sol-card__index {
  position: absolute;
  top: -18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--synce-blue);
  font-size: 11px;
  font-weight: 800;
}

.synce-sol-card h3 {
  margin: 0 44px 10px 0;
  font-size: 20px;
  line-height: 1.28;
}

.synce-sol-card h3 a { color: var(--synce-ink) !important; }
.synce-sol-card h3 a:hover { color: var(--synce-blue) !important; }

.synce-sol-card p {
  margin-bottom: 18px;
  color: var(--synce-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.synce-sol-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--synce-blue) !important;
  font-size: 14px;
  font-weight: 800;
}

.synce-sol-link span { transition: transform .22s ease; }
.synce-sol-link:hover span { transform: translateX(4px); }

/* Problems */
.synce-sol-problems { background: #fff; }

.synce-sol-problems__grid {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr);
  gap: clamp(48px,7vw,86px);
  align-items: center;
}

.synce-sol-problems__content { min-width: 0; }

.synce-sol-problems__content h2 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(31px,3.7vw,49px);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.synce-sol-lead {
  max-width: 700px;
  margin-bottom: 27px;
  color: var(--synce-muted);
  font-size: 17px;
  line-height: 1.78;
}

.synce-sol-checklist {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.synce-sol-checklist li {
  position: relative;
  padding: 13px 16px 13px 48px;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  color: var(--synce-text);
  background: #fbfcfe;
  font-size: 15px;
  font-weight: 600;
}

.synce-sol-checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--synce-blue);
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-50%);
}

.synce-sol-metric-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--synce-radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,0,0,.18), transparent 28%),
    linear-gradient(145deg, #070770 0%, #0000ff 100%);
  box-shadow: 0 28px 70px rgba(0,0,160,.22);
}

.synce-sol-metric-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
}

.synce-sol-metric-panel article {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  align-items: start;
  padding: 21px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.085);
  backdrop-filter: blur(8px);
}

.synce-sol-metric-panel__number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  background: var(--synce-red);
  font-size: 12px;
  font-weight: 800;
}

.synce-sol-metric-panel h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
}

.synce-sol-metric-panel p {
  margin-bottom: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.6;
}

/* Process */
.synce-sol-process {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 23%),
    radial-gradient(circle at 15% 110%, rgba(255,0,0,.25), transparent 27%),
    linear-gradient(125deg, #04045a 0%, #0000ff 58%, #1111bd 100%);
}

.synce-sol-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.synce-sol-process__item {
  position: relative;
  min-width: 0;
  min-height: 245px;
  padding: 27px 24px 25px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.085);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.synce-sol-process__item:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.12);
}

.synce-sol-process__item > span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 10px;
  color: #fff;
  background: var(--synce-red);
  box-shadow: 0 12px 28px rgba(255,0,0,.22);
  font-size: 12px;
  font-weight: 800;
}

.synce-sol-process__item h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.synce-sol-process__item p {
  margin-bottom: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.65;
}

/* Tool ecosystem */
.synce-sol-ecosystem {
  background: radial-gradient(circle at 85% 20%, rgba(0,0,255,.045), transparent 22%), #fff;
}

.synce-sol-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.synce-sol-tool-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 26px 64px 27px 24px;
  border: 1px solid var(--synce-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16,24,40,.055);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.synce-sol-tool-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--synce-blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .24s ease;
}

.synce-sol-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,255,.20);
  box-shadow: var(--synce-shadow-blue);
}

.synce-sol-tool-card:hover::before { transform: scaleY(1); }

.synce-sol-tool-card__number {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--synce-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.synce-sol-tool-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.synce-sol-tool-card p {
  margin-bottom: 0;
  color: var(--synce-muted);
  font-size: 14px;
  line-height: 1.65;
}

.synce-sol-tool-card__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--synce-blue);
  background: #f0f2ff;
  font-size: 18px;
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform .24s ease, color .24s ease, background-color .24s ease;
}

.synce-sol-tool-card:hover .synce-sol-tool-card__arrow {
  color: #fff;
  background: var(--synce-blue);
  transform: translate(3px,-50%);
}

.synce-sol-tool-card__overlay {
  position: absolute;
  z-index: 4;
  inset: 0;
}

.synce-sol-brand-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--synce-line);
  border-radius: 15px;
  background: #f9fafc;
}

.synce-sol-brand-strip > div {
  display: grid;
  gap: 5px;
  padding: 19px 20px;
}

.synce-sol-brand-strip > div + div { border-left: 1px solid var(--synce-line); }

.synce-sol-brand-strip strong {
  color: var(--synce-ink);
  font-size: 13px;
  line-height: 1.4;
}

.synce-sol-brand-strip span {
  color: var(--synce-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Focus */
.synce-solutions a:focus-visible {
  outline: 3px solid rgba(255,0,0,.45);
  outline-offset: 4px;
}

/* Responsive */
@media (max-width: 1100px) {
  .synce-sol-hero__grid,
  .synce-sol-problems__grid {
    grid-template-columns: minmax(0,1fr) minmax(360px,.88fr);
    gap: 42px;
  }

  .synce-sol-card-grid,
  .synce-sol-process__grid,
  .synce-sol-tool-grid,
  .synce-sol-brand-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .synce-sol-brand-strip > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--synce-line);
  }

  .synce-sol-brand-strip > div:nth-child(4) { border-top: 1px solid var(--synce-line); }
}

@media (max-width: 820px) {
  .synce-sol-container { width: min(100% - 32px, 720px); }
  .synce-sol-section { padding: 72px 0; }
  .synce-sol-hero { padding: 72px 0 92px; }

  .synce-sol-hero__grid,
  .synce-sol-problems__grid { grid-template-columns: 1fr; }

  .synce-sol-hero__visual { width: min(640px,100%); }
  .synce-sol-benefits { margin-top: -36px; }
  .synce-sol-benefits__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

  .synce-sol-benefit:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--synce-line);
  }

  .synce-sol-benefit:nth-child(4) { border-top: 1px solid var(--synce-line); }
}

@media (max-width: 600px) {
  .synce-solutions { font-size: 15px; }
  .synce-sol-container { width: min(100% - 26px, 560px); }
  .synce-sol-section { padding: 58px 0; }
  .synce-sol-hero { padding: 58px 0 76px; }

  .synce-sol-kicker {
    font-size: 10px;
    letter-spacing: .09em;
  }

  .synce-sol-hero__copy h1 {
    font-size: clamp(34px,10.5vw,45px);
    line-height: 1.07;
  }

  .synce-sol-hero__lead { font-size: 16px; }

  .synce-sol-actions,
  .synce-sol-hero__checks { display: grid; }

  .synce-sol-btn { width: 100%; }
  .synce-sol-hero__badge { right: 10px; bottom: -18px; }
  .synce-sol-benefits { margin-top: -28px; }

  .synce-sol-benefits__grid,
  .synce-sol-card-grid,
  .synce-sol-process__grid,
  .synce-sol-tool-grid,
  .synce-sol-brand-strip { grid-template-columns: 1fr; }

  .synce-sol-benefit + .synce-sol-benefit {
    border-left: 0;
    border-top: 1px solid var(--synce-line);
  }

  .synce-sol-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .synce-sol-heading h2 { font-size: 30px; }

  .synce-sol-heading h2::after {
    left: 0;
    transform: none;
  }

  .synce-sol-heading p { font-size: 15.5px; }
  .synce-sol-card-grid { gap: 18px; }
  .synce-sol-card h3 { font-size: 19px; }
  .synce-sol-problems__content h2 { font-size: 31px; }
  .synce-sol-metric-panel { padding: 14px; }

  .synce-sol-metric-panel article {
    grid-template-columns: 44px 1fr;
    padding: 17px;
  }

  .synce-sol-process__item { min-height: auto; }

  .synce-sol-brand-strip > div + div,
  .synce-sol-brand-strip > div:nth-child(3),
  .synce-sol-brand-strip > div:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--synce-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .synce-solutions *,
  .synce-solutions *::before,
  .synce-solutions *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
