/* ==========================================================================
   Vikunja 鏈墰澧炲己鐗?鈥?marketing site
   ========================================================================== */

:root {
  --blue: #1973ff;
  --blue-600: #0d5fd6;
  --blue-700: #0a4cab;
  --blue-050: #eef5ff;
  --blue-100: #dbe9ff;

  --ink: #0b1220;
  --text: #243047;
  --muted: #5c6b83;
  --line: #e4eaf3;
  --bg: #f6f9fd;
  --card: #ffffff;

  --green: #65bd39;
  --orange: #e19e3b;
  --red: #ef6969;
  --purple: #9d5cf6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .05), 0 4px 14px rgba(11, 18, 32, .05);
  --shadow: 0 14px 40px rgba(11, 18, 32, .09), 0 2px 8px rgba(11, 18, 32, .05);
  --shadow-lg: 0 40px 90px rgba(8, 30, 70, .18), 0 8px 24px rgba(11, 18, 32, .08);

  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: rgba(25, 115, 255, .18); }

:focus-visible {
  outline: 3px solid rgba(25, 115, 255, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: inset-block-start .2s ease;
}
.skip-link:focus { inset-block-start: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(228, 234, 243, .8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 17px; }
.brand-text span { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline-start: auto;
}
.site-nav a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue-600); text-decoration: none; border-bottom-color: var(--blue-100); }
.site-nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, #2a7dff 0%, var(--blue) 55%, #1167ea 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 115, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(25, 115, 255, .36), inset 0 1px 0 rgba(255, 255, 255, .22); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #c8d6ea; background: #fbfdff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding-inline: 10px;
}
.btn-ghost:hover { color: var(--blue-600); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue-600);
}
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover { text-decoration: none; }
.text-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background:
    radial-gradient(1000px 520px at 82% 4%, rgba(25, 115, 255, .13), transparent 64%),
    radial-gradient(760px 420px at 8% 0%, rgba(101, 189, 57, .08), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 115, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 115, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 76%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 9px;
  border: 1px solid #d7e6ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-sm);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(101, 189, 57, .16);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.13;
  letter-spacing: -.035em;
  color: var(--ink);
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(92deg, #1973ff 0%, #4a9bff 55%, #0a4cab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 22px;
  max-width: 590px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--muted);
}
.hero-lead strong { color: var(--text); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions .btn { min-height: 50px; padding-inline: 26px; font-size: 15.5px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); }

.hero-visual { position: relative; }

.browser {
  position: relative;
  border: 1px solid #dfe8f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-2.5deg) rotateX(1.2deg);
  transform-origin: center right;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(180deg, #fbfdff, #f3f7fc);
  border-bottom: 1px solid #e6edf7;
}
.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6159;
}
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  margin-inline-start: 8px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e6edf7;
  color: #7c8aa0;
  font-size: 10.5px;
  font-family: var(--mono);
  overflow: hidden;
  white-space: nowrap;
}
.browser img { width: 100%; }
.browser::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(228, 234, 243, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.float-card .ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--blue-050);
  color: var(--blue-600);
}
.float-card .ic svg { width: 17px; height: 17px; }
.float-card small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 500; }
.float-card--one { right: -14px; top: 9%; animation: float 7s ease-in-out infinite; }
.float-card--two { left: -22px; bottom: 8%; animation: float 8.5s ease-in-out infinite reverse; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* trust strip */
.trust-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 64px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
}
.trust-strip p { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b4a63;
  font-size: 14px;
  font-weight: 700;
}
.trust-items svg { width: 18px; height: 18px; color: var(--blue-600); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 92px 0; }
.section--tight { padding: 68px 0; }
.section--soft { background: var(--bg); }
.section--white { background: #fff; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.section-head.center .kicker::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head h2,
h2.section-head {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 800;
}
.section-head .lead {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* value cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.value-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 115, 255, .1), transparent 68%);
}
.value-card .num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.value-card h3 { font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.value-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 18, 32, .02);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cfe0f8;
  box-shadow: var(--shadow);
}
.feature-card .icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(160deg, var(--blue-050), #fff);
  border: 1px solid #dceaff;
  color: var(--blue-600);
}
.feature-card .icon-box svg { width: 23px; height: 23px; }
.feature-card h3 { font-size: 17.5px; color: var(--ink); letter-spacing: -.01em; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f2f6fc;
  color: #54657e;
  font-size: 11.5px;
  font-weight: 700;
}
.tag--green { background: #edf8e7; color: #3c7a1e; }
.tag--blue { background: var(--blue-050); color: var(--blue-700); }
.tag--purple { background: #f4edff; color: #6b35bd; }
.tag--orange { background: #fdf3e3; color: #96611a; }
.tag--red { background: #fdeeee; color: #a93131; }

/* --------------------------------------------------------------------------
   Enhancement section
   -------------------------------------------------------------------------- */

.enhance-wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: 44px;
  align-items: start;
}
.enhance-copy { position: sticky; top: 104px; }
.enhance-copy .stat-row {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.enhance-copy .stat-row strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.enhance-copy .stat-row span { color: var(--muted); font-size: 12.5px; font-weight: 600; }

.enhance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.enhance-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.enhance-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 16px;
}
.enhance-card h3 svg { width: 18px; height: 18px; color: var(--blue-600); }
.enhance-card ul { display: grid; gap: 8px; }
.enhance-card li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.enhance-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-100);
  box-shadow: 0 0 0 2px #f4f9ff;
}
.enhance-card li strong { color: var(--text); font-weight: 700; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.gallery-tab {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.gallery-tab:hover { border-color: #c8d6ea; color: var(--text); }
.gallery-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 18, 32, .18);
}

.gallery-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.gallery-frame img {
  width: 100%;
  background: #f4f7fb;
  transition: opacity .25s ease;
}
.gallery-frame.is-switching img { opacity: .35; }
.gallery-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
  color: var(--muted);
  font-size: 13px;
}
.gallery-caption strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Download
   -------------------------------------------------------------------------- */

.download-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(65, 143, 255, .35), transparent 60%),
    radial-gradient(700px 420px at 4% 100%, rgba(101, 189, 57, .16), transparent 60%),
    linear-gradient(135deg, #071225 0%, #0b1d3c 55%, #0a2a5c 100%);
}
.download-section .section-head h2 { color: #fff; }
.download-section .section-head .lead { color: #b9c9e2; }
.download-section .kicker { color: #7fb4ff; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.download-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}
.download-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .24);
}
.download-card .dc-head { display: flex; align-items: center; gap: 12px; }
.download-card .dc-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 180, 255, .14);
  border: 1px solid rgba(127, 180, 255, .25);
  color: #9cc6ff;
}
.download-card .dc-icon svg { width: 22px; height: 22px; }
.download-card h3 { font-size: 18px; color: #fff; }
.download-card .dc-sub { color: #93a8c8; font-size: 12px; font-weight: 600; }
.download-card p { color: #b9c9e2; font-size: 13.5px; line-height: 1.75; }
.download-card .dc-meta {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .07);
  color: #9fb3d2;
  font-size: 11.5px;
  font-family: var(--mono);
  word-break: break-all;
}
.download-card .dc-meta b { color: #dbe8fb; font-weight: 600; }
.download-card .btn { width: 100%; margin-top: auto; }
.download-card .btn-secondary {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.download-card .btn-secondary:hover { background: rgba(255, 255, 255, .16); }

.download-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 14px;
  color: #9fb3d2;
  font-size: 12.5px;
}
.download-note code { color: #dbe8fb; font-family: var(--mono); font-size: 11.5px; }

/* --------------------------------------------------------------------------
   Quick start / code
   -------------------------------------------------------------------------- */

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}
.code-card {
  border: 1px solid #22375c;
  border-radius: var(--radius);
  background: #0b1526;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px 0;
  border-bottom: 1px solid #1a2b48;
  background: #0e1b31;
}
.code-tab {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: #8197b8;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.code-tab[aria-selected="true"] { background: #0b1526; color: #dbe8fb; }
.code-body { position: relative; }
.code-body pre {
  margin: 0;
  padding: 22px 20px;
  overflow-x: auto;
  color: #c8d8f2;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  tab-size: 2;
}
.code-body .copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #263c60;
  border-radius: 7px;
  background: #10213a;
  color: #9fb3d2;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.code-body .copy-btn:hover { color: #fff; border-color: #3b5985; }
.code-body .copy-btn svg { width: 13px; height: 13px; }
.code-panel[hidden] { display: none; }

.start-points { display: grid; gap: 18px; margin-top: 26px; }
.start-points li { display: flex; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.start-points .check {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #edf8e7;
  color: #3c7a1e;
}
.start-points .check svg { width: 14px; height: 14px; }
.start-points strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Changelog
   -------------------------------------------------------------------------- */

.cl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 22px;
}
.cl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-filter {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.cl-filter:hover { border-color: #c8d6ea; color: var(--text); }
.cl-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cl-count { color: var(--muted); font-size: 12.5px; }

.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #cfe0f8, #eef2f8 80%, transparent);
}
.cl-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f3f8;
}
.cl-item:last-child { border-bottom: 0; }
.cl-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--blue);
  box-shadow: 0 0 0 2px #dceaff;
}
.cl-item[data-tag="淇"]::before { background: var(--orange); box-shadow: 0 0 0 2px #f8e8cd; }
.cl-item[data-tag="浼樺寲"]::before { background: var(--purple); box-shadow: 0 0 0 2px #e9ddff; }
.cl-date { color: #8a99af; font-size: 12.5px; font-family: var(--mono); line-height: 1.9; }
.cl-body { color: var(--text); font-size: 14px; line-height: 1.7; }
.cl-tag {
  display: inline-flex;
  align-items: center;
  margin-inline-end: 8px;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .02em;
  vertical-align: 1px;
  background: #eaf2ff;
  color: #1660d0;
}
.cl-item[data-tag="淇"] .cl-tag { background: #fdf0dd; color: #9a6416; }
.cl-item[data-tag="浼樺寲"] .cl-tag { background: #f1e9ff; color: #6b35bd; }
.cl-more { margin-top: 26px; }
.cl-empty { padding: 30px 0; color: var(--muted); text-align: center; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { max-width: 880px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: #cfe0f8; box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid #8a99af;
  border-bottom: 2px solid #8a99af;
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item .faq-a { padding: 0 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.faq-item .faq-a a { font-weight: 700; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  background: linear-gradient(135deg, #0b1d3c 0%, #123a78 60%, #1973ff 130%);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  background: url("../img/logo.svg") center / contain no-repeat;
  opacity: .07;
  transform: rotate(-8deg);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.24;
  letter-spacing: -.03em;
}
.cta-inner p { margin-top: 12px; color: #c3d2e9; font-size: 15.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .btn-secondary { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .17); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 56px 0 30px;
  background: #081120;
  color: #93a8c8;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 16px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-about { margin-top: 14px; max-width: 360px; line-height: 1.8; }
.footer-col h3 { margin-bottom: 12px; color: #dbe8fb; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: #93a8c8; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  color: #6f86a8;
  font-size: 12px;
}
.footer-bottom a { color: #9fb3d2; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-visual { max-width: 720px; }
  .browser { transform: none; }
  .value-grid, .feature-grid, .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .enhance-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .enhance-copy { position: static; }
  .start-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(11, 18, 32, .14);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 6px; border-bottom: 1px solid #f0f3f8; font-size: 15px; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 24px rgba(25, 115, 255, .26);
  }
  .site-nav .nav-cta:hover { background: var(--blue-600); border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); }
  .hero-lead { font-size: 16px; }
  .float-card { display: none; }
  .section { padding: 70px 0; }
  .value-grid, .feature-grid, .download-grid, .enhance-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-strip { margin-top: 40px; }
  .timeline { padding-left: 18px; }
  .cl-item { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .cl-date { font-size: 11.5px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 8px 14px; }
  .browser-bar { height: 32px; }
  .trust-items { gap: 8px 16px; }
  .trust-items span { font-size: 12.5px; }
  .enhance-copy .stat-row { gap: 20px; }
  .cl-item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cl-date { font-size: 11px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

