:root {
  --bg: #0a060f;
  --bg2: #140a1e;
  --card: #170d24;
  --stroke: #3a2150;
  --red: #ff2d55;
  --orange: #ff8a3d;
  --purple: #b14dff;
  --pink: #ff5c8a;
  --text: #fdeaf3;
  --text-dim: #a98cc0;
  --radius: 18px;
  --shadow: 0 14px 48px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1100px 560px at 50% -12%, #3a0f2e 0%, transparent 58%),
    radial-gradient(900px 500px at 90% 10%, #1c0f3a 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.topbar .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.topbar .logo img { width: 34px; height: 34px; border-radius: 8px; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch button {
  background: transparent; border: 1px solid var(--stroke); color: var(--text-dim);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: 14px;
  transition: all .15s;
}
.lang-switch button.active {
  background: var(--red); color: #fff; border-color: var(--red); font-weight: 700;
}

/* Hero */
.hero { text-align: center; padding: 40px 0 30px; }
.hero img.shot {
  width: 240px; max-width: 66vw; border-radius: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--stroke);
}
.hero h1 {
  font-size: 40px; line-height: 1.15; margin: 26px 0 12px; letter-spacing: -0.5px;
  background: linear-gradient(92deg, var(--orange), var(--red) 45%, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline { font-size: 18px; color: var(--text-dim); max-width: 620px; margin: 0 auto; }
.cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  padding: 15px 32px; background: linear-gradient(92deg, var(--red), var(--orange));
  color: #fff; border-radius: 14px; font-weight: 800; font-size: 17px; text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 45, 85, 0.4); transition: transform .15s;
}
.cta:hover { transform: translateY(-2px); }
.subnote { margin-top: 12px; font-size: 14px; color: var(--text-dim); }
.warn {
  margin: 18px auto 0; max-width: 520px; font-size: 13px; color: var(--orange);
  border: 1px dashed rgba(255,138,61,.5); border-radius: 12px; padding: 10px 14px;
}

/* Sections */
section { padding: 36px 0; }
section h2 { font-size: 26px; margin-bottom: 22px; text-align: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 22px; transition: transform .15s, border-color .15s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--red); }
.feature .icon { font-size: 30px; margin-bottom: 10px; }
.feature .name { font-weight: 800; margin-bottom: 6px; font-size: 17px; }
.feature .desc { color: var(--text-dim); font-size: 15px; }

/* How */
.steps { display: grid; gap: 14px; max-width: 680px; margin: 0 auto; }
.step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 18px 20px;
}
.step .num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(92deg, var(--red), var(--orange)); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 15px;
}
.step .txt strong { display: block; margin-bottom: 2px; }
.step .txt span { color: var(--text-dim); font-size: 15px; }

/* Privacy callout */
.callout {
  background: var(--card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.callout a { color: var(--pink); }

/* Footer */
.links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; padding: 24px 0 4px; }
.links a { color: var(--text-dim); text-decoration: none; }
.links a:hover { color: var(--pink); }
footer { text-align: center; color: var(--text-dim); font-size: 14px; padding: 24px 0 48px; }

/* Doc / privacy page */
.doc { padding: 30px 0 60px; }
.doc h1 { font-size: 30px; margin-bottom: 8px; }
.doc .updated { color: var(--text-dim); margin-bottom: 28px; }
.doc h2 { font-size: 20px; margin: 28px 0 10px; color: var(--pink); }
.doc p { margin-bottom: 12px; color: #ecd8e6; }
.doc ul { margin: 0 0 12px 22px; }
.doc li { margin-bottom: 6px; color: #ecd8e6; }
.doc a { color: var(--pink); }
.back { display: inline-block; margin-bottom: 20px; color: var(--text-dim); text-decoration: none; }

/* Contact form */
.form-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); margin-top: 22px;
}
.form-card label { display: block; font-weight: 700; font-size: 14px; margin-top: 18px; color: var(--text); }
.form-card label:first-child { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; margin-top: 8px; font: inherit; color: var(--text);
  background: #100820; border: 1px solid var(--stroke); border-radius: 10px; padding: 12px 14px;
}
.form-card input:focus, .form-card textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.2);
}
.form-card textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card button {
  margin-top: 24px; width: 100%; font: inherit; font-weight: 800; font-size: 16px;
  color: #fff; background: linear-gradient(92deg, var(--red), var(--orange)); border: none;
  border-radius: 999px; padding: 14px 22px; cursor: pointer; box-shadow: 0 8px 24px rgba(255, 45, 85, 0.3);
}
.form-card button:hover { filter: brightness(1.08); }
.form-note { color: var(--text-dim); font-size: 13px; margin-top: 14px; text-align: center; }

[data-lang-hide] { display: none !important; }
