:root {
  --brand: rgb(255, 36, 79);
  --brand-dark: #bd1438;
  --brand-soft: #fff0f3;
  --ink: #1f2229;
  --ink-strong: #111319;
  --muted: #646b76;
  --surface: #ffffff;
  --surface-alt: #f6f7f9;
  --surface-warm: #fff8ed;
  --border: #e5e8ee;
  --teal: #108f86;
  --teal-soft: #e7f8f5;
  --amber: #d89400;
  --amber-soft: #fff4d9;
  --shadow: 0 14px 34px rgba(22, 24, 31, 0.12);
  --shadow-soft: 0 8px 24px rgba(22, 24, 31, 0.08);
  --header-height: 74px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button {
  font: inherit;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--ink-strong);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(229, 232, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 62px;
}

.brand img {
  width: auto;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(255, 36, 79, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 14px 28px rgba(255, 36, 79, 0.24);
}

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

.nav-link,
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #343944;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(255, 36, 79, 0.22);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(690px, calc(100svh - 150px));
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 82px 0 52px;
  color: #ffffff;
}

.hero-cover,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-cover {
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 15, 21, 0.88) 0%, rgba(18, 19, 25, 0.58) 44%, rgba(16, 18, 24, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.38));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero .section-kicker {
  color: #ffd7df;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: 3.35rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 1.9;
}

.text-nowrap {
  white-space: nowrap;
}

.hero h1 .text-nowrap {
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.hero-title-sub {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.46em;
  line-height: 1.45;
  font-weight: 800;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary-button::before,
.secondary-button::before,
.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 360ms ease;
}

.primary-button:hover::before,
.primary-button:focus-visible::before,
.secondary-button:hover::before,
.secondary-button:focus-visible::before,
.cta-button:hover::before,
.cta-button:focus-visible::before {
  transform: translateX(120%);
}

.primary-button {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(255, 36, 79, 0.28);
}

.primary-button.compact {
  min-height: 44px;
  margin-top: 24px;
  padding: 0 18px;
}

.secondary-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px 20px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-metrics div:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.hero-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics dt {
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  color: var(--ink-strong);
  font-size: 2.25rem;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

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

.timeline-item {
  position: relative;
  min-height: 156px;
  padding: 24px 24px 24px 86px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 36, 79, 0.28);
  box-shadow: 0 18px 42px rgba(22, 24, 31, 0.13);
}

.timeline-index {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--brand);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 36, 79, 0.22);
  transition: transform 180ms ease;
}

.timeline-item:hover .timeline-index {
  transform: scale(1.06);
}

.timeline-item h3,
.feature-card h3,
.work-card h3 {
  color: rgb(255, 36, 79);
  font-size: 1.28rem;
  line-height: 1.35;
  font-weight: 900;
}

.timeline-item p,
.feature-card p,
.work-card p,
.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

.feature-band {
  background: var(--surface-alt);
}

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

.feature-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 36, 79, 0.3);
  box-shadow: 0 20px 46px rgba(22, 24, 31, 0.13);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--brand-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 12px 26px rgba(255, 36, 79, 0.14);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-icon.accent-teal {
  color: var(--teal);
  background: var(--teal-soft);
}

.feature-icon.accent-amber {
  color: var(--amber);
  background: var(--amber-soft);
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 36, 79, 0.32);
  box-shadow: 0 20px 46px rgba(22, 24, 31, 0.14);
}

.work-card picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eceff4;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.work-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.work-body {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: #303640;
  background: var(--surface-alt);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.work-card:hover .tag-row span,
.feature-card:hover .tag-row span {
  color: var(--brand-dark);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.faq-band {
  background: linear-gradient(180deg, var(--surface-alt), #ffffff);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(22, 24, 31, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 36, 79, 0.26);
  box-shadow: 0 14px 30px rgba(22, 24, 31, 0.1);
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 18px 54px 18px 22px;
  color: var(--ink-strong);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
  color: var(--brand-dark);
  background: rgba(255, 36, 79, 0.035);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-list details:hover summary::after {
  transform: translateY(-50%) scale(1.08);
  background: #ffe1e7;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 22px 22px;
}

.cta-strip {
  padding: 82px 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 36, 79, 0.14), transparent 30%),
    linear-gradient(135deg, #fff7f9 0%, var(--brand-soft) 100%);
}

.cta-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  color: var(--ink-strong);
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.cta-inner p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.cta-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 58px;
  padding: 0 28px;
  border: 2px solid rgba(255, 36, 79, 0.72);
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 36, 79, 0.2);
}

.cta-button-light {
  color: #ffffff;
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(132, 12, 42, 0.22);
}

.cta-button-light:hover,
.cta-button-light:focus-visible {
  color: #ffffff;
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.cta-button-outline {
  color: var(--brand);
  background: transparent;
}

.cta-button-outline:hover,
.cta-button-outline:focus-visible {
  color: var(--brand-dark);
  border-color: var(--brand);
  background: #ffffff;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #171920;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

:focus-visible {
  outline: 3px solid rgba(255, 36, 79, 0.36);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .hero h1 {
    max-width: 620px;
    font-size: 2.65rem;
  }

  .two-column,
  .faq-layout,
  .timeline {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .feature-card {
    min-height: 270px;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 66px;
  }

  html {
    scroll-padding-top: 78px;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 80;
    background: rgba(17, 19, 25, 0.36);
  }

  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .brand {
    width: 64px;
    height: 56px;
  }

  .brand img {
    width: auto;
    height: 54px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 120;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    z-index: 120;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: grid;
  }

  .nav-link,
  .nav-cta {
    justify-content: flex-start;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
  }

  .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 15, 21, 0.9) 0%, rgba(18, 19, 25, 0.7) 60%, rgba(16, 18, 24, 0.42) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
  }

  .hero-cover {
    object-position: 66% center;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 1.8rem;
  }

  .hero-copy {
    max-width: 560px;
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 22px;
    align-items: stretch;
    gap: 10px;
  }

  .primary-button,
  .secondary-button {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-metrics div {
    padding: 12px 16px;
  }

  .hero-metrics dt {
    font-size: 1rem;
  }

  .hero-metrics dd {
    font-size: 0.84rem;
  }

  .hero-metrics div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .section {
    padding: 66px 0;
  }

  .cta-strip {
    padding: 64px 0;
  }

  .cta-inner {
    width: min(100% - 32px, 1180px);
  }

  .cta-inner h2 {
    font-size: 1.82rem;
  }

  .cta-inner p {
    margin-top: 16px;
    font-size: 1rem;
  }

  .cta-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading h2 {
    font-size: 1.82rem;
  }

  .section-heading p:not(.section-kicker) {
    font-size: 1rem;
  }

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

  .feature-card,
  .timeline-item {
    min-height: 0;
  }

  .timeline-item {
    padding: 22px 22px 22px 78px;
  }

  .footer-inner {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .cta-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero h1 {
    font-size: 1.68rem;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button,
  .cta-button {
    width: 100%;
  }

  .cta-inner h2 {
    font-size: 1.6rem;
  }

  .section-heading h2 {
    font-size: 1.55rem;
  }

  .feature-card,
  .work-body {
    padding: 22px;
  }

  .timeline-item {
    padding: 72px 20px 22px;
  }

  .timeline-index {
    top: 20px;
    left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
