:root {
  --pink: #ff6b9d;
  --pink2: #ff8fb3;
  --rose: #ff4d7a;
  --text: #3d2c33;
  --muted: #8a6a75;
  --line: #f3d5e0;
  --card: #ffffff;
  --soft: #fff7fa;
  --dark: #2a1f24;
  --shadow: 0 12px 32px rgba(255, 120, 160, 0.12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff8fb;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.bg-hero {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bg-hero img {
  position: absolute;
  right: max(-60px, calc(50% - 560px));
  bottom: -20px;
  width: min(460px, 42vw);
  opacity: .5;
  filter: drop-shadow(0 16px 28px rgba(255,110,160,.25));
  animation: floaty 3.8s ease-in-out infinite;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,200,220,.45);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--pink);
  font-size: 18px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #ff8fb3, #ff5f8f);
  box-shadow: 0 8px 16px rgba(255,95,143,.3);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 600;
}
.nav-links a:hover { color: var(--pink); }
.nav-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  font-family: inherit; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: #fff; color: var(--pink);
  border: 1px solid rgba(255,170,200,.85);
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink2), var(--pink));
  color: #fff; box-shadow: 0 10px 20px rgba(255,107,157,.28);
}
.btn-lg { min-height: 48px; min-width: 140px; font-size: 15px; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, #ffd6e8, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, #ffe8f2, transparent 50%),
    linear-gradient(180deg, #fff4f8, #fff8fb);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--rose); }
.hero-points { list-style: none; margin: 0 0 18px; }
.hero-points li {
  display: flex; gap: 8px; align-items: flex-start;
  color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 8px;
}
.hero-points .check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: #ffe0ec; color: var(--pink);
  display: grid; place-items: center;
}
.hero-points .check svg { width: 11px; height: 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; color: #fff;
}
.t1 { background: #5b8cff; }
.t2 { background: #2ecf8a; }
.t3 { background: #f5b942; }
.t4 { background: #ff6b9d; }

.auth-card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.98);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.auth-card .logo {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #ff8fb3, #ff5f8f);
}
.auth-card .logo svg { width: 26px; height: 26px; }
.auth-card h2 { font-size: 20px; margin-bottom: 6px; }
.auth-card p { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.auth-card .btn + .btn { margin-top: 10px; }

.section { padding: 56px 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: 26px; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 14px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid #ffe8f0;
  box-shadow: 0 8px 24px rgba(255,140,170,.08);
  padding: 20px 18px;
}
.icon-box {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; margin-bottom: 12px;
}
.icon-box svg { width: 20px; height: 20px; }
.c1 { background: linear-gradient(145deg, #7dd3fc, #38bdf8); }
.c2 { background: linear-gradient(145deg, #86efac, #22c55e); }
.c3 { background: linear-gradient(145deg, #fcd34d, #f59e0b); }
.c4 { background: linear-gradient(145deg, #f9a8d4, #ec4899); }
.c5 { background: linear-gradient(145deg, #c4b5fd, #8b5cf6); }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: linear-gradient(135deg, #fff0f5, #ffe8f2);
  border-radius: 20px; padding: 22px 12px; border: 1px solid #ffd6e6;
}
.stat { text-align: center; }
.stat strong {
  display: block; font-size: 28px; color: var(--rose); font-weight: 800; line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split .card h3 { margin-bottom: 12px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini {
  background: #fff7fa; border-radius: 12px; padding: 12px;
  border: 1px solid #ffe4ef; font-size: 13px;
}
.mini strong { display: block; margin-bottom: 4px; }
.list { list-style: none; }
.list li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 10px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pink);
  margin-top: 6px; flex-shrink: 0;
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #ff8fb3, #ff5f8f);
  color: #fff; border-radius: 22px; padding: 36px 20px;
  box-shadow: 0 16px 36px rgba(255,95,143,.28);
}
.cta h2 { font-size: 26px; margin-bottom: 8px; }
.cta p { opacity: .92; margin-bottom: 18px; font-size: 14px; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-ghost { background: #fff; border-color: #fff; }
.cta .btn-outline {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.85);
}

.quote .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  margin-bottom: 12px;
}
.quote .name { font-size: 14px; font-weight: 700; margin-top: 12px; }
.quote .role { font-size: 12px; color: var(--muted); }

.footer {
  background: var(--dark);
  color: rgba(255,255,255,.78);
  padding: 42px 0 22px;
  margin-top: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px;
  margin-bottom: 24px;
}
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer a { display: block; font-size: 13px; margin-bottom: 8px; opacity: .78; }
.footer a:hover { opacity: 1; color: #ffb0c8; }
.footer .brand-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px; text-align: center; font-size: 12px; opacity: .65;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .split, .stat-bar, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bg-hero img { opacity: .28; width: min(280px, 70vw); right: -40px; }
}
@media (max-width: 640px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .split, .stat-bar, .footer-grid, .mini-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 28px 0 20px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 22px; }
  .auth-card { order: -1; }
  .hero-grid { display: flex; flex-direction: column; }
}
