/* allinoneime.com: one stylesheet for the English and Chinese pages. Dark, in the app icon's blues. */
:root {
  --bg: #07080d;
  --bg-2: #0d1020;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f4f6fb;
  --muted: #a3a9bd;
  --faint: #6c7389;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --violet: #8b5cf6;
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(zh) body, body:lang(zh) { line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font: 0.92em ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,255,255,0.07); padding: 0.1em 0.4em; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links .hide-small { display: none; } .nav .wrap { gap: 12px; } .nav-links { gap: 14px; } }
@media (max-width: 520px) { .shot { padding: 12px; border-radius: 18px; margin-top: 40px; } .hero { padding-top: 64px; } section { padding: 72px 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #4f8ff8, #2f6fe4);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: white;
}
.btn-primary:hover { box-shadow: 0 10px 38px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }
.btn-small { padding: 7px 15px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(59, 130, 246, 0.35), transparent 70%),
    radial-gradient(30% 40% at 25% 45%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(30% 40% at 75% 45%, rgba(14, 165, 233, 0.18), transparent 70%);
  filter: blur(10px);
}
.hero-icon { width: 104px; height: 104px; margin: 0 auto 28px; border-radius: 24px; box-shadow: 0 20px 60px rgba(59, 130, 246, 0.45); }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-2); font-weight: 650; margin-bottom: 14px; }
h1 {
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 auto 22px; max-width: 900px; font-weight: 750;
  background: linear-gradient(180deg, #ffffff 30%, #b9c4e0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
:lang(zh) h1 { letter-spacing: -0.01em; line-height: 1.15; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 700px; margin: 0 auto 34px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fineprint { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* A screenshot on a glowing stage */
.shot {
  position: relative; margin: 64px auto 0; max-width: 980px; padding: 28px;
  border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.shot img { border-radius: 14px; margin: 0 auto; }
.shot.plain { padding: 0; background: none; border: 0; box-shadow: none; }
.shot.plain img { border-radius: 18px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); }

/* Sections */
section { padding: 110px 0; position: relative; }
section.tight { padding: 70px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -0.028em; margin: 0 0 16px; font-weight: 720; }
:lang(zh) h2 { letter-spacing: -0.005em; line-height: 1.25; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

/* Two columns: words beside a screenshot */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }  /* a screenshot shrinks with its column instead of widening the page */
.split.reverse { grid-template-columns: 1.25fr 1fr; }
.split.reverse .split-text { order: 2; }
.split h3 { font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.split p { color: var(--muted); margin: 0 0 14px; }
.split ul { color: var(--muted); padding-left: 1.1em; margin: 0; }
.split li { margin: 6px 0; }
.split .shot { margin: 0; padding: 18px; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-text { order: 0; }
}
.tag { display: inline-block; font: 600 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--blue-2); background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); padding: 3px 10px; border-radius: 999px; margin-bottom: 16px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 24px; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { background: rgba(255, 255, 255, 0.065); border-color: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.card .cmd { font: 650 16px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.card .dot { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; color: white; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Privacy / requirements */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar h4 { margin: 0 0 8px; font-size: 18px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }

.providers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.providers span { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--card-border); color: var(--muted); font-size: 15px; }

/* Final call */
.final { text-align: center; padding: 120px 0 130px; }
.final::before {
  content: ""; position: absolute; inset: 10% 20%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(59,130,246,0.25), transparent 70%); filter: blur(20px);
}
.final .hero-icon { width: 84px; height: 84px; border-radius: 20px; }

/* Footer */
footer { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 34px 0 50px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
footer a:hover { color: var(--text); }

.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; } }
