/* ==========================================================================
   "Hệ thống thật" — ảnh chụp app NocoBase đang triển khai (trang chủ, 2026-10-27)
   r7: kiểu hồ sơ dự án, mộc như các mục khác của site (anh Hòa: bản nền tối "nhìn cứ A.I").
   Không gradient chữ, không kính mờ, không lưới/vệt sáng; nền phẳng tone-g, chữ đậm thường,
   số liệu dạng hàng chữ có vạch ngăn, tab gạch chân, ảnh thật làm chủ đạo.
   Ảnh: assets/img/app-thuc/ (tên khách và dữ liệu đã ẩn).
   ========================================================================== */
.real { padding-block: 104px 96px; }
@media (min-width: 1600px) { .real .container { max-width: 1400px; } }

/* ---- Đầu mục: chữ trái, số liệu phải ---- */
.real__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px 64px; align-items: end; margin-bottom: 48px; }
.real .real__head .real__eyebrow {
  display: flex; align-items: center; gap: 8px; max-width: none; margin: 0 0 18px; padding: 0;
  color: #475569; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3;
}
.real__tick { flex: none; width: 18px; height: 18px; }
.real .real__head h2 { margin: 0 0 18px; color: #0b1633; line-height: 1.15; }
.real .real__head h2 em { font-style: normal; color: #1d4ed8; }
.real .real__head p { margin: 0; max-width: 620px; color: #475569; font-size: 1.05rem; line-height: 1.7; }

.real__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid #0b1633; }
.real__stats li { padding: 16px 16px 0 0; }
.real__stats li + li { padding-left: 16px; border-left: 1px solid #d5dce6; }
.real__stats b { display: block; font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #0b1633; font-variant-numeric: tabular-nums; }
.real__stats span { display: block; margin-top: 8px; color: #475569; font-size: 0.86rem; line-height: 1.35; white-space: nowrap; }

/* ---- Tab gạch chân + chú thích ---- */
.real__nav { margin-bottom: 22px; }
.real__tabs { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #d5dce6; overflow-x: auto; scrollbar-width: none; position: relative; }
.real__tabs::-webkit-scrollbar { display: none; }
.real__tabs li { flex: 0 0 auto; }
.real__tab {
  display: block; margin-bottom: -1px; padding: 12px 0 14px; cursor: pointer; border: 0; border-bottom: 2px solid transparent;
  background: none; color: #64748b; font: inherit; text-align: left; transition: color 0.15s, border-color 0.15s;
}
.real__tab b { display: flex; align-items: baseline; gap: 8px; font-size: 0.98rem; font-weight: 700; white-space: nowrap; color: inherit; }
.real__tab b span { font-size: 0.8rem; font-weight: 700; color: #94a3b8; font-variant-numeric: tabular-nums; }
.real__tab b span::after { content: "."; }
.real__tab p { display: none; }
.real__tab:hover { color: #0b1633; }
.real__tab[aria-selected="true"] { color: #0b1633; border-bottom-color: #1d4ed8; }
.real__tab[aria-selected="true"] b span { color: #1d4ed8; }
.real__tab:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.real__desc { margin: 16px 0 0; max-width: 760px; color: #334155; font-size: 0.98rem; line-height: 1.6; }

/* ---- Khung trình duyệt + iPhone ---- */
.real__stage { position: relative; padding: 0 0 80px; }
.real__browser {
  border-radius: 12px; overflow: hidden; background: #ffffff;
  border: 1px solid #d5dce6;
  box-shadow: 0 30px 60px -36px rgba(15, 23, 42, 0.35), 0 8px 20px -14px rgba(15, 23, 42, 0.2);
}
.real__bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: #f1f3f6; border-bottom: 1px solid #e2e6ec; }
.real__dots { display: flex; gap: 6px; }
.real__dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5dd; }
.real__url { flex: 1; max-width: 420px; margin: 0 auto; padding: 4px 12px; border-radius: 6px; background: #ffffff; border: 1px solid #e2e6ec; color: #64748b; font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.real__screens { position: relative; aspect-ratio: 16 / 10; background: #dfe6f1; }
.real__screens img, .real__phone-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transition: opacity 0.35s ease;
}
/* ảnh PC cách viền khung, % theo từng chiều nên ảnh vẫn đúng tỉ lệ 16:10 */
.real__screens img {
  inset: 3.2%; width: 93.6%; height: 93.6%; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 10px 24px -14px rgba(15, 23, 42, 0.35);
}
.real__screens img.is-on, .real__phone-screen img.is-on { opacity: 1; }

/* iPhone: viền titan, Dynamic Island, thanh trạng thái 9:41, nút cạnh, thanh home; cỡ chữ theo bề rộng khung (cqw) */
.real__phone {
  container-type: inline-size;
  position: absolute; right: -24px; bottom: 0; width: 19%; min-width: 150px; max-width: 230px;
  padding: 6px; border-radius: 17% / 8%; background: #0a0a0c;
  box-shadow: 0 0 0 1.5px #c9ccd1, 0 0 0 3px #8e939b, 0 0 0 3.6px #4b4f56, 0 36px 60px -30px rgba(15, 23, 42, 0.55);
}
.real__phone::before, .real__phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; }
.real__phone::before { left: -5px; top: 16%; height: 20px; background: #a3a8b0; box-shadow: 0 34px 0 0 #a3a8b0, 0 72px 0 0 #a3a8b0; }
.real__phone::after { right: -5px; top: 25%; height: 11%; background: linear-gradient(270deg, #6b7079, #b9bdc3); }
.real__phone-screen { position: relative; overflow: hidden; aspect-ratio: 100 / 193; border-radius: 14% / 7%; background: #ffffff; --sb: 13cqw; }
.real__phone-screen img { top: var(--sb); height: calc(100% - var(--sb)); object-position: top center; }
.real__sb { position: absolute; z-index: 3; inset: 0 0 auto 0; height: var(--sb); display: flex; align-items: center; justify-content: space-between; padding: 0 9cqw 0 10.5cqw; background: #ffffff; color: #0a0a0c; }
.real__sb b { font: 600 6cqw/1 -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif; letter-spacing: -0.01em; }
.real__island { position: absolute; left: 50%; top: 2.6cqw; width: 31cqw; height: 9cqw; transform: translateX(-50%); border-radius: 99px; background: #0a0a0c; }
.real__sb-ico { display: inline-flex; align-items: center; gap: 1.6cqw; }
.real__sb-ico svg { height: 3.6cqw; width: auto; fill: currentColor; }
.real__sb-ico svg:last-child { height: 3.9cqw; }
.real__homebar { position: absolute; z-index: 3; left: 50%; bottom: 2.2cqw; width: 36cqw; height: 1.4cqw; transform: translateX(-50%); border-radius: 99px; background: #0a0a0c; opacity: 0.85; }

/* ---- Chân mục: ghi chú trái, nút phải ---- */
.real__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.real__note { display: flex; align-items: center; gap: 6px; margin: 0; color: #64748b; font-size: 0.85rem; }
.real__note svg { flex: none; width: 14px; height: 14px; }

@media (max-width: 1080px) {
  .real { padding-block: 80px; }
  .real__top { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 40px; }
  .real__phone { right: 8px; width: 24%; }
}
@media (max-width: 640px) {
  .real { padding-block: 64px; }
  .real .real__head p { font-size: 1rem; }
  .real__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .real__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .real__stats li:nth-child(n+3) { padding-top: 14px; }
  .real__tabs { gap: 22px; }
  .real__tab b { font-size: 0.92rem; }
  .real__stage { padding-bottom: 44px; }
  .real__screens img { border-radius: 5px; }
  .real__phone { width: 33%; min-width: 0; right: 4px; padding: 3px; }
  .real__phone::before { left: -4px; width: 2px; height: 12px; box-shadow: 0 20px 0 0 #a3a8b0, 0 42px 0 0 #a3a8b0; }
  .real__phone::after { right: -4px; width: 2px; }
  .real__url { display: none; }
  .real__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .real__screens img, .real__phone-screen img { transition: none; }
}
@media (max-width: 640px) { .real__stats span { white-space: normal; } }

/* 2026-10-27 r8: anh Hòa giữ nền xanh đậm của bản r6, nhưng phẳng (không vệt sáng, lưới, chữ chuyển màu, kính mờ) —
   dùng đúng màu xanh đậm của site (--dark-bg #0b1633 → #0c2160). */
section.real--navy { background: linear-gradient(180deg, #0b1633 0%, #0c2160 100%) !important; color: #ffffff; border-top: 0; }
.real--navy .real__head .real__eyebrow { color: #bfdbfe; }
.real--navy .real__head h2 { color: #ffffff; }
.real--navy .real__head h2 em { color: #7cb4ff; }
.real--navy .real__head p { color: rgba(226, 236, 255, 0.8); }
.real--navy .real__stats { border-top-color: #ffffff; }
.real--navy .real__stats li + li { border-left-color: rgba(255, 255, 255, 0.18); }
.real--navy .real__stats b { color: #ffffff; }
.real--navy .real__stats span { color: rgba(191, 219, 254, 0.85); }
.real--navy .real__tabs { border-bottom-color: rgba(255, 255, 255, 0.18); }
.real--navy .real__tab { color: rgba(226, 236, 255, 0.6); }
.real--navy .real__tab b span { color: rgba(191, 219, 254, 0.5); }
.real--navy .real__tab:hover, .real--navy .real__tab[aria-selected="true"] { color: #ffffff; }
.real--navy .real__tab[aria-selected="true"] { border-bottom-color: #7cb4ff; }
.real--navy .real__tab[aria-selected="true"] b span { color: #7cb4ff; }
.real--navy .real__tab:focus-visible { outline-color: #7cb4ff; }
.real--navy .real__desc { color: rgba(226, 236, 255, 0.85); }
.real--navy .real__browser { border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), 0 12px 28px -18px rgba(0, 0, 0, 0.5); }
.real--navy .real__phone { box-shadow: 0 0 0 1.5px #c9ccd1, 0 0 0 3px #8e939b, 0 0 0 3.6px #4b4f56, 0 40px 70px -30px rgba(0, 0, 0, 0.7); }
.real--navy .real__note { color: rgba(191, 219, 254, 0.7); }
.real--navy .real__cta { background: #ffffff !important; color: #0b1633 !important; border-color: #ffffff !important; }
.real--navy .real__cta:hover { background: #e0ecff !important; }