/* ═══════════════════════════════════════════════════════════════
   ShortsCrew 官方网站 · Nimbus Core (TraeCode UI) 页面主题层
   设计 Token 与组件类来自 colors_and_type.css / components.css
   本文件只负责营销页布局与区块样式，全部颜色/字号/圆角/间距引用 Token
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   品牌色覆盖：TraeCode UI 品牌绿 → ShortsCrew 品牌金
   数值取自原站 golden 体系：#C09D19 主金 / #e6b730 亮金 / #f3d36b 高亮金
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg-brand: #C09D19;
  --bg-brand-hover: #e6b730;
  --bg-brand-disabled: rgba(192, 157, 25, 0.2);
  --bg-brand-popup: rgba(192, 157, 25, 0.14);
  --text-brand: #e6b730;
  --text-brand-hover: #f3d36b;
  --icon-brand: #e6b730;
  --icon-brand-hover: #f3d36b;
  --border-brand: rgba(230, 183, 48, 0.55);
  /* 模型墙：白底承接原彩色品牌 Logo */
  --brand-wall-bg: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base-default);
  color: var(--text-default);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { color: var(--text-default); margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; }
.section { padding: 96px 0; position: relative; }

/* ==================== Section head ==================== */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head__index {
  display: block;
  font-family: var(--code-editor-font-family);
  font-size: var(--body-sm-font-size);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-brand);
  margin-bottom: var(--spacer-12);
}
.section-head__title {
  font-family: "SF Pro", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--spacer-12);
}
.section-head__desc { color: var(--text-secondary); font-size: 15px; margin: 0; }
.section-head--left { text-align: left; margin: 0 0 40px; }

/* ==================== Navbar ==================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(26, 27, 29, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border-neutral-l1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "SF Pro", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-default);
  white-space: nowrap;
}
.logo__mark {
  width: 28px; height: 28px;
  border-radius: var(--radius-8);
  background: var(--bg-brand);
  color: var(--text-onbrand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.logo img { height: 22px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-6);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--text-default); background: var(--bg-overlay-l2); }
.nav__link.is-active { color: var(--text-default); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--bg-brand);
}
.nav__cta { margin-left: 8px; }

/* ==================== Hero ==================== */
.hero {
  position: relative;
  padding: 168px 0 96px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-base-default) url("../img/photos/bg2.jpg") center / cover no-repeat;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-neutral-l1) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-neutral-l1) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
}
.hero__glow {
  position: absolute;
  width: 660px; height: 660px;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-brand-popup) 0%, transparent 62%);
  filter: blur(48px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-brand-popup);
  border: 1px solid var(--border-brand);
  color: var(--text-brand);
  font-size: var(--body-sm-font-size);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg-brand);
  box-shadow: 0 0 10px var(--bg-brand);
}
.hero__title {
  font-family: "SF Pro", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-default);
  margin-bottom: 20px;
}
.hero__title .accent { color: var(--bg-brand); }
.hero__sub {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .ds-btn,
.cta .ds-btn { height: 42px; padding: 0 26px; border-radius: var(--radius-8); font-size: var(--body-base-font-size); font-weight: var(--body-base-strong-font-weight); }

/* ==================== Stats ==================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  padding: 24px 20px;
}
.stat-card__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--body-xs-font-size);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.stat-card__value {
  font-family: var(--code-editor-font-family);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  font-weight: 600;
  color: var(--text-default);
}
.stat-card__value .unit { color: var(--text-brand); font-size: 0.52em; margin-left: 3px; }
.stat-card__delta {
  margin-top: 10px;
  font-size: var(--body-sm-font-size);
  font-family: var(--code-editor-font-family);
  font-variant-numeric: tabular-nums;
  color: var(--status-success-default);
}

/* ==================== Feature rows (product pages) ==================== */
.feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.feature-grid.reverse .feature-visual { order: -1; }
.feature-kicker {
  display: block;
  font-family: var(--code-editor-font-family);
  font-size: var(--body-sm-font-size);
  letter-spacing: 0.22em;
  color: var(--text-brand);
  margin-bottom: 14px;
}
.feature-title {
  font-family: "SF Pro", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.feature-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
.feature-list { display: grid; gap: 14px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}
.feature-list .check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--bg-brand-popup);
  border: 1px solid var(--border-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-brand);
  font-size: 11px;
  font-weight: 700;
}
.feature-list strong { color: var(--text-default); font-weight: 600; }

/* ---- Screenshot frame ---- */
.feature-visual { position: relative; }
.shot {
  border-radius: var(--radius-10);
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l2);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  transition: transform .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.shot:hover {
  transform: translateY(-6px);
  border-color: var(--border-neutral-l3);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.55);
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-base-secondary);
  border-bottom: 1px solid var(--border-neutral-l1);
}
.shot__dot { width: 10px; height: 10px; border-radius: 50%; }
.shot__dot--r { background: var(--status-error-default); }
.shot__dot--y { background: var(--status-alert-default); }
.shot__dot--g { background: var(--status-success-default); }
.shot__url {
  flex: 1;
  margin-left: 8px;
  text-align: center;
  font-family: var(--code-editor-font-family);
  font-size: var(--body-xs-font-size);
  color: var(--text-tertiary);
  background: var(--bg-overlay-l1);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-6);
  padding: 4px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot img { width: 100%; display: block; }
.float-stat {
  position: absolute;
  padding: 14px 18px;
  background: var(--bg-base-tertiary);
  border: 1px solid var(--border-neutral-l2);
  border-radius: var(--radius-10);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.float-stat--tr { top: -22px; right: -26px; }
.float-stat--bl { bottom: -22px; left: -26px; }
.float-stat__label {
  font-size: var(--body-xs-font-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.float-stat__value {
  font-family: var(--code-editor-font-family);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-default);
}
.float-stat__value .unit { color: var(--text-brand); font-size: 0.6em; }
.float-stat__delta {
  margin-top: 2px;
  font-size: var(--body-xs-font-size);
  font-family: var(--code-editor-font-family);
  font-variant-numeric: tabular-nums;
  color: var(--status-success-default);
}

/* ==================== Feature cards (index abilities) ==================== */
.feature-card {
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  padding: 28px 24px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neutral-l2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-10);
  background: var(--bg-overlay-l3);
  border: 1px solid var(--border-neutral-l1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--icon-default);
}
.feature-card__media {
  margin: -28px -24px 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-10) var(--radius-10) 0 0;
  background: var(--bg-base-default);
}
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 0; }

/* ==================== Roles ==================== */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role-grid--2col { grid-template-columns: repeat(2, 1fr); }
.role-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  padding: 24px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neutral-l2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.role-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.role-card--error  .role-card__icon { background: var(--status-error-surface-l1);   color: var(--status-error-default); }
.role-card--ok     .role-card__icon { background: var(--status-success-surface-l1);  color: var(--status-success-default); }
.role-card--warn   .role-card__icon { background: var(--status-warning-surface-l1);  color: var(--status-warning-default); }
.role-card--info   .role-card__icon { background: var(--status-primary-surface-l1);  color: var(--status-primary-default); }
.role-card--alert  .role-card__icon { background: var(--status-alert-surface-l1);    color: var(--status-alert-default); }
.role-card--violet .role-card__icon { background: color-mix(in srgb, var(--accent-violet) 16%, transparent); color: var(--accent-violet); }
.role-card__tag { display: block; margin-bottom: 8px; }
.role-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.role-card p { color: var(--text-secondary); font-size: 14px; margin: 0; }

/* ==================== Models ==================== */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.model-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  background: var(--brand-wall-bg);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-8);
  padding: 14px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.model-cell:hover {
  transform: translateY(-3px);
  border-color: var(--border-neutral-l2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.model-cell img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

/* ==================== Testimonials ==================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  padding: 28px;
}
.testimonial-card blockquote { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.85; flex: 1; }
.testimonial-card blockquote::before {
  content: "“";
  display: block;
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 0.6;
  color: var(--bg-brand);
  margin-bottom: 10px;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-neutral-l1); }
.testimonial__name { color: var(--text-default); font-weight: 600; font-size: 14px; }
.testimonial__org { color: var(--text-tertiary); font-size: 12.5px; }

/* ==================== Works ==================== */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neutral-l2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.work-card__media { position: relative; overflow: hidden; background: var(--bg-base-default); }
.work-card__media img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.work-card__desc { color: var(--text-secondary); font-size: 13.5px; line-height: 1.7; margin: 0; flex: 1; }
.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-neutral-l1);
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.work-card__meta .co { display: inline-flex; align-items: center; gap: 6px; }
.work-card__meta .likes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-family: var(--code-editor-font-family);
  font-variant-numeric: tabular-nums;
}
.work-card__meta .likes img { width: 12px; height: 12px; }

/* ==================== Matrix ==================== */
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.matrix-card {
  position: relative;
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.matrix-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bg-brand), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.matrix-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neutral-l2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.matrix-card:hover::before { opacity: 1; }
.matrix-card__index {
  display: block;
  font-family: var(--code-editor-font-family);
  font-size: var(--body-sm-font-size);
  color: var(--text-brand);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.matrix-card__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-8);
  background: var(--bg-overlay-l3);
  border: 1px solid var(--border-neutral-l1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--icon-default);
}
.matrix-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.matrix-card__sub { color: var(--text-brand); font-size: var(--body-xs-font-size); letter-spacing: 0.05em; font-weight: 500; margin-bottom: 12px; }
.matrix-card p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.75; margin: 0; }

/* ==================== Cases ==================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-base-secondary);
  border: 1px solid var(--border-neutral-l1);
  border-radius: var(--radius-10);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-neutral-l2);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}
.case-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-base-default); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.case-card__rating {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.pill {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-neutral-l2);
  color: var(--text-default);
  font-size: var(--body-xs-font-size);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.case-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__tag { align-self: flex-start; }
.case-card__title { font-size: 17px; font-weight: 600; line-height: 1.4; }
.case-card__desc { color: var(--text-secondary); font-size: 13.5px; line-height: 1.75; margin: 0; flex: 1; }
.case-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-neutral-l1);
  padding-top: 14px;
  margin-top: 4px;
}
.case-stat { display: flex; align-items: baseline; gap: 10px; }
.case-stat__num {
  font-family: var(--code-editor-font-family);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-brand);
  min-width: 84px;
  flex-shrink: 0;
}
.case-stat__label { color: var(--text-tertiary); font-size: 12.5px; line-height: 1.5; }

/* ==================== Section with bg2 texture ==================== */
.section--bg2 {
  background: var(--bg-base-default) url("../img/photos/bg2.jpg") center / cover no-repeat;
}
.section--bg2::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(26, 27, 29, 0.88);
  pointer-events: none;
}

/* ==================== CTA ==================== */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-neutral-l1) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-neutral-l1) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 18%, transparent 66%);
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 66%);
}
.cta__glow {
  position: absolute;
  width: 620px; height: 620px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--bg-brand-popup) 0%, transparent 60%);
  filter: blur(56px);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 2; }
.cta h2 {
  font-family: "SF Pro", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta p { color: var(--text-secondary); font-size: 16px; margin-bottom: 32px; }
.cta .hero__actions { position: relative; }

/* ==================== Footer ==================== */
.footer {
  border-top: 1px solid var(--border-neutral-l1);
  padding: 40px 0 32px;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__links a {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-6);
  transition: color .2s ease, background .2s ease;
}
.footer__links a:hover { color: var(--text-default); background: var(--bg-overlay-l2); }
.footer__copy { color: var(--text-tertiary); font-size: 13px; }

/* ==================== Reveal animation ==================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .stats-grid,
  .model-grid,
  .matrix-grid,
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .feature-grid,
  .feature-grid.reverse { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid.reverse .feature-visual { order: 2; }
  .case-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav__links { display: none; }
  .stats-grid,
  .model-grid,
  .matrix-grid,
  .work-grid,
  .role-grid,
  .role-grid--2col { grid-template-columns: 1fr; }
  .hero { padding: 132px 0 64px; }
  .float-stat { display: none; }
  .cta { padding: 80px 0; }
}
