﻿* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: #1f2329; background: #fff; line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
.nav {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.nav-inner { display: flex; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; font-size: 20px; font-weight: 700; }
.logo-badge {
  width: 34px; height: 34px; border-radius: 9px; background: #07c160;
  display: flex; align-items: center; justify-content: center; margin-right: 10px;
}
.nav-menu { display: flex; margin-left: 56px; font-size: 15px; color: #333; }
.nav-menu a { margin-right: 34px; }
.nav-menu a:last-child { margin-right: 0; }
.nav-menu a:hover { color: #07c160; }
.nav-actions { margin-left: auto; display: flex; align-items: center; }
.nav-actions .link-login { margin-right: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  -webkit-transition: all .2s; transition: all .2s;
}
.btn-primary { background: #07c160; color: #fff; padding: 10px 22px; }
.btn-primary:hover { background: #06ad56; }
.btn-ghost { background: #fff; color: #07c160; border-color: #07c160; padding: 10px 22px; }
.btn-ghost:hover { background: #f0fbf4; }
.link-login { font-size: 15px; color: #555; }
.link-login:hover { color: #07c160; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #eaf7f0 0%, #f5fbf7 45%, #ffffff 100%);
  padding: 72px 0 80px;
}
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 12% 18%, rgba(7,193,96,.14), transparent 60%),
    radial-gradient(720px 480px at 92% 82%, rgba(7,193,96,.12), transparent 60%),
    radial-gradient(420px 300px at 72% 8%, rgba(120,220,170,.14), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; }
.hero-text { flex: 1; margin-right: 56px; }
.hero-tag {
  display: inline-block; background: #e6f7ee; color: #07a355; font-size: 13px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 { font-size: 42px; line-height: 1.25; font-weight: 700; margin-bottom: 20px; }
.hero p.sub { font-size: 17px; color: #555; max-width: 480px; margin-bottom: 32px; }
.hero-btns { display: flex; }
.hero-btns .btn { padding: 13px 28px; font-size: 16px; margin-right: 16px; }
.hero-btns .btn:last-child { margin-right: 0; }
.hero-stats { display: flex; margin-top: 40px; }
.hero-stats > div { margin-right: 40px; }
.hero-stats > div:last-child { margin-right: 0; }
.hero-stats .num { font-size: 26px; font-weight: 700; color: #07c160; }
.hero-stats .lbl { font-size: 13px; color: #777; }

/* 邮箱 mockup */
.hero-visual { flex: 1; }
.mail-card {
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(7,193,96,.18);
  overflow: hidden; border: 1px solid #eef2f0;
}
.mail-top { display: flex; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f0f2f1; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot + .dot { margin-left: 8px; }
.mail-body { display: flex; min-height: 300px; }
.mail-side { width: 120px; background: #f7faf8; padding: 16px 0; }
.mail-side div { padding: 9px 20px; font-size: 13px; color: #555; }
.mail-side div.active { color: #07c160; font-weight: 600; background: #eef8f2; border-left: 3px solid #07c160; }
.mail-list { flex: 1; padding: 12px 18px; }
.mail-item { padding: 13px 0; border-bottom: 1px solid #f2f4f3; }
.mail-item .row1 { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.mail-item .row1 .time { font-size: 12px; color: #999; font-weight: 400; }
.mail-item .row2 { font-size: 13px; color: #777; margin-top: 3px; }
.mail-item .row3 { font-size: 12px; color: #aaa; margin-top: 2px; }

/* ===== 通用板块 ===== */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 14px; }
.section-head p { color: #666; font-size: 16px; }

/* 四大能力（Flex 换行替代 Grid） */
.features { background: #fff; }
.feature-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.feature-card {
  width: calc(25% - 24px); margin: 0 12px 24px;
  border: 1px solid #edf1ef; border-radius: 14px; padding: 30px 24px;
  -webkit-transition: all .2s; transition: all .2s;
}
.feature-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); -webkit-transform: translateY(-4px); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #e6f7ee;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #666; }

/* 功能明细（Flex 换行替代 Grid） */
.detail { background: #f7faf8; }
.detail-grid { display: flex; flex-wrap: wrap; margin: 0 -11px; }
.detail-item {
  width: calc(25% - 22px); margin: 0 11px 22px;
  background: #fff; border-radius: 12px; padding: 24px;
}
.detail-item h4 { font-size: 16px; margin-bottom: 8px; }
.detail-item p { font-size: 13px; color: #666; }
.detail-item .tag {
  display: inline-block; font-size: 12px; color: #07a355; background: #e6f7ee;
  border-radius: 6px; padding: 2px 8px; margin-bottom: 10px;
}
.detail-item .detail-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #e6f7ee;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* 套餐（Flex 换行替代 Grid） */
.plans { background: #fff; }
.plan-grid { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -14px; max-width: 900px; }
.plan-card { width: calc(50% - 28px); margin: 0 14px; border: 1px solid #e6ece9; border-radius: 18px; padding: 36px 32px; position: relative; }
.plan-card.pro { border: 2px solid #07c160; box-shadow: 0 16px 40px rgba(7,193,96,.14); }
.plan-badge {
  position: absolute; top: -13px; left: 32px; background: #07c160; color: #fff;
  font-size: 13px; padding: 4px 14px; border-radius: 14px;
}
.plan-card h3 { font-size: 22px; margin-bottom: 6px; }
.plan-card .plan-desc { font-size: 14px; color: #666; margin-bottom: 18px; }
.plan-price { font-size: 30px; font-weight: 700; margin-bottom: 24px; }
.plan-price small { font-size: 14px; color: #888; font-weight: 400; }
.plan-list { list-style: none; margin-bottom: 28px; }
.plan-list li { font-size: 14px; color: #444; padding: 9px 0; border-bottom: 1px dashed #eef1f0; display: flex; }
.plan-list li::before { content: "✓"; color: #07c160; font-weight: 700; margin-right: 10px; }
.plan-card .btn { width: 100%; padding: 13px; font-size: 15px; }

/* 协作条 */
.coop { background: linear-gradient(135deg, #07c160, #0aa86a); color: #fff; text-align: center; }
.coop h2 { font-size: 30px; margin-bottom: 16px; }
.coop p { max-width: 620px; margin: 0 auto 30px; opacity: .92; font-size: 16px; }
.coop .btn { background: #fff; color: #07c160; padding: 13px 30px; }

/* footer（Flex 换行替代 Grid） */
footer { background: #f5f7f6; padding: 56px 0 30px; }
.footer-grid { display: flex; flex-wrap: wrap; margin: 0 -16px; }
.footer-grid > div { width: calc(25% - 32px); margin: 0 16px 32px; }
.footer-grid .footer-brand { width: calc(38% - 32px); }
.footer-grid h5 { font-size: 15px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { font-size: 13px; color: #666; padding: 6px 0; }
.footer-brand p { font-size: 13px; color: #666; margin-top: 12px; max-width: 280px; }
.copyright { border-top: 1px solid #e7ebe9; padding-top: 24px; font-size: 13px; color: #999; text-align: center; }

/* ===== 平板 / 窄屏（≤900px） ===== */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hero-inner { flex-direction: column; }
  .hero-text { margin-right: 0; margin-bottom: 40px; }
  .hero h1 { font-size: 30px; }
  .feature-card, .detail-item { width: calc(50% - 24px); }
  .detail-item { width: calc(50% - 22px); }
  .plan-card { width: 100%; margin-bottom: 28px; }
  .footer-grid > div, .footer-grid .footer-brand { width: calc(50% - 32px); }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats > div { margin-right: 24px; margin-bottom: 16px; }
}

/* ===== 手机 H5（≤560px） ===== */
@media (max-width: 560px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 26px; }
  .hero p.sub { font-size: 15px; }
  .feature-card, .detail-item { width: 100%; }
  .feature-card { margin-bottom: 16px; padding: 24px 20px; }
  .detail-item { margin-bottom: 16px; padding: 20px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; margin-right: 0; margin-bottom: 12px; }
  .hero-btns .btn:last-child { margin-bottom: 0; }
  .mail-side { display: none; }
  .mail-body { min-height: 260px; }
  .plan-card { padding: 28px 22px; }
  .footer-grid > div, .footer-grid .footer-brand { width: 100%; }
}


/* 专业版按钮右上角提示角标 */
.hero-btns a.btn-ghost:nth-child(2) {
  position: relative;
  padding-right: 70px !important;
}

.hero-btns a.btn-ghost:nth-child(2)::after {
  content: "66用户以上更有性价比";
  position: absolute;
  top: -22px;           /* 向上离开更远 */
  right: -18px;
  background: linear-gradient(90deg, #ff4d4f, #ff7875);
  color: #fff;
  font-size: 13px;       /* 略增大 */
  font-weight: 600;
  line-height: 1.2;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(255, 77, 79, 0.45);  /* 加阴影突出 */
}

/* 响应式：小屏幕改到按钮上方居中 */
@media (max-width: 768px) {
  .hero-btns a.btn-ghost:nth-child(2) {
    padding-right: 0 !important;
    margin-top: 22px;
  }

  .hero-btns a.btn-ghost:nth-child(2)::after {
    top: -26px;
    right: 50%;
    transform: translateX(50%);
  }
}

