:root {
  --bg: #f7f6f3;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --card: #ffffff;
  --line: #e5e7eb;
  --soft: #ecfeff;
  --soft2: #fef3c7;
  --soft3: #eef2ff;
  --font-sans: "Google Sans", "Product Sans", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.video-modal-open {
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 20px;
}

.cta {
  display: inline-block;
  background: var(--brand);
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.cta:hover {
  background: var(--brand-dark);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-video-trigger {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #0b1220;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-video-trigger img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.12), rgba(3, 7, 18, 0.4));
  transition: background 0.2s ease;
}

.hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-indent: 3px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-video-trigger:hover .hero-video-overlay {
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.08), rgba(3, 7, 18, 0.32));
}

.hero-video-trigger:hover {
  background: #0b1220;
}

.hero-video-trigger:hover .hero-video-play {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(15, 94, 89, 0.95);
}

.hero-video-trigger:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.45);
  outline-offset: 2px;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  margin: 0 0 18px;
  max-width: 720px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hero-card {
  padding: 24px;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 20px;
}

.mini-list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.mini-list li {
  margin-bottom: 8px;
}

.section {
  padding: 28px 0;
}

h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

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

.steps .card {
  padding: 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

form {
  display: grid;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  background: white;
}

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

button {
  border: none;
  background: var(--brand);
  color: white;
  font: inherit;
  padding: 13px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: var(--brand-dark);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-alert {
  display: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 4px;
}

.form-alert.success {
  display: block;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  display: block;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.footer {
  padding: 36px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

.hero-video-modal {
  position: fixed;
  inset: 0;
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 7, 18, 0.72);
  z-index: 1000;
}

.hero-video-modal.is-open {
  display: flex;
}

.hero-video-dialog {
  width: min(920px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.hero-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  background: rgba(15, 23, 42, 0.08);
  color: #111827;
}

.hero-video-close:hover {
  background: rgba(15, 23, 42, 0.16);
}

.hero-video-title {
  margin: 0 44px 10px 0;
  font-size: 20px;
}

.hero-video-player {
  width: 100%;
  max-height: calc(90vh - 120px);
  border-radius: 10px;
  background: #000;
  display: block;
}

.illus {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero-panda {
  width: min(100%, 260px);
  margin: 0 auto;
  display: block;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-video-modal {
    padding: 12px;
  }

  .hero-video-dialog {
    padding: 12px;
  }

  .hero-video-title {
    font-size: 18px;
    margin-right: 40px;
  }

  .hero-video-play {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }

  .hero-video-trigger {
    width: 100%;
  }
}
