/* Trang giới thiệu RidyGo — nền lưới, tiêu đề lớn, nhãn đơn cách, thẻ vạch màu. Sáng + tối. */
:root {
  --bg: #f6f7f9; --bg2: #eef1f5; --panel: #ffffff; --panel2: #f8f9fb;
  --line: rgba(10,15,30,.09); --line2: rgba(10,15,30,.18);
  --text: #0b0f19; --muted: #4b5563; --dim: #9aa1ac;
  --a1: #1a64e8; --a2: #0891b2; --a3: #7c3aed; --a4: #d97706;
  --glow: rgba(26,100,232,.22); --glow2: rgba(8,145,178,.18);
  --grid: rgba(10,15,30,.045); --cta-fg: #ffffff; --shadow: 0 1px 2px rgba(10,15,30,.04), 0 12px 32px rgba(10,15,30,.07);
  --ph: repeating-linear-gradient(135deg, #eef1f5 0 12px, #e8ecf2 12px 24px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07080b; --bg2: #0b0d12; --panel: #0e1016; --panel2: #12151c;
    --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
    --text: #f3f4f6; --muted: #a0a7b3; --dim: #5f6672;
    --a1: #4c94ff; --a2: #22d3ee; --a3: #a78bfa; --a4: #fbbf24;
    --glow: rgba(76,148,255,.45); --glow2: rgba(34,211,238,.30);
    --grid: rgba(255,255,255,.035); --cta-fg: #03101f; --shadow: none;
    --ph: repeating-linear-gradient(135deg, #0e1016 0 12px, #12151c 12px 24px);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07080b; --bg2: #0b0d12; --panel: #0e1016; --panel2: #12151c;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
  --text: #f3f4f6; --muted: #a0a7b3; --dim: #5f6672;
  --a1: #4c94ff; --a2: #22d3ee; --a3: #a78bfa; --a4: #fbbf24;
  --glow: rgba(76,148,255,.45); --glow2: rgba(34,211,238,.30);
  --grid: rgba(255,255,255,.035); --cta-fg: #03101f; --shadow: none;
  --ph: repeating-linear-gradient(135deg, #0e1016 0 12px, #12151c 12px 24px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--text); background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  font: 16px/1.65 "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }

/* Thanh trên */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav.links { display: flex; gap: 22px; }
.top nav.links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.top nav.links a:hover { color: var(--text); }
.top .right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line2); border-radius: 8px; padding: 3px; }
.lang a, .lang span { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 5px; text-decoration: none; color: var(--muted); }
.lang span { background: var(--a1); color: var(--cta-fg); }
.theme-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line2); background: transparent;
  color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-btn:hover { border-color: var(--a1); color: var(--a1); }
.theme-btn svg { width: 17px; height: 17px; fill: currentColor; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}

/* Nhãn, tiêu đề, nút */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--a1) 55%, transparent); border-radius: 4px;
  background: color-mix(in srgb, var(--a1) 8%, transparent); }
.kicker i { width: 12px; height: 12px; background: var(--a2); border-radius: 2px; box-shadow: 0 0 10px var(--glow2); }
.label { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; }
.h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; margin: 12px 0 0; }
.h2 em, .h1 em, .final h2 em { font-style: normal; color: var(--a1); text-shadow: 0 0 28px var(--glow); }
.btn { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 17px 28px; border-radius: 6px; background: var(--a1); color: var(--cta-fg); border: 0; cursor: pointer;
  box-shadow: 0 10px 40px var(--glow); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px var(--glow); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.link { font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { color: var(--a1); }

/* Đầu trang */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero .hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 32px; align-items: center; }
.h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: .98; font-weight: 800; margin: 26px 0 22px; }
.strike { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; color: var(--dim); font-size: .62em; letter-spacing: -.03em; }
.strike s { text-decoration: none; position: relative; }
.strike s::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .11em; background: var(--a1);
  border-radius: 2px; box-shadow: 0 0 14px var(--glow); }
.strike b { color: var(--a1); font-weight: 800; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero p.lead b { color: var(--text); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.stores { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.store { border: 1px solid var(--line2); border-radius: 6px; padding: 7px 14px; line-height: 1.25; }
.store small { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim); }
.store b { font-size: 15px; }
.stage { position: relative; height: 470px; }
.stage .device { position: absolute; left: 0; top: 6px; width: 400px; max-width: 86%; z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.stage .phone { position: absolute; right: 0; bottom: 0; width: 190px; max-width: 42%; z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.stage .halo { position: absolute; left: 6%; top: 8%; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(18px); }
.stage-cap { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.stage-cap i { width: 18px; height: 2px; background: var(--a2); box-shadow: 0 0 8px var(--glow2); }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.stat { padding: 18px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat:nth-child(1) b { color: var(--a1); } .stat:nth-child(2) b { color: var(--a2); }
.stat:nth-child(3) b { color: var(--a3); } .stat:nth-child(4) b { color: var(--a4); }
.stat span { font-size: 14px; color: var(--muted); }

/* Mục chung */
.sec { padding: 104px 0 0; position: relative; }
.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* Vì sao: cũ → mới */
.swap { border-top: 1px solid var(--line); }
.swap-row { display: grid; grid-template-columns: 1fr auto 1.15fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.swap-row s { color: var(--dim); font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; text-decoration-thickness: 2px;
  text-decoration-color: color-mix(in srgb, var(--a1) 60%, transparent); }
.swap-row .arr { color: var(--a1); font-size: 26px; font-weight: 800; text-shadow: 0 0 14px var(--glow); }
.swap-row div b { display: block; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.swap-row div span { color: var(--muted); font-size: 15px; }

/* Thẻ vạch màu */
.cards { display: grid; gap: 2px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--c, var(--a1));
  padding: 26px 24px 28px; box-shadow: var(--shadow); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 60px; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--a1)) 14%, transparent), transparent); }
.card .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card .num { font-size: 60px; line-height: 1; font-weight: 800; letter-spacing: -.05em; color: var(--c);
  text-shadow: 0 0 26px color-mix(in srgb, var(--c) 55%, transparent); }
.card .tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; letter-spacing: .1em; color: var(--muted);
  background: var(--bg2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.card h3 { font-size: 22px; font-weight: 700; margin: 22px 0 10px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 0; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; margin: 8px 0; line-height: 1.45; }
.card li::before { content: "→"; color: var(--c); flex: none; }
.feat { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 22px; box-shadow: var(--shadow); }
.feat .tag { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px;
  font-weight: 700; letter-spacing: .12em; color: var(--c); }
.feat .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.feat h3 { font-size: 19px; margin: 12px 0 8px; letter-spacing: -.02em; }
.feat p { color: var(--muted); margin: 0; font-size: 15px; }

/* Thiết bị: ảnh + bảng thông số */
.dev { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.sheet { background: var(--panel); border: 1px solid var(--line2); border-radius: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px;
  font-weight: 700; letter-spacing: .1em; color: var(--a2); }
.live i { width: 8px; height: 8px; background: var(--a2); border-radius: 2px; box-shadow: 0 0 10px var(--glow2); }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 12px 22px; border-bottom: 1px dashed var(--line); font-size: 15px; }
.spec span { color: var(--muted); }
.spec b { text-align: right; font-weight: 600; }
.spec.tbd b { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .1em; color: var(--dim); font-weight: 600; }
.sheet-f { padding: 20px 22px; display: grid; gap: 14px; margin-top: auto; }
.sheet-f .btn { justify-content: center; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini { background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.mini b { display: block; font-size: 13.5px; }
.mini span { font-size: 12px; color: var(--muted); }
.note { color: var(--dim); font-size: 13px; margin-top: 12px; }

/* Khung giữ chỗ ảnh */
.ph { position: relative; border: 1px dashed var(--line2); border-radius: 8px; background: var(--ph);
  display: grid; place-items: center; text-align: center; color: var(--muted); overflow: hidden; min-height: 200px; }
.ph .in2 { display: grid; gap: 8px; justify-items: center; padding: 16px; }
.ph svg { width: 30px; height: 30px; fill: currentColor; opacity: .6; }
.ph b { font-size: 14px; color: var(--text); font-weight: 600; }
.ph small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ph.photo, .shot.photo { aspect-ratio: 4 / 5; min-height: 0; }
.ph.product, .shot.product { min-height: 420px; height: 100%; }
.ph.wide, .shot.wide { height: 100%; min-height: 280px; }
.shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin: 0; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dev { align-items: start; }
.shot.product { position: sticky; top: 88px; height: auto; min-height: 0; aspect-ratio: 1 / 1;
  border: 0; display: grid; place-items: center; padding: 28px;
  background: radial-gradient(closest-side, var(--glow), transparent 75%), var(--panel);
  border: 1px solid var(--line); }
.shot.product img { object-fit: contain; width: 100%; height: auto; max-height: 520px;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,.35)); }
.real { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.real .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ride { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ride .ride-item { position: relative; aspect-ratio: 3 / 4; height: auto; background: #000; }
.ride .ride-item video, .ride .ride-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ride figcaption { position: absolute; left: 0; right: 0; top: 0; padding: 12px 14px 26px;
  color: #fff; font-size: 14px; font-weight: 600; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.6), transparent); }

/* Màn hình thiết bị (minh hoạ) */
.shows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.show { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px 26px;
  box-shadow: var(--shadow); overflow: hidden; }
.show::before { content: ""; position: absolute; left: 50%; top: 18px; width: 240px; height: 240px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); filter: blur(14px); }
.show-dev { position: relative; display: grid; place-items: center; margin-bottom: 20px; }
.show-dev svg { width: 190px; height: 190px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.show .tag { position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.show .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.show h3 { position: relative; font-size: 20px; margin: 10px 0 8px; letter-spacing: -.02em; }
.show p { position: relative; color: var(--muted); margin: 0; font-size: 15px; }

/* Riêng tư / bảo hành */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pair .card a { color: var(--c); font-weight: 700; text-decoration: none; display: inline-block; margin-top: 16px; }

/* Hỏi đáp */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--dim); }
.faq summary::after { content: "+"; color: var(--a1); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px 34px; color: var(--muted); }

/* Khối kêu gọi cuối */
.final { position: relative; margin: 110px 0 0; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden;
  background: var(--panel); padding: 64px 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.final .blob { width: 520px; height: 320px; background: var(--glow); left: 20%; bottom: -220px; }
.final > *:not(.blob) { position: relative; z-index: 1; }
.final h2 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; font-weight: 800; }
.final p.small { color: var(--dim); font-size: 13.5px; margin: 14px 0 0; }
.final .btn { margin-top: 30px; }
.final img.logo { width: 150px; height: 150px; border-radius: 36px; justify-self: center;
  box-shadow: 0 20px 60px var(--glow); }

footer.foot { border-top: 1px solid var(--line); margin-top: 90px; }
footer.foot .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px 32px; flex-wrap: wrap;
  padding: 32px 20px 44px; color: var(--muted); font-size: 14px; }
footer.foot .foot-brand { display: grid; gap: 8px; max-width: 640px; }
footer.foot .brand { color: var(--text); }
footer.foot .by { margin: 4px 0 0; color: var(--text); font-size: 14.5px; }
footer.foot .copy { margin: 0; font-size: 12.5px; letter-spacing: .04em; color: var(--dim); }
footer.foot nav { padding-top: 6px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--a1); }
footer.foot .disclaimer { flex-basis: 100%; margin: 6px 0 0; padding-top: 18px; border-top: 1px dashed var(--line);
  font-size: 12.5px; line-height: 1.6; font-style: italic; color: var(--dim); max-width: 900px; }

@media (max-width: 960px) {
  .hero .hero-grid, .dev, .real, .final { grid-template-columns: 1fr; }
  .shot.product { position: static; }
  .cards.c4 { grid-template-columns: 1fr 1fr; }
  .cards.c3, .shows { grid-template-columns: 1fr 1fr; }
  .stage { height: 400px; max-width: 460px; width: 100%; margin: 0 auto; }
  .final { padding: 44px 28px; }
  .final img.logo { display: none; }
  .top nav.links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .stage { height: 330px; }
  .stage .device { max-width: 80%; } .stage .phone { max-width: 34%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards.c4, .cards.c3, .shows, .pair, .faq, .minis { grid-template-columns: 1fr; }
  .swap-row { grid-template-columns: 1fr; gap: 6px; }
  .swap-row .arr { display: none; }
  .real .grid { grid-template-columns: 1fr 1fr; }
  .ride { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .sec { padding-top: 80px; }
  .hero p.lead { font-size: 17px; }
}
