@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --bg: #f4f5fa;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #fff;
  --surface-soft: #eceef5;
  --text: #111218;
  --muted: #5f6472;
  --line: rgba(17, 18, 24, 0.1);
  --violet: #6955ff;
  --cyan: #17c8ef;
  --mint: #28d6a3;
  --shadow: 0 26px 70px rgba(38, 40, 58, 0.12);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --max: 1480px;
}

html[data-theme="dark"] {
  --bg: #0b0c12;
  --surface: rgba(20, 21, 31, 0.82);
  --surface-solid: #14151f;
  --surface-soft: #1d1f2a;
  --text: #f7f7fb;
  --muted: #b1b4c2;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, rgba(105, 85, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 90% 24%, rgba(23, 200, 239, 0.12), transparent 28rem),
    var(--bg);
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease, background-color 0.3s ease;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  margin-top: 14px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-solid) 74%, transparent);
  box-shadow: 0 12px 34px rgba(11, 12, 18, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.topbar.scrolled { box-shadow: var(--shadow); }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(38, 32, 78, 0.16);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font: 800 19px/1.2 "Manrope", sans-serif; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }

.nav-links { display: flex; gap: 8px; }
.nav-links a {
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-soft); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; }

.collection-button, .language-switch, .theme-switch {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.collection-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  cursor: pointer;
}
.collection-button > span { color: var(--violet); font-size: 21px; }
.collection-button b { font-size: 14px; }
.collection-button i {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 12px;
  font-style: normal;
}
.collection-button.has-items i { color: #fff; background: var(--violet); }
.language-switch { display: flex; padding: 4px; }
.language-switch button {
  min-width: 46px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.language-switch button.active { color: #fff; background: #171820; }
html[data-theme="dark"] .language-switch button.active { color: #111218; background: #fff; }
.theme-switch {
  display: grid;
  width: 50px;
  place-items: center;
  cursor: pointer;
}
.theme-switch .moon { display: none; }
html[data-theme="dark"] .theme-switch .sun { display: none; }
html[data-theme="dark"] .theme-switch .moon { display: block; color: #8e7bff; }

.hero {
  position: relative;
  display: block;
  min-height: 340px;
  padding: 54px 70px 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 42px 42px;
  background:
    linear-gradient(135deg, rgba(105, 85, 255, 0.11), transparent 45%),
    color-mix(in srgb, var(--surface-solid) 74%, transparent);
  box-shadow: var(--shadow);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  animation: glowDrift 10s ease-in-out infinite alternate;
}
.hero-glow-one {
  top: -180px;
  right: 6%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(105, 85, 255, 0.28), transparent 68%);
}
.hero-glow-two {
  right: 28%;
  bottom: -220px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(23, 200, 239, 0.2), transparent 68%);
  animation-delay: -4s;
}
.hero-content { position: relative; z-index: 2; max-width: 1020px; }
.hero-brandline { display: flex; align-items: center; gap: 14px; color: var(--violet); font-size: 14px; font-weight: 800; letter-spacing: 0.18em; }
.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(105, 85, 255, 0.25);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.22em;
  max-width: 1000px;
  margin: 17px 0 13px;
  font: 800 clamp(46px, 4.8vw, 68px)/0.98 "Manrope", sans-serif;
  letter-spacing: -0.07em;
}
.hero h1 span, .hero h1 em { font-style: normal; }
.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, #725aff, #ab66ff 45%, #25c9f0);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; font-weight: 500; }
.hero-actions { display: flex; align-items: stretch; gap: 14px; margin-top: 24px; }
.search-stage { position: relative; width: min(620px, 100%); }
.tool-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  height: 64px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface-solid);
  box-shadow: 0 16px 36px rgba(15, 16, 24, 0.12);
}
.tool-search > span { color: var(--violet); font-size: 29px; line-height: 1; }
.tool-search input { min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 17px; font-weight: 600; }
.tool-search input::placeholder { color: var(--muted); opacity: 0.8; }
.tool-search kbd { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface-soft); font: 700 12px "DM Sans", sans-serif; }
.explore-button {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 184px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 19px;
  color: #fff;
  background: #6652ff;
  box-shadow: 0 16px 34px rgba(105, 85, 255, 0.28);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.25s ease;
}
.explore-button:hover { transform: translateY(-3px); }
.explore-button i { font-size: 20px; font-style: normal; }
.search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 360px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.search-result { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 11px; border-radius: 13px; }
.search-result:hover { background: var(--surface-soft); }
.search-result > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px; background: var(--surface-soft); font-size: 24px; }
.search-result div { display: grid; }
.search-result strong { font-size: 15px; }
.search-result small { color: var(--muted); font-size: 13px; }
.search-result i { color: var(--violet); font-style: normal; }
.search-empty { padding: 18px; color: var(--muted); font-size: 14px; text-align: center; }
.hero-note {
  position: relative;
  z-index: 2;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-solid) 68%, transparent);
  backdrop-filter: blur(16px);
}
.hero-note > span { color: var(--violet); font-size: 13px; font-weight: 800; }
.hero-note strong { display: block; margin-top: 22px; font: 800 18px "Manrope", sans-serif; }
.hero-note p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

.section { padding: 78px 0 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
  padding: 0 10px;
}
.section-heading span, .coming-header > span, .philosophy-copy > span, .dialog-eyebrow {
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.section-heading h2, .coming-header h2 {
  margin: 8px 0 5px;
  font: 800 clamp(38px, 4.2vw, 62px)/1.03 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}
.section-heading p, .coming-header p { margin: 0; color: var(--muted); font-size: 18px; }
.section-index { color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: 0.12em; }
.featured-stack { display: grid; gap: 28px; }

.tool-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.tool-showcase:nth-child(even) { grid-template-columns: 1.18fr 0.82fr; }
.tool-showcase:nth-child(even) .showcase-copy { order: 2; }
.tool-showcase:nth-child(even) .showcase-visual { order: 1; }
.tool-showcase.violet { color: #fff; background: linear-gradient(135deg, #5c35df 0%, #8f49f6 52%, #d466dd 100%); }
.tool-showcase.blue { color: #07111e; background: linear-gradient(135deg, #58d5ff 0%, #72a9ff 48%, #7981ff 100%); }
.tool-showcase.midnight { color: #fff; background: linear-gradient(135deg, #0b1025 0%, #181d3e 48%, #283270 100%); }
.tool-showcase.mint { color: #092019; background: linear-gradient(135deg, #54e0b6 0%, #a3edc6 54%, #e2ee79 100%); }
.showcase-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 50px;
}
.showcase-topline { display: flex; justify-content: space-between; align-items: center; }
.showcase-topline > span { font-size: 15px; font-weight: 800; opacity: 0.72; }
.showcase-topline b {
  padding: 7px 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.showcase-mini { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; opacity: 0.72; text-transform: uppercase; }
.showcase-copy h3 { margin: 0; font: 800 clamp(42px, 4.5vw, 68px)/1 "Manrope", sans-serif; letter-spacing: -0.055em; }
.showcase-copy p { max-width: 520px; margin: 18px 0 0; font-size: 19px; font-weight: 600; line-height: 1.45; opacity: 0.82; }
.showcase-actions { display: flex; gap: 12px; margin-top: 34px; }
.open-tool, .favorite-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}
.open-tool { color: #111218; background: #fff; box-shadow: 0 12px 30px rgba(10, 10, 20, 0.14); }
.open-tool i { font-size: 18px; font-style: normal; transition: transform 0.2s ease; }
.open-tool:hover i { transform: translate(3px, -3px); }
.favorite-tool { border: 1px solid rgba(255, 255, 255, 0.42); color: inherit; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(14px); }
.blue .favorite-tool, .mint .favorite-tool { border-color: rgba(10, 20, 30, 0.18); background: rgba(255, 255, 255, 0.32); }
.favorite-tool > span { font-size: 20px; }
.favorite-tool.active { color: #6a4fff; background: #fff; }

.showcase-visual { position: relative; min-height: 510px; overflow: hidden; }
.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 72%);
}
.visual-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56%;
  aspect-ratio: 1.65;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.32;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: orbitSpin 14s linear infinite;
}
.visual-orbit.orbit-b { width: 39%; aspect-ratio: 1; border-style: dashed; animation-direction: reverse; animation-duration: 18s; }
.visual-orbit i {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 20px currentColor;
}
.showcase-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 30px 70px rgba(30, 20, 70, 0.24);
  font-size: 66px;
  transform: translate(-50%, -50%) rotate(-3deg);
  animation: toolFloat 5s ease-in-out infinite;
}
.blue .showcase-icon, .mint .showcase-icon { background: rgba(255, 255, 255, 0.74); }
.showcase-chip {
  position: absolute;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: 0 10px 24px rgba(20, 15, 60, 0.12);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
  animation: chipFloat 6s ease-in-out infinite;
}
.blue .showcase-chip, .mint .showcase-chip { border-color: rgba(10, 20, 30, 0.16); background: rgba(255, 255, 255, 0.38); }
.chip-1 { top: 18%; left: 13%; }
.chip-2 { right: 12%; bottom: 20%; animation-delay: -2s; }
.chip-3 { left: 18%; bottom: 16%; animation-delay: -4s; }
.visual-spark { position: absolute; font-size: 28px; animation: sparkle 3s ease-in-out infinite; }
.spark-a { top: 23%; right: 22%; }
.spark-b { right: 10%; bottom: 35%; animation-delay: -1.4s; }

.recently-section { padding-top: 100px; }
.recently-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.recent-tool {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 180px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(20, 22, 35, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.recent-tool:hover { transform: translateY(-5px); border-color: var(--violet); }
.recent-number { align-self: start; color: var(--violet); font-size: 13px; font-weight: 800; }
.recent-icon { display: grid; width: 84px; height: 84px; place-items: center; border-radius: 23px; background: var(--surface-soft); font-size: 42px; }
.recent-copy { display: grid; }
.recent-copy small { color: var(--violet); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.recent-copy strong { margin-top: 4px; font: 800 25px "Manrope", sans-serif; }
.recent-copy p { margin: 5px 0 0; color: var(--muted); font-size: 15px; }
.recent-tool > i { color: var(--violet); font-size: 22px; font-style: normal; }

.all-tools-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
  margin-top: 100px;
  padding: 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 20%, rgba(105, 85, 255, 0.2), transparent 30%),
    var(--surface);
  box-shadow: var(--shadow);
}
.coming-header { position: sticky; top: 130px; }
.upcoming-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.upcoming-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-solid);
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.upcoming-card:hover { transform: translateY(-4px); border-color: var(--violet); }
.upcoming-icon { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 18px; background: var(--surface-soft); color: var(--violet); font-size: 28px; }
.upcoming-card > span:nth-child(2) { display: grid; }
.upcoming-card strong { font-size: 17px; }
.upcoming-card small { color: var(--muted); font-size: 13px; }
.upcoming-card > i { color: var(--violet); font-size: 20px; font-style: normal; }

.philosophy-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 50px;
  margin-top: 110px;
  padding: 86px 76px 66px;
  overflow: hidden;
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(112, 91, 255, 0.24), transparent 35%),
    linear-gradient(135deg, #11131d, #1b1d2a);
  box-shadow: 0 35px 90px rgba(6, 7, 11, 0.34);
}
.philosophy-orbit {
  position: relative;
  grid-row: span 2;
  width: min(100%, 390px);
  aspect-ratio: 1;
  align-self: center;
  border: 1px solid rgba(126, 109, 255, 0.25);
  border-radius: 50%;
}
.philosophy-orbit::before {
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(126, 109, 255, 0.22);
  border-radius: 50%;
  content: "";
}
.philosophy-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  font: 800 42px "Manrope", sans-serif;
  transform: translate(-50%, -50%);
}
.philosophy-orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #806cff; box-shadow: 0 0 18px #806cff; }
.philosophy-orbit i:first-child { top: 50%; left: -5px; }
.philosophy-orbit i:nth-child(2) { right: 16%; bottom: 12%; }
.philosophy-copy > span { color: #8f7fff; }
.philosophy-copy h2 { margin: 18px 0 20px; font: 800 clamp(54px, 6vw, 86px)/1.03 "Manrope", sans-serif; letter-spacing: -0.06em; }
.philosophy-copy h2 i { display: block; font-style: normal; }
.philosophy-copy h2 i:nth-child(2) { color: #8a75ff; }
.philosophy-copy p { max-width: 680px; margin: 0; color: #b8bbca; font-size: 18px; }
.principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.principles article { min-height: 158px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; background: rgba(255, 255, 255, 0.045); }
.principles span { color: #8e7bff; font-size: 12px; font-weight: 800; }
.principles strong { display: block; margin-top: 24px; font-size: 18px; }
.principles p { margin: 6px 0 0; color: #aeb1c0; font-size: 14px; }

.founder-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  margin-top: 54px;
  padding: 58px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 8%, rgba(127, 107, 255, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.045);
}
.story-heading > span, .contact-copy > span {
  color: #8f7fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.story-heading h3, .contact-copy h3 {
  margin: 13px 0 0;
  font: 800 clamp(36px, 4vw, 58px)/1.06 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}
.story-body { max-width: 760px; }
.story-body p { margin: 0 0 18px; color: #c4c7d4; font-size: 17px; line-height: 1.75; }
.story-body .story-ending { color: #fff; font-size: 19px; font-weight: 700; }
.story-signature { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.story-signature span { color: #969aa9; font-size: 13px; }
.story-signature strong { color: #8f7fff; font: 800 20px "Manrope", sans-serif; }

.contact-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
  margin-top: 18px;
  padding: 46px 50px;
  border-radius: 30px;
  color: #10111a;
  background: linear-gradient(125deg, #8d7aff 0%, #bca8ff 42%, #79dff0 100%);
  box-shadow: 0 24px 60px rgba(75, 57, 190, 0.24);
}
.contact-copy > span { color: #40317f; }
.contact-copy h3 { font-size: clamp(34px, 3.5vw, 50px); }
.contact-copy p { max-width: 560px; margin: 14px 0 0; color: rgba(16, 17, 26, 0.72); font-size: 16px; }
.contact-links { display: grid; gap: 10px; }
.contact-links > a, .contact-links > div {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(15px);
  transition: transform 0.2s ease, background 0.2s ease;
}
.contact-links > a:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.76); }
.contact-links span { color: rgba(16, 17, 26, 0.6); font-size: 13px; font-weight: 700; }
.contact-links strong { overflow-wrap: anywhere; font-size: 15px; }
.contact-links i { font-size: 18px; font-style: normal; }

html[lang="en"] [data-lang-only="zh"], html[lang="zh-CN"] [data-lang-only="en"] { display: none !important; }
.story-brand-icon {
  display: block;
  width: 70px;
  height: 70px;
  margin-bottom: 30px;
  border: 3px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(86, 66, 220, 0.28);
}
.story-body .story-manifesto {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid #8f7fff;
  border-radius: 0 14px 14px 0;
  color: #fff;
  background: rgba(143, 127, 255, 0.09);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}
.story-body .story-coming { margin-top: -10px; color: #9b8aff; font-size: 19px; font-weight: 800; }
.contact-panel { display: block; padding: 48px; color: #f8f8fb; background: linear-gradient(135deg, #1a1d2b, #29244a); }
.contact-copy { max-width: 820px; }
.contact-copy > span { color: #9b8aff; }
.contact-copy p { color: #bfc2cf; }
.request-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.request-grid > a {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: 25px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.request-grid > a:hover { transform: translateY(-6px); border-color: #8370ff; background: rgba(131, 112, 255, 0.13); }
.request-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: #11131d; background: linear-gradient(135deg, #a596ff, #67deef); font-size: 23px; font-weight: 900; }
.request-grid small { position: absolute; top: 25px; right: 25px; color: #8e7bff; font-size: 12px; font-weight: 800; }
.request-grid strong { margin-top: 27px; color: #fff; font: 800 20px/1.25 "Manrope", sans-serif; }
.request-grid p { margin: 10px 0 24px; color: #aeb2c1; font-size: 14px; line-height: 1.6; }
.request-grid i { margin-top: auto; align-self: flex-end; color: #9381ff; font-size: 20px; font-style: normal; }
.contact-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  color: #9fa3b2;
  background: rgba(0, 0, 0, 0.14);
  font-size: 12px;
}
.contact-strip img { width: 32px; height: 32px; border: 2px solid #fff; border-radius: 9px; background: #fff; }
.contact-strip > span:first-of-type { margin-right: auto; }
.contact-strip a { color: #d8d9e2; font-weight: 700; }
.contact-strip a:hover { color: #9b8aff; }
.contact-strip b { color: #c5c8d5; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 190px;
  margin-top: 100px;
  border-top: 1px solid var(--line);
}
.footer-brand .brand-logo { width: 48px; height: 48px; border-radius: 14px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 17px; }
.footer-brand small { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 700; }
footer > p { justify-self: end; color: var(--muted); font-size: 13px; }

.collection-dialog {
  width: min(620px, calc(100% - 30px));
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: var(--shadow);
}
.collection-dialog::backdrop { background: rgba(5, 6, 10, 0.58); backdrop-filter: blur(10px); }
.collection-dialog h2 { margin: 9px 0 4px; font: 800 34px "Manrope", sans-serif; }
.collection-dialog > p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); cursor: pointer; font-size: 22px; }
.collection-list { display: grid; gap: 10px; }
.collection-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 13px; border-radius: 16px; background: var(--surface-soft); }
.collection-item > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 15px; background: var(--surface-solid); font-size: 28px; }
.collection-item div { display: grid; }
.collection-item strong { font-size: 16px; }
.collection-item small { color: var(--muted); font-size: 13px; }
.collection-item i { color: var(--violet); font-style: normal; }
.collection-empty { padding: 42px 20px; border-radius: 18px; background: var(--surface-soft); text-align: center; }
.collection-empty span { color: var(--violet); font-size: 34px; }
.collection-empty p { margin: 7px 0 0; color: var(--muted); }
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 20px;
  border-radius: 15px;
  color: #fff;
  background: #5f4bff;
  box-shadow: 0 16px 40px rgba(62, 43, 190, 0.35);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes toolFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(2deg) translateY(-15px); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(348deg); }
}
@keyframes sparkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8) rotate(0); }
  50% { opacity: 1; transform: scale(1.2) rotate(90deg); }
}
@keyframes glowDrift {
  to { transform: translate(50px, 30px) scale(1.1); }
}

@media (max-width: 1080px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { padding: 48px 42px 40px; }
  .hero-note { display: none; }
  .tool-showcase, .tool-showcase:nth-child(even) { grid-template-columns: 1fr 1fr; }
  .showcase-copy { padding: 40px; }
  .all-tools-section { grid-template-columns: 1fr; }
  .coming-header { position: static; }
  .philosophy-section { grid-template-columns: 0.65fr 1.35fr; padding: 64px 50px 50px; }
}

@media (max-width: 800px) {
  .page-shell { width: min(calc(100% - 24px), var(--max)); }
  .topbar { min-height: 70px; border-radius: 20px; }
  .brand-logo { width: 44px; height: 44px; border-radius: 13px; }
  .brand-copy small, .collection-button b { display: none; }
  .collection-button { width: 48px; padding: 0; justify-content: center; }
  .collection-button i { display: none; }
  .language-switch button { min-width: 41px; }
  .hero { min-height: 350px; padding: 46px 28px 34px; border-radius: 0 0 30px 30px; }
  .hero-brandline { font-size: 11px; }
  .hero h1 { font-size: clamp(46px, 12vw, 66px); }
  .hero-copy { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .search-stage, .explore-button { width: 100%; }
  .explore-button { min-height: 58px; justify-content: space-between; }
  .section { padding-top: 76px; }
  .section-heading { align-items: start; }
  .section-index { display: none; }
  .section-heading h2, .coming-header h2 { font-size: 40px; }
  .section-heading p, .coming-header p { font-size: 16px; }
  .tool-showcase, .tool-showcase:nth-child(even) { grid-template-columns: 1fr; min-height: auto; }
  .tool-showcase:nth-child(even) .showcase-copy, .tool-showcase:nth-child(even) .showcase-visual { order: initial; }
  .showcase-copy { min-height: 390px; padding: 34px; }
  .showcase-copy h3 { font-size: 48px; }
  .showcase-copy p { font-size: 17px; }
  .showcase-visual { min-height: 390px; }
  .recently-grid { grid-template-columns: 1fr; }
  .all-tools-section { margin-top: 76px; padding: 38px 26px; }
  .upcoming-grid { grid-template-columns: 1fr; }
  .philosophy-section { grid-template-columns: 1fr; margin-top: 76px; padding: 52px 32px 32px; }
  .philosophy-orbit { display: none; }
  .philosophy-copy h2 { font-size: 62px; }
  .principles { grid-template-columns: 1fr; }
  .founder-story, .contact-panel { grid-template-columns: 1fr; gap: 32px; padding: 38px 32px; }
  .request-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 42px 0; }
  footer > p { justify-self: start; }
}

@media(max-width:520px) {
  .page-shell { width: min(calc(100% - 16px), var(--max)); }
  .topbar { top: 8px; margin-top: 8px; padding: 8px; }
  .brand-copy strong { font-size: 16px; }
  .nav-actions { gap: 5px; }
  .language-switch button { min-width: 36px; font-size: 11px; }
  .theme-switch, .collection-button { width: 44px; min-height: 44px; }
  .hero { padding: 52px 20px 28px; }
  .hero h1 { letter-spacing: -0.06em; }
  .hero-brandline .brand-mark { display: none; }
  .tool-search { height: 58px; }
  .tool-search kbd { display: none; }
  .section-heading { padding: 0 4px; }
  .tool-showcase { border-radius: 28px; }
  .showcase-copy { min-height: 360px; padding: 28px 24px; }
  .showcase-copy h3 { font-size: 40px; }
  .showcase-actions { flex-direction: column; }
  .showcase-actions > * { width: 100%; }
  .showcase-visual { min-height: 340px; }
  .showcase-icon { width: 112px; height: 112px; border-radius: 30px; font-size: 52px; }
  .recent-tool { grid-template-columns: auto 1fr auto; }
  .recent-number { display: none; }
  .recent-icon { width: 66px; height: 66px; font-size: 33px; }
  .recent-copy p { display: none; }
  .all-tools-section { padding: 28px 20px; border-radius: 28px; }
  .upcoming-card { min-height: 108px; }
  .philosophy-section { border-radius: 28px; }
  .philosophy-copy h2 { font-size: 52px; }
  .founder-story, .contact-panel { padding: 30px 22px; border-radius: 22px; }
  .story-heading h3, .contact-copy h3 { font-size: 36px; }
  .story-body p { font-size: 16px; }
  .contact-links > a, .contact-links > div { grid-template-columns: 72px 1fr auto; padding: 12px; }
  .request-grid > a { min-height: 200px; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
  .contact-strip > span:first-of-type { margin-right: 0; }
  .collection-dialog { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
