:root {
  --green-900: #0f3d2a;
  --green-700: #1a6b45;
  --green-500: #2d9f6a;
  --green-300: #6bc99a;
  --green-100: #e8f5ee;
  --white: #ffffff;
  --gray-50: #f7faf8;
  --gray-100: #eef2ef;
  --gray-400: #9aa8a0;
  --gray-600: #5c6b63;
  --gray-800: #2a3530;
  --shadow: 0 4px 24px rgba(15, 61, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 61, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-900);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-500);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--green-700);
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--green-100) 0%, var(--gray-50) 50%, var(--white) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(45, 159, 106, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--green-300);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--green-700);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--green-900);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--green-500);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45, 159, 106, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 159, 106, 0.45);
}

.btn-outline {
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--green-300);
}

.btn-outline:hover {
  border-color: var(--green-500);
  transform: translateY(-2px);
}

/* Phone mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: var(--green-900);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
}

.phone-header {
  background: var(--green-500);
  padding: 48px 20px 24px;
  color: var(--white);
}

.phone-header h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.phone-header p {
  font-size: 0.8rem;
  opacity: 0.85;
}

.phone-search {
  margin: -16px 16px 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  color: var(--gray-400);
}

.phone-list {
  padding: 24px 16px;
}

.court-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.court-icon {
  width: 48px;
  height: 48px;
  background: var(--green-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.court-info h4 {
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.court-info p {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.court-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 4px;
  font-size: 0.7rem;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* Features */
.features {
  background: var(--white);
}

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

.feature-card {
  padding: 32px 28px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--green-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 28px 16px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--green-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 1rem;
  color: var(--green-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.qr-code {
  width: 180px;
  height: 180px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
  padding: 8px;
  overflow: hidden;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.cta-hint {
  font-size: 0.88rem;
  opacity: 0.75;
}

/* Footer */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.88rem;
}

.beian {
  margin: 0;
}

.beian a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.beian a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-mockup {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }
}

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

  .hero {
    padding: 120px 0 60px;
  }

  section {
    padding: 60px 0;
  }
}
