* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --hema-blue: #4BA3E3;
  --hema-blue-dark: #2B7BC7;
  --hema-navy: #1A3A6B;
  --hema-green: #B8E986;
  --hema-yellow: #FFE082;
  --hema-purple: #CE93D8;
  --bg: #FAFCFF;
  --card: #ffffff;
  --text: #1A3A6B;
  --text-muted: #5A7299;
  --shadow: 0 12px 40px rgba(43, 123, 199, 0.12);
  --shadow-sm: 0 4px 16px rgba(43, 123, 199, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background bubbles */
.bg-bubble {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.bg-bubble-1 {
  width: 320px;
  height: 320px;
  background: var(--hema-green);
  opacity: 0.22;
  top: -80px;
  left: -60px;
}

.bg-bubble-2 {
  width: 260px;
  height: 260px;
  background: var(--hema-yellow);
  opacity: 0.2;
  top: 40%;
  right: -70px;
}

.bg-bubble-3 {
  width: 200px;
  height: 200px;
  background: var(--hema-purple);
  opacity: 0.18;
  bottom: 10%;
  left: 8%;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75, 163, 227, 0.1);
  position: sticky;
  top: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  display: block;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hema-navy);
  letter-spacing: 2px;
}

.logo-text-img {
  height: 28px;
  width: auto;
}

.badge {
  background: linear-gradient(135deg, var(--hema-blue), var(--hema-blue-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 10;
  padding: 48px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-card {
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(75, 163, 227, 0.12);
  animation: float 4s ease-in-out infinite;
}

.hero-mascot {
  width: min(100%, 360px);
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: contain;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tag {
  position: absolute;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.tag-green {
  top: 8%;
  right: 0;
  color: #4a8f2a;
  border: 1px solid rgba(184, 233, 134, 0.6);
}

.tag-yellow {
  bottom: 18%;
  left: -8px;
  color: #b8860b;
  border: 1px solid rgba(255, 224, 130, 0.7);
}

.tag-purple {
  top: 42%;
  left: -16px;
  color: #8e5fa8;
  border: 1px solid rgba(206, 147, 216, 0.6);
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hema-blue);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--hema-navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.intro-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.intro-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid rgba(75, 163, 227, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.intro-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.intro-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(75,163,227,0.12), rgba(184,233,134,0.15));
  border-radius: 12px;
}

.intro-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--hema-navy);
}

.intro-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Download */
.download-section {
  text-align: left;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hema-blue), var(--hema-blue-dark));
  box-shadow: 0 10px 30px rgba(43, 123, 199, 0.35);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(43, 123, 199, 0.42);
}

.download-btn:active {
  transform: translateY(0);
}

.download-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.download-icon {
  width: 22px;
  height: 22px;
}

.download-hint {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.download-status {
  margin-top: 8px;
  font-size: 0.82rem;
}

.download-status.ok { color: #2e9e5a; }
.download-status.warn { color: #d48806; }

/* Features */
.features {
  position: relative;
  z-index: 10;
  padding: 64px 0;
  background: linear-gradient(180deg, transparent, rgba(75, 163, 227, 0.04));
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--hema-navy);
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-item {
  padding: 28px 22px;
  background: var(--card);
  border: 1px solid rgba(75, 163, 227, 0.1);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--hema-navy);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  position: relative;
  z-index: 10;
  padding: 0 0 80px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(75, 163, 227, 0.1);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hema-blue), var(--hema-blue-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--hema-navy);
}

.step-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  padding: 32px 0;
  border-top: 1px solid rgba(75, 163, 227, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hema-navy);
  margin-bottom: 10px;
  opacity: 0.85;
  letter-spacing: 2px;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .intro-card {
    text-align: left;
  }

  .download-section {
    text-align: center;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .tag {
    display: none;
  }
}
