:root {
  --ink: #141413;
  --muted: #5d5a54;
  --paper: #f5f0e7;
  --paper-strong: #fffaf0;
  --line: rgba(20, 20, 19, 0.15);
  --night: #101614;
  --night-soft: #18211f;
  --teal: #2aa889;
  --amber: #d89b45;
  --tomato: #c85f4d;
  --white: #ffffff;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.zh {
  font-family: "Microsoft YaHei", "PingFang SC", Inter, ui-sans-serif, system-ui, sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(12, 15, 14, 0.82), rgba(12, 15, 14, 0));
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a {
  transition: color 180ms ease;
}

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

.header-actions {
  gap: 10px;
}

.lang-toggle {
  min-width: 54px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 720;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--night);
  background: var(--teal);
}

.button-light {
  color: var(--night);
  background: var(--paper-strong);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(20px, 6vw, 76px) 72px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 8, 8, 0.93) 0%, rgba(6, 8, 8, 0.7) 38%, rgba(6, 8, 8, 0.28) 72%),
    linear-gradient(0deg, rgba(6, 8, 8, 0.9), rgba(6, 8, 8, 0.12) 42%);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-line {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.section {
  padding: clamp(74px, 11vw, 136px) clamp(20px, 6vw, 76px);
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: var(--white);
  background: var(--night);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
}

.section-heading h2,
.ai-copy h2,
.booking-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-intro {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: var(--paper-strong);
  transform: translateY(-4px);
}

.service-card span {
  color: var(--teal);
  font-weight: 800;
}

.service-card h3,
.timeline-step h3 {
  margin: 72px 0 12px;
  font-size: 23px;
  line-height: 1.08;
}

.service-card p,
.timeline-step p,
.ai-copy p,
.booking-copy p,
.pricing-card p,
.faq-item p {
  color: var(--muted);
}

.section-dark .timeline-step p {
  color: rgba(255, 255, 255, 0.68);
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.timeline-step {
  min-height: 280px;
  padding: 28px;
  background: var(--night-soft);
}

.timeline-step strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--night);
  background: var(--amber);
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: end;
  max-width: calc(var(--max) + 152px);
  margin: 0 auto;
  background: var(--paper-strong);
}

.ai-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.ai-list div {
  padding: 28px;
  background: var(--paper-strong);
}

.ai-list span {
  color: var(--teal);
  font-weight: 800;
}

.pricing-section {
  border-top: 1px solid var(--line);
}

.pricing-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.pricing-card-featured {
  border-color: var(--teal);
  box-shadow: 0 18px 48px rgba(16, 22, 20, 0.12);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 24px;
  padding: 7px 12px;
  color: var(--night);
  background: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.plan-heading {
  min-height: 74px;
}

.plan-label {
  margin: 0;
  color: var(--teal) !important;
  font-weight: 800;
}

.plan-fit {
  margin: 8px 0 0;
  font-size: 14px;
}

.pricing-card h3 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 0.95;
}

.pricing-card h3 span {
  color: var(--muted);
  font-size: 20px;
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  flex: 1;
}

.pricing-card li {
  position: relative;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-card li::before {
  content: "✓";
  display: inline-block;
  margin-right: 9px;
  color: var(--teal);
  font-weight: 800;
}

@media (min-width: 1121px) {
  .plan-heading {
    height: 104px;
    min-height: 104px;
  }

  .pricing-card > p {
    height: 120px;
    margin: 0;
  }
}

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

  .plan-heading,
  .pricing-card > p {
    height: auto;
    min-height: 0;
  }
}

.pricing-actions {
  display: grid;
  gap: 12px;
}

.billing-note {
  max-width: var(--max);
  margin: 22px auto 0;
  text-align: center;
}

.delivery-note {
  max-width: var(--max);
  margin: 52px auto 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.delivery-note strong {
  color: var(--teal);
}

.delivery-note p {
  margin: 0;
  color: var(--muted);
}

.comparison-wrap {
  max-width: var(--max);
  margin: 54px auto 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--paper-strong);
}

.comparison-table caption {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  width: 25%;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--teal);
  border-top: 1px solid var(--line);
  font-size: 17px;
}

.comparison-table thead th:first-child,
.comparison-table tbody th {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  background: rgba(42, 168, 137, 0.07);
}

.portal-link {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(34px, 7vw, 80px);
  align-items: stretch;
  color: var(--white);
  background: var(--night);
}

.booking-copy {
  align-self: center;
}

.booking-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.booking-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #0c100f;
  overflow: hidden;
}

.booking-panel p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.faq-list {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 760;
}

.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-size: 28px;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  max-width: 760px;
  margin: 0 0 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: #090b0a;
}

.site-footer p {
  margin: 4px 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.hero .reveal {
  animation: heroIn 760ms ease 160ms forwards;
}

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

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .service-grid,
  .timeline,
  .ai-section,
  .pricing-grid,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline-step {
    min-height: 220px;
  }

  .service-card h3,
  .timeline-step h3 {
    margin-top: 42px;
  }

  .pricing-card {
    min-height: auto;
  }

  .plan-heading {
    min-height: auto;
  }

  .delivery-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 66px;
    padding-inline: 14px;
  }

  .brand span:last-child,
  .button-ghost {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding: 104px 18px 46px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 8, 8, 0.94) 0%, rgba(6, 8, 8, 0.76) 60%, rgba(6, 8, 8, 0.42) 100%),
      linear-gradient(0deg, rgba(6, 8, 8, 0.9), rgba(6, 8, 8, 0.2) 42%);
  }

  .button {
    width: 100%;
  }

  .section {
    padding-inline: 18px;
  }

  .pricing-actions {
    width: 100%;
  }

  .comparison-wrap {
    margin-right: -18px;
  }

  .booking-panel {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
  }
}
