
:root {
  --ink: #0b0a10;
  --panel: #13111a;
  --muted: #9b96a8;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --yellow: #f6c453;
  --paper: #f7f6f2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #f8fafc;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  height: 78px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 20;
}
.brand, .footer-brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--purple); box-shadow: 0 8px 24px rgba(124,58,237,.3); font-weight: 900; }
nav { display: flex; gap: 34px; color: #aaa5b5; font-size: 14px; }
nav a:hover { color: #fff; }
.header-cta { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); border-radius: 11px; padding: 10px 16px; font-size: 14px; transition: .2s; }
.header-cta:hover { background: rgba(255,255,255,.12); }

.hero {
  min-height: 720px;
  padding: 116px 24px 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-glow { position: absolute; width: 760px; height: 520px; top: -180px; border-radius: 50%; background: rgba(124,58,237,.22); filter: blur(110px); pointer-events: none; }
.eyebrow { position: relative; display: flex; align-items: center; gap: 9px; color: #bdb7ca; font-size: 13px; letter-spacing: .12em; margin-bottom: 22px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-light); box-shadow: 0 0 14px var(--purple-light); }
.hero h1 { position: relative; margin: 0; font-size: clamp(48px, 7vw, 86px); line-height: 1.05; letter-spacing: -.065em; font-weight: 850; }
.hero h1 em { font-style: normal; color: var(--purple-light); text-shadow: 0 10px 54px rgba(124,58,237,.35); }
.hero-copy { position: relative; margin: 26px auto 38px; color: #aaa5b5; font-size: 17px; max-width: 620px; line-height: 1.75; }

.download-shell { position: relative; width: min(800px, 100%); z-index: 3; }
.download-shell form { display: grid; grid-template-columns: 1fr 154px; gap: 10px; padding: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(20,18,28,.86); box-shadow: 0 22px 70px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.05); border-radius: 18px; backdrop-filter: blur(18px); }
.input-wrap { display: flex; align-items: center; min-width: 0; }
.link-glyph { width: 45px; color: #7f788b; font-size: 23px; transform: rotate(-30deg); }
.input-wrap input { min-width: 0; flex: 1; height: 54px; border: 0; outline: 0; color: white; background: transparent; font-size: 15px; }
.input-wrap input::placeholder { color: #706a7d; }
.paste-button, .clear-button { border: 0; color: #b9b2c7; background: rgba(255,255,255,.07); border-radius: 8px; padding: 8px 11px; cursor: pointer; }
.clear-button { font-size: 20px; padding: 4px 11px; }
.submit-button { border: 0; border-radius: 12px; color: #fff; background: var(--purple); font-weight: 750; cursor: pointer; box-shadow: 0 12px 26px rgba(124,58,237,.28); transition: transform .2s, background .2s; }
.submit-button:hover:not(:disabled) { background: #8b4cf4; transform: translateY(-1px); }
.submit-button:disabled { opacity: .7; cursor: wait; }
.submit-button span:not(.spinner) { margin-left: 8px; }
.spinner { display: inline-block; width: 15px; height: 15px; margin-right: 7px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal-hint { color: #625d6c; font-size: 12px; margin: 12px 0 0; }
.form-message { text-align: left; padding: 12px 16px; margin-top: 10px; border-radius: 10px; font-size: 13px; }
.error-message { color: #fecaca; border: 1px solid rgba(248,113,113,.2); background: rgba(127,29,29,.2); }
.result-card { display: grid; grid-template-columns: 126px 1fr; gap: 20px; margin-top: 14px; padding: 16px; background: #17141f; border: 1px solid rgba(167,139,250,.23); border-radius: 17px; text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.result-cover, .cover-fallback { width: 126px; height: 158px; object-fit: cover; border-radius: 11px; background: linear-gradient(145deg,#41227a,#17131f); display: grid; place-items: center; font-size: 28px; }
.result-copy { min-width: 0; padding: 3px 4px; }
.result-ready { color: #b9f6cb; font-size: 12px; font-weight: 700; }
.result-copy h3 { margin: 10px 0 5px; font-size: 17px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-copy p { color: #8f899d; font-size: 13px; margin: 0 0 20px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result-actions a, .result-actions button { border: 0; background: var(--purple); color: white; padding: 10px 13px; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.result-actions .secondary { background: #2a2633; color: #d9d4e2; }
.result-actions .batch-active { background: #5b21b6; box-shadow: inset 0 0 0 1px rgba(216,180,254,.55); }
.batch-toolbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 11px; background: rgba(124,58,237,.13); border: 1px solid rgba(167,139,250,.25); color: #d9d4e2; font-size: 13px; }
.batch-toolbar > div { display: flex; gap: 8px; }
.batch-toolbar button { border: 0; border-radius: 8px; padding: 8px 11px; background: #312b3b; color: #ded8e7; font: inherit; font-weight: 700; cursor: pointer; }
.batch-toolbar .download-selected { background: var(--purple); color: white; }
.batch-toolbar button:disabled { opacity: .45; cursor: not-allowed; }
.gallery-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 3px; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #211c2b; border: 1px solid rgba(167,139,250,.18); }
.gallery-grid figure.selected { border-color: #a78bfa; box-shadow: 0 0 0 2px rgba(124,58,237,.45); }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #0e0b12; }
.gallery-grid a { display: block; padding: 10px; color: #d7c9ff; text-align: center; font-size: 12px; font-weight: 700; }
.gallery-grid a:hover { background: rgba(124,58,237,.2); color: #fff; }
.gallery-select { position: absolute; z-index: 2; top: 9px; left: 9px; cursor: pointer; }
.gallery-select input { position: absolute; opacity: 0; pointer-events: none; }
.gallery-select > span:not(.sr-only) { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: rgba(15,11,20,.8); border: 1px solid rgba(255,255,255,.6); color: white; font-size: 12px; font-weight: 800; backdrop-filter: blur(7px); }
.gallery-select input:focus-visible + span { outline: 2px solid white; outline-offset: 2px; }
.gallery-grid figure.selected .gallery-select > span:not(.sr-only) { background: var(--purple); border-color: #c4b5fd; }
.select-image-button { display: block; width: 100%; border: 0; padding: 10px; background: transparent; color: #d7c9ff; text-align: center; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.gallery-grid figure.selected .select-image-button { background: rgba(124,58,237,.22); color: white; }
.trust-row { position: relative; z-index: 3; display: flex; gap: 30px; margin-top: 27px; color: #777180; font-size: 12px; }
.trust-row span::first-letter { color: var(--purple-light); }

.how-section { background: var(--paper); color: #151319; padding: 112px 28px 124px; }
.section-heading { max-width: 680px; margin: 0 auto 62px; text-align: center; }
.section-kicker { color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.section-heading h2, .feature-copy h2 { margin: 14px 0 14px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.055em; line-height: 1.12; }
.section-heading p { color: #77717e; font-size: 15px; }
.steps { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #dedbe2; border: 1px solid #dedbe2; border-radius: 20px; overflow: hidden; }
.steps article { position: relative; background: #fff; padding: 42px 35px 38px; min-height: 290px; }
.step-no { position: absolute; top: 20px; right: 24px; color: #d2ced7; font-size: 12px; font-weight: 800; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 15px; background: #f0eafe; color: var(--purple); font-size: 24px; font-weight: 800; }
.steps h3 { font-size: 20px; margin: 0 0 11px; }
.steps p { color: #7b7581; font-size: 14px; line-height: 1.75; margin: 0; }

.feature-band { min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 100px 36px; overflow: hidden; }
.feature-copy { max-width: 500px; }
.feature-copy h2 { font-size: clamp(42px, 5vw, 64px); margin-top: 17px; }
.feature-copy > p { color: #9892a2; line-height: 1.8; font-size: 15px; }
.feature-copy ul { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; }
.feature-copy li { display: flex; align-items: center; gap: 15px; }
.feature-copy li > span { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(167,139,250,.22); border-radius: 12px; display: grid; place-items: center; color: var(--purple-light); background: rgba(124,58,237,.08); }
.feature-copy li div { display: flex; flex-direction: column; gap: 4px; }
.feature-copy li strong { font-size: 14px; }
.feature-copy li small { color: #767080; font-size: 12px; }
.phone-stage { position: relative; min-height: 510px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,.34), rgba(124,58,237,0) 68%); }
.orbit { position: absolute; width: 410px; height: 410px; border: 1px solid rgba(167,139,250,.14); border-radius: 50%; }
.orbit-two { width: 520px; height: 520px; opacity: .4; }
.phone-card { position: relative; z-index: 2; width: 250px; height: 480px; border: 7px solid #26222e; border-radius: 34px; padding: 15px; background: #f8f7fa; box-shadow: 0 40px 90px #000, 0 0 0 1px rgba(255,255,255,.15); transform: rotate(5deg); color: #18151e; }
.phone-top { display: flex; justify-content: space-between; margin: 5px 7px 14px; }
.phone-top span:first-child { width: 50px; height: 8px; border-radius: 10px; background: #201c27; }
.phone-top span:last-child { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.phone-video { height: 260px; border-radius: 18px; background: linear-gradient(155deg,#1d152d 5%,#513191 52%,#e2b75c 140%); display: grid; place-items: center; overflow: hidden; position: relative; }
.phone-video::before, .phone-video::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.phone-video::before { width: 190px; height: 190px; left: -80px; bottom: -90px; }
.phone-video::after { width: 110px; height: 110px; right: -25px; top: 18px; }
.play { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; padding-left: 3px; color: #fff; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); z-index: 1; }
.phone-lines { padding: 17px 4px 12px; display: grid; gap: 8px; }
.phone-lines b, .phone-lines i { display: block; background: #d7d3dc; border-radius: 5px; height: 7px; }
.phone-lines b { width: 75%; background: #312b38; height: 9px; }
.phone-lines i:last-child { width: 48%; }
.phone-button { background: var(--purple); color: white; text-align: center; padding: 12px; border-radius: 11px; font-size: 12px; font-weight: 800; }
.float-pill { position: absolute; z-index: 3; padding: 10px 14px; border-radius: 12px; background: rgba(28,24,36,.94); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 32px rgba(0,0,0,.3); color: var(--purple-light); font-size: 12px; font-weight: 800; }
.pill-one { top: 90px; right: 22px; }
.pill-two { bottom: 90px; left: 15px; color: var(--yellow); }
.pill-three { top: 215px; left: -5px; color: #9af0ad; border-radius: 50%; }

.faq-section { background: var(--paper); color: #151319; padding: 100px 28px 120px; }
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid #d9d5dd; }
.faq-list details { border-bottom: 1px solid #d9d5dd; padding: 0 4px; }
.faq-list summary { list-style: none; padding: 24px 0; display: flex; justify-content: space-between; cursor: pointer; font-size: 16px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--purple); font-size: 20px; transition: .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -6px 35px 22px 0; color: #756f7a; line-height: 1.75; font-size: 14px; }

footer { min-height: 150px; max-width: 1120px; margin: 0 auto; padding: 48px 28px; display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 30px; color: #726c7a; font-size: 11px; }
footer p { max-width: 600px; line-height: 1.7; }
.footer-brand { color: white; font-size: 18px; }
.footer-brand .brand-mark { width: 26px; height: 26px; font-size: 14px; }

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 18px; }
  nav { display: none; }
  .header-cta { font-size: 12px; padding: 8px 11px; }
  .hero { min-height: 690px; padding: 88px 16px 60px; }
  .hero h1 { font-size: 50px; }
  .hero-copy { font-size: 14px; margin: 23px 14px 30px; }
  .download-shell form { grid-template-columns: 1fr; padding: 7px; border-radius: 16px; }
  .input-wrap { padding-right: 3px; }
  .submit-button { height: 50px; }
  .trust-row { gap: 15px; flex-wrap: wrap; justify-content: center; }
  .result-card { grid-template-columns: 86px 1fr; gap: 13px; }
  .result-cover, .cover-fallback { width: 86px; height: 112px; }
  .result-copy h3 { font-size: 14px; }
  .result-actions a, .result-actions button { font-size: 11px; padding: 8px 9px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .batch-toolbar { align-items: flex-start; flex-direction: column; }
  .batch-toolbar > div { width: 100%; }
  .batch-toolbar button { flex: 1; }
  .how-section, .faq-section { padding: 78px 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 240px; }
  .feature-band { grid-template-columns: 1fr; gap: 30px; padding: 78px 24px; }
  .feature-copy h2 { font-size: 46px; }
  .phone-stage { transform: scale(.83); margin: -30px 0; }
  footer { grid-template-columns: 1fr; gap: 12px; padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
