/* ArkeFit 启健 — Official Site */
:root {
  --navy: #0b2d5c;
  --navy-deep: #061a38;
  --navy-mid: #163f78;
  --orange: #ef7a1a;
  --orange-hot: #ff8a2b;
  --orange-soft: #fff1e4;
  --sky: #e8f1fb;
  --ink: #142033;
  --muted: #5b6b7f;
  --line: rgba(11, 45, 92, 0.12);
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(6, 26, 56, 0.14);
  --font-display: "Sora", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Sora", system-ui, sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(239, 122, 26, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(22, 63, 120, 0.1), transparent 50%),
    linear-gradient(180deg, #f7fafd 0%, #eef4fb 40%, #f8fafc 100%);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header .brand img {
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.site-header .nav > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.9);
}

.site-header .nav-toggle span {
  background: #fff;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .brand img,
.site-header.is-solid .brand img {
  filter: none;
}

.site-header.is-scrolled .nav > a:not(.nav-cta),
.site-header.is-solid .nav > a:not(.nav-cta) {
  color: var(--navy);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-solid .nav-toggle span {
  background: var(--navy);
}

.header-inner {
  height: var(--header-h);
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.86;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  background: var(--orange);
  color: #fff !important;
  border-radius: 999px;
  opacity: 1 !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(239, 122, 26, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-hot), var(--orange));
  color: #fff;
  box-shadow: 0 12px 28px rgba(239, 122, 26, 0.32);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 26, 56, 0.82) 0%, rgba(6, 26, 56, 0.55) 48%, rgba(6, 26, 56, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 26, 56, 0.25) 0%, rgba(6, 26, 56, 0.12) 45%, rgba(6, 26, 56, 0.72) 100%);
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: riseIn 0.8s ease both;
}

.brand-mark img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  animation: riseIn 0.9s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  animation: riseIn 0.9s ease 0.16s both;
}

.hero .cta-group {
  animation: riseIn 0.9s ease 0.24s both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 0.4rem auto 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
  animation: drip 1.4s ease-in-out infinite;
}

@keyframes drip {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Sections */
section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-desc {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.section-head {
  margin-bottom: 2.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Summary / GEO */
.summary {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.summary-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 241, 251, 0.9));
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.summary-box p {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.35rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Engines */
.engines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.engine {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.engine:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.engine-index {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(11, 45, 92, 0.1);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.engine h3 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.engine p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.engine::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 122, 26, 0.18), transparent 70%);
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.solution-visual {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-panel {
  display: grid;
  gap: 1rem;
}

.solution {
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
}

.solution h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.solution ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.solution li + li {
  margin-top: 0.35rem;
}

/* Table / GEO friendly */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.compare th,
.compare td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.case-feature {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
}

.case-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-feature figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.3rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(6, 26, 56, 0.85));
  color: #fff;
}

.case-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.case-feature p {
  margin: 0;
  opacity: 0.88;
  font-size: 0.92rem;
}

.case-list {
  display: grid;
  gap: 1rem;
}

.case-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.case-item img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
}

.case-item div {
  padding: 0.9rem 0.9rem 0.9rem 0;
}

.case-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--navy);
}

.case-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Partners */
.partners-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-row {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}

.partners-row img {
  height: 36px;
  width: auto;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.partners-row img:hover {
  opacity: 1;
  filter: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Definitions */
.terms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.terms dt {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.terms dd {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

/* Contact */
.contact {
  background:
    linear-gradient(160deg, rgba(11, 45, 92, 0.96), rgba(6, 26, 56, 0.98)),
    url("../img/venue-2.jpg") center/cover;
  color: #fff;
}

.contact .section-title,
.contact .section-kicker {
  color: #fff;
}

.contact .section-kicker {
  color: var(--orange-hot);
}

.contact .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.contact-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(239, 122, 26, 0.35);
  border-color: var(--orange);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.9rem;
}

.form-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status {
  margin-top: 0.8rem;
  min-height: 1.4rem;
  font-size: 0.92rem;
}

.form-status.ok {
  color: #147a3e;
}

.form-status.err {
  color: #b42318;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.site-footer .brand img {
  filter: brightness(0) invert(1);
  height: 32px;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.82;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--orange-hot);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row nowrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
  white-space: nowrap;
}

.site-footer .footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .footer-bottom {
    align-items: flex-start;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    white-space: normal;
  }

  .footer-sep {
    display: none;
  }
}

.footer-beian img {
  width: 14px;
  height: 14px;
}

.legal-back {
  margin-left: auto;
  color: var(--navy);
  font-weight: 600;
}

.legal-page {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
}

.legal-page h2 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid,
  .cases-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-visual {
    min-height: 280px;
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 1.5rem, 1120px);
    --header-h: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .site-header .nav > a:not(.nav-cta),
  .site-header.is-scrolled .nav > a:not(.nav-cta) {
    color: var(--navy);
  }

  .nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.6rem;
    border-radius: 10px;
  }

  .engines,
  .terms,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .case-item {
    grid-template-columns: 96px 1fr;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-group {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
