:root {
  --accent: #7c6cf0; --accent2: #38bdf8;
  --bg: #07080b; --panel: rgba(255,255,255,.035); --text: #f4f5f9;
  --muted: rgba(244,245,249,.58); --dim: rgba(244,245,249,.4);
  --line: rgba(255,255,255,.09); --radius: 16px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Outfit", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 78%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(700px 420px at 80% -6%, rgba(124,108,240,.18), transparent 64%),
    radial-gradient(560px 380px at 6% 4%, rgba(56,189,248,.10), transparent 60%);
}
.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px 96px; }

/* ---------- Top bar (sticky glass) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; max-width: 1180px; margin: 0 auto;
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,8,11,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 15px; font-family: var(--display); text-decoration: none; }
.brand-mark {
  width: 48px; height: 48px; display: block; flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(124,108,240,.45));
  transition: transform .3s cubic-bezier(.2,.8,.2,1), filter .3s;
}
.brand:hover .brand-mark { transform: rotate(8deg) scale(1.07); filter: drop-shadow(0 9px 20px rgba(124,108,240,.62)); }
.brand-name {
  font-size: 28px; font-weight: 700; letter-spacing: -.035em; line-height: 1; color: #fff;
  text-shadow: 0 0 22px rgba(124,108,240,.38);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .brand-name {
    background: linear-gradient(100deg, #fff 8%, #dfe1ff 54%, #a9e8ff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}
.brand-tag { font-size: 10.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 88px 24px 48px;
  display: grid; grid-template-columns: 1.4fr .85fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .18em;
  color: var(--accent2); text-transform: uppercase; font-weight: 600; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--accent2), transparent); }
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.05em;
  font-size: clamp(38px, 6vw, 74px); line-height: 1.03; margin: 0 0 22px;
  background: linear-gradient(112deg, #ffffff 4%, #d9d2ff 42%, #8fb8ff 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 28px rgba(124,108,240,.18));
}
.hero-summary { max-width: 560px; font-size: clamp(14px, 1.8vw, 16.5px); color: var(--muted); margin: 0; line-height: 1.8; }
.hero-summary strong { color: var(--text); font-weight: 600; }

/* stat panel */
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.stat { background: linear-gradient(160deg, #0e1016, #0a0b0f); padding: 26px 22px; }
.stat:first-child { grid-column: 1 / -1; }
.stat-num {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #b3a8ff, #6bd0f7); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); letter-spacing: .01em; }

/* ---------- Anchor nav ---------- */
.anchors {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  padding: 12px 0 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.anchors a {
  text-decoration: none; text-align: center; color: #f8f9ff; font-family: var(--display);
  font-size: clamp(14px, 1.45vw, 16px); font-weight: 600; letter-spacing: .005em;
  min-height: 46px; padding: 11px 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(124,108,240,.34); border-radius: 12px;
  background: linear-gradient(180deg, rgba(124,108,240,.18), rgba(124,108,240,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 16px rgba(124,108,240,.10);
  text-shadow: 0 1px 14px rgba(124,108,240,.30);
  transition: color .22s, border-color .22s, background .22s, box-shadow .22s, transform .22s;
}
.anchors a:hover, .anchors a:focus-visible {
  color: #fff; border-color: rgba(124,108,240,.78);
  background: linear-gradient(180deg, rgba(124,108,240,.36), rgba(124,108,240,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 24px rgba(124,108,240,.30);
  transform: translateY(-2px);
}

/* ---------- Section ---------- */
.category { padding-top: 76px; position: relative; }
.category::before {
  content: ""; position: absolute; top: 58px; right: -8px; width: 132px; height: 132px;
  border-radius: 50%; background: radial-gradient(circle, hsl(var(--h) 85% 60% / .10), transparent 70%);
  pointer-events: none;
}
.cat-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; position: relative; }
.cat-no {
  flex: 0 0 auto; font-family: var(--display); font-weight: 700; font-size: 16px;
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: hsl(var(--h) 88% 76%); background: hsl(var(--h) 70% 60% / .13);
  border: 1px solid hsl(var(--h) 70% 60% / .32);
  box-shadow: inset 0 1px 0 hsl(var(--h) 85% 78% / .15), 0 6px 18px hsl(var(--h) 70% 40% / .14);
  font-variant-numeric: tabular-nums;
}
.cat-title {
  font-family: var(--display); font-weight: 700; font-size: clamp(23px, 3.2vw, 32px);
  line-height: 1.18; letter-spacing: -.025em; margin: 1px 0 8px;
}
.cat-desc { color: var(--muted); font-size: 14px; margin: 0; max-width: 720px; line-height: 1.72; }
.cat-rule { height: 1px; background: linear-gradient(90deg, hsl(var(--h) 75% 62% / .6), hsl(var(--h) 75% 62% / .08) 45%, transparent); margin: -8px 0 26px 64px; }

/* tool grid */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 14px; }
.tool {
  position: relative; display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit;
  padding: 19px; min-height: 92px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s, box-shadow .3s;
}
.tool::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, hsl(var(--h) 85% 66%), transparent 75%);
  opacity: 0; transition: opacity .3s;
}
.tool:hover, .tool:focus-visible {
  transform: translateY(-4px); outline: none;
  border-color: hsl(var(--h) 72% 64% / .55); background: hsl(var(--h) 60% 55% / .09);
  box-shadow: 0 18px 40px rgba(0,0,0,.42), inset 0 1px 0 hsl(var(--h) 85% 78% / .12);
}
.tool:hover::before, .tool:focus-visible::before { opacity: 1; }
.tool:active { transform: translateY(-1px) scale(.99); }
.tool-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #f6f7fb;
  border: 1px solid hsl(var(--h) 68% 58% / .45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 3px hsl(var(--h) 68% 58% / .08);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s;
}
.tool-ico img { display: block; width: 24px; height: 24px; object-fit: contain; }
.tool:hover .tool-ico { transform: scale(1.06) rotate(-4deg); background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 4px hsl(var(--h) 68% 58% / .18); }
.tool-body { min-width: 0; flex: 1; }
.tool-name {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.015em; margin-bottom: 5px;
}
.tool-arrow { font-size: 15px; color: var(--dim); transition: color .28s, transform .28s; }
.tool:hover .tool-arrow { color: hsl(var(--h) 88% 76%); transform: translate(3px,-3px); }
.tool-desc { font-size: 12.8px; line-height: 1.58; color: var(--muted); margin: 0; }

/* ---------- Note ---------- */
.note {
  margin-top: 80px; padding: 28px 32px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(124,108,240,.10), rgba(56,189,248,.035));
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
}
.note::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,240,.12), transparent 70%); pointer-events: none;
}
.note h2 { font-family: var(--display); font-size: 18px; font-weight: 600; margin: 0 0 12px; letter-spacing: -.015em; }
.note p { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); line-height: 1.78; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--text); font-weight: 600; }

footer {
  text-align: center; color: var(--dim); font-size: 12px; padding: 48px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); margin-top: 56px; letter-spacing: .02em;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
img { max-width: 100%; height: auto; }

/* ---------- Rotating logo marquee ---------- */
.logo-marquee { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.marquee-head { text-align: center; margin-bottom: 24px; }
.section-eyebrow {
  display: inline-block; font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: #b9a8ff; text-transform: uppercase; margin-bottom: 10px;
}
.marquee-head h2, .showcase-head h2 {
  font-family: var(--display); font-size: clamp(21px, 2.8vw, 30px); font-weight: 700;
  letter-spacing: -.03em; margin: 0; line-height: 1.25;
}
.marquee-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 38s linear infinite; }
.marquee-window:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee-item {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center;
  background: #f6f7fb; border: 1px solid rgba(124,108,240,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px rgba(124,108,240,.12);
}
.marquee-item img {
  width: 30px; height: 30px; object-fit: contain;
  animation: iconTurn 5s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
@keyframes iconTurn {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-9deg) scale(1.07); }
  75% { transform: rotate(9deg) scale(1.07); }
}

/* ---------- Animated visual showcase ---------- */
.showcase { padding: 56px 0 4px; }
.showcase-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.showcase-head p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 12px 0 0; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.show-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.show-card:hover {
  transform: translateY(-4px); border-color: rgba(124,108,240,.45);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.show-card h3 { font-family: var(--display); font-size: 17px; font-weight: 700; margin: 15px 0 7px; letter-spacing: -.02em; }
.show-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }
.visual {
  position: relative; height: 150px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(140deg, #121426, #0b0d16); border: 1px solid rgba(255,255,255,.07);
}
.visual-glow {
  position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px;
  border-radius: 50%; background: radial-gradient(circle, rgba(124,108,240,.42), transparent 66%);
  animation: glowPulse 7s ease-in-out infinite;
}
.visual-glow.g2 { background: radial-gradient(circle, rgba(56,189,248,.38), transparent 66%); animation-delay: -2.5s; }
.float-logo {
  position: absolute; width: 48px; height: 48px; border-radius: 14px; background: #f6f7fb;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.35);
  animation: floatY 6s ease-in-out infinite; z-index: 2;
}
.float-logo img { width: 28px; height: 28px; object-fit: contain; }
.float-logo.f1 { left: 16%; top: 24%; }
.float-logo.f2 { left: 44%; top: 52%; animation-delay: -2s; }
.float-logo.f3 { left: 70%; top: 18%; animation-delay: -4s; }
.visual-bars { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 28px; }
.bar { position: relative; z-index: 2; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: var(--w); border-radius: 999px;
  background: linear-gradient(90deg, #7c6cf0, #38bdf8);
  animation: barPulse 4s ease-in-out infinite; animation-delay: var(--d);
}
.stack-card {
  position: absolute; left: 50%; top: 50%; width: 130px; height: 56px; margin: -28px 0 0 -65px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(124,108,240,.36), rgba(56,189,248,.14));
  animation: stackShift 6s ease-in-out infinite; z-index: 2;
}
.stack-card.s2 { animation-delay: -2s; }
.stack-card.s3 { animation-delay: -4s; }
.stack-arrow {
  position: absolute; right: 20px; bottom: 14px; z-index: 3;
  font-size: 26px; color: #a9e8ff; animation: arrowPulse 2.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.28); opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}
@keyframes barPulse {
  0%, 100% { opacity: .62; transform: scaleX(.84); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes stackShift {
  0%, 100% { transform: translate(0,0) rotate(0); }
  33% { transform: translate(10px,-8px) rotate(3deg); }
  66% { transform: translate(-8px,6px) rotate(-3deg); }
}
@keyframes arrowPulse {
  0%, 100% { transform: translate(0,0); opacity: .6; }
  50% { transform: translate(4px,-4px); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .stats { max-width: 540px; }
  .anchors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px 64px; }
  .anchors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .anchors a { font-size: 14px; min-height: 42px; padding: 10px 6px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .marquee-item { width: 52px; height: 52px; }
  .marquee-item img { width: 26px; height: 26px; }
  .topbar { padding: 12px 16px; }
  .brand { gap: 11px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 22px; }
  .hero { padding-top: 40px; }
  .brand-tag { display: none; }
  .tools { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 20px 18px; }
  .cat-head { gap: 13px; }
  .cat-no { width: 40px; height: 40px; font-size: 14px; border-radius: 11px; }
  .cat-rule { margin-left: 0; }
  .category::before { display: none; }
  .note { padding: 20px; }
  .tool { min-height: 86px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tool, .tool-ico, .anchors a { transition: none; }
  .marquee-track, .marquee-item img, .visual-glow, .float-logo, .bar i, .stack-card, .stack-arrow { animation: none; }
}


/* ---------- Sponsored placements ---------- */
.ad {
  margin: 72px 0 8px; border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid rgba(124,108,240,.28);
  background:
    radial-gradient(520px 200px at 88% 20%, rgba(124,108,240,.16), transparent 66%),
    radial-gradient(420px 200px at 8% 90%, rgba(56,189,248,.10), transparent 62%),
    linear-gradient(115deg, #0e1017, #0a0b10);
  box-shadow: 0 16px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.ad::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.ad-inner {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 24px;
  padding: 30px 34px;
}
.ad-badge {
  flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent2); border: 1px solid rgba(56,189,248,.35); border-radius: 999px; padding: 5px 12px;
  background: rgba(56,189,248,.08);
}
.ad-copy { flex: 1; min-width: 0; }
.ad-copy h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: -.025em; line-height: 1.2; margin: 0 0 8px; color: #fff;
}
.ad-copy p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; max-width: 620px; }
.ad-cta {
  flex: 0 0 auto; text-decoration: none; color: #fff; font-weight: 600; font-size: 13px;
  padding: 12px 22px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, #7c6cf0, #5b9df6);
  box-shadow: 0 8px 24px rgba(124,108,240,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.ad-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124,108,240,.5); }
.ad-cta:active { transform: translateY(0) scale(.98); }


/* ---------- Editor's Guides (deep content) ---------- */
.guides-wrap { margin-top: 84px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.guide {
  position: relative; padding: 26px 26px 22px; border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line); box-shadow: 0 10px 32px rgba(0,0,0,.28);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.guide:hover { transform: translateY(-3px); border-color: rgba(124,108,240,.45); box-shadow: 0 18px 42px rgba(0,0,0,.4); }
.guide-no { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent2); }
.guide h3 { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.28; letter-spacing: -.02em; margin: 12px 0 10px; }
.guide p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.guide details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.guide summary { cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--accent2); letter-spacing: .02em; min-height: 32px; display: flex; align-items: center; gap: 8px; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: "+"; font-size: 16px; line-height: 1; transition: transform .25s; }
.guide details[open] summary::after { transform: rotate(45deg); }
.guide-detail { margin-top: 12px; font-size: 13px; line-height: 1.72; color: var(--muted); }
.guide-detail strong { color: var(--text); font-weight: 600; }
.guide-tag { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: hsl(var(--h,262) 85% 78%); border: 1px solid hsl(var(--h,262) 70% 60% / .32); border-radius: 999px; padding: 4px 11px; }

/* ---------- Sponsorship (商业化) ---------- */
.sponsor-wrap { margin-top: 84px; }
.sponsor-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.sponsor-head .kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent2); }
.sponsor-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.03em; margin: 12px 0 10px; background: linear-gradient(110deg, #fff, #b9b0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sponsor-head p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; padding: 28px 26px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.26);
  display: flex; flex-direction: column;
}
.plan.featured { border-color: rgba(124,108,240,.5); background: linear-gradient(160deg, rgba(124,108,240,.12), rgba(124,108,240,.03)); box-shadow: 0 18px 44px rgba(124,108,240,.2), inset 0 1px 0 rgba(255,255,255,.08); }
.plan-flag { position: absolute; top: -11px; right: 20px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 5px 12px; border-radius: 999px; background: linear-gradient(120deg, #7c6cf0, #5b9df6); }
.plan-name { font-family: var(--display); font-weight: 600; font-size: 16px; margin: 0 0 6px; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 0 0 4px; }
.plan-price span { font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--body); }
.plan-note { font-size: 11.5px; color: var(--dim); margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { font-size: 13px; color: var(--muted); padding: 7px 0 7px 24px; position: relative; line-height: 1.5; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }
.plan-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 600; font-size: 13px; padding: 12px 20px; border-radius: 999px; min-height: 44px; border: 1px solid var(--line); background: rgba(255,255,255,.05); transition: transform .25s, background .25s, border-color .25s; }
.plan.featured .plan-cta { border-color: transparent; background: linear-gradient(120deg, #7c6cf0, #5b9df6); box-shadow: 0 8px 24px rgba(124,108,240,.3); }
.plan-cta:hover { transform: translateY(-2px); background: rgba(124,108,240,.2); border-color: rgba(124,108,240,.5); }
.sponsor-foot { text-align: center; margin-top: 22px; font-size: 12px; color: var(--dim); }

/* ---------- Disclosure ---------- */
.disclosure { margin-top: 56px; padding: 18px 22px; border-radius: 12px; border: 1px dashed var(--line); background: rgba(255,255,255,.02); font-size: 12px; line-height: 1.7; color: var(--dim); }
.disclosure strong { color: var(--muted); font-weight: 600; }

/* ---------- Guide teaser link (home) ---------- */
.guide-read {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: 12.5px; font-weight: 600; color: var(--accent2); text-decoration: none;
  letter-spacing: .01em; transition: color .2s, gap .2s;
}
.guide-read:hover { color: #fff; gap: 11px; }

/* ---------- Article pages ---------- */
.post { max-width: 780px; margin: 0 auto; }
.post-top { padding: 22px 0 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .2s; }
.back-link:hover { color: var(--accent2); }
.post-hero { padding: 46px 0 30px; border-bottom: 1px solid var(--line); }
.post-kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent2); }
.post h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.045em;
  font-size: clamp(32px, 5.5vw, 58px); line-height: 1.08; margin: 18px 0 18px;
  background: linear-gradient(112deg, #ffffff 4%, #d9d2ff 48%, #8fb8ff 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.post-dek { font-size: clamp(15px, 2vw, 18px); line-height: 1.75; color: var(--muted); margin: 0 0 20px; max-width: 720px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.post-body { padding: 8px 0 40px; }
.post-body h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(23px, 3.4vw, 31px);
  letter-spacing: -.03em; line-height: 1.24; margin: 54px 0 18px; scroll-margin-top: 90px;
}
.post-body h2::before { content: ""; display: block; width: 38px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2)); margin-bottom: 16px; }
.post-body h3 { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.35; margin: 34px 0 12px; color: var(--text); scroll-margin-top: 90px; }
.post-body p { color: var(--muted); font-size: 15.5px; line-height: 1.85; margin: 0 0 18px; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body ul, .post-body ol { color: var(--muted); font-size: 15px; line-height: 1.8; padding-left: 22px; margin: 0 0 20px; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--accent2); }
.post-body a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: #fff; }

.toc { border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; background: var(--panel); margin: 32px 0 12px; }
.toc-title { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--accent2); }

.callout { border-radius: 14px; padding: 20px 24px; margin: 26px 0; border: 1px solid rgba(124,108,240,.3); background: linear-gradient(120deg, rgba(124,108,240,.11), rgba(56,189,248,.03)); }
.callout .callout-k { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent2); }
.callout p { margin: 8px 0 0; font-size: 15px; color: var(--text); line-height: 1.75; }

.table-wrap { overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--line); border-radius: 14px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { font-family: var(--display); font-weight: 600; color: var(--text); background: rgba(255,255,255,.04); font-size: 13px; white-space: nowrap; }
table.compare tbody th { font-family: var(--display); font-weight: 600; color: var(--text); white-space: nowrap; }
table.compare td { color: var(--muted); line-height: 1.6; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }
table.compare td.best { color: #b9b0ff; font-weight: 600; }

.data-figure { margin: 26px 0 32px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0d0f16; }
.data-figure img { display: block; width: 100%; height: auto; }
.data-figure figcaption { padding: 13px 20px; font-size: 12px; color: var(--dim); line-height: 1.7; border-top: 1px solid var(--line); }

.proscons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 30px; }
.pc { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: var(--panel); }
.pc h4 { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.pc.pro h4 { color: #7fe0b0; }
.pc.con h4 { color: #ff9b9b; }
.pc ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
.pc li { margin-bottom: 7px; }

.pick { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 22px; margin: 16px 0; background: var(--panel); }
.pick h4 { font-family: var(--display); font-size: 15px; margin: 0 0 6px; color: var(--text); }
.pick p { margin: 0; font-size: 14px; }

.faq { margin-top: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; background: var(--panel); }
.faq summary { cursor: pointer; list-style: none; min-height: 52px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--accent2); font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.78; }

.affiliate-note { margin-top: 44px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 10px; font-size: 12px; color: var(--dim); line-height: 1.7; }
.post-foot { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--dim); }
.post-foot a { color: var(--accent2); text-decoration: none; font-weight: 600; }
.post-foot a:hover { color: #fff; }
.guide-index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 30px 0; }

@media (max-width: 640px) {
  .post-hero { padding-top: 32px; }
  .proscons { grid-template-columns: 1fr; }
  .post-body p, .post-body li { font-size: 14.5px; }
  .toc { padding: 18px 20px; }
}

.guide h3 a { color: inherit; text-decoration: none; }
.guide h3 a:hover { color: var(--accent2); }
.topnav { display: flex; gap: 20px; align-items: center; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; }
.topnav a:hover { color: #fff; }
.small { font-size: 12px !important; color: var(--dim) !important; }

/* ---------- Language switcher ---------- */
.lang-slot { position: relative; flex: 0 0 auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 12px;
  color: var(--text); font-family: var(--display); font-size: 12.5px; font-weight: 600;
  background: rgba(124,108,240,.10); border: 1px solid rgba(124,108,240,.32); border-radius: 10px;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.lang-btn:hover { border-color: rgba(124,108,240,.7); background: rgba(124,108,240,.2); transform: translateY(-1px); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--accent2); stroke-width: 1.6; }
.lang-short { min-width: 16px; text-align: center; }
.lang-caret { font-size: 10px; color: var(--dim); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 264px;
  background: #101219; border: 1px solid rgba(124,108,240,.34); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6); padding: 12px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu-title { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); padding: 4px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.lang-list { max-height: 320px; overflow-y: auto; scrollbar-width: thin; }
.lang-option {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 8px 9px; border: 0; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer;
  transition: background .16s;
}
.lang-option:hover { background: rgba(124,108,240,.14); }
.lang-option.active { background: rgba(124,108,240,.22); }
.lang-opt-short { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: #c7bdff; }
.lang-opt-names { display: flex; flex-direction: column; line-height: 1.3; }
.lang-opt-native { font-size: 13px; font-weight: 600; }
.lang-opt-label { font-size: 11px; color: var(--dim); }
.lang-check { margin-left: auto; color: #b9a8ff; opacity: 0; font-size: 13px; }
.lang-option.active .lang-check { opacity: 1; }
.lang-note { padding: 9px 8px 2px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 11px; color: var(--dim); line-height: 1.5; }
@media (max-width: 640px) {
  .lang-menu { right: -6px; width: min(88vw, 264px); }
  .lang-caret { display: none; }
}

/* ---------- ToolHub dropdown in anchor nav ---------- */
.nav-drop { position: relative; display: flex; min-width: 0; }
.nav-drop-trigger { position: relative; flex: 1 1 auto; min-width: 0; }
/* Featured ToolHub button: brighter gradient, glow and live tool-count badge */
.anchors .nav-drop .nav-drop-trigger {
  min-width: 0; overflow: hidden;
  border-color: rgba(255,176,92,.72);
  background: linear-gradient(120deg, #6d5cf0 0%, #a259f7 42%, #ec6f9c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 22px rgba(162,89,247,.42), 0 0 0 1px rgba(255,255,255,.05);
  color: #fff; font-weight: 800; letter-spacing: .01em;
  animation: toolhubPulse 3.2s ease-in-out infinite;
}
.anchors .nav-drop .nav-drop-trigger > span[data-i18n] {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.anchors .nav-drop .nav-drop-trigger:hover,
.anchors .nav-drop .nav-drop-trigger:focus-visible,
.nav-drop.open .nav-drop-trigger {
  color: #fff; border-color: rgba(255,205,140,.95);
  background: linear-gradient(120deg, #7c6cf5 0%, #b26bfa 42%, #f485ad 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 10px 30px rgba(236,111,156,.5), 0 0 24px rgba(255,176,92,.35);
  transform: translateY(-2px);
}
@keyframes toolhubPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 22px rgba(162,89,247,.42), 0 0 0 1px rgba(255,255,255,.05); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 28px rgba(236,111,156,.55), 0 0 20px rgba(255,176,92,.28), 0 0 0 1px rgba(255,255,255,.07); }
}
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-width: 19px; height: 19px; padding: 0 5px; margin-left: 2px;
  border-radius: 999px; background: rgba(255,255,255,.92); color: #7c3aed;
  font-family: var(--display); font-size: 10px; font-weight: 800; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
@media (prefers-reduced-motion: reduce) {
  .anchors .nav-drop .nav-drop-trigger { animation: none; }
}
.nav-caret { font-size: 11px; opacity: .8; margin-left: 4px; transition: transform .2s; display: inline-block; }
.nav-drop.open .nav-caret { transform: rotate(180deg); }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; z-index: 40;
  width: 268px; padding: 8px; border-radius: 14px;
  background: rgba(14,16,22,.97); border: 1px solid rgba(124,108,240,.4);
  box-shadow: 0 18px 46px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav-drop.open .nav-drop-menu, .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 11px; width: 100%; min-height: 0;
  padding: 9px 11px; border: 0; border-radius: 9px; text-align: left;
  background: transparent; box-shadow: none; text-shadow: none;
  font-size: 13px; font-weight: 500; color: #e8eaf5; transition: background .18s, color .18s;
}
.nav-drop-menu a:hover { transform: none; background: rgba(124,108,240,.2); color: #fff; box-shadow: none; border-color: transparent; }
.nav-drop-menu .nd-ico { font-size: 18px; width: 22px; text-align: center; flex: 0 0 auto; }
.nav-drop-menu img.nd-ico { width: 22px; height: 22px; object-fit: contain; border-radius: 6px; }
.nav-drop-menu .nd-brand { color: var(--accent2); font-weight: 700; }
.nav-drop-menu .nd-all {
  margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px;
  color: var(--accent2); font-weight: 600; justify-content: center; padding-top: 11px;
}
@media (max-width: 640px) {
  .nav-drop-menu { left: auto; right: 0; width: 240px; }
}


/* ---------- Legal pages ---------- */
.legal { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 8px 24px 24px; }
.legal h1 { font-family: var(--display); font-size: clamp(34px,5vw,54px); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 14px; color: #fff; }
.legal .legal-meta { color: var(--accent2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.legal .legal-lead { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 0 0 36px; }
.legal section { margin: 0 0 34px; }
.legal h2 { font-family: var(--display); font-size: 21px; font-weight: 600; color: #fff; margin: 0 0 12px; padding-top: 6px; }
.legal p, .legal li { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal strong { color: #dfe3f5; font-weight: 600; }
.legal a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-note { border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 28px; }
.legal .legal-note p { margin: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.legal-nav a { display: inline-flex; align-items: center; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12.5px; text-decoration: none; transition: border-color .18s, color .18s, background .18s; }
.legal-nav a:hover, .legal-nav a.active { border-color: rgba(124,108,240,.6); color: #fff; background: rgba(124,108,240,.12); }


/* ---------- Footer legal links ---------- */
footer .foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 10px; }
footer .foot-legal a { color: var(--muted); text-decoration: none; font-size: 12px; transition: color .18s; }
footer .foot-legal a:hover { color: var(--accent2); }
