/* =========================================================
   资源帮Pro 官网样式 / styles.css
   Brand: 紫粉渐变 #7C3AED -> #E11D48
   No build step. No external font. CDN-free.
   ========================================================= */

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

:root {
  --brand-50: #FAF5FF;
  --brand-100: #F3E8FF;
  --brand-200: #E9D5FF;
  --brand-400: #A78BFA;
  --brand-500: #8B5CF6;
  --brand-600: #7C3AED;
  --brand-700: #6D28D9;
  --pink-500: #EC4899;
  --pink-600: #DB2777;
  --rose-600: #E11D48;
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;
  --paper:   #FFFFFF;
  --bg:      #FBFAFE;

  --grad-brand: linear-gradient(135deg, #7C3AED 0%, #A855F7 45%, #E11D48 100%);
  --grad-soft: linear-gradient(135deg, #F5F3FF 0%, #FCE7F3 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -10px rgba(124, 58, 237, 0.18), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px -24px rgba(124, 58, 237, 0.35), 0 8px 24px -16px rgba(225, 29, 72, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1180px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", "Inter", Roboto, "Hiragino Sans GB", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink-800);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-700);
  text-decoration: none;
}
a:hover { color: var(--brand-600); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
p  { margin: 0 0 12px; color: var(--ink-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(64px, 9vw, 112px) 0;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 { margin-top: 16px; }
.section-head p {
  color: var(--ink-500);
  font-size: 16px;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink-900);
  font-size: 17px;
  letter-spacing: 0.01em;
}
.nav__brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav__brand-pro {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav__links a:hover { background: var(--ink-100); color: var(--ink-900); }
.nav__links a.is-active { color: var(--brand-700); background: var(--brand-100); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); color: #fff !important; }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-800);
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink-800);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top:  6px; }

@media (max-width: 880px) {
  .nav__links,
  .nav__cta-wrap { display: none; }
  .nav__burger { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 24px 22px;
    gap: 4px;
    border-bottom: 1px solid var(--ink-200);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__links a { width: 100%; padding: 12px 14px; }
  .nav.is-open .nav__cta-wrap {
    display: block;
    position: absolute;
    top: calc(var(--nav-h) + 1px);
    right: 24px;
  }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(72px, 10vw, 128px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.32), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 30% auto auto -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.22), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
/* Hero now uses a vertical layout: centered copy on top, two phone screens below */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero__copy--centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.hero__copy--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}
.hero__copy--centered .hero__chips,
.hero__copy--centered .hero__ctas {
  justify-content: center;
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.018em;
}
.hero__title-line {
  display: block;
}
.hero__title-line--2 {
  white-space: nowrap;
}
@media (max-width: 880px) {
  .hero__title { font-size: clamp(28px, 5.5vw, 40px); }
}
@media (max-width: 640px) {
  .hero__title-line--2 { white-space: normal; }
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-600);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero__chip b { color: var(--brand-700); font-weight: 700; }

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn--ghost {
  background: #fff;
  color: var(--ink-800);
  border-color: var(--ink-200);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--brand-400); color: var(--brand-700); }

.hero__note {
  font-size: 13px;
  color: var(--ink-500);
}

/* 移动端：标题强制 2 行 + CTA 单行并排 */
@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-top: 14px;
  }
  .hero__subtitle {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .hero__chips {
    gap: 8px;
    margin-bottom: 22px;
  }
  .hero__chip {
    padding: 6px 12px;
    font-size: 12px;
  }
  .hero__ctas {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero__ctas .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 12px;
    font-size: 13px;
    gap: 6px;
  }
}

/* ============================================================
   Hero phone mockup — two side-by-side phones
   ============================================================ */
.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__mockup--dual {
  margin-top: clamp(48px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
}
@media (max-width: 720px) {
  .hero__mockup--dual { gap: 24px; }
}

.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
  border-radius: 40px;
  padding: 16px 12px;
  box-shadow:
    0 30px 60px -20px rgba(124, 58, 237, 0.45),
    0 60px 120px -40px rgba(225, 29, 72, 0.32),
    inset 0 0 0 2px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.15);
  flex-shrink: 0;
}
.phone--ai {
  box-shadow:
    0 30px 60px -20px rgba(236, 72, 153, 0.42),
    0 60px 120px -40px rgba(124, 58, 237, 0.32),
    inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  background: var(--ink-900);
  border-radius: 999px;
  z-index: 2;
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, #FAFAFF 0%, #F3F0FA 100%);
  overflow: hidden;
  padding: 38px 10px 14px;
  display: flex;
  flex-direction: column;
}

.phone__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.phone__brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
}
.phone__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  flex: 1;
}
.phone__brand-text b {
  font-size: 12.5px;
  color: var(--ink-900);
  font-weight: 700;
}
.phone__brand-text span {
  font-size: 9.5px;
  color: var(--ink-500);
  margin-top: 2px;
}

.phone__tag {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}
.phone__tag--data { background: linear-gradient(135deg, #4A90E2, #7C3AED); }
.phone__tag--ai   { background: linear-gradient(135deg, #DB2777, #E11D48); }

.phone__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 7px;
  flex: 1;
  min-height: 0;
}

.phone__cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 10px 9px;
  border-radius: 12px;
  background: var(--cell-bg, #fff);
  box-shadow: 0 6px 14px -8px rgba(15, 23, 42, 0.18);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.phone__cell::before,
.phone__cell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--cell-accent, var(--cell-color, var(--brand-400)));
  pointer-events: none;
}
/* Outer decorative blob — soft glow extending outside card */
.phone__cell::before {
  bottom: -68px;
  right: -56px;
  width: 150px;
  height: 150px;
  opacity: 0.08;
}
/* Inner decorative blob — half-inside card */
.phone__cell::after {
  bottom: -30px;
  right: -6px;
  width: 72px;
  height: 72px;
  opacity: 0.13;
}

/* Icon: direct image (no white wrapper, matches APP) */
.phone__ico-img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
/* SVG icon — used for AI cards + filler */
.phone__ico-svg {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cell-accent, var(--brand-500));
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.phone__ico-svg svg {
  width: 100%;
  height: 100%;
}

.phone__cell .t {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  max-width: 100%;
  /* allow up to 2 lines, then ellipsis */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}
.phone__cell .d {
  margin-top: 2px;
  font-size: 9px;
  color: #686868;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

/* APP-style red gradient corner badge */
.phone__badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 7px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  background: linear-gradient(135deg, #ff7a45 0%, #ff4d4f 100%);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(255, 77, 79, 0.3);
  z-index: 3;
  white-space: nowrap;
}

/* "More" filler cell: center-aligned, lower visual weight */
.phone__cell--more {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.phone__cell--more .t,
.phone__cell--more .d {
  text-align: center;
}

/* ----------------------------------------------------------
   AI phone — taller cards, distribute content vertically
   so each card looks balanced (no large empty bottom area)
   ---------------------------------------------------------- */
.phone--ai .phone__ico-img,
.phone--ai .phone__ico-svg {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.phone--ai .phone__cell { padding: 12px 11px 11px; }
.phone--ai .phone__cell .t { font-size: 12.5px; }
.phone--ai .phone__cell .d {
  font-size: 9.5px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* Distribute vertical space: icon top, title+desc clustered,
   CTA pinned to bottom. Two `margin-top: auto` divide free
   space evenly so the layout doesn't look top-heavy. */
.phone--ai .phone__cell:not(.phone__cell--more) .t {
  margin-top: auto;
}

/* CTA hint pill at the bottom of each real AI card */
.phone__cta-hint {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px 4px 10px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  color: var(--cell-accent, var(--brand-600));
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.12);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.phone__cta-arrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-0.5px);
}

/* Slight visual upgrade for the "more" filler so it doesn't look empty */
.phone__cell--more .phone__ico-svg {
  width: 30px;
  height: 30px;
  opacity: 0.9;
}
.phone__cell--more .t,
.phone__cell--more .d {
  opacity: 0.78;
}

/* ===================== About ===================== */
.about {
  background: linear-gradient(180deg, transparent 0%, var(--ink-50) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
}
.about__card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about__card h3 { margin-bottom: 10px; }
.about__card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 18px;
}

/* ===================== Feature Grid ===================== */
.features {
  background: #fff;
}
.feat-group {
  margin-bottom: 80px;
}
.feat-group:last-child { margin-bottom: 0; }

.feat-group__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.feat-group__bar {
  width: 6px;
  height: 28px;
  border-radius: 4px;
  background: var(--grad-brand);
}
.feat-group__title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.2;
}
.feat-group__sub {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 4px;
}
.feat-group__tag {
  margin-left: auto;
  padding: 6px 12px;
  background: var(--ink-100);
  color: var(--ink-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--card-bg, #fff);
  border: 1.5px solid var(--card-border, var(--ink-200));
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
}
.feat-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--card-accent, var(--brand-500));
  opacity: 0.08;
  transition: transform 0.3s, opacity 0.3s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px var(--card-accent, var(--brand-500));
  border-color: var(--card-accent, var(--brand-500));
}
.feat-card:hover::before {
  transform: scale(1.15);
  opacity: 0.18;
}
.feat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.feat-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
}
.feat-card__icon img { width: 38px; height: 38px; }
.feat-card__badge {
  padding: 4px 10px;
  background: var(--card-accent, var(--brand-500));
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.feat-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  position: relative;
  z-index: 1;
}
.feat-card__desc {
  font-size: 13.5px;
  color: var(--ink-600);
  margin: 0;
  position: relative;
  z-index: 1;
  flex: 1;
}
.feat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--card-accent, var(--brand-700));
  position: relative;
  z-index: 1;
}
.feat-card__more::after {
  content: "→";
  transition: transform 0.2s;
}
.feat-card:hover .feat-card__more::after { transform: translateX(3px); }

/* ===================== Detail Sections ===================== */
.detail-block {
  padding: 56px 0;
  border-bottom: 1px dashed var(--ink-200);
}
.detail-block:last-child { border-bottom: 0; }
.detail-block__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .detail-block__inner { grid-template-columns: 1fr; gap: 24px; }
}
.detail-side {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 880px) {
  .detail-side { position: static; }
}
.detail-side__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.detail-side__icon img { width: 52px; height: 52px; }
.detail-side__accent {
  height: 4px;
  width: 48px;
  background: var(--accent, var(--brand-600));
  border-radius: 2px;
}
.detail-side h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0;
}
.detail-side__lead {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0;
}
.detail-side__badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 12px;
  background: var(--accent, var(--brand-600));
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) {
  .detail-body { grid-template-columns: 1fr; }
}
.detail-panel {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.detail-panel:hover {
  transform: translateY(-2px);
  border-color: var(--accent, var(--brand-400));
  box-shadow: var(--shadow-md);
}
.detail-panel h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent, var(--brand-700));
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.detail-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-panel li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.55;
}
.detail-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--brand-500));
  opacity: 0.6;
}
.detail-panel--how p {
  font-size: 14px;
  color: var(--ink-700);
  margin: 0;
}
.detail-panel--how .steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-panel--how .step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.detail-panel--how .step__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent, var(--brand-600));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.detail-panel--how .step__txt {
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.5;
}

/* ===================== Trust ===================== */
.trust {
  background: var(--ink-50);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust__grid { grid-template-columns: 1fr; } }
.trust__card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.trust__card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 16px;
}
.trust__card h4 { font-size: 16px; margin: 0 0 8px; }
.trust__card p { font-size: 13.5px; color: var(--ink-500); margin: 0; }

/* ===================== FAQ ===================== */
.faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq__item[open] {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-md);
}
.faq__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-900);
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand-600);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq__item[open] .faq__summary::after { transform: rotate(45deg); }
.faq__body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.7;
}

/* ===================== Download CTA ===================== */
.download {
  background: var(--grad-brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.download::before,
.download::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.download::before {
  top: -20%; left: -10%;
  width: 50%; height: 80%;
  background: rgba(255, 255, 255, 0.18);
}
.download::after {
  bottom: -30%; right: -10%;
  width: 60%; height: 90%;
  background: rgba(225, 29, 72, 0.4);
}
.download__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .download__inner { grid-template-columns: 1fr; text-align: center; }
}
.download h2 { color: #fff; }
.download p { color: rgba(255, 255, 255, 0.88); font-size: 16px; }
.download .btn--primary {
  background: #fff;
  color: var(--brand-700);
}
.download .btn--primary:hover { color: var(--brand-700); }
.download .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.download .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: #fff; }

.download__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 16px; }
@media (max-width: 880px) { .download__ctas { justify-content: center; } }
.download__note { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

.qr {
  justify-self: end;
  width: 240px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  color: var(--ink-700);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 880px) { .qr { justify-self: center; } }
.qr__img {
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  background:
    linear-gradient(45deg, rgba(15, 23, 42, 0.04) 25%, transparent 25%, transparent 75%, rgba(15, 23, 42, 0.04) 75%, rgba(15, 23, 42, 0.04)),
    linear-gradient(45deg, rgba(15, 23, 42, 0.04) 25%, transparent 25%, transparent 75%, rgba(15, 23, 42, 0.04) 75%, rgba(15, 23, 42, 0.04)),
    #F8FAFC;
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  border: 2px dashed var(--ink-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.qr__cap { font-size: 13px; font-weight: 600; color: var(--ink-700); margin: 0; }
.qr__sub { font-size: 12px; color: var(--ink-500); margin-top: 4px; }

/* ===================== Footer ===================== */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 56px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.footer__brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer__about { font-size: 13.5px; color: var(--ink-400); max-width: 320px; line-height: 1.7; margin: 0; }
.footer__col h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-100);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--ink-400);
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-500);
}

/* ===================== Back to top ===================== */
.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: 0;
  font-size: 20px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 40;
}
.totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===================== Doc page (privacy / terms) ===================== */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 24px;
}
.doc h1 { margin-bottom: 8px; }
.doc__lead {
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 36px;
}
.doc h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 14px;
}
.doc p, .doc li { color: var(--ink-700); font-size: 15px; line-height: 1.85; }
.doc ul { padding-left: 22px; }
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 600;
}
.doc__back::before { content: "←"; }
