/* NeoMusic official site — charcoal & artwork-accent brand style */

:root {
  --bg: #131318;
  --bg-deep: #0e0e12;
  --card: #1b1b22;
  --card-2: #22222b;
  --ink: #f2efe8;
  --ink-soft: #d9d6cf;
  --muted: #9a97a6;
  --line: #2a2a35;
  --accent: #ee6f9e;
  --accent-deep: #d5547f;
  --accent-2: #8f7ff0;
  --blue: #4a9eff;
  --radius: 18px;
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, "PingFang SC", "Hiragino Sans", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav (macOS menu bar) ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, #101014 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 239, 232, 0.08);
}
.nav-inner { display: flex; align-items: center; gap: 4px; height: 44px; }
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
  padding: 4px 10px 4px 6px; border-radius: 6px;
}
.brand:hover { background: rgba(242, 239, 232, 0.1); }
.brand img { width: 20px; height: 20px; border-radius: 5px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: 0.85rem;
  color: rgba(242, 239, 232, 0.72); padding: 4px 10px; border-radius: 6px;
}
.nav-links a:hover { color: #fff; background: rgba(242, 239, 232, 0.12); }
.lang-switch {
  display: flex; border: 1px solid rgba(242, 239, 232, 0.22);
  border-radius: 999px; overflow: hidden; margin-left: 12px;
}
.lang-switch button {
  font-family: var(--font); font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border: 0; background: transparent;
  color: rgba(242, 239, 232, 0.6); cursor: pointer;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: var(--ink); color: var(--bg-deep); }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 700; border: 0; font-family: var(--font); }
.btn-bar {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; padding: 6px 14px; font-size: 0.82rem; margin-left: 14px;
  cursor: default;
}
.nav-toggle {
  display: none; border: 0; background: transparent; width: 40px; height: 40px;
  cursor: pointer; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px; margin-left: 8px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */

.hero { padding: 0 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto;  height: 70%;
  background: radial-gradient(60% 60% at 70% 20%, rgba(143, 127, 240, 0.14), transparent 70%),
    radial-gradient(50% 50% at 30% 30%, rgba(238, 111, 158, 0.1), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; }
.hero-grid > div:first-child { padding-top: 84px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.13rem; color: var(--muted); max-width: 32em; margin-bottom: 32px; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: var(--ink); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 22px 12px 18px; text-decoration: none;
}
.store-badge.soon { opacity: 0.85; }
.store-badge svg { width: 26px; height: 26px; fill: currentColor; }
.store-badge .sb-top { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; opacity: 0.7; line-height: 1.2; }
.store-badge .sb-main { display: block; font-size: 1.16rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.hero-meta { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.hero-whatsnew {
  display: inline-block; margin-top: 22px; font-size: 0.92rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); padding-bottom: 2px;
}
.hero-whatsnew:hover { border-bottom-color: var(--accent); }

/* ---------- features ---------- */

.features { padding: 40px 0 76px; }
.seo { padding: 0 0 84px; }
.seo .section-head { max-width: 58em; }
.seo .section-head p { font-size: 1.02rem; }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.15; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.18s ease, border-color 0.18s ease;
}
.feat-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: color-mix(in srgb, var(--accent-2) 14%, var(--card-2));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feat-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.feat-card p { font-size: 0.94rem; color: var(--muted); }

/* ---------- privacy band ---------- */

.priv-band { padding: 0 0 88px; }
.priv-card {
  background: linear-gradient(120deg, #1d1622, #171726);
  border: 1px solid var(--line);
  border-radius: 26px; padding: 52px 56px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.priv-card h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.2; font-weight: 800; margin-bottom: 14px; }
.priv-card p { color: rgba(242, 239, 232, 0.7); font-size: 1rem; max-width: 36em; }
.priv-card a {
  display: inline-block; margin-top: 16px; color: var(--ink); font-weight: 700;
  text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.priv-card a:hover { color: var(--accent); }
.priv-locks { display: flex; gap: 12px; justify-content: flex-end; }
.priv-locks span {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(242, 239, 232, 0.07); border: 1px solid rgba(242, 239, 232, 0.13);
  display: flex; align-items: center; justify-content: center;
}
.priv-locks svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-right: auto; }
.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-tag { color: var(--muted); font-size: 0.88rem; width: 100%; order: 3; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 0.85rem; color: var(--muted); }

/* ---------- sub pages ---------- */

.page-head { padding: 72px 0 40px; max-width: 46em; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 12px; }
.page-head .sub { color: var(--muted); font-size: 1.05rem; }
.page-head .updated {
  display: inline-block; margin-top: 14px; font-size: 0.85rem; font-weight: 700;
  color: var(--muted); background: var(--card-2); border-radius: 999px; padding: 5px 14px;
}
.prose { max-width: 46em; padding-bottom: 84px; }
.prose section { margin-bottom: 34px; }
.prose h2 { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.prose p { color: var(--ink-soft); margin-bottom: 12px; }
.prose p.lead { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 12px 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ---------- changelog ---------- */

.cl-list { max-width: 46em; padding-bottom: 84px; }
.cl-entry { position: relative; padding: 0 0 40px 34px; border-left: 2px solid var(--line); margin-left: 7px; }
.cl-entry:last-child { border-left-color: transparent; padding-bottom: 8px; }
.cl-entry::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
}
.cl-entry.old::before { border-color: var(--muted); }
.cl-ver { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.cl-ver h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.cl-ver .tag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px; padding: 3px 10px;
}
.cl-date { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.cl-entry ul { margin-left: 1.15em; color: var(--ink-soft); }
.cl-entry li { margin-bottom: 7px; }
.cl-entry li strong { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 0 56px; }
  .hero-grid > div:first-child { padding-top: 0; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .priv-locks { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 44px; left: 12px; right: 12px;
    background: #17171d; border: 1px solid rgba(242, 239, 232, 0.1);
    border-radius: 0 0 14px 14px; flex-direction: column; align-items: stretch;
    padding: 10px 10px 14px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 0.92rem; }
  .lang-switch { margin: 10px 2px 0; align-self: flex-start; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .priv-card { padding: 34px 24px; }
}
