/* Shared tokens + primitives dùng chung cho mọi section */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --c-primary: #004ec5;
  --c-yellow: #fcdd08;
  --c-navy: #192b6a;
  --c-text-muted: rgba(20, 32, 30, 0.5);
  --c-text-secondary: #273b5c;
  --c-gray-btn: #cdd5df;
  --glass: rgba(0, 0, 0, 0.25);
  --font: "Roboto", system-ui, sans-serif;
  --font-alt: "Plus Jakarta Sans", var(--font);
  --page-w: 1680px;
  --content-w: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: #000; background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Khung trang 1680px theo Figma; thu nhỏ đồng bộ bằng zoom trên màn hình hẹp (motion.js set --page-scale) */
body { overflow-x: clip; }
.page { position: relative; width: var(--page-w); margin: 0 auto; zoom: var(--page-scale, 1); }
.page > section { position: relative; overflow: hidden; }
.container { width: var(--content-w); margin: 0 auto; }

/* Tiêu đề section */
.section-title { font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--c-primary); }
.section-desc { font-size: 16px; line-height: 1.5; letter-spacing: -0.32px; color: var(--c-text-muted); }

/* Nút pill vàng */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-alt); font-weight: 700; font-size: 14px; line-height: 24px;
  color: var(--c-primary); background: var(--c-yellow);
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn--white { background: #fff; }

/* Nút tròn mũi tên (carousel) */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 60px;
  background: var(--c-gray-btn); border: 1px solid rgba(205, 213, 223, .25);
  transition: background .2s;
}
.icon-btn:hover { background: #b9c3cf; }
.icon-btn img { width: 12px; height: 12px; }
.icon-btn--prev img { transform: scaleX(-1); }

/* Badge mũi tên vàng nhỏ */
.arrow-badge {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 60px; background: var(--c-yellow);
}
.arrow-badge img { width: 12px; height: 12px; }

/* Thẻ kính mờ */
.glass { background: var(--glass); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-radius: 12px; }

/* Store badges */
.stores { display: flex; gap: 6px; }
.store {
  position: relative; width: 120px; height: 40px; overflow: hidden;
  background: #000; border: 1px solid #a6a6a6; border-radius: 6px; color: #fff;
  font-family: var(--font-alt);
}
.store__icon { position: absolute; left: 7px; top: 7px; height: 24px; }
.store__text { position: absolute; left: 33px; top: 50%; transform: translateY(-50%); width: 82px; font-weight: 500; white-space: nowrap; }
.store__text small { display: block; font-size: 9px; line-height: 10px; letter-spacing: -0.1px; }
/* Giữ "App Store" trên 1 dòng (font web rộng hơn font Figma nên giảm nhẹ cỡ chữ) */
.store__text strong { display: block; font-size: 16.5px; line-height: 18px; letter-spacing: -0.5px; font-weight: 600; }
.store__gp { position: absolute; left: 35px; top: 4px; display: flex; flex-direction: column; gap: 3px; }
.store__gp small { font-size: 10px; text-transform: uppercase; }
.store__gp img { width: 74px; height: 15px; transform: scaleY(-1); }

/* Icon kính lúp ghép từ 3 vector Figma (vòng tròn + cán + điểm nhấn) */
.ico-search { position: relative; width: 24px; height: 24px; flex-shrink: 0; }
.ico-search img { position: absolute; max-width: none; }
.ico-search__circle { left: 2.25px; top: 2.25px; width: 17.5px; height: 17.5px; transform: rotate(-90deg); }
.ico-search__line { left: 15.52px; top: 18.02px; width: 6.5px; height: 1.5px; transform: rotate(45deg); }
.ico-search__arc { left: 10.55px; top: 11.96px; width: 5.9px; height: 4.78px; }
.ico-search__plus { left: 8px; top: 8px; width: 6px; height: 6px; }

/* Đồng hồ lãi suất (gauge) dùng ở hero, tea-banner, tools.
   Kích thước gốc 112px (Figma); các size khác dùng zoom: 148px → 1.3214, 84.5px → 0.7545 */
.gauge { position: relative; width: 112px; height: 86.2px; flex-shrink: 0; }
.gauge__track, .gauge__fill { position: absolute; left: -2.33px; top: -2.34px; height: 90.87px; max-width: none; transform: scaleX(-1); }
.gauge__track { width: 116.665px; }
.gauge__fill { width: 109.742px; }
.gauge__value, .gauge__unit, .gauge__label { position: absolute; color: #fff; white-space: nowrap; line-height: 1; }
.gauge__value { left: 28.27px; top: 33.4px; font-size: 37.333px; font-weight: 600; letter-spacing: -1.4933px; }
.gauge__unit { left: 81.27px; top: 57.5px; font-size: 9.6px; font-weight: 600; letter-spacing: -0.384px; }
.gauge__label { left: 22px; top: 78.4px; font-size: 9.067px; letter-spacing: -0.18px; color: rgba(255, 255, 255, .6); }
