/* Drum Snap website — shared styles */
:root {
  --bg: #0d0f13;
  --bg-soft: #12151b;
  --card: #161a21;
  --border: #262c37;
  --border-soft: #20252e;
  --text: #eceff4;
  --muted: #a2abba;
  --body: #c7cdd8;
  --accent: #ff6a3d;
  --accent-2: #ffb03d;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans CJK JP",
    "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 19, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand svg { width: 28px; height: 28px; }
.brand img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.lang-select {
  background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 8px; font-size: 13.5px; cursor: pointer; outline: none;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 130%;
  background:
    radial-gradient(600px 300px at 70% 20%, rgba(255, 106, 61, .16), transparent 70%),
    radial-gradient(500px 260px at 20% 10%, rgba(255, 176, 61, .10), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--accent-2);
  background: rgba(255, 176, 61, .08); border: 1px solid rgba(255, 176, 61, .25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 17.5px; max-width: 46ch; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual svg { width: 100%; height: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: .15s;
}
.btn-primary { background: linear-gradient(90deg, var(--accent), #ff8f4d); color: #1a0c05; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #3a4250; background: var(--card); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.kicker {
  color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.01em; margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 60ch; margin-bottom: 40px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 26px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #1a0c05; margin-bottom: 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 24px;
}
.feature .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 106, 61, .1); color: var(--accent); margin-bottom: 14px;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Download ---------- */
.download-panel {
  background: linear-gradient(135deg, rgba(255, 106, 61, .12), rgba(255, 176, 61, .06));
  border: 1px solid rgba(255, 106, 61, .25);
  border-radius: 24px; padding: 48px; text-align: center;
}
.download-panel .section-sub { margin-left: auto; margin-right: auto; }
.store-badges { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; border: 1px solid #333; border-radius: 12px;
  padding: 10px 18px; color: #fff; transition: .15s;
}
.store-badge:hover { border-color: #666; transform: translateY(-1px); }
.store-badge svg { width: 24px; height: 24px; }
.badge-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.badge-text small { font-size: 10.5px; opacity: .8; }
.badge-text strong { font-size: 16.5px; }
.dl-note { margin-top: 16px; color: var(--muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 44px 0 28px; margin-top: 24px; background: var(--bg-soft);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: start; }
.foot-brand { display: flex; gap: 12px; }
.foot-brand svg { width: 32px; height: 32px; flex-shrink: 0; }
.foot-brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.foot-brand strong { font-size: 16px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-contact { font-size: 14px; color: var(--muted); }
.foot-contact a { color: var(--accent); }
.foot-copy { color: var(--muted); font-size: 13px; margin-top: 28px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding: 64px 0 80px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p { color: var(--body); margin-bottom: 12px; font-size: 15.5px; }
.legal ul { margin: 0 0 12px 20px; color: var(--body); font-size: 15.5px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 24px; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px 24px; }
.price-card.popular { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.price-tag { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #16130f; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.p-credits { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.p-price { font-size: 42px; font-weight: 800; letter-spacing: -0.5px; margin: 6px 0; }
.p-desc { font-size: 13.5px; color: var(--muted); }
.price-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-info { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.price-info h3 { font-size: 17px; margin-bottom: 12px; }
.price-info ul { list-style: none; margin: 0; padding: 0; }
.price-info li { position: relative; padding-left: 18px; margin: 9px 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.price-info li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.rule-unit { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.rule-ex { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.price-note { margin-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 48px 20px 72px; }
.legal-title { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.legal-sub { color: var(--muted); font-size: 14px; }
.legal-updated { color: var(--muted); font-size: 13.5px; margin: 26px 0 8px; }
.legal-article h2 { font-size: 20px; margin: 34px 0 12px; }
.legal-article p, .legal-article li { font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.legal-article p { margin: 10px 0; }
.legal-article strong { color: inherit; font-weight: 700; }
.legal-article ul, .legal-article ol { padding-left: 22px; margin: 8px 0 14px; }
.legal-article ul ul, .legal-article ol ul, .legal-article ol ol { margin: 6px 0; }
.legal-article li { margin: 6px 0; }
.legal-article a { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .price-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps, .features { grid-template-columns: 1fr; }
  .download-panel { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 56px 0; }
  .price-grid { grid-template-columns: 1fr; }
}
