/* getdaytracker.com — Meridian look (the app's own design system): night background, lime accent,
   Inter, glass cards. Mobile-first; logical properties so Persian (RTL) mirrors correctly. */

@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/fonts/inter-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* Persian: Vazirmatn (OFL) for Arabic-script glyphs; Latin stays Inter. */
@font-face { font-family: Vazirmatn; font-weight: 500; font-display: swap; src: url(/fonts/vazirmatn-arabic-500-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: Vazirmatn; font-weight: 800; font-display: swap; src: url(/fonts/vazirmatn-arabic-800-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --night: #07090d;
  --night-2: #0c1016;
  --surface: #11161e;
  --surface-2: #171d27;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --paper: #f4f1ea;
  --muted: #a7ac9f;
  --dim: #7d8378;
  --lime: #ddfb5a;
  --lime-ink: #0b0f0a;
  --jade: #5ed39b;
  --radius: 24px;
  --max: 1160px;
  --font: Inter, Vazirmatn, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', Tahoma, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--night); color: var(--paper); font-family: var(--font);
  font-weight: 500; font-size: 17px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[lang='zh'] body, body[lang='zh'] { line-height: 1.75; }
[dir='rtl'] body { line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
[lang='zh'] h1, [lang='zh'] h2, [lang='zh'] h3, [dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px); background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-2); }
.nav { display: none; gap: 26px; margin-inline-start: 18px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--paper); }
.top-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none;
  white-space: nowrap; transition: transform 0.15s ease, background 0.15s ease;
}
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { transform: translateY(-1px); background: #e8ff7a; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang[open] summary { color: var(--paper); border-color: var(--lime); }
.lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 18px; min-width: 190px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); display: grid; gap: 2px;
}
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.lang li a:hover { background: rgba(255, 255, 255, 0.06); }
.lang li a[aria-current='true'] { color: var(--lime); }
.lang li a span { color: var(--dim); font-size: 13px; text-transform: uppercase; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 420px) { .top .btn-lime { display: none; } }

/* Language suggestion bar (JS, only when the browser prefers another supported language) */
.suggest { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.suggest .wrap { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.suggest a { color: var(--lime); font-weight: 800; }
.suggest button { margin-inline-start: auto; background: none; border: 0; color: var(--muted); font-size: 22px; min-width: 44px; min-height: 44px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 1400px; height: 1400px; left: 50%; top: -900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(221, 251, 90, 0.2), rgba(221, 251, 90, 0.05) 55%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--lime); padding: 7px 14px; border-radius: 999px;
  background: rgba(221, 251, 90, 0.08); border: 1px solid rgba(221, 251, 90, 0.22);
}
[lang='zh'] .kicker, [dir='rtl'] .kicker { letter-spacing: 0; }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); margin-top: 22px; max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.badge { display: inline-block; line-height: 0; border-radius: 12px; }
.badge img { height: 56px; width: auto; }
.badge-fallback {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px; border-radius: 12px;
  background: #000; color: #fff; border: 1px solid #a6a6a6; font-weight: 800; text-decoration: none; line-height: 1.1;
}
.note { color: var(--dim); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { font-size: 14px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); }

.stage { position: relative; height: 560px; max-width: 560px; margin: 0 auto; width: 100%; }
.phone {
  position: absolute; width: 250px; aspect-ratio: 1056 / 2294; border-radius: 40px; padding: 7px; background: #1b212b;
  box-shadow: 0 0 0 1px #2a3240, 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 120px rgba(221, 251, 90, 0.1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }
.stage .p1 { inset-inline-start: 4%; top: 10px; transform: rotate(-4deg); z-index: 2; }
.stage .p2 { inset-inline-end: 4%; top: 70px; transform: rotate(5deg); }
.glass {
  position: absolute; z-index: 3; padding: 14px 16px; border-radius: 20px; background: rgba(23, 29, 39, 0.72);
  border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); min-width: 150px; animation: float 6s ease-in-out infinite;
}
.glass b { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.glass b.lime { color: var(--lime); }
.glass span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.glass .row { display: flex; align-items: center; gap: 10px; }
.glass .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 12px var(--jade); flex: none; }
.glass.g1 { inset-inline-end: 0; top: 30px; }
.glass.g2 { inset-inline-start: 0; bottom: 70px; animation-delay: -2s; }
.glass.g3 { inset-inline-end: 6%; bottom: 10px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 980px) {
  .hero { padding: 80px 0 64px; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; }
  .stage { height: 620px; }
  .phone { width: 270px; }
}
@media (max-width: 520px) {
  .stage { height: 470px; }
  .phone { width: 205px; border-radius: 32px; padding: 6px; }
  .phone img { border-radius: 27px; }
  .glass { min-width: 0; padding: 11px 13px; }
  .glass b { font-size: 26px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(32px, 4.6vw, 54px); }
.lead { color: var(--muted); font-size: 18px; margin-top: 16px; }

.steps { display: grid; gap: 16px; counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--lime); color: var(--lime-ink); font-weight: 800; margin-bottom: 18px;
}
.steps h3 { font-size: 21px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.feature { display: grid; gap: 40px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature .shot { display: flex; justify-content: center; position: relative; }
.feature .shot::before {
  content: ''; position: absolute; width: 440px; height: 440px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(221, 251, 90, 0.14), transparent 70%);
}
.feature .phone { position: relative; width: 270px; }
.feature h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.feature .lead { max-width: 540px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ''; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: rgba(221, 251, 90, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDFB5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; padding: 80px 0; }
  .feature:nth-of-type(even) .shot { order: 2; }
  .feature .phone { width: 300px; }
}

.cards { display: grid; gap: 14px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(221, 251, 90, 0.1); color: var(--lime); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.privacy {
  border-radius: 36px; padding: 44px 26px; background:
    radial-gradient(800px 400px at 100% 0%, rgba(94, 211, 155, 0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(221, 251, 90, 0.1), transparent 60%), var(--night-2);
  border: 1px solid var(--line);
}
.privacy .grid { display: grid; gap: 22px; margin-top: 36px; }
.privacy .item { display: flex; gap: 16px; }
.privacy .item .ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(94, 211, 155, 0.12); color: var(--jade); }
.privacy .item .ico svg { width: 22px; height: 22px; }
.privacy .item h3 { font-size: 18px; letter-spacing: -0.01em; }
.privacy .item p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (min-width: 820px) { .privacy { padding: 64px; } .privacy .grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; } }

.plans { display: grid; gap: 16px; }
.plan { padding: 32px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(180deg, rgba(221, 251, 90, 0.08), rgba(221, 251, 90, 0.02)), var(--surface); border: 2px solid var(--lime); position: relative; }
.plan h3 { font-size: 30px; display: flex; align-items: center; gap: 12px; }
.plan .pill { font-size: 12px; letter-spacing: 0.06em; background: var(--lime); color: var(--lime-ink); padding: 5px 10px; border-radius: 999px; }
.plan .sub2 { color: var(--muted); margin-top: 6px; }
.plan .checks { margin-top: 24px; }
.plans-note { color: var(--dim); font-size: 14px; margin-top: 20px; max-width: 760px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }

.cbi .kicker { justify-self: start; }
.cbi { display: grid; gap: 18px; padding: 32px 28px; border-radius: 28px; border: 1px solid var(--line-2); background: var(--surface); }
.cbi h2 { font-size: clamp(26px, 3.2vw, 36px); }
.cbi p { color: var(--muted); }
.cbi .fine { font-size: 14px; color: var(--dim); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; padding-inline-end: 40px; position: relative;
  font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: var(--surface-2); color: var(--lime); transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 720px; }

.final {
  text-align: center; border-radius: 40px; padding: 72px 24px; overflow: hidden; position: relative;
  background: radial-gradient(900px 500px at 50% 0%, rgba(221, 251, 90, 0.22), transparent 65%), var(--night-2);
  border: 1px solid var(--line);
}
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(221, 251, 90, 0.25); }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); }
.final p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.final .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 56px 0 40px; font-size: 15px; }
footer .cols { display: grid; gap: 32px; }
footer h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
[lang='zh'] footer h4, [dir='rtl'] footer h4 { letter-spacing: 0; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--paper); }
footer .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
footer .tag { color: var(--muted); margin-top: 12px; }
footer .fine { color: var(--dim); font-size: 13px; margin-top: 40px; display: grid; gap: 8px; max-width: 900px; }
@media (min-width: 820px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* Reveal on scroll (JS adds .in; without JS everything is visible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glass { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
