/* 首页专用样式（Phase 2 + 竞品布局参考） */
.home-page h2 {
  margin-top: var(--section-gap);
}

.h2-tight {
  margin-top: var(--section-gap);
  margin-bottom: 16px;
}

.hero-section {
  position: relative;
  color: var(--white);
  padding: 48px 0 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #064e45 0%, var(--dark-green) 35%, #0d7a6c 70%, #128C7E 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(37, 211, 102, 0.2) 0%, transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.03) 40px,
      rgba(255, 255, 255, 0.03) 80px
    );
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.hero-blob--1 {
  width: 280px;
  height: 280px;
  background: var(--whatsapp-green);
  top: -80px;
  right: 10%;
}

.hero-blob--2 {
  width: 220px;
  height: 220px;
  background: #34d399;
  bottom: -40px;
  left: 5%;
  opacity: 0.35;
}

.hero-blob--3 {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.4);
  top: 40%;
  left: 35%;
  opacity: 0.2;
}

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

.hero-copy {
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.35);
}

.hero-section .hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 520px;
  margin: 0 0 24px;
  line-height: 1.7;
}

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

.hero-section .btn-primary {
  margin-bottom: 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero-section .hero-cta-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-section .hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card--back {
  position: absolute;
  width: 88%;
  max-width: 340px;
  height: 420px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(-6deg) translateX(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-phone-wrap {
  position: relative;
  z-index: 2;
  transform: rotate(3deg);
}

.hero-phone-shadow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, transparent 70%);
  filter: blur(8px);
}

.hero-phone {
  width: 260px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-phone-bar {
  width: 80px;
  height: 5px;
  background: #3f3f3f;
  border-radius: 4px;
  margin: 4px auto 10px;
}

.hero-phone-screen {
  background: linear-gradient(180deg, #e8f5e9 0%, #ffffff 32%);
  border-radius: 22px;
  overflow: hidden;
  min-height: 340px;
}

.hero-phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-green);
}

.hero-phone-signal {
  letter-spacing: 1px;
  opacity: 0.6;
}

.hero-phone-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--dark-green);
  color: var(--white);
}

.hero-phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.hero-phone-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
}

.hero-phone-sub {
  font-size: 11px;
  opacity: 0.85;
}

.hero-phone-chat {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-bubble--in {
  align-self: flex-start;
  background: var(--white);
  border-bottom-left-radius: 4px;
}

.hero-bubble--out {
  align-self: flex-end;
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}

.hero-bubble--short {
  font-size: 12px;
}

.hero-bubble-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--deep-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hero-float-pill {
  position: absolute;
  z-index: 3;
  background: var(--white);
  color: var(--dark-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-float-pill--1 {
  top: 12%;
  right: 4%;
  animation: hero-float 5s ease-in-out infinite;
}

.hero-float-pill--2 {
  bottom: 28%;
  left: 0;
  animation: hero-float 6s ease-in-out infinite 0.5s;
}

.hero-float-pill--3 {
  bottom: 8%;
  right: 8%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: hero-float 5.5s ease-in-out infinite 1s;
}

.hero-android-icon {
  font-size: 1.1rem;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-section .version-info {
  text-align: left;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.hero-trust-strip {
  max-width: 100%;
  margin: 24px 0 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.hero-trust-strip a {
  color: #b8f5d0;
  text-decoration: underline;
}

.hero-trust-strip a:hover {
  color: var(--white);
}

.intro-lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 8px;
}

.intro-lead a {
  font-weight: 500;
}

.feature-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 16px 0 32px;
}

.feature-pill {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.feature-pill-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-green);
  margin-bottom: 6px;
}

.feature-pill-hint {
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.4;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.spotlight-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.quick-faq {
  margin-bottom: 32px;
}

.quick-faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.quick-faq-item:last-child {
  border-bottom: none;
}

.quick-faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-green);
  margin: 0 0 8px;
}

.quick-faq-a {
  margin: 0;
  color: var(--dark);
  line-height: 1.75;
}

.checklist {
  margin: 16px 0 0;
  padding-left: 22px;
}

.checklist li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.pros-box h3,
.cons-box h3 {
  margin-top: 0;
}

.pros-box ul,
.cons-box ul {
  margin: 0;
  padding-left: 20px;
}

.pros-box li,
.cons-box li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.version-info {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.home-body {
  padding: 32px 0 24px;
}

.home-body .content-narrow {
  padding-bottom: 48px;
}

.app-info-table td:first-child {
  font-weight: 600;
  width: 40%;
  background: var(--light-bg);
}

.app-info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.section-lead {
  color: var(--gray-text);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.inline-cta {
  margin: 20px 0;
}

.comparison-table {
  margin: 24px 0;
}

.home-page .site-section {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
  }

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

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

  .hero-section .version-info {
    text-align: center;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .hero-visual-card--back {
    height: 360px;
    transform: rotate(-4deg) translateX(0);
  }

  .hero-phone-wrap {
    transform: rotate(0deg) scale(0.92);
  }

  .hero-float-pill--1 {
    right: 2%;
    top: 8%;
  }

  .hero-float-pill--2 {
    left: 2%;
  }

  .hero-section .hero-copy h1 {
    font-size: 1.55rem;
  }
}
