/* Base */
:root{
  --bg: #ffffff;
  --panel: rgba(255,255,255,0.86);
  --panel-2: rgba(255,255,255,0.94);
  --text: rgba(17,24,39,0.96);
  --muted: rgba(55,65,81,0.78);
  --line: rgba(17,24,39,0.12);
  --brand: #5eead4;
  --brand-2: #60a5fa;
  --brand-deep: #0b57d0;
  --shadow: 0 18px 60px rgba(17,24,39,0.12);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1100px 640px at 14% 10%, rgba(96,165,250,0.18), transparent 60%),
    radial-gradient(1100px 640px at 86% 16%, rgba(94,234,212,0.14), transparent 62%),
    radial-gradient(1100px 640px at 55% 96%, rgba(167,139,250,0.10), transparent 64%),
    linear-gradient(180deg, #ffffff, #f6f8ff 45%, #ffffff);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }

.container{
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.topbar{
  padding: 22px 0 16px;
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: grid;
  gap: 4px;
}

.brand-title-row{
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-title{
  font-weight: 950;
  letter-spacing: 1px;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.08;
  color: var(--brand-deep);
  text-shadow: 0 10px 24px rgba(11,87,208,0.12);
}

.brand-version{
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: rgba(11,87,208,0.78);
  transform: translateY(6px);
}

.brand-sub{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  cursor: pointer;
  user-select: none;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.96);
  border-color: rgba(17,24,39,0.18);
}
.btn:active{
  transform: translateY(0px);
}
.btn-primary{
  border-color: rgba(59,130,246,0.35);
  background: linear-gradient(90deg, rgba(96,165,250,0.26), rgba(94,234,212,0.22));
}
.btn-primary:hover{
  border-color: rgba(59,130,246,0.55);
}

.btn-lg{
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 800;
}

/* Hero */
.hero{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.70);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.hero.hero-hover{
  transform: translateY(-6px);
  border-color: rgba(11,87,208,0.20);
  box-shadow:
    0 22px 60px rgba(11,87,208,0.12),
    0 8px 22px rgba(17,24,39,0.06);
}

.hero-media{
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  background:
    radial-gradient(900px 420px at 12% 35%, rgba(96,165,250,0.18), transparent 62%),
    radial-gradient(900px 420px at 88% 55%, rgba(94,234,212,0.14), transparent 64%),
    linear-gradient(135deg, rgba(255,255,255,0.90), rgba(255,255,255,0.65));
  position: relative;
  overflow: hidden;
}

/* If you later replace with <img>, keep it covering */
.hero-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 50%;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: none;
  pointer-events: none;
}

.hero-title{
  text-align: center;
  font-weight: 1000;
  letter-spacing: 1px;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.08;
  color: #000;
  padding: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-text-stroke: 0.7px rgba(0,0,0,0.16);
  text-shadow:
    0 10px 30px rgba(0,0,0,0.22),
    0 2px 10px rgba(0,0,0,0.16);
}

.hero-cta{
  position: absolute;
  right: 20px;
  bottom: 20px;
}

/* Sections */
.sections{
  padding: 22px 0 44px;
  display: grid;
  gap: 18px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 22px 70px rgba(11,87,208,0.08), 0 16px 48px rgba(17,24,39,0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.card:hover{
  transform: translateY(-6px);
  border-color: rgba(11,87,208,0.18);
  box-shadow:
    0 30px 90px rgba(11,87,208,0.12),
    0 18px 54px rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.86);
}

.card-intro .card-header{
  border-bottom: none;
  background: transparent;
  padding-bottom: 0;
}
.card-intro .card-body{
  padding-top: 16px;
}

.card-intro .prose{
  margin-top: 6px;
}

.card-header{
  padding: 16px 18px 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(17,24,39,0.08);
  background:
    radial-gradient(900px 240px at 18% 0%, rgba(96,165,250,0.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
  position: relative;
}

.card-title{
  position: relative;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0.8px;
  color: rgba(11,87,208,0.96);
  text-shadow: 0 12px 28px rgba(11,87,208,0.10);
}

.card-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,87,208,0.85), rgba(94,234,212,0.70));
  opacity: 0.9;
}

.card-note{
  color: var(--muted);
  font-size: 13px;
}

.card-body{
  padding: 16px 18px 18px;
}

.prose{
  max-width: none;
  color: rgba(30,41,59,0.84);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.1px;
  text-rendering: optimizeLegibility;
}

.prose-empty{
  min-height: 8px;
}
.prose p{
  margin: 0 0 12px;
  text-indent: 2em;
}
.prose p:last-child{
  margin-bottom: 16px;
}

.prose.is-clamped{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.prose-actions{
  display: flex;
  justify-content: flex-end;
  margin: 6px 0 10px;
}

.btn-ghost{
  background: rgba(255,255,255,0.6);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.95);
}

.grid-2{
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 16px;
  align-items: stretch;
}

.media-img{
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(11,87,208,0.14);
  box-shadow: 0 18px 50px rgba(11,87,208,0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.media-box{
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 14px;
  background: rgba(255,255,255,0.40);
  border: 1px dashed rgba(11,87,208,0.18);
}

.card-works .intro-right-title{
  min-height: 28px;
}
.card-works .intro-point-badge{
  min-width: 34px;
}
.card-works .intro-point-title{
  min-height: 20px;
  flex: 1;
}
.card-works .intro-point-body{
  min-height: 46px;
}
.media-img:hover{
  transform: translateY(-6px);
  border-color: rgba(11,87,208,0.26);
  box-shadow:
    0 22px 60px rgba(11,87,208,0.14),
    0 6px 18px rgba(17,24,39,0.06);
}

.intro-right{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.intro-right-title{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0.8px;
  color: rgba(11,87,208,0.96);
  margin: 0 0 12px;
}

.intro-points{
  display: grid;
  gap: 12px;
  flex: 1;
}

.intro-point{
  padding: 16px 18px;
  border-radius: 14px;
  background:
    radial-gradient(600px 240px at 18% 0%, rgba(96,165,250,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72));
  border: 1px solid rgba(11,87,208,0.10);
  box-shadow: 0 14px 34px rgba(11,87,208,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.intro-point:hover{
  transform: translateY(-6px);
  border-color: rgba(11,87,208,0.22);
  box-shadow:
    0 22px 60px rgba(11,87,208,0.14),
    0 6px 18px rgba(17,24,39,0.06);
  background:
    radial-gradient(700px 260px at 18% 0%, rgba(96,165,250,0.24), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
}

.intro-point:focus-within{
  transform: translateY(-6px);
  border-color: rgba(11,87,208,0.24);
  box-shadow:
    0 22px 60px rgba(11,87,208,0.14),
    0 6px 18px rgba(17,24,39,0.06);
}

.intro-point-head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.intro-point-badge{
  width: 34px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.96);
  background: linear-gradient(90deg, rgba(11,87,208,0.92), rgba(37,99,235,0.82));
  border: 1px solid rgba(11,87,208,0.18);
}

.intro-point-title{
  font-weight: 950;
  letter-spacing: 0.3px;
  color: rgba(17,24,39,0.92);
  font-size: 17px;
}

.intro-point-body{
  color: rgba(30,41,59,0.84);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.1px;
  text-rendering: optimizeLegibility;
  text-indent: 2em;
}

.placeholder-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px dashed rgba(17,24,39,0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.72));
  display: grid;
  place-items: center;
  color: rgba(17,24,39,0.55);
  font-weight: 700;
  letter-spacing: 0.3px;
  user-select: none;
}

.text-placeholder{
  display: grid;
  gap: 10px;
}

.line{
  height: 14px;
  border-radius: 999px;
  background: rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.06);
}
.line.w-90{ width: 90%; }
.line.w-78{ width: 78%; }
.line.w-66{ width: 66%; }
.line.w-56{ width: 56%; }

.footer{
  padding: 16px 0 32px;
  color: rgba(17,24,39,0.55);
  font-size: 12px;
}

/* Secondary pages */
.page{
  padding: 10px 0 44px;
}
.page h1{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.4px;
  font-weight: 900;
}
.page p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* Guide page */
.guide-content{
  color: rgba(30,41,59,0.86);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.1px;
}
.guide-content p{
  margin: 10px 0;
  text-indent: 0;
}
.guide-content a{
  color: rgba(11,87,208,0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-content ol{
  margin: 10px 0 10px 22px;
  padding: 0;
}
.guide-content blockquote{
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 3px solid rgba(11,87,208,0.22);
  background: rgba(96,165,250,0.08);
  border-radius: 12px;
}

.guide-step{
  border-radius: 18px;
  border: 1px solid rgba(11,87,208,0.10);
  background:
    radial-gradient(900px 260px at 18% 0%, rgba(96,165,250,0.10), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  box-shadow: 0 18px 54px rgba(11,87,208,0.08);
  padding: 14px 16px 16px;
  margin: 14px 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.guide-step:hover,
.guide-step:focus-within{
  transform: translateY(-6px);
  border-color: rgba(11,87,208,0.18);
  box-shadow:
    0 26px 78px rgba(11,87,208,0.12),
    0 12px 30px rgba(17,24,39,0.06);
  background:
    radial-gradient(900px 280px at 18% 0%, rgba(96,165,250,0.14), transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
}

.guide-step-head{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(11,87,208,0.08);
  margin-bottom: 10px;
}

.guide-step-badge{
  width: 44px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.96);
  background: linear-gradient(90deg, rgba(11,87,208,0.92), rgba(37,99,235,0.82));
  box-shadow: 0 14px 34px rgba(11,87,208,0.14);
}

.guide-step-title{
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.6px;
  color: rgba(11,87,208,0.96);
}

.guide-step-body{
  padding-top: 2px;
}

.guide-step-body p{
  text-indent: 2em;
}

.guide-substep{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(11,87,208,0.08);
  box-shadow: 0 14px 32px rgba(11,87,208,0.06);
  margin: 12px 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.guide-substep:hover,
.guide-substep:focus-within{
  transform: translateY(-4px);
  border-color: rgba(11,87,208,0.16);
  box-shadow:
    0 22px 56px rgba(11,87,208,0.10),
    0 10px 24px rgba(17,24,39,0.05);
  background: rgba(255,255,255,0.86);
}

.guide-substep-title{
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(17,24,39,0.92);
  margin-bottom: 4px;
}
.guide-content img{
  width: min(900px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 14px auto;
  border-radius: 14px;
  border: 1px solid rgba(11,87,208,0.12);
  box-shadow: 0 16px 44px rgba(11,87,208,0.10);
  background: rgba(255,255,255,0.70);
}

.guide-content img.guide-img-sm{
  width: min(560px, 100%);
}

.guide-content img.guide-img-tall{
  height: 500px;
  object-fit: contain;
}

.guide-content p > img{
  display: block;
  margin: 14px auto;
}

.guide-img-row{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: min(900px, 100%);
  margin: 14px auto;
}
.guide-img-row img{
  flex: 1;
  width: 100%;
  margin: 0;
}

.guide-figure{
  flex: 1;
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.70));
  border: 1px solid rgba(11,87,208,0.10);
  box-shadow: 0 14px 36px rgba(11,87,208,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-figure img{
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  margin: 0;
}

@media (max-width: 820px){
  .guide-img-row{
    flex-direction: column;
  }
  .guide-img-row img{
    width: 100%;
  }
  .guide-content img.guide-img-tall{
    height: auto;
  }
  .guide-step{
    padding: 12px 12px 14px;
  }
}

/* Responsive */
@media (max-width: 820px){
  .grid-2{
    grid-template-columns: 1fr;
  }
  .hero-cta{
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 460px){
  .container{
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .btn{
    padding: 10px 12px;
    font-size: 13px;
  }
}
