/* Cung Mình / Your Cosmos landing v2 — DESIGN.md tokens + the Augury-reference horoscope language pivoted
   to our brand (owner 2026-09-08): real celestial art layers (sapphire sky hero, engraved sunburst band,
   moon), 12-sign medallion grid with date ranges, store-preview frame rail, per-feature selling blocks with
   their own deep-linked CTAs. Gold stays scarce; body stays moonlight ≥16px. */
:root {
  --ink: #0A0A0F; --midnight: #14142B; --moonlight: #F5F3EE; --champagne: #E8C985;
  --lilac: #B9A7D9; --silver: #9AA0B4;
  --line: rgba(245, 243, 238, .07); --line-gold: rgba(232, 201, 133, .22);
}
/* Popular pairing (owner v3): Inter body + Montserrat display — both full-Vietnamese Google subsets, self-hosted. */
@font-face { font-family: 'Inter'; src: url('/assets/inter-400-vietnamese.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; src: url('/assets/inter-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/assets/inter-600-vietnamese.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; src: url('/assets/inter-600-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; src: url('/assets/montserrat-700-vietnamese.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Montserrat'; src: url('/assets/montserrat-700-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; src: url('/assets/montserrat-800-vietnamese.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Montserrat'; src: url('/assets/montserrat-800-latin.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--moonlight);
  font: 400 16px/1.62 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--champagne); }
h1, h2 { font-family: 'Montserrat', 'Inter', sans-serif; font-weight: 800; letter-spacing: -.01em; }
.hl { color: var(--champagne); font-weight: 600; font-style: normal; }
h1 .hl, h2 .hl { font-weight: 800; }
.sec-title { font-size: clamp(26px, 4.4vw, 38px); line-height: 1.2; text-align: center; margin: 0 20px 6px; }
.sec-sub { text-align: center; color: var(--silver); margin: 0 20px 26px; }

/* Sparse gold star field over the whole page. */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(232,201,133,.9), transparent 60%),
    radial-gradient(1px 1px at 78% 9%, rgba(245,243,238,.8), transparent 60%),
    radial-gradient(1.4px 1.4px at 88% 34%, rgba(185,167,217,.8), transparent 60%),
    radial-gradient(1px 1px at 34% 42%, rgba(245,243,238,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 62% 60%, rgba(232,201,133,.7), transparent 60%),
    radial-gradient(1px 1px at 18% 76%, rgba(185,167,217,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 82%, rgba(245,243,238,.7), transparent 60%); }
@media (prefers-reduced-motion: no-preference) {
  .stars { animation: twinkle 6s ease-in-out infinite alternate; }
  @keyframes twinkle { from { opacity: .35; } to { opacity: .65; } }
  .moon { animation: drift 9s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translateY(-6px); } to { transform: translateY(10px); } }
  /* Reveal-hide ONLY when JS is running (the <html class="js"> stamp) — no-JS users must see everything. */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

.facts, main, .foot, .rail-wrap, .signs-wrap { position: relative; z-index: 1; }
/* Sticky glass nav (v3: the plain bar read "ugly") */
.nav { position: sticky; top: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px max(20px, calc((100% - 1100px) / 2));
  background: rgba(10, 10, 15, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--moonlight);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.brand img { border-radius: 9px; box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--moonlight);
  color: var(--ink); text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 700;
  border-radius: 12px; text-align: center; transition: transform .2s ease, background .2s ease; }
.cta svg { flex: 0 0 auto; }
.cta:hover { background: #fff; transform: translateY(-1px); }
.cta-small { padding: 10px 18px; font-size: 15px; }
.cta-big { padding: 16px 32px; font-size: 17px; min-height: 44px; }
.cta-note { color: var(--silver); font-size: 14px; margin-top: 10px; }
/* CTA meta as designed CHIPS, legible over any art (v4: the note sentence read as a blob + vanished on the sky). */
.cta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font: 600 12.5px/1 'Inter', system-ui, sans-serif; color: rgba(245, 243, 238, .95);
  padding: 8px 14px; border-radius: 100px; background: rgba(10, 10, 15, .55); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.chip::before { content: '✦'; color: var(--champagne); margin-right: 7px; font-size: 10px; }
.cta-hint { margin-top: 12px; font-size: 13.5px; color: rgba(245, 243, 238, .78);
  text-shadow: 0 1px 10px rgba(10, 10, 15, .95); }
.final .cta-chips { justify-content: center; }
.app-name { font: 700 12.5px/1.4 'Montserrat', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 14px; text-shadow: 0 1px 12px rgba(10, 10, 15, .85); }
.final .app-name { margin-bottom: 10px; }
.cta-ghost { display: inline-block; color: var(--champagne); text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  border: 1px solid var(--line-gold); border-radius: 12px; padding: 12px 22px; font-size: 14px;
  transition: background .2s ease, transform .2s ease; }
.cta-ghost:hover { background: rgba(232, 201, 133, .08); transform: translateY(-1px); }
.follow-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; margin-top: 14px; }

/* ── HERO: real night-sky art, scrimmed dark; copy left, tilted store frames + moon right ── */
.hero { position: relative; z-index: 1; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,15,.55), rgba(10,10,15,.72) 55%, var(--ink) 96%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 40px 20px 8px; }
.hero-icon { border-radius: 18px; border: 1px solid var(--line-gold); margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5); }
.hero h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 700; line-height: 1.12; }
.hero .sub { margin-top: 18px; font-size: 17px; max-width: 50ch; }
.cta-block { margin-top: 28px; }
.hero-art { position: relative; min-height: clamp(420px, 40vw, 540px); }
.moon { position: absolute; top: -4%; right: 4%; width: clamp(90px, 12vw, 150px); border-radius: 50%;
  opacity: .9; box-shadow: 0 0 60px rgba(232, 201, 133, .25); z-index: 0; }
.frame { position: absolute; width: clamp(180px, 21vw, 250px); border-radius: 18px;
  border: 1px solid var(--line-gold); box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.frame-a { left: 8%; top: 6%; transform: rotate(-5deg); z-index: 2; }
.frame-b { right: 6%; top: 16%; transform: rotate(6deg); z-index: 1; opacity: .95; }
.glyphs { position: relative; z-index: 1; text-align: center; color: var(--champagne); opacity: .75;
  font-size: 18px; letter-spacing: .1em; padding: 26px 12px 18px; }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px;
  max-width: 1100px; margin: 0 auto; padding: 10px 20px; color: var(--silver); font-size: 15px; }
.fact .glyph { color: var(--champagne); margin-right: 8px; }

/* ── 12-SIGN MEDALLIONS (the Augury signature, in our engraving art) ── */
.signs-wrap { padding-top: 44px; }
.signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 22px 14px;
  max-width: 1100px; margin: 0 auto; padding: 8px 20px; }
.sign { text-align: center; text-decoration: none; color: var(--moonlight); }
.sign img { width: clamp(84px, 9vw, 116px); height: clamp(84px, 9vw, 116px); border-radius: 50%;
  object-fit: cover; margin: 0 auto 10px; border: 1px solid var(--line-gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45); transition: transform .25s ease, box-shadow .25s ease; }
.sign:hover img { transform: translateY(-4px) scale(1.04); box-shadow: 0 10px 34px rgba(232, 201, 133, .18); }
.sign .name { font-weight: 600; font-size: 15px; }
.sign .name .g { color: var(--champagne); margin-right: 6px; }
.sign .dates { color: var(--silver); font-size: 13px; font-variant-numeric: tabular-nums; }

/* ── STORE-FRAME RAIL: the designed store previews, scroll-snap ── */
.rail-wrap { padding-top: 52px; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 26px;
  max-width: 1100px; margin: 0 auto; scrollbar-width: thin; scrollbar-color: var(--line-gold) transparent; }
.rail::after { content: ''; flex: 0 0 4px; }
.rail-item { flex: 0 0 clamp(200px, 26vw, 250px); scroll-snap-align: center; border-radius: 16px;
  border: 1px solid var(--line); box-shadow: 0 14px 44px rgba(0, 0, 0, .5);
  transition: transform .25s ease, border-color .25s ease; }
.rail-item:nth-child(odd) { transform: rotate(-1.4deg); }
.rail-item:nth-child(even) { transform: rotate(1.4deg); }
.rail-item:hover { transform: translateY(-6px); border-color: var(--line-gold); }

/* ── FEATURE SELLING BLOCKS: each its own pitch + deep-linked CTA (zig-zag) ── */
.sell { max-width: 880px; margin: 56px auto 0; padding: 0 20px; }
.feature { display: flex; gap: 26px; align-items: flex-start; padding: 30px 4px; border-bottom: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 0; }
/* The app's OWN feature emblems (assets/category via Art.category) in the hub's circular gold-ring treatment. */
.medallion { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line-gold); background: rgba(232, 201, 133, .08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .4); }
.medallion img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font: 700 20px/1.3 'Montserrat', 'Inter', sans-serif; margin-bottom: 8px; }
.feature p { color: var(--silver); font-size: 15.5px; max-width: 58ch; margin-bottom: 14px; }
@media (min-width: 761px) {
  .feature:nth-child(even) { flex-direction: row-reverse; text-align: right; }
  .feature:nth-child(even) p { margin-left: auto; }
}

/* ── SEO copy + FAQ ── */
.seo-block { max-width: 760px; margin: 64px auto 0; padding: 0 20px; }
.seo-block h2 { font-size: clamp(22px, 3.6vw, 30px); margin-bottom: 16px; }
.seo-block p { color: var(--silver); font-size: 15.5px; margin-bottom: 14px; }
.faq { max-width: 760px; margin: 44px auto 0; padding: 0 20px; }
.faq h2 { font-size: clamp(22px, 3.6vw, 30px); margin-bottom: 16px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #16162E; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq summary::marker { color: var(--champagne); }
.faq p { color: var(--silver); font-size: 15px; padding-top: 10px; }

/* ── Moon-phase divider + FINAL band on the engraved sunburst ── */
.moons { display: flex; justify-content: center; gap: 26px; margin: 56px auto 0; opacity: .85; }
.moons img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); }
.final { position: relative; max-width: 880px; margin: 28px auto 72px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-gold); text-align: center; box-shadow: 0 20px 70px rgba(0, 0, 0, .5); }
.final-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: .72; }
.final::before { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 15, .32); }
.final-inner { position: relative; padding: 52px 24px; }
.final-icon { margin: 0 auto 18px; border-radius: 20px; border: 1px solid var(--line-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5); }
.final h2 { font-size: clamp(26px, 4.5vw, 40px); margin-bottom: 24px; text-shadow: 0 2px 18px rgba(10, 10, 15, .8); }

/* Floating install FAB (v3): follows the scroll once the hero is passed; hidden for iOS (no dead installs). */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: block; width: 60px; height: 60px;
  border-radius: 16px; overflow: visible; transform: translateY(120px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease; }
.fab.show { transform: none; opacity: 1; }
.fab > img { width: 60px; height: 60px; border-radius: 16px; border: 1px solid var(--line-gold);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .6), 0 0 24px rgba(232, 201, 133, .18); }
.fab .fab-badge { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--champagne); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

.foot { border-top: 1px solid var(--line); max-width: 1100px; margin: 0 auto; padding: 28px 20px 40px;
  text-align: center; color: var(--silver); font-size: 14px; }
.social-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.social-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--champagne); border: 1px solid var(--line-gold); background: rgba(232, 201, 133, .06);
  transition: transform .2s ease, background .2s ease; }
.social-btn:hover { transform: translateY(-2px); background: rgba(232, 201, 133, .14); }
.social-btn svg { display: block; }
.foot .legal { max-width: 62ch; margin: 0 auto 12px; }
.foot .links a { color: var(--silver); }
.foot .copy { margin-top: 10px; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero-icon { margin-left: auto; margin-right: auto; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-art { min-height: 380px; margin-top: 8px; }
  .hero .cta-chips { justify-content: center; }
  .frame { width: clamp(170px, 44vw, 210px); }
  .frame-a { left: 4%; }
  .frame-b { right: 2%; }
  .follow-row { justify-content: center; }
  .feature { flex-direction: column; align-items: center; text-align: center; }
  .feature p { margin-left: auto; margin-right: auto; }
  .final { margin: 24px 16px 56px; }
}
