/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - 青绿色系 */
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-pale: #f0fdfa;
  --teal-mist: #e6f7f5;

  --ink: #1a2e35;
  --text: #3d5260;
  --text-light: #6b7d88;
  --muted: #9fb0b8;

  --bg: #ffffff;
  --bg-soft: #f7fbfb;
  --border: #e4edec;

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --font-serif: "Noto Serif SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", serif;

  /* Layout */
  --container: 90%;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13, 148, 136, 0.06);
  --shadow-hover: 0 8px 32px rgba(13, 148, 136, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Section Base ===== */
.section {
  padding: 130px 0;
}

/* Background image for content sections - alternating left/right reveal */
.section--bg-img {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.section--bg-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://sokailai.oss-cn-shanghai.aliyuncs.com/Resources/images/bg-pattern.png');
  background-size: 100% 100%;
  background-position: center center;
  background-attachment: fixed;
  z-index: 0;
  opacity: 0.28;
}

/* Left reveal: background visible on left side, soft fade towards right */
.section--bg-left::before {
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0) 50%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0) 50%);
}

/* Right reveal: background visible on right side, soft fade towards left */
.section--bg-right::before {
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0) 50%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 25%, rgba(0,0,0,0) 50%);
}

.section--bg-img > .container {
  position: relative;
  z-index: 1;
}

.section--soft {
  background: var(--bg-soft);
}

.section__label {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 48px;
  position: relative;
  padding-left: 32px;
}

.section__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--teal);
}

.section__intro {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 48px;
  /* max-width: 520px; */
}

/* ===== Button - Capsule with Glow ===== */
.btn-blob {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 40px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border: none;
  background: none;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

/* Gradient background layer - teal + indigo + violet mix */
.btn-blob__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #14b8a6 0%, #6366f1 40%, #7c3aed 70%, #0d9488 100%);
  background-size: 300% 100%;
  border-radius: inherit;
  animation: gradientShift 4s ease-in-out infinite;
}

/* Glowing border ring - mixed color sweep */
.btn-blob::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.9), rgba(99, 102, 241, 0.6), rgba(124, 58, 237, 0.7), rgba(94, 234, 212, 0.9));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringRotate 4s linear infinite;
  background-size: 200% 200%;
}

/* Shimmer sweep */
.btn-blob__shimmer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: shimmerSweep 3.5s ease-in-out infinite;
  border-radius: inherit;
}

.btn-blob__text {
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}

.btn-blob__arrow {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover: lift + glow expand + arrow fly */
.btn-blob:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(13, 148, 136, 0.45),
              0 0 0 6px rgba(20, 184, 166, 0.1);
}

.btn-blob:hover .btn-blob__bg {
  animation-duration: 2s;
}

.btn-blob:hover .btn-blob__shimmer {
  animation-duration: 1.5s;
}

.btn-blob:hover .btn-blob__arrow {
  transform: translateX(6px);
}

/* Active press */
.btn-blob:active {
  transform: translateY(-1px) scale(0.97);
}

/* ===== Keyframes ===== */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ringRotate {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -50% 0; }
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}

/* Transparent nav on hero - white text */
.nav .nav__logo-text,
.nav .nav__link {
  color: var(--text);
}

.nav .nav__logo-text:hover,
.nav .nav__link:hover {
  color: var(--teal);
}

.nav .nav__logo-mark {
  background: var(--teal);
}

.nav .nav__logo-img {
  /* filter: brightness(0) invert(1); */
}

.nav .nav__toggle span {
  background: var(--ink);
}

/* Scrolled nav - frosted glass background, dark text */
.nav.scrolled {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 30px rgba(0, 0, 0, 0.03);
  padding: 18px 0;
}

.nav.scrolled .nav__logo-text {
  color: var(--ink);
}

.nav.scrolled .nav__link {
  color: var(--text-light);
}

.nav.scrolled .nav__link:hover {
  color: var(--teal);
}

.nav.scrolled .nav__logo-mark {
  background: var(--teal);
}

.nav.scrolled .nav__logo-img {
  filter: none;
}

.nav.scrolled .nav__toggle span {
  background: var(--ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Logo placeholder - replace with actual logo */
.nav__logo-text {
  color: var(--ink);
}

.nav__logo-img {
  display: block;
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--teal);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(13, 148, 136, 0.55) 0%, rgba(99, 102, 241, 0.35) 50%, rgba(124, 58, 237, 0.3) 100%); */
  z-index: 1;
}

/* Animated gradient blobs - teal + indigo + violet mix */
.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  z-index: 2;
}

/* Blob 1: deep teal-green (top right) */
.hero__bg::before {
  width: 70vw;
  height: 70vw;
  max-width: 850px;
  max-height: 850px;
  background: radial-gradient(circle, #14b8a6 0%, rgba(13, 148, 136, 0.45) 55%, transparent 70%);
  top: -18%;
  right: -12%;
  opacity: 0.85;
  animation: blobFloat1 12s ease-in-out infinite;
}

/* Blob 2: indigo-blue (bottom left) */
.hero__bg::after {
  width: 65vw;
  height: 65vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, #6366f1 0%, rgba(79, 70, 229, 0.35) 50%, transparent 65%);
  bottom: -20%;
  left: -10%;
  opacity: 0.55;
  animation: blobFloat2 14s ease-in-out infinite;
}

/* Blob 3: violet (center, behind content) */
.hero__inner::before {
  content: "";
  position: absolute;
  width: 45vw;
  height: 45vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 60%);
  top: 35%;
  left: 25%;
  animation: blobFloat3 16s ease-in-out infinite;
  z-index: -1;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-6%, 8%) scale(1.08); }
  66% { transform: translate(5%, -4%) scale(0.95); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(7%, -5%) scale(1.06); }
  66% { transform: translate(-4%, 6%) scale(0.92); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-8%, -6%) scale(1.1); }
  66% { transform: translate(6%, 8%) scale(0.9); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 0 32px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  white-space: nowrap;
}

.hero__title .accent {
  color: var(--teal);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__actions.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typewriter cursor */
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--teal);
  margin-left: 6px;
  vertical-align: -0.05em;
  border-radius: 2px;
  animation: cursorBlink 0.7s steps(2) infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero__scroll-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--ink);
  opacity: 0.5;
}

.hero__mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero__mouse-wheel {
  width: 3px;
  height: 8px;
  background: var(--teal-dark);
  border-radius: 2px;
  animation: wheelDown 1.8s ease-in-out infinite;
}

@keyframes wheelDown {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 24px;
}

.about__text strong {
  color: var(--ink);
  font-weight: 600;
}

.about__signature {
  font-size: 1rem !important;
  color: var(--teal) !important;
  font-weight: 500;
}

.about__extra {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 8px;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__stat {
  position: relative;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 148, 136, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.about__stat:hover {
  border-color: rgba(20, 184, 166, 0.25);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
}

.about__stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--teal) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__stat-num .unit {
  font-size: 1rem;
  font-weight: 500;
  -webkit-text-fill-color: var(--text-light);
  margin-left: 4px;
}

.about__stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* Animated progress bar */
.about__stat-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(13, 148, 136, 0.08);
  overflow: hidden;
}

.about__stat-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-light), #6366f1, var(--teal));
  background-size: 200% 100%;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: barShimmer 3s ease-in-out infinite;
}

@keyframes barShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== Services - Bento Grid ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 36px 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated gradient border */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--teal-light), #6366f1, #7c3aed, var(--teal-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: ringRotate 4s linear infinite;
}

.service-card:hover::before {
  opacity: 1;
}

/* Bottom accent line */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-light), #6366f1, var(--teal-light));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientShift 4s ease-in-out infinite;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Number badge */
.service-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.25;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card__num {
  opacity: 0.7;
}

/* Featured card - spans 2 columns */
.service-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #f0fdfa 0%, #eef2ff 30%, #fff 60%);
}

.service-card--featured::after {
  opacity: 0.4;
}

.service-card--featured:hover::after {
  opacity: 1;
}

/* Color variants - soft pastel gradients */
.service-card--blue {
  background: linear-gradient(135deg, #f0f7ff 0%, #dceaff 55%, #c8dbfa 100%);
  border-color: #c4d9f3;
}

.service-card--green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 55%, #c4f0d2 100%);
  border-color: #b9e8c5;
}

.service-card--yellow {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 55%, #fde68a 100%);
  border-color: #fde68a;
}

.service-card--purple {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 55%, #e9d5ff 100%);
  border-color: #e0c8f5;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  color: var(--teal);
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.22) 0%, rgba(99, 102, 241, 0.16) 100%);
  transform: scale(1.08);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Cases ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Animated gradient border */
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--teal-light), #6366f1, #7c3aed, var(--teal-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: ringRotate 4s linear infinite;
  z-index: 2;
}

.case-card:hover::before {
  opacity: 1;
}

/* Visual header - gradient illustration area */
.case-card__visual {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
}

.case-card__visual svg {
  width: 40px;
  height: 40px;
  color: #fff;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Decorative shapes inside visual */
.case-card__visual::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -20px;
  right: -30px;
  z-index: 0;
}

/* Category-specific gradient colors */
.case-card--web .case-card__visual {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 40%, #2dd4bf 100%);
}

.case-card--miniapp .case-card__visual {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #818cf8 100%);
}

.case-card--system .case-card__visual {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 40%, #a78bfa 100%);
}

/* Tag overlaid on visual */
.case-card__tag {
  position: absolute;
  top: 16px;
  left: 20px;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 1;
  letter-spacing: 0.04em;
}

/* Body area below visual */
.case-card__body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.case-card__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.case-card__role {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.cases__note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Cases List Page ===== */
.cases-page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.cases-page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.cases-page-header__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.cases-page-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.cases-page-card {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cases-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Visual sidebar */
.cases-page-card__visual {
  position: relative;
  width: 200px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cases-page-card__visual::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -15px;
  right: -20px;
}

.cases-page-card__visual::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -10px;
  left: -15px;
}

.cases-page-card__visual svg {
  width: 36px;
  height: 36px;
  color: #fff;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.cases-page-card--web .cases-page-card__visual {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 40%, #2dd4bf 100%);
}

.cases-page-card--miniapp .cases-page-card__visual {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #818cf8 100%);
}

.cases-page-card--system .cases-page-card__visual {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 40%, #a78bfa 100%);
}

.cases-page-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 16px;
  z-index: 1;
  letter-spacing: 0.04em;
}

/* Body area */
.cases-page-card__body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cases-page-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.cases-page-card__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.cases-page-card__client {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 500;
}

.cases-page-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
}

.cases-page-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  flex: 1;
}

.cases-page-card__more {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.cases-page-card:hover .cases-page-card__more {
  transform: translateX(4px);
  color: var(--teal-dark);
}

.cases-page-more {
  text-align: center;
  margin-top: 60px;
  padding: 32px 0;
}

.cases-page-more p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* CTA at bottom of cases list */
.cases-page-cta {
  text-align: center;
  padding: 40px 0;
}

.cases-page-cta p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 28px;
  font-weight: 500;
}

/* ===== Case Detail Page ===== */
.case-detail__hero {
  padding: 160px 0 64px;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
  text-align: center;
}

.case-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.case-detail__back svg {
  width: 18px;
  height: 18px;
}

.case-detail__back:hover {
  color: var(--teal);
}

.case-detail__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.case-detail__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.case-detail__tag--web {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.case-detail__tag--miniapp {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.case-detail__tag--system {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.case-detail__date {
  font-size: 0.85rem;
  color: var(--muted);
}

.case-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Overview grid */
.case-detail__overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 48px;
}

.case-detail__overview-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  border: 1px solid var(--teal-mist);
}

.case-detail__overview-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.case-detail__overview-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

/* Content */
.case-detail__body {
  padding: 0 0 80px;
}

.case-detail__content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text);
}

.case-detail__content p {
  margin-bottom: 24px;
}

.case-detail__content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  line-height: 1.5;
}

.case-detail__content h2:first-of-type {
  margin-top: 0;
}

.case-detail__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 16px;
}

.case-detail__content ul {
  margin: 0 0 24px;
  padding-left: 20px;
}

.case-detail__content ul li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.case-detail__content strong {
  color: var(--ink);
  font-weight: 600;
}

/* Stats row */
.case-detail__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 40px;
}

.case-detail__stat {
  text-align: center;
  padding: 28px 20px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  border: 1px solid var(--teal-mist);
}

.case-detail__stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 6px;
}

.case-detail__stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Quote */
.case-detail__quote {
  margin: 32px 0 40px;
  padding: 32px 36px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal-light);
}

.case-detail__quote p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 16px;
  font-style: italic;
}

.case-detail__quote cite {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

/* Footer */
.case-detail__footer {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.case-detail__back-bottom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.case-detail__back-bottom svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.case-detail__back-bottom:hover {
  border-color: var(--teal-light);
  color: var(--teal);
}

.case-detail__back-bottom:hover svg {
  transform: translateX(-4px);
}

/* ===== Website Portfolio Pages ===== */
.website-page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.website-page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.website-page-header__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* .website-list-section {
  background: url('https://sokailai.oss-cn-shanghai.aliyuncs.com/Resources/images/bg-pattern.png') center/cover no-repeat;
} */

.website-page-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .website-page-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.website-page-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.35s ease;
}

.website-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.website-page-card__thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.website-page-card__thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.website-page-card__thumb-inner::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -30px;
  right: -40px;
}

.website-page-card__thumb-inner::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -20px;
  left: -25px;
}

.website-page-card__thumb-inner svg {
  width: 44px;
  height: 44px;
  color: #fff;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.website-page-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.website-page-card:hover .website-page-card__thumb-img {
  transform: scale(1.05);
}

.website-page-card__thumb-inner--web {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 40%, #2dd4bf 100%);
}

.website-page-card__thumb-inner--miniapp {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #818cf8 100%);
}

.website-page-card__thumb-inner--system {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 40%, #a78bfa 100%);
}

.website-page-card__body {
  padding: 24px 24px 22px;
  flex: 1;
}

.website-page-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.website-page-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
}

.website-page-card__tag--web {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.website-page-card__tag--miniapp {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.website-page-card__tag--system {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.website-page-card__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.website-page-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.website-page-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Website module grouping */
.website-module {
  margin-bottom: 80px;
}

.website-module:last-child {
  margin-bottom: 24px;
}

.website-module__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.website-module__title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.website-module__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

.website-page-more {
  text-align: center;
  margin-top: 60px;
  padding: 32px 0;
}

.website-page-more p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Website Detail Page ===== */
.website-detail__hero {
  padding: 180px 0 100px;
  position: relative;
  background: #14b8a6 url('https://sokailai.oss-cn-shanghai.aliyuncs.com/Resources/images/bg-texture.png') center/cover no-repeat;
  background-size: 130% auto;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}

/* 水波涟漪——多位置随机扩散 */
.website-detail__hero::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: rippleA 9s ease-out infinite;
}

@keyframes rippleA {
  0%     { top: 30%; left: 35%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  11%    { top: 30%; left: 35%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  11.01% { top: 65%; left: 70%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  23%    { top: 65%; left: 70%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  23.01% { top: 20%; left: 60%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  36%    { top: 20%; left: 60%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  36.01% { top: 55%; left: 15%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  49%    { top: 55%; left: 15%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  49.01% { top: 75%; left: 45%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  62%    { top: 75%; left: 45%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  62.01% { top: 10%; left: 25%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  75%    { top: 10%; left: 25%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  75.01% { top: 40%; left: 80%; box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  88%    { top: 40%; left: 80%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
  100%   { top: 40%; left: 80%; box-shadow: 0 0 0 250px rgba(255,255,255,0); }
}

.website-detail__hero::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: rippleB 11s ease-out 4s infinite;
}

@keyframes rippleB {
  0%     { top: 60%; left: 55%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  9%     { top: 60%; left: 55%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  9.01%  { top: 25%; left: 20%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  19%    { top: 25%; left: 20%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  19.01% { top: 70%; left: 75%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  30%    { top: 70%; left: 75%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  30.01% { top: 15%; left: 50%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  41%    { top: 15%; left: 50%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  41.01% { top: 50%; left: 35%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  52%    { top: 50%; left: 35%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  52.01% { top: 35%; left: 85%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  63%    { top: 35%; left: 85%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  63.01% { top: 80%; left: 10%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  75%    { top: 80%; left: 10%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  75.01% { top: 45%; left: 60%; box-shadow: 0 0 0 0 rgba(255,255,255,0.04); }
  88%    { top: 45%; left: 60%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
  100%   { top: 45%; left: 60%; box-shadow: 0 0 0 200px rgba(255,255,255,0); }
}

.website-detail__hero .container {
  position: relative;
  z-index: 2;
}

.website-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-bottom: 48px;
  padding: 6px 16px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}

.website-detail__back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.website-detail__back:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
}

.website-detail__back:hover svg {
  transform: translateX(-3px);
}

.website-detail__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.website-detail__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.website-detail__tag--web {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.website-detail__tag--miniapp {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.website-detail__tag--system {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.website-detail__date {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.website-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 720px;
  letter-spacing: -0.01em;
}

/* 打字机效果 */
.website-detail__title.typing {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: 2px solid transparent;
}

.website-detail__title.typing.visible {
  border-right-color: rgba(255,255,255,0.7);
  animation:
    typewrite 1.8s steps(12) 0.4s forwards,
    blink 0.8s step-end 0.4s infinite;
}

@keyframes typewrite {
  from { width: 0; }
  to   { width: 12em; }
}

@keyframes blink {
  0%, 100% { border-right-color: rgba(255,255,255,0.7); }
  50%      { border-right-color: transparent; }
}

.website-detail__subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.5);
  max-width: 580px;
  line-height: 1.7;
}

/* 底部斜切分隔 */
.website-detail__body {
  position: relative;
  padding: 60px 0 80px;
  margin-top: -1px;
}

/* ===== Detail Layout ===== */

.website-detail__layout {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.website-detail__layout-side {
  flex: 0 0 65%;
  position: sticky;
  top: 120px;
}

.website-detail__layout-main {
  flex: 1;
  min-width: 0;
}

/* Preview box (in left column) */
.website-detail__preview-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.website-detail__preview-img {
  width: 100%;
  display: block;
}

/* Info grid */
.website-detail__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.website-detail__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  border: 1px solid var(--teal-mist);
}

.website-detail__info-item:nth-child(1) {
  background: linear-gradient(135deg, #f0f7ff 0%, #dceaff 55%, #c8dbfa 100%);
  border-color: #c4d9f3;
}

.website-detail__info-item:nth-child(2) {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 55%, #c4f0d2 100%);
  border-color: #b9e8c5;
}

.website-detail__info-item:nth-child(3) {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 55%, #fde68a 100%);
  border-color: #fde68a;
}

.website-detail__info-item:nth-child(4) {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 55%, #e9d5ff 100%);
  border-color: #e0c8f5;
}

.website-detail__info-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.website-detail__info-value {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

/* Content */
.website-detail__content {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text);
}

.website-detail__content p {
  margin-bottom: 24px;
}

.website-detail__content h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 14px;
  padding: 10px 20px;
  border-left: none;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(20,184,166,0.7) 0%, rgba(20,184,166,0.25) 40%, rgba(255,255,255,0) 100%);
  border-radius: 8px 0 0 0;
}

.website-detail__content h2::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.55) 48%,
    rgba(20,184,166,0.2) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: shimmerSweep 3.5s ease-in-out infinite;
  border-radius: inherit;
  pointer-events: none;
}

.website-detail__content h2:first-of-type {
  margin-top: 0;
}

.website-detail__content strong {
  color: var(--ink);
  font-weight: 600;
}

/* Page list */
.website-detail__page-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.website-detail__page-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.website-detail__page-item:last-child {
  border-bottom: none;
}

.website-detail__page-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
  width: 28px;
}

.website-detail__page-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.website-detail__page-item div strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.website-detail__page-item div span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Footer */
.website-detail__footer {
  margin: 48px 0 0;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.website-detail__back-bottom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.website-detail__back-bottom svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.website-detail__back-bottom:hover {
  border-color: var(--teal-light);
  color: var(--teal);
}

.website-detail__back-bottom:hover svg {
  transform: translateX(-4px);
}

/* ===== Blog ===== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.blog-card:hover .blog-card__more {
  color: var(--teal);
  transform: translateX(4px);
}

.blog-card__date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card__more {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

/* ===== Nav - Page-level (non-hero) ===== */
.nav--page {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 30px rgba(0, 0, 0, 0.03);
  padding: 18px 0;
}

.nav--page .nav__logo-text { color: var(--ink); }
.nav--page .nav__link { color: var(--text-light); }
.nav--page .nav__link:hover { color: var(--teal); }
.nav--page .nav__logo-mark { background: var(--teal); }
.nav--page .nav__toggle span { background: var(--ink); }

.nav__link--active {
  color: var(--teal) !important;
  font-weight: 600;
}

/* ===== 右侧悬浮工具 ===== */
.float-tools {
  position: fixed;
  right: 1.25rem;
  bottom: 7.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.float-tools--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.float-btn {
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.18), 0 0 0 0 rgba(13, 148, 136, 0.32);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  border: none;
  cursor: pointer;
  text-decoration: none;
  animation: floatBreathe 3s ease-in-out infinite;
}

.float-phone {
  animation: floatBreathe 3s ease-in-out infinite;
}

.float-wechat {
  animation: floatBreathe 3s ease-in-out 0.6s infinite;
}

.float-top {
  animation: floatBreathe 3s ease-in-out 1.2s infinite;
}

.float-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.float-btn:hover {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.32), 0 0 0 0 rgba(13, 148, 136, 0);
  animation: none;
}

@keyframes floatBreathe {
  0%, 100% {
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.18), 0 0 0 0 rgba(13, 148, 136, 0);
  }
  50% {
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.18), 0 0 0 6px rgba(13, 148, 136, 0.12);
  }
}

.float-phone-num {
  position: absolute;
  right: 3.625rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5rem 1.125rem;
  border-radius: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.float-phone:hover .float-phone-num {
  opacity: 1;
  visibility: visible;
}

.float-phone:hover {
  transform: none;
  border-radius: 1.5rem;
}

.float-btn-wrap {
  position: relative;
}

.float-wechat-qr {
  position: absolute;
  right: 3.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1001;
  width: 8.5rem;
  height: 8.5rem;
}

.float-wechat-qr img {
  display: block;
  border-radius: 0.25rem;
  width: 7.5rem;
  height: 7.5rem;
}

.float-btn-wrap:hover .float-wechat-qr {
  opacity: 1;
  visibility: visible;
}

.float-wechat:hover {
  transform: none;
  border-radius: 1.5rem;
}

.float-top {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
}

.float-top:hover {
  background: var(--teal-dark);
}

.copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;
}

/* ===== Blog List Page ===== */
.blog-page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}

.blog-page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.blog-page-header__desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Blog Filter Tabs ===== */
.blog-filter {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.blog-filter__tab {
  display: inline-block;
  padding: 8px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border: none;
  background: transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.blog-filter__tab:hover {
  color: var(--teal);
  background: var(--teal-pale);
}

.blog-filter__tab--active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  font-weight: 600;
  animation: tabBreathe 3s ease-in-out infinite;
}

.blog-filter__tab--active:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

@keyframes tabBreathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(13, 148, 136, 0);
  }
}

.blog-page-card.hidden-by-filter {
  display: none;
}

.blog-filter-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: none;
}

.blog-filter-empty.show {
  display: block;
}

.blog-page-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.blog-page-card {
  padding: 28px 20px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.4s ease;
}

.blog-page-card:last-child {
  border-bottom: none;
}

.blog-page-card:hover {
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.6) 0%, rgba(238, 242, 255, 0.35) 100%);
}

.blog-page-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-page-card__date {
  font-size: 0.82rem;
  color: var(--muted);
}

.blog-page-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.03em;
}

.blog-page-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.blog-page-card__title a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.blog-page-card__title a:hover {
  color: var(--teal);
}

.blog-page-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-page-card__more {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.blog-page-card:hover .blog-page-card__more {
  transform: translateX(4px);
  color: var(--teal-dark);
}

.blog-page-more {
  text-align: center;
  margin-top: 60px;
  padding: 32px 0;
}

.blog-page-more p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== Empty State ===== */
.blog-page-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 48px 0;
}

/* ===== Load More ===== */
.blog-load-more {
  text-align: center;
  margin-top: 48px;
}

.blog-load-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 36px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--teal);
  background: var(--teal-pale);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.blog-load-more__btn:hover {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.28);
}

.blog-load-more__btn span {
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Hidden state for lazy-loaded cards */
.blog-page-card--hidden {
  display: none;
}

/* ===== Blog Detail Page ===== */
.blog-detail__hero {
  padding: 160px 0 64px;
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
  text-align: center;
}

.blog-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.blog-detail__back svg {
  width: 18px;
  height: 18px;
}

.blog-detail__back:hover {
  color: var(--teal);
}

.blog-detail__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.blog-detail__date {
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-detail__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.03em;
}

.blog-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.blog-detail__subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-detail__body {
  padding: 64px 0 80px;
  position: relative;
}

.blog-detail__body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
  border-radius: 2px;
}

.blog-detail__content {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
}

.blog-detail__content p {
  margin-bottom: 24px;
}

.blog-detail__content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  line-height: 1.5;
}

.blog-detail__content h2:first-of-type {
  margin-top: 32px;
}

.blog-detail__content h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 36px 0 16px;
  line-height: 1.5;
}

.blog-detail__content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.blog-detail__content strong {
  color: var(--ink);
  font-weight: 600;
}

.blog-detail__footer {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.blog-detail__back-bottom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-detail__back-bottom svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.blog-detail__back-bottom:hover {
  border-color: var(--teal-light);
  color: var(--teal);
}

.blog-detail__back-bottom:hover svg {
  transform: translateX(-4px);
}

.blog-detail__end {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  margin-top: 48px;
  user-select: none;
}

/* ===== Cooperation ===== */
.cooperation {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.cooperation__steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.step:last-child {
  border-bottom: none;
}

.step:hover {
  padding-left: 8px;
}

.step__num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.4;
  min-width: 48px;
  transition: opacity 0.3s ease;
}

.step:hover .step__num {
  opacity: 1;
}

.step__content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.step__content p {
  font-size: 0.92rem;
  color: var(--text-light);
}

.cooperation__note-card {
  padding: 32px 28px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  border: 1px solid var(--teal-mist);
}

.cooperation__note-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.cooperation__note-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.cooperation__note-sub {
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  margin-bottom: 0 !important;
}

/* Guarantee list */
.cooperation__guarantees {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cooperation__guarantees li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cooperation__guarantees li svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.cooperation__guarantees li div strong {
  font-size: 0.92rem;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.cooperation__guarantees li div span {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Audience card */
.cooperation__note-card--audience {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdfa 100%);
  border-color: #e0e7ff;
}

.cooperation__audience {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cooperation__audience-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}

.cooperation__audience-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cooperation__audience-item--startup svg {
  color: var(--teal);
}

.cooperation__audience-item--transform svg {
  color: #6366f1;
}

.cooperation__audience-item--optimize svg {
  color: #7c3aed;
}

/* Finance card */
.cooperation__note-card--finance {
  background: #fff;
  border-color: var(--border);
}

/* Aside column spacing */
.cooperation__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== Contact ===== */
.section--contact {
  background: var(--ink);
  padding: 100px 0;
}

.contact {
  text-align: center;
}

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.contact__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 56px;
  white-space: nowrap;
}

.contact__methods {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact__method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  min-width: 180px;
}

.contact__method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--teal-light);
  transform: translateY(-4px);
}

.contact__method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal-light);
}

.contact__method-icon svg {
  width: 22px;
  height: 22px;
}

.contact__method-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.contact__method-value {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer__logo-img {
  display: block;
  height: 46px;
  width: auto;
}

.footer__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--teal-light);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .nav__inner {
    padding: 0 20px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  }

  .nav__links.open {
    right: 0;
  }

  /* Mobile menu always uses dark text on white background */
  .nav__links .nav__logo-text,
  .nav__links .nav__link {
    color: var(--text-light);
  }

  .nav__links .nav__link:hover {
    color: var(--teal);
  }

  .nav__links .nav__logo-mark {
    background: var(--teal);
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .hero__title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    white-space: normal;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__text p {
    font-size: 1rem;
  }

  .about__stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .about__stat {
    flex: 1;
    padding: 20px 16px;
    text-align: center;
  }

  .about__stat-num {
    font-size: 1.8rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .cases {
    grid-template-columns: 1fr;
  }

  .cases-page-header {
    padding: 140px 0 56px;
  }

  .cases-page-card {
    flex-direction: column;
  }

  .cases-page-card__visual {
    width: 100%;
    min-height: 140px;
    height: 140px;
  }

  .cases-page-card__body {
    padding: 20px 20px 20px;
  }

  .cases-page-card:hover {
    transform: none;
  }

  .cases-page-card__title {
    font-size: 1.1rem;
  }

  .case-detail__hero {
    padding: 140px 0 48px;
  }

  .case-detail__body {
    padding-bottom: 60px;
  }

  .case-detail__overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-detail__content {
    font-size: 0.95rem;
  }

  .case-detail__content h2 {
    font-size: 1.2rem;
    margin: 36px 0 16px;
  }

  .case-detail__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-detail__quote {
    padding: 24px 24px;
  }

  .website-page-header {
    padding: 140px 0 56px;
  }

  .website-page-list {
    grid-template-columns: 1fr;
  }

  .website-module {
    margin-bottom: 56px;
  }

  .website-module__title {
    font-size: 1.3rem;
  }

  .website-page-card:hover {
    transform: none;
  }

  .website-detail__hero {
    padding: 120px 0 60px;
  }

  .website-detail__title {
    max-width: 100%;
  }

  .website-detail__layout {
    flex-direction: column;
    gap: 32px;
  }

  .website-detail__layout-side {
    position: static;
    flex: none;
    width: 100%;
  }

  .website-detail__info {
    grid-template-columns: repeat(2, 1fr);
  }

  .website-detail__content {
    font-size: 0.95rem;
  }

  .website-detail__content h2 {
    font-size: 1.05rem;
    margin: 28px 0 12px;
  }

  .website-detail__page-item {
    padding: 14px 18px;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-page-header {
    padding: 140px 0 56px;
  }

  .blog-page-card {
    padding: 24px 16px;
  }

  .blog-filter {
    gap: 2px;
    margin-bottom: 40px;
  }

  .blog-filter__tab {
    padding: 6px 16px;
    font-size: 0.82rem;
  }

  .blog-detail__hero {
    padding: 140px 0 48px;
  }

  .blog-detail__body {
    padding: 40px 0 60px;
  }

  .blog-detail__content {
    font-size: 0.95rem;
  }

  .blog-detail__content h2 {
    font-size: 1.2rem;
    margin: 36px 0 16px;
  }

  .blog-detail__content h3 {
    font-size: 1.02rem;
    margin: 28px 0 12px;
  }

  .cooperation {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__methods {
    flex-direction: column;
    align-items: center;
  }

  .contact__method {
    width: 100%;
    max-width: 280px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer__links {
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .about__stats {
    flex-direction: column;
  }

  .section__label {
    margin-bottom: 32px;
  }

  .float-tools {
    right: 0.75rem;
    bottom: 5rem;
  }

  .float-btn {
    width: 2.625rem;
    height: 2.625rem;
  }
}
