﻿:root {
  --bg: #f5f5f7;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --teal: #0071e3;
  --teal-dark: #005bb5;
  --coral: #0071e3;
  --gold: #bf8f00;
  --mint: #34c759;
  --blue: #0071e3;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 360px, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header {
  padding: 12px 42px;
  color: var(--ink);
  background: rgba(251, 251, 253, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(22px);
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.site-header-solid {
  color: var(--ink);
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(22px);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #1d1d1f, #4a4a4f);
  font-size: 0.86rem;
}

.brand strong { font-weight: 700; }

.site-nav a {
  border-radius: 8px;
  font-weight: 600;
  opacity: 0.86;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.nav-cta {
  border-color: rgba(0, 113, 227, 0.35);
  color: #0071e3 !important;
  background: rgba(0, 113, 227, 0.08);
}

.page-main { padding-top: 70px; }

body[data-page="cases"] .compare-hero {
  display: none;
}

body[data-page="cases"] .case-proof {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 760px;
  padding: 128px 0 76px;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 113, 227, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 64%, #ffffff 100%);
}

.hero-shade {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 56px));
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}

.hero-inner::after {
  content: "";
  display: block;
  width: min(820px, 94%);
  aspect-ratio: 16 / 7;
  margin: 54px auto 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(0, 113, 227, 0.12), transparent 28%, rgba(52, 199, 89, 0.12) 74%, transparent),
    linear-gradient(180deg, #ffffff 0 18%, #f5f5f7 18% 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.1);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 0;
  width: min(720px, 72vw);
  height: 24px;
  border-radius: 999px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::before {
  bottom: 136px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.hero::after {
  bottom: 162px;
  width: min(600px, 64vw);
  background: linear-gradient(90deg, #0071e3 0 28%, #34c759 28% 52%, #ff9f0a 52% 74%, #ff3b30 74% 100%);
  opacity: 0.9;
}

h1,
.page-hero h1 {
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(3.4rem, 6.6vw, 6.4rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 760px;
  margin-inline: auto;
  color: #6e6e73;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.55;
}

.page-hero p:last-child,
.section-heading p:last-child,
.home-next-card p,
.service-card p,
.work-card p,
.global-panel p,
.case-index-body p,
.compare-case-head p:last-child,
.case-detail-header p {
  color: var(--muted);
}

.eyebrow { color: #0071e3; font-weight: 700; }
.hero .eyebrow { color: #6e6e73; }

.button {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

.button-primary,
.button-dark {
  color: #fff;
  background: #0071e3;
}

.button-primary:hover,
.button-dark:hover,
.button-primary:focus-visible,
.button-dark:focus-visible {
  background: #0077ed;
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.22);
}

.button-secondary {
  color: #0071e3;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.button-outline {
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.35);
  background: rgba(0, 113, 227, 0.06);
}

.hero-stats div,
.compare-mini,
.promo-callout,
.global-panel,
.tag-cloud span,
.platform-cloud span {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(22px);
}

.hero-stats {
  position: relative;
  z-index: 2;
  justify-content: center;
  margin-top: -58px;
}

.hero-stats div {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.hero-stats dt { color: var(--ink); }
.hero-stats dd { color: var(--muted); }

.intro-band,
.case-proof,
.site-footer {
  color: var(--ink);
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.page-hero,
.home-next,
.section-warm,
.global-section,
.compare-hero,
.case-detail-hero {
  background: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.08), transparent 34%), #f5f5f7;
}

.section { padding: 96px 0; }
.section-inner { width: min(1180px, calc(100% - 56px)); }

.section-heading h2,
.compare-promise-card h2,
.contact-copy h2,
.account-copy h2,
.submit-heading h2 {
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
}

.home-next-card,
.service-card,
.work-card,
.price-card,
.brief-card,
.compare-case,
.compare-column,
.compare-promise-card,
.case-detail-stats div,
.case-detail-gallery figure,
.faq-list details,
.contact-card,
.account-card,
.upload-form,
.submit-note {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07);
  backdrop-filter: saturate(160%) blur(20px);
}

.case-index-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.case-index-card:hover,
.case-index-card:focus-visible {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.11);
}

.case-index-media { background: #f5f5f7; }

.case-index-body strong,
.case-index-head span,
.footer-inner a,
.intro-grid a {
  color: #0071e3;
}

.service-number,
.process-list span,
.accent-mint .service-number,
.accent-coral .service-number,
.accent-gold .service-number {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
}

.mock-detail {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.96)), #f5f5f7;
}

.mock-detail::before { background: #0071e3; }


.hero-home-cases {
  min-height: 0;
  padding-bottom: 86px;
}

.hero-home-cases .hero-inner {
  width: min(1180px, calc(100% - 56px));
}

.hero-home-cases .hero-inner::after,
.hero-home-cases::before,
.hero-home-cases::after {
  display: none;
}

.home-case-showcase {
  margin-top: 56px;
  text-align: left;
}

.home-case-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.home-case-heading h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.06;
}

.home-case-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.home-case-grid {
  margin-top: 0;
}


body[data-page="cases"] .case-index-grid {
  display: block;
  columns: 3 320px;
  column-gap: 20px;
}

body[data-page="cases"] .case-index-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  break-inside: avoid;
}

body[data-page="cases"] .case-index-card .case-index-media {
  grid-template-columns: 1fr 1fr;
}

.home-cases-more {
  width: fit-content;
  margin: 28px auto 0;
}
input,
textarea,
select {
  border-radius: 8px !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0071e3 !important;
  outline: 3px solid rgba(0, 113, 227, 0.16) !important;
}

@media (max-width: 760px) {
  .site-header { padding: 10px 18px; }

  .site-nav {
    top: 62px;
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(251, 251, 253, 0.94);
    backdrop-filter: saturate(180%) blur(22px);
  }

  .hero {
    min-height: 680px;
    padding: 108px 0 58px;
    background:
      radial-gradient(circle at 50% 100%, rgba(0, 113, 227, 0.12), transparent 36%),
      linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 68%, #ffffff 100%);
  }

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

  h1 { font-size: 2.65rem; }
  .hero-copy { font-size: 1.04rem; }
  .hero-inner::after {
    width: 100%;
    margin-top: 38px;
    border-radius: 20px;
  }
  .hero::before { bottom: 114px; }
  .hero::after {
    bottom: 138px;
    width: min(330px, 76vw);
    height: 18px;
  }
  .hero-stats {
    margin-top: -42px;
  }
  .section { padding: 72px 0; }
}

.admin-panel {
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  background: #f5f5f7;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

.role-admin {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
}

.qr-contact-section {
  padding: 84px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.qr-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.1fr);
  gap: 40px;
  align-items: center;
}

.qr-contact-copy h2 {
  margin: 10px 0 16px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.06;
}

.qr-contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.qr-contact-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.qr-contact-copy li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
}

.qr-contact-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0071e3;
}

.qr-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.qr-card img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.qr-card h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
}

.platform-page .page-hero {
  min-height: auto;
}

.platform-hero .platform-hero-inner {
  max-width: 980px;
  text-align: center;
}

.platform-hero-actions,
.platform-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.platform-snapshot-section {
  padding: 48px 0 96px;
  background: #fff;
}

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

.platform-snapshot-grid article,
.platform-matrix article,
.platform-feature-grid article,
.platform-cta {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.platform-snapshot-grid article {
  padding: 28px;
}

.platform-snapshot-grid span {
  display: block;
  color: #0071e3;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.platform-snapshot-grid h3,
.platform-matrix h3,
.platform-feature-grid h3 {
  margin: 14px 0 8px;
  color: var(--ink);
}

.platform-snapshot-grid p,
.platform-matrix p,
.platform-feature-grid p,
.platform-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.platform-two-col {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(520px, 1.15fr);
  gap: 42px;
  align-items: center;
}

.platform-copy h2,
.platform-cta h2 {
  margin: 10px 0 16px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.08;
}

.platform-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.language-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-cloud span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  font-weight: 700;
}

.platform-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.platform-matrix article,
.platform-feature-grid article {
  padding: 26px;
}

.platform-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.platform-feature-grid span {
  color: #0071e3;
  font-weight: 800;
}

.platform-cta-section {
  background: #fff;
}

.platform-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px;
}

.platform-cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 900px) {
  .platform-snapshot-grid,
  .platform-two-col,
  .platform-matrix,
  .platform-feature-grid,
  .platform-cta {
    grid-template-columns: 1fr;
  }

  .platform-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .qr-contact-section {
    padding: 56px 0 72px;
  }

  .qr-contact-layout,
  .qr-contact-grid {
    grid-template-columns: 1fr;
  }

  .qr-contact-layout {
    gap: 28px;
  }

  .qr-contact-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .qr-card {
    padding: 18px;
  }

  .platform-hero-actions,
  .platform-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-hero-actions .button,
  .platform-cta-actions .button {
    width: 100%;
  }

  .platform-snapshot-section {
    padding: 36px 0 72px;
  }

  .platform-snapshot-grid article,
  .platform-matrix article,
  .platform-feature-grid article,
  .platform-cta {
    padding: 22px;
  }

  .platform-copy h2,
  .platform-cta h2 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .language-cloud span {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.94rem;
  }
}


/* mobile horizontal nav */

@media (max-width: 760px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px 18px 8px;
  }

  .brand {
    width: 100%;
  }

  .nav-toggle {
    display: none !important;
  }

  .site-nav {
    position: static !important;
    display: flex !important;
    width: 100%;
    margin: 0;
    padding: 0 0 4px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    color: var(--ink);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: none !important;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .site-nav .nav-cta {
    border-color: rgba(0, 113, 227, 0.26);
  }

  .hero {
    padding-top: 154px;
  }

  .page-main {
    padding-top: 118px;
  }
}
