@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --color-primary: #D97756;
  --color-primary-oklch: oklch(0.65 0.14 50);
  --color-primary-light: oklch(0.82 0.08 50);
  --color-primary-dark: oklch(0.50 0.14 40);

  --color-accent: #B85C3A;
  --color-accent-oklch: oklch(0.52 0.15 45);

  --color-bg: #F9F7F4;
  --color-bg-oklch: oklch(0.975 0.005 80);
  --color-surface: #FFFFFF;
  --color-surface-warm: oklch(0.97 0.008 70);

  --color-text: #1C1C1C;
  --color-text-oklch: oklch(0.15 0.005 50);
  --color-text-muted: oklch(0.52 0.015 60);

  --color-warm-gray: #E8E5E0;
  --color-warm-gray-oklch: oklch(0.91 0.008 70);
  --color-warm-gray-dark: oklch(0.82 0.01 70);

  --color-border: oklch(0.88 0.012 70);
  --color-border-light: oklch(0.93 0.006 70);

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px oklch(0.15 0.01 50 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.15 0.01 50 / 0.08);
  --shadow-lg: 0 12px 40px oklch(0.15 0.01 50 / 0.1);
  --shadow-xl: 0 20px 60px oklch(0.15 0.01 50 / 0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;

  --max-width: 1080px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: oklch(0.65 0.14 50 / 0.2);
  color: var(--color-text);
}

.container {
  width: min(var(--max-width), 90%);
  margin-inline: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: oklch(0.975 0.005 80 / 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.header.scrolled {
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), 90%);
  margin-inline: auto;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.header__logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  display: grid;
  place-items: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.05em;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}

.header__brand:hover .header__logo {
  transform: scale(1.05) rotate(-2deg);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.header__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--duration-base) var(--ease-out);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-text);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-text);
  color: var(--color-bg);
  display: grid;
  place-items: center;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header__cta:active {
  transform: translateY(0);
}

.hero {
  padding-top: calc(var(--header-h) + var(--space-10));
  padding-bottom: var(--space-10);
  position: relative;
  overflow: hidden;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid oklch(0.65 0.14 50 / 0.25);
  background: oklch(0.65 0.14 50 / 0.06);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp var(--duration-slow) var(--ease-out) 0.1s forwards;
}

.hero__title {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--space-5);
  color: var(--color-text);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--duration-slow) var(--ease-out) 0.2s forwards;
}

.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: var(--space-7);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--duration-slow) var(--ease-out) 0.35s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--duration-slow) var(--ease-out) 0.5s forwards;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  width: fit-content;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 20px oklch(0.65 0.14 50 / 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px oklch(0.65 0.14 50 / 0.3);
  background: var(--color-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
}

.section {
  padding: var(--space-10) 0;
}

.section--alt {
  background: var(--color-surface-warm);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.section__desc {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-8);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: oklch(0.65 0.14 50 / 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover .service-card__icon {
  background: oklch(0.65 0.14 50 / 0.14);
  transform: scale(1.06);
}

.service-card:hover .service-card__icon svg {
  stroke: var(--color-accent);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: oklch(0.65 0.14 50 / 0.08);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--duration-base) var(--ease-out);
}

.service-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.service-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-warm-gray);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.advantage {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  transition: border-color var(--duration-base) var(--ease-out);
}

.advantage:hover {
  border-color: oklch(0.65 0.14 50 / 0.2);
}

.advantage__number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: oklch(0.65 0.14 50 / 0.18);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.advantage__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.advantage__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact {
  padding: var(--space-10) 0;
}

.contact__card {
  background: var(--color-text);
  border-radius: var(--radius-xl);
  padding: var(--space-9) var(--space-8);
  color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.contact__card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: oklch(0.65 0.14 50 / 0.08);
  pointer-events: none;
}

.contact__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.contact__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.contact__desc {
  font-size: 17px;
  color: oklch(0.75 0.01 80);
  margin-bottom: var(--space-7);
  max-width: 480px;
}

.contact__wechat {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(1 0 0 / 0.06);
  transition: background var(--duration-fast) var(--ease-out);
}

.contact__wechat:hover {
  background: oklch(1 0 0 / 0.1);
}

.contact__wechat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: oklch(0.72 0.14 145 / 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: oklch(0.72 0.14 145);
  transition: transform var(--duration-base) var(--ease-out);
}

.contact__wechat:hover .contact__wechat-icon {
  transform: scale(1.08);
}

.contact__wechat-label {
  font-size: 12px;
  font-weight: 500;
  color: oklch(0.7 0.01 80);
  margin-bottom: 2px;
}

.contact__wechat-id {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
}

.contact__copy-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: oklch(1 0 0 / 0.1);
  display: grid;
  place-items: center;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.contact__copy-btn:hover {
  background: oklch(1 0 0 / 0.18);
  transform: scale(1.05);
}

.contact__copy-btn:active {
  transform: scale(0.95);
}

.contact__copy-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__copy-tip {
  font-size: 13px;
  font-weight: 500;
  color: oklch(0.8 0.15 145);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  pointer-events: none;
}

.contact__copy-tip.visible {
  opacity: 1;
  transform: translateX(0);
}

.footer {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-border-light);
}

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

.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}

.footer__links a {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.showcase {
  padding: var(--space-10) 0;
  background: var(--color-surface-warm);
}

.showcase__header {
  margin-bottom: var(--space-7);
}

.showcase__header-left {
  max-width: 520px;
}

.showcase__window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  background: oklch(0.16 0.01 50);
  position: relative;
}

.showcase__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: oklch(0.19 0.01 50);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

.showcase__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.showcase__dot--red { background: oklch(0.63 0.2 25); }
.showcase__dot--yellow { background: oklch(0.8 0.16 85); }
.showcase__dot--green { background: oklch(0.7 0.18 150); }

.showcase__filename {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: oklch(0.6 0.01 80);
  letter-spacing: 0.02em;
  margin-right: 48px;
}

.showcase__body {
  padding: 24px;
  height: 380px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.showcase__body::-webkit-scrollbar {
  display: none;
}

.showcase__output {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2;
  color: oklch(0.85 0.01 80);
  white-space: pre-wrap;
  word-break: break-all;
}

.term-prompt {
  color: oklch(0.72 0.14 145);
  font-weight: 500;
}

.term-path {
  color: oklch(0.72 0.18 50);
  font-weight: 500;
}

.term-cmd {
  color: oklch(0.9 0.01 80);
}

.term-out {
  color: oklch(0.72 0.01 80);
}

.term-success {
  color: oklch(0.72 0.14 145);
}

.term-warn {
  color: oklch(0.8 0.16 85);
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 17px;
  background: oklch(0.72 0.18 50);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

.fab-wechat {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px oklch(0.65 0.14 50 / 0.3);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
}

.fab-wechat.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: fabPulse 2.5s ease-in-out 2s 2;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px oklch(0.65 0.14 50 / 0.3); }
  50% { box-shadow: 0 6px 24px oklch(0.65 0.14 50 / 0.3), 0 0 0 10px oklch(0.65 0.14 50 / 0.1); }
}

.fab-wechat:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 32px oklch(0.65 0.14 50 / 0.4);
}

.fab-wechat:active {
  transform: translateY(0) scale(0.95);
}

.fab-wechat__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--color-text);
  color: var(--color-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  transform: translateY(-50%) translateX(6px);
}

.fab-wechat__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-text);
}

.fab-wechat:hover .fab-wechat__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.tech-group {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  transition: border-color var(--duration-base) var(--ease-out);
}

.tech-group:hover {
  border-color: oklch(0.65 0.14 50 / 0.2);
}

.tech-group__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.tech-group__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: oklch(0.65 0.14 50 / 0.07);
  color: var(--color-primary);
  border: 1px solid oklch(0.65 0.14 50 / 0.12);
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.tech-badge:hover {
  background: oklch(0.65 0.14 50 / 0.14);
  transform: translateY(-1px);
}

.workflow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: var(--space-6) 0;
}

.workflow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.workflow__num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: oklch(0.65 0.14 50 / 0.2);
  line-height: 1;
}

.workflow__content {
  max-width: 200px;
}

.workflow__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.workflow__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.workflow__line {
  width: 48px;
  height: 2px;
  background: var(--color-border);
  flex-shrink: 0;
  margin-bottom: 60px;
}

.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.scenario {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.scenario:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: oklch(0.65 0.14 50 / 0.2);
}

.scenario__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: oklch(0.65 0.14 50 / 0.08);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  transition: background var(--duration-base) var(--ease-out);
}

.scenario:hover .scenario__icon {
  background: oklch(0.65 0.14 50 / 0.14);
}

.scenario__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
  fill: none;
}

.scenario__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.scenario__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.product-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: oklch(0.65 0.14 50 / 0.25);
}

.product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: oklch(0.65 0.14 50 / 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.product-card:hover .product-card__icon {
  background: oklch(0.65 0.14 50 / 0.15);
  transform: scale(1.06);
}

.product-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
  fill: none;
  transition: stroke var(--duration-base) var(--ease-out);
}

.product-card:hover .product-card__icon svg {
  stroke: var(--color-accent);
}

.product-card__body {
  flex: 1;
  min-width: 0;
}

.product-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.product-card__url {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.product-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
  color: var(--color-text-muted);
}

.product-card:hover .product-card__arrow {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: rotate(-6deg);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

@media (max-width: 880px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .header__nav {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
  }

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

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

  .hero {
    padding-top: calc(var(--header-h) + var(--space-8));
    padding-bottom: var(--space-8);
  }

  .section {
    padding: var(--space-8) 0;
  }

  .contact__card {
    padding: var(--space-7) var(--space-5);
  }

  .contact__wechat {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase__header {
    margin-bottom: var(--space-5);
  }

  .showcase__body {
    padding: 16px;
    height: 300px;
  }

  .showcase__output {
    font-size: 12px;
  }

  .hero__stats {
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    width: 100%;
    justify-content: center;
  }

  .hero__stat-num {
    font-size: 22px;
  }

  .hero__stat-label {
    font-size: 12px;
  }

  .hero__stat-divider {
    height: 28px;
  }

  .fab-wechat {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 50px;
    height: 50px;
  }

  .fab-wechat svg {
    width: 24px;
    height: 24px;
  }

  .fab-wechat__tooltip {
    display: none;
  }

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

  .workflow {
    flex-direction: column;
    gap: var(--space-4);
  }

  .workflow__line {
    width: 2px;
    height: 24px;
    margin-bottom: 0;
  }

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

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

  .product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
  }

  .product-card__arrow {
    align-self: flex-end;
  }
}
