/* Xiangke AI landing page */

:root {
  --accent: #cf2931;
  --accent-strong: #b91823;
  --accent-bright: #ef5660;
  --accent-laser: #ff4a55;
  --accent-deep: #8a0d15;
  --accent-soft: rgba(207, 41, 49, 0.1);
  --accent-softer: rgba(207, 41, 49, 0.05);
  --accent-line: rgba(207, 41, 49, 0.24);
  --accent-glow: rgba(207, 41, 49, 0.42);
  --ink-1: #15101a;
  --ink-2: #524854;
  --ink-3: #7e7379;
  --ink-4: #d7d0d3;
  --paper: #fffdfc;
  --paper-strong: #ffffff;
  --paper-soft: #f6f1f2;
  --paper-tint: #f2ecee;
  --line: rgba(44, 31, 36, 0.1);
  --line-strong: rgba(44, 31, 36, 0.18);
  --green: #1aa66f;
  --blue: #2d7eea;
  --amber: #f1a51f;
  --shadow-xs: 0 1px 2px rgba(42, 24, 30, 0.06);
  --shadow-sm: 0 10px 28px rgba(42, 24, 30, 0.08);
  --shadow-md: 0 18px 46px rgba(42, 24, 30, 0.12);
  --shadow-lg: 0 30px 80px rgba(42, 24, 30, 0.18);
  --shadow-red-sm: 0 14px 36px rgba(207, 41, 49, 0.22);
  --shadow-red-md: 0 24px 60px rgba(207, 41, 49, 0.28);
  --gradient-accent: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 45%, var(--accent-bright) 100%);
  --gradient-accent-soft: linear-gradient(135deg, rgba(207, 41, 49, 0.16), rgba(239, 86, 96, 0.06) 60%, transparent);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --container-narrow: 820px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-1);
  background:
    radial-gradient(1200px 620px at 88% -10%, rgba(207, 41, 49, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 18%, rgba(255, 196, 198, 0.28), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(77, 48, 58, 0.08) 1px, transparent 0),
    var(--paper);
  background-size: auto, auto, 22px 22px, auto;
  background-attachment: fixed, fixed, fixed, fixed;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  color: #fff;
  background: var(--accent);
}

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

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

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

.container-narrow {
  max-width: var(--container-narrow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(44, 31, 36, 0.08);
  background: rgba(255, 253, 252, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 28%, var(--accent-bright) 50%, var(--accent) 72%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  content: "";
  pointer-events: none;
}

.site-header.is-scrolled::after {
  opacity: 0.55;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink-1);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.2px;
}

.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 10px rgba(207, 41, 49, 0.28));
}

.brand-text-em {
  color: var(--accent);
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.nav a::after {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.nav a:hover {
  color: var(--accent);
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-primary {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    var(--gradient-accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 16px 34px rgba(207, 41, 49, 0.32);
}

.btn-primary::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
  content: "";
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.36) inset,
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 22px 46px rgba(207, 41, 49, 0.42);
}

.btn-primary:hover::before {
  transform: translateX(110%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink-1);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 24, 30, 0.1);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 64px;
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -2;
  height: calc(100% - 36px);
  border-bottom: 1px solid rgba(44, 31, 36, 0.08);
  background:
    radial-gradient(720px 420px at 18% 28%, rgba(255, 255, 255, 0.96), rgba(255, 253, 252, 0.6) 60%, transparent 100%),
    linear-gradient(90deg, rgba(255, 253, 252, 0.98) 0%, rgba(255, 253, 252, 0.78) 38%, rgba(255, 253, 252, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 253, 252, 0.92));
  content: "";
}

.hero::after {
  position: absolute;
  inset: -10% -6% auto auto;
  z-index: -2;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(207, 41, 49, 0.32), rgba(207, 41, 49, 0.1) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(2px);
  content: "";
}

.hero-art {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: -3;
  width: min(100%, 1580px);
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: center right;
  opacity: 0.95;
}

.hero-shell {
  position: relative;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(100%, 652px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 240, 240, 0.78));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(207, 41, 49, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-tag-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(207, 41, 49, 0.16);
}

.hero-tag-dot::after {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.6;
  animation: pulseRing 2s ease-out infinite;
  content: "";
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  80% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-title {
  position: relative;
  margin: 0 0 24px;
  color: #14080c;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.title-accent {
  position: relative;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 40%, var(--accent-bright) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(207, 41, 49, 0.22));
}

.hero-sub {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.78;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-3);
  font-size: 13px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(44, 31, 36, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-feature-settings: "tnum" 1;
}

.hero-meta-item.version-line {
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 620px;
  margin: 14px 0 0;
  padding: 10px 14px;
  border: 1px dashed var(--accent-line);
  border-radius: 10px;
  color: var(--ink-2);
  background: linear-gradient(135deg, rgba(255, 240, 241, 0.55), rgba(255, 253, 252, 0.6));
  font-size: 12.5px;
  line-height: 1.6;
}

.hero-note-icon {
  flex: 0 0 14px;
  margin-top: 3px;
  color: var(--accent);
}

.hero-note-cmd {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  user-select: all;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-green {
  background: var(--green);
}

.dot-blue {
  background: var(--blue);
}

.version-line {
  color: var(--ink-2);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero-proof span {
  position: relative;
  padding-left: 18px;
}

.hero-proof span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gradient-accent);
  box-shadow: 0 4px 10px rgba(207, 41, 49, 0.28);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 1012px);
  margin: clamp(30px, 5vw, 54px) 0 0 auto;
  padding-left: clamp(0px, 4vw, 64px);
}

.hero-visual::before {
  position: absolute;
  inset: 6% -2% -10% 6%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(207, 41, 49, 0.28), transparent 70%);
  filter: blur(40px);
  content: "";
  pointer-events: none;
}

.hero-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 251, 0.92)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 0 0 1px rgba(44, 31, 36, 0.06),
    0 30px 80px rgba(42, 24, 30, 0.18),
    0 50px 120px rgba(207, 41, 49, 0.16);
  transform: translateZ(0);
  transition: transform 0.4s ease;
}

.hero-mockup:hover {
  transform: translateY(-4px);
}

@media (min-width: 981px) {
  .hero {
    min-height: min(690px, calc(100svh - 24px));
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-shell {
    display: grid;
    min-height: 560px;
    grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 68px);
  }

  .hero-visual {
    width: 100%;
    margin: 0;
    padding-left: 0;
  }
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 108px) 0;
}

.section-head {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.section-head[style*="text-align"] .eyebrow,
.section-head .eyebrow {
  position: relative;
}

.section-head[align="center"] .eyebrow::before,
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  vertical-align: middle;
  content: "";
}

.section-head .eyebrow::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.feature-intro .eyebrow::before {
  display: none;
}

.section-title {
  margin: 0 0 14px;
  color: var(--ink-1);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: -0.3px;
  text-wrap: balance;
}

.section-sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.78;
}

.section-features {
  background:
    radial-gradient(900px 480px at 92% 8%, rgba(207, 41, 49, 0.1), transparent 60%),
    radial-gradient(700px 380px at -8% 90%, rgba(207, 41, 49, 0.06), transparent 60%),
    var(--paper-soft);
}

.section-features .container {
  position: relative;
}

.feature-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 24vw, 300px);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  margin-bottom: 46px;
}

.feature-intro .section-head {
  max-width: 640px;
  margin: 0;
  text-align: left;
}

.feature-intro .eyebrow::before,
.feature-intro .eyebrow::after {
  display: none;
}

.feature-art {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 245, 246, 0.4));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow-md),
    0 30px 70px rgba(207, 41, 49, 0.14);
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 252, 251, 0.92)),
    var(--paper-strong);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px 200px at 12% -10%, rgba(207, 41, 49, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  content: "";
}

.feature-card::after {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 0 0 4px 4px;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  content: "";
}

.feature-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 18px 50px rgba(42, 24, 30, 0.12), 0 8px 24px rgba(207, 41, 49, 0.12);
  transform: translateY(-4px);
}

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

.feature-card:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.feature-icon {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 10px 22px rgba(42, 24, 30, 0.18);
  transition: transform 0.25s ease;
}

.feature-icon::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 50%);
  pointer-events: none;
  content: "";
}

.feature-card:hover .feature-icon {
  transform: scale(1.04) rotate(-2deg);
}

.icon-grad-1 {
  background: linear-gradient(135deg, #cf2931, #ef5660);
}

.icon-grad-2 {
  background: linear-gradient(135deg, #f1a51f, #f5c34e);
}

.icon-grad-3 {
  background: linear-gradient(135deg, #1aa66f, #49c690);
}

.icon-grad-4 {
  background: linear-gradient(135deg, #2d7eea, #67a8ff);
}

.icon-grad-5 {
  background: linear-gradient(135deg, #6e5dd8, #9f92f0);
}

.icon-grad-6 {
  background: linear-gradient(135deg, #31272c, #66545d);
}

.feature-title,
.step-title {
  margin: 0 0 10px;
  color: var(--ink-1);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.feature-desc,
.step-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.78;
}

.feature-desc strong,
.step-desc strong {
  color: var(--ink-1);
  font-weight: 700;
}

.section-workflow {
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(207, 41, 49, 0.06), transparent 60%),
    var(--paper);
}

.section-workflow .container {
  position: relative;
}

.workflow-art {
  width: 100%;
  height: clamp(190px, 25vw, 290px);
  margin-bottom: 30px;
  border: 1px solid rgba(44, 31, 36, 0.1);
  border-radius: 28px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-md), 0 30px 60px rgba(207, 41, 49, 0.12);
}

.workflow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}

.step {
  position: relative;
  min-height: 224px;
  padding: 28px 26px;
  border: 1px solid rgba(44, 31, 36, 0.1);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 252, 252, 0.95));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0.75;
  content: "";
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: 0 22px 50px rgba(42, 24, 30, 0.12), 0 10px 24px rgba(207, 41, 49, 0.16);
}

.step-num {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--gradient-accent);
  box-shadow: 0 6px 14px rgba(207, 41, 49, 0.32);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

.step-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 0.7;
  animation: arrowFloat 2.4s ease-in-out infinite;
}

@keyframes arrowFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.section-showcase {
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(900px 480px at 14% 24%, rgba(207, 41, 49, 0.42), transparent 60%),
    radial-gradient(700px 420px at 92% 84%, rgba(207, 41, 49, 0.22), transparent 65%),
    linear-gradient(180deg, #1a1014 0%, #15090d 100%);
}

.section-showcase::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
  content: "";
}

.section-showcase .container {
  position: relative;
  z-index: 1;
}

.section-showcase .eyebrow {
  color: var(--accent-bright);
}

.section-showcase .eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--accent-bright));
}

.section-showcase .eyebrow::after {
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}

.section-showcase .section-title {
  color: #fff;
}

.section-showcase .section-sub {
  color: rgba(255, 255, 255, 0.7);
}

.showcase-frame {
  position: relative;
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(7, 4, 5, 0.48),
    0 60px 120px rgba(207, 41, 49, 0.22);
}

.showcase-frame::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%, rgba(207, 41, 49, 0.32));
  filter: blur(14px);
  opacity: 0.6;
  content: "";
  pointer-events: none;
}

.showcase-traffic {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(44, 31, 36, 0.1);
  background: #f5eff1;
}

.traffic {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.showcase-url {
  margin-left: 10px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
}

.showcase-mockup {
  width: 100%;
}

.showcase-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bullet {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 82px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  font-size: 14.5px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.bullet:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 100, 110, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(207, 41, 49, 0.08));
}

.bullet-icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--gradient-accent);
  box-shadow: 0 6px 14px rgba(207, 41, 49, 0.4);
  font-size: 12px;
  font-weight: 800;
}

.section-faq {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(207, 41, 49, 0.08), transparent 60%),
    var(--paper);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.faq-item:hover {
  border-color: var(--accent-line);
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(255, 245, 246, 0.7), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 36px rgba(207, 41, 49, 0.1), var(--shadow-sm);
}

.faq-item[open]::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  bottom: 0;
  background: var(--gradient-accent);
  content: "";
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  color: var(--ink-1);
  font-size: 15.5px;
  font-weight: 760;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item[open] summary {
  color: var(--accent-strong);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span:first-child {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--paper-soft);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.3s ease,
    box-shadow 0.25s ease;
}

.faq-item:hover .faq-icon {
  color: var(--accent);
  background: var(--accent-soft);
}

.faq-item[open] .faq-icon {
  color: #fff;
  background: var(--gradient-accent);
  box-shadow: 0 6px 14px rgba(207, 41, 49, 0.3);
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.78;
}

.faq-body strong {
  color: var(--ink-1);
}

.faq-body code {
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink-1);
  background: var(--paper-soft);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}

.faq-body a {
  color: var(--accent);
}

.faq-body a:hover {
  text-decoration: underline;
}

.site-footer {
  position: relative;
  padding: 56px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(207, 41, 49, 0.18), transparent 60%),
    #100a0d;
  font-size: 14px;
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent-bright) 50%, var(--accent) 70%, transparent 100%);
  opacity: 0.4;
  content: "";
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  margin-bottom: 14px;
  color: #fff;
}

.footer-brand .brand-text-em {
  color: var(--accent-bright);
  background: linear-gradient(135deg, var(--accent-bright), #ff8a91);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tag {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  margin: 0 0 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.56);
  transition: color 0.18s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 52px;
  }

  .hero::before,
  .hero-art {
    height: calc(100% - 24px);
  }

  .hero-art {
    width: 1360px;
    max-width: none;
    opacity: 0.86;
    object-position: 62% center;
  }

  .hero-title {
    font-size: clamp(36px, 7vw, 54px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-visual {
    width: 100%;
    padding-left: 0;
  }

  .feature-intro {
    margin-bottom: 34px;
  }

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

  .workflow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step {
    min-height: 0;
  }

  .step-arrow {
    height: 18px;
    transform: rotate(90deg);
  }

  .showcase-bullets {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 20px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 252, 0.98);
    box-shadow: var(--shadow-md);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-bottom: 38px;
  }

  .hero-art {
    width: 1080px;
    opacity: 0.66;
    object-position: 65% center;
  }

  .hero-title {
    margin-bottom: 18px;
    font-size: 36px;
  }

  .hero-sub {
    line-height: 1.72;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta-item {
    width: 100%;
  }

  .hero-note {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero-note-cmd {
    display: inline-block;
    margin-top: 4px;
    margin-left: 0;
    white-space: normal;
    word-break: break-all;
  }

  .hero-proof {
    gap: 10px 18px;
  }

  .hero-visual {
    margin-top: 26px;
  }

  .section-head {
    margin-bottom: 34px;
    text-align: left;
  }

  .feature-art {
    display: none;
  }

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

  .feature-card {
    min-height: 0;
  }

  .workflow-art {
    height: 176px;
    margin-bottom: 20px;
    border-radius: 18px;
  }

  .showcase-traffic {
    min-height: 44px;
    padding: 0 14px;
  }

  .showcase-url {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bullet {
    min-height: 0;
  }

  .faq-item summary {
    align-items: flex-start;
  }

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