/* Trang giới thiệu centery.vn: cùng nhận diện với app (đá xanh, chữ trắng, viền bạc, nút viền ngọc, Prata). */
:root {
  --bg: #062320;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --faint: rgba(255, 255, 255, 0.56);
  --accent: #8fe3d3;
  --silver: #c9d4d9;
  --glow: #8fd3ff;
  --glass: rgba(4, 24, 22, 0.52);
  --border: rgba(255, 255, 255, 0.16);
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, rgba(3, 22, 20, 0.1), rgba(3, 22, 20, 0.45)), url("stone.jpg") center / cover fixed, var(--bg);
}
@media (max-aspect-ratio: 3/4) { body { background-image: linear-gradient(180deg, rgba(3, 22, 20, 0.1), rgba(3, 22, 20, 0.45)), url("marble.jpg"); } }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, .serif { font-family: "Prata", Georgia, serif; font-weight: 400; line-height: 1.25; }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
h3 { font-size: 21px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #000; padding: 8px 12px; border-radius: 8px; }

/* Thanh trên cùng */
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px); background: rgba(3, 22, 20, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.top .mark { display: flex; align-items: center; gap: 10px; color: #fff; font-family: "Prata", Georgia, serif; font-size: 18px; }
.top .mark img { height: 22px; width: auto; }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: #fff; text-decoration: none; }
@media (max-width: 760px) { .top nav .opt { display: none; } }

/* Mở đầu: logo hai chữ đặt đúng vị trí như app, vệt sáng lướt qua chữ DIAMOND */
.hero { min-height: min(92vh, 860px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px 16px 48px; }
.logo { position: relative; width: min(460px, 82vw); aspect-ratio: 677 / 275; margin-bottom: 28px; }
.logo .d, .logo .c { position: absolute; }
.logo .d { left: 0; top: 0; width: 100%; height: 56.73%; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45)); animation: rise 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s both; }
.logo .c { left: 18.46%; top: 41.82%; width: 58.64%; height: 58.18%; animation: write 1.3s ease-in-out 0.9s both; }
.logo .d img, .logo .c img { width: 100%; height: 100%; display: block; }
.logo .shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.9) 50%, transparent 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: url("logo_diamond.png") center / 100% 100% no-repeat; mask: url("logo_diamond.png") center / 100% 100% no-repeat;
  animation: shine 6.4s ease-in-out 2.4s infinite;
}
.logo .flare {
  position: absolute; left: 64.1%; top: 58.18%; width: 92%; height: 14px; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 0 3px, rgba(143, 211, 255, 0.6) 9px, transparent 26px),
    linear-gradient(90deg, transparent, rgba(61, 107, 255, 0.5) 30%, rgba(255, 255, 255, 0.95) 50%, rgba(61, 107, 255, 0.5) 70%, transparent) center / 100% 3px no-repeat;
  filter: blur(0.6px); animation: flare 6.4s ease-in-out 2.2s infinite both;
}
@keyframes rise { from { opacity: 0; transform: scale(1.1); clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes shine { 0% { background-position: 100% 0; } 36%, 100% { background-position: 0 0; } }
@keyframes flare { 0%, 100% { opacity: 0.7; } 40% { opacity: 1; } 46% { opacity: 0.6; } 58% { opacity: 0.95; } }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(30px, 5.2vw, 52px); margin: 12px 0 14px; max-width: 900px; text-shadow: 0 0 16px rgba(0, 0, 0, 0.4); }
.hero .lead { max-width: 680px; color: var(--muted); font-size: 18px; }
.rule { width: 220px; height: 1px; margin: 22px auto; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 1px solid rgba(143, 227, 211, 0.75); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 50%, rgba(143, 227, 211, 0.1));
  box-shadow: 0 0 16px rgba(143, 227, 211, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18); transition: box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 0 26px rgba(143, 227, 211, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn.ghost { border-color: rgba(255, 255, 255, 0.34); box-shadow: none; }

/* Khối nội dung */
main { display: block; }
.section { scroll-margin-top: 56px; max-width: 1120px; margin: 0 auto; padding: 72px clamp(16px, 4vw, 40px); }
.section > header { max-width: 760px; margin-bottom: 28px; }
.section > header p { color: var(--muted); }
.glass { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; overflow: hidden; }
.facts div { padding: 22px 20px; background: rgba(255, 255, 255, 0.02); }
.facts dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 6px 0 0; font-family: "Prata", Georgia, serif; font-size: 26px; line-height: 1.2; }
.facts dd small { display: block; font-family: "Nunito Sans", sans-serif; font-size: 14px; color: var(--muted); margin-top: 4px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
table.spec th, table.spec td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec th { width: 34%; font-weight: 600; color: var(--muted); }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
ul.ticks li { position: relative; padding-left: 22px; color: var(--muted); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--accent); }
.two { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.note { font-size: 14px; color: var(--faint); }

/* Hỏi đáp: thẻ details để máy đọc và người dùng đều xem được nội dung */
.faq details { border-bottom: 1px solid var(--border); padding: 4px 24px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

footer.site { border-top: 1px solid var(--border); background: rgba(3, 22, 20, 0.6); }
footer.site .section { padding-top: 40px; padding-bottom: 40px; font-size: 15px; color: var(--muted); }
footer.site h2 { font-size: 22px; }
footer.site ol { padding-left: 20px; font-size: 14px; }
footer.site ol a { word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo .d, .logo .c, .logo .shine, .logo .flare { animation: none; }
}
