:root {
  color-scheme: dark;
  --background: #091421;
  --background-deep: #07111d;
  --background-alt: #0d1c2d;
  --surface: #13263a;
  --surface-raised: #1a3148;
  --surface-soft: #102236;
  --surface-gradient: linear-gradient(155deg, #192e44, #122539);
  --line: rgba(169, 199, 220, .2);
  --line-strong: rgba(100, 213, 220, .43);
  --text: #f3f8fb;
  --muted: #b7c9d6;
  --accent: #64d5dc;
  --accent-light: #b9f2f2;
  --accent-text: #082433;
  --gradient-violet: #7753d8;
  --gradient-cyan: #007fa8;
  --gradient-action: linear-gradient(110deg, var(--gradient-violet), var(--gradient-cyan));
  --gradient-download: linear-gradient(110deg, #7753d8, #0b91b8);
  --gradient-highlight: linear-gradient(110deg, #a777ff, #46d1ed);
  --accent-secondary-light: #dedbff;
  --radius-card: 20px;
  --radius-control: 14px;
  --shadow-card: 0 14px 36px rgba(2, 10, 21, .18);
  --shadow-raised: 0 24px 64px rgba(2, 10, 21, .3);
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.68; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-body); }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(7, 17, 29, .94); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; font-size: 19px; font-weight: 760; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 3px; border: 1px solid rgba(194, 210, 255, .45); border-radius: 12px; background: linear-gradient(145deg, rgba(119, 83, 216, .18), rgba(70, 209, 237, .12)), var(--surface-soft); box-shadow: 0 7px 20px rgba(92, 75, 195, .18); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 30px); margin-left: auto; white-space: nowrap; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 550; transition: color .2s ease; }
.main-nav a:hover { color: var(--accent-light); }
.header-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 21px; margin-left: 5px; border: 1px solid rgba(194, 210, 255, .35); border-radius: 999px; background: var(--gradient-action); box-shadow: 0 8px 24px rgba(92, 75, 195, .2); color: #fff; font-size: 14px; font-weight: 750; white-space: nowrap; transition: filter .2s ease, box-shadow .2s ease; }
.header-cta:hover { filter: brightness(1.06); box-shadow: 0 10px 28px rgba(92, 75, 195, .3); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 108px; text-align: center; background: radial-gradient(ellipse 48% 38% at 50% -12%, rgba(158,119,255,.42), rgba(74,174,236,.18) 48%, transparent 78%), radial-gradient(ellipse 50% 46% at 13% 0%, rgba(119,83,216,.18), transparent 78%), radial-gradient(ellipse 50% 43% at 87% 0%, rgba(70,209,237,.14), transparent 78%), linear-gradient(180deg, var(--background-alt) 0%, var(--background) 80%); }
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(133, 188, 208, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 188, 208, .12) 1px, transparent 1px),
    linear-gradient(rgba(133, 188, 208, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 188, 208, .1) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px, 224px 224px, 224px 224px;
  background-position: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .95), rgba(0, 0, 0, .7) 65%, transparent);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.section-number { color: var(--accent-light); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { max-width: 980px; margin-bottom: 24px; font-size: clamp(46px, 6.1vw, 76px); font-weight: 760; letter-spacing: -.045em; line-height: 1.16; text-wrap: balance; }
.hero h1 .hero-name { background: var(--gradient-highlight); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero h1 .hero-subline { display: inline-block; font-size: .8em; letter-spacing: -.035em; }
.hero-copy { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-action-panel { width: min(100%, 770px); margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(19,38,58,.86); box-shadow: var(--shadow-raised); backdrop-filter: blur(10px); }
.hero-search-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 14px; text-align: left; }
.hero-search-preview { display: flex; align-items: center; gap: 12px; height: 52px; padding: 5px 5px 5px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--surface-soft); text-align: left; }
.hero-search-preview:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(100, 213, 220, .16); }
.hero-search-plus { flex: none; color: var(--accent); font-size: 31px; font-weight: 300; line-height: 1; }
.hero-search-input { min-width: 0; flex: 1; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; line-height: 1.4; text-overflow: ellipsis; }
.hero-search-input::placeholder { color: #9ba5b4; opacity: 1; }
.hero-search-start { display: grid; place-items: center; width: 96px; height: 40px; padding: 0; font-family: inherit; cursor: pointer; flex: none; border: 1px solid rgba(194, 210, 255, .35); border-radius: 10px; background: var(--gradient-highlight); color: var(--accent-text); font-size: 16px; font-weight: 700; }
.hero-search-start:hover { filter: brightness(1.08); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 27px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 750; line-height: 1.2; text-align: center; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease; }
.button-primary { min-width: 190px; border-color: rgba(194, 210, 255, .35); background: var(--gradient-download); box-shadow: 0 0 26px rgba(119, 83, 216, .3), 0 0 44px rgba(11, 145, 184, .2), 0 12px 28px rgba(2, 10, 21, .3); color: #fff; }
.button-primary:hover { filter: brightness(1.06); box-shadow: 0 0 32px rgba(119, 83, 216, .42), 0 0 54px rgba(11, 145, 184, .28), 0 14px 32px rgba(2, 10, 21, .35); }
.button-download { gap: 10px; min-width: 280px; min-height: 58px; padding-inline: 31px; font-size: 19px; }
.button-icon { display: block; width: 23px; height: 23px; flex: none; fill: currentColor; }
.button-secondary { min-width: 176px; border-color: var(--line-strong); background: var(--surface-soft); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); background: var(--surface-raised); }

.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section-alt { position: relative; background: var(--background-alt); }
.section-heading { max-width: 690px; margin: 0 auto 43px; text-align: center; }
.section-heading .section-number { margin-bottom: 10px; }
#search .section-number { color: #bca0ff; }
#discover .section-number { color: #82beff; }
#scenarios .section-number { color: #66d8dc; }
#faq .section-number { color: #9fe6bd; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(35px, 4vw, 50px); font-weight: 740; letter-spacing: -.035em; line-height: 1.2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.feature-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-gradient); box-shadow: var(--shadow-card); }
.feature-card::before { position: absolute; top: 0; left: 29px; width: 64px; height: 3px; background: var(--gradient-highlight); content: ""; }
.feature-card h3 { margin-bottom: 10px; font-size: 21px; font-weight: 700; line-height: 1.38; }
.feature-card p { max-width: 320px; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.search-guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: center; margin-top: 22px; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-gradient); box-shadow: var(--shadow-card); }
.search-guide-heading p { margin-bottom: 8px; color: var(--accent-light); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.search-guide-heading h3 { margin-bottom: 0; font-size: 27px; line-height: 1.3; }
.search-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; list-style: none; }
.search-methods li { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 2px 18px; border-left: 1px solid var(--line); }
.search-method-number { flex: none; color: var(--accent-light); font-size: 12px; font-weight: 750; line-height: 1.7; }
.search-methods h4 { margin: 0 0 6px; color: var(--text); font-size: 16px; line-height: 1.4; }
.search-methods p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }

.section-intro { margin: 17px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 15px; padding: 0; margin: 0 0 38px; list-style: none; }
.rank-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 15px 20px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-gradient); box-shadow: var(--shadow-card); }
.rank-number { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #64717d; border-radius: 12px; background: #3b4650; color: #e0e6e9; font-size: 21px; font-weight: 750; }
.rank-card:nth-child(1) .rank-number { border-color: rgba(194, 210, 255, .3); background: var(--gradient-action); color: #fff; }
.rank-card:nth-child(2) .rank-number { border-color: rgba(228, 175, 228, .35); background: linear-gradient(115deg, #ac3c86, #7049cd); color: #fff; }
.rank-card:nth-child(3) .rank-number { border-color: rgba(155, 210, 242, .35); background: linear-gradient(115deg, #087e9e, #3657bd); color: #fff; }
.rank-card h3 { margin: 0 0 3px; overflow: hidden; font-size: 18px; font-weight: 720; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rank-card p { margin: 0; overflow: hidden; color: var(--muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.rank-detail { color: var(--accent-secondary-light); font-size: 13px; font-weight: 700; white-space: nowrap; }
.search-result { margin: 0 0 14px; color: var(--muted); text-align: center; }
.search-reset { display: block; margin: 0 auto 20px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-soft); color: var(--accent-light); font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.poster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.poster-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.poster-art { position: relative; overflow: hidden; aspect-ratio: 13 / 18; background: var(--surface-raised); }
.poster-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster-tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(7,17,29,.9); color: var(--accent-light); font-size: 12px; font-weight: 720; backdrop-filter: blur(6px); }
.poster-copy { padding: 14px 17px 16px; }
.poster-copy h3 { margin: 0 0 4px; overflow: hidden; font-size: 17px; line-height: 1.38; text-overflow: ellipsis; white-space: nowrap; }
.poster-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.scenario-section { background: var(--background); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.scenario-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-gradient); box-shadow: var(--shadow-card); }
.scenario-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.scenario-title svg { width: 27px; height: 27px; flex: none; color: var(--accent); }
.scenario-title h3 { margin: 0; font-size: 21px; line-height: 1.35; }
.scenario-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.72; }

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.faq-item { padding: 27px 30px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface-gradient); box-shadow: var(--shadow-card); }
.faq-item h3 { margin-bottom: 9px; font-size: 19px; line-height: 1.4; }
.faq-item p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.feature-card, .rank-card, .poster-card, .scenario-card, .faq-item { transition: border-color .22s ease, box-shadow .22s ease; }
.poster-art img { transition: transform .32s ease; }

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover, .rank-card:hover, .poster-card:hover, .scenario-card:hover, .faq-item:hover {
    border-color: var(--line-strong);
    box-shadow: 0 18px 42px rgba(2, 8, 18, .25);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .poster-card:hover .poster-art img { transform: scale(1.035); }
}

.download-section { padding: 96px 0; border-top: 1px solid var(--line); }
.download-panel { position: relative; isolation: isolate; overflow: hidden; padding: 58px 36px; border: 1px solid rgba(159, 155, 231, .42); border-radius: 26px; background: radial-gradient(circle at 12% 0%, rgba(119,83,216,.16), transparent 48%), radial-gradient(circle at 88% 0%, rgba(70,209,237,.13), transparent 48%), var(--surface-gradient); box-shadow: var(--shadow-raised); text-align: center; }
.download-panel::before, .download-panel::after { position: absolute; width: 260px; height: 260px; border: 1px solid rgba(167, 119, 255, .29); content: ""; pointer-events: none; transform: rotate(45deg); }
.download-panel::before { top: -194px; left: -140px; background: linear-gradient(135deg, rgba(167, 119, 255, .15), transparent 68%); }
.download-panel::after { right: -140px; bottom: -194px; border-color: rgba(70, 209, 237, .3); background: linear-gradient(315deg, rgba(70, 209, 237, .13), transparent 68%); }
.download-copy { position: relative; z-index: 1; }
.download-copy h2 { width: fit-content; margin: 0 auto 12px; background: var(--gradient-highlight); background-clip: text; -webkit-background-clip: text; color: transparent; font-size: clamp(36px, 4vw, 51px); font-weight: 750; letter-spacing: -.045em; line-height: 1.22; }
.download-subtitle { max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.download-actions { display: flex; justify-content: center; align-items: stretch; gap: 12px; }
.download-copy .button-download { min-width: 300px; min-height: 58px; font-size: 19px; }
.download-actions .button-secondary { min-width: 190px; min-height: 66px; font-size: 16px; }
.download-availability { max-width: 640px; margin: 19px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer { padding: 56px 0 25px; border-top: 1px solid var(--line); background: var(--background-deep); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .7fr) minmax(0, 1fr); gap: clamp(35px, 7vw, 95px); padding-bottom: 55px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 760; letter-spacing: -.025em; }
.footer-about p { max-width: 335px; margin: 19px 0 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.footer-main h2 { margin: 6px 0 19px; color: var(--text); font-size: 15px; font-weight: 720; line-height: 1.4; }
.footer-main ul { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.footer-main li { color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-nav a { transition: color .2s ease; }
.footer-nav a:hover { color: var(--accent-light); }
.footer-platforms li { position: relative; padding-left: 17px; }
.footer-platforms li::before { position: absolute; top: .62em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); content: ""; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 21px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

@media (max-width: 1100px) {
  .header-inner { min-height: 70px; gap: 18px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .search-guide { grid-template-columns: 1fr; gap: 22px; }
  .search-methods li:first-child { padding-left: 0; border-left: 0; }
  .rank-card { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 15px; }
  .rank-number { width: 42px; height: 42px; }
  .rank-detail { display: none; }
  .poster-grid { gap: 12px; }
  .download-panel { padding-inline: 42px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 86px; }
  .header-inner { justify-content: space-between; gap: 12px; padding-block: 8px; }
  .header-cta { margin-left: 0; }
  .main-nav { display: none; }
  .search-guide { padding: 26px; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .rank-grid, .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  .container { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 64px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .header-cta { min-height: 40px; padding-inline: 15px; font-size: 13px; }
  .hero { padding: 48px 0 78px; }
  .hero h1 { margin-bottom: 19px; font-size: clamp(38px, 9.5vw, 58px); letter-spacing: -.05em; }
  .hero-copy { font-size: 16px; line-height: 1.72; }
  .hero-action-panel { margin-top: 28px; padding: 16px; border-radius: 20px; }
  .hero-search-preview { gap: 8px; height: 50px; padding: 4px 4px 4px 10px; border-radius: 14px; }
  .hero-search-plus { font-size: 25px; }
  .hero-search-input { font-size: 16px; }
  .hero-search-start { width: 64px; height: 40px; border-radius: 10px; font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 9px; }
  .hero-actions .button { width: 100%; min-height: 48px; }
  .hero-actions .button-download { min-width: 0; min-height: 54px; max-width: 320px; align-self: center; }
  .section { padding: 75px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 36px; }
  .feature-grid, .faq-list { grid-template-columns: 1fr; }
  .feature-grid { gap: 11px; }
  .feature-card { padding: 22px 24px 24px; }
  .feature-card h3 { font-size: 20px; }
  .search-guide { gap: 17px; margin-top: 15px; padding: 23px; }
  .search-guide-heading h3 { font-size: 24px; }
  .search-methods { grid-template-columns: 1fr; gap: 16px; }
  .search-methods li { padding: 0 0 0 12px; border-left: 2px solid rgba(165,192,219,.2); }
  .search-methods li:first-child { padding-left: 12px; border-left: 2px solid rgba(165,192,219,.2); }
  .section-intro { font-size: 15px; }
  .rank-grid, .scenario-grid { grid-template-columns: 1fr; gap: 11px; }
  .rank-grid { margin-bottom: 28px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .poster-copy { padding: 12px 13px; }
  .poster-copy h3 { font-size: 15px; }
  .scenario-card { padding: 23px; }
  .faq-item { padding: 21px 22px; }
  .download-section { padding: 75px 0; }
  .download-panel { padding: 40px 26px; }
  .download-panel::before, .download-panel::after { width: 170px; height: 170px; }
  .download-panel::before { top: -122px; left: -104px; }
  .download-panel::after { right: -104px; bottom: -122px; }
  .download-copy h2 { margin-bottom: 10px; }
  .download-subtitle { margin-bottom: 24px; font-size: 16px; }
  .download-actions { width: min(100%, 300px); flex-direction: column; gap: 10px; margin-inline: auto; }
  .download-copy .button { width: 100%; max-width: 300px; }
  .download-copy .button-download { min-width: 0; min-height: 54px; font-size: 19px; }
  .download-actions .button-secondary { min-width: 0; min-height: 54px; }
  .download-availability { font-size: 14px; }
  .site-footer { padding-top: 43px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 31px 24px; padding-bottom: 38px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { margin: 16px 0 11px; }
  .footer-main h2 { margin-bottom: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 420px) {
  .main-nav { gap: 3px; }
  .main-nav a { font-size: 12px; }
}

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