:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-soft: #faf9fb;
  --bg-pink: #fff5f7;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --pink: #f06e8c;
  --pink-dark: #e05a78;
  --pink-soft: rgba(240, 110, 140, 0.1);
  --pink-glow: rgba(240, 110, 140, 0.18);
  --blue: #648ceb;
  --blue-soft: rgba(100, 140, 235, 0.1);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 16px 48px rgba(240, 110, 140, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  --max-width: 1120px;
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s, opacity 0.15s;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.site-nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav-brand:hover {
  color: var(--text);
  text-decoration: none;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
}

.site-nav-links a:hover {
  color: var(--text);
  background: var(--bg-soft);
  text-decoration: none;
}

.site-nav-links a.nav-cta {
  background: var(--pink);
  color: #fff;
  font-weight: 600;
}

.site-nav-links a.nav-cta:hover {
  background: var(--pink-dark);
  color: #fff;
  opacity: 0.95;
}

/* ── Hero (FamilyNote focus) ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff5f7 0%, #ffffff 45%, #f5f8ff 100%);
  padding: 80px 40px 96px;
}

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

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

.hero-blob-1 {
  width: 480px;
  height: 480px;
  background: var(--pink-glow);
  top: -120px;
  right: 10%;
}

.hero-blob-2 {
  width: 360px;
  height: 360px;
  background: rgba(100, 140, 235, 0.15);
  bottom: -80px;
  left: 5%;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--pink-soft);
  border: 1px solid rgba(240, 110, 140, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--pink) 0%, #d45a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 20px var(--pink-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 28px var(--pink-glow);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.15);
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-keyword {
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Phone preview */
.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 280px;
  background: #111;
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-md);
}

.phone-screen {
  background: #f2f2f7;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
}

.phone-bar {
  height: 36px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

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

.phone-btn {
  background: var(--pink);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.phone-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.phone-card-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.phone-card-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.phone-card-img {
  height: 56px;
  border-radius: 8px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
}

.phone-tabs {
  display: flex;
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.phone-tab {
  flex: 1;
  text-align: center;
  padding: 8px 2px;
  font-size: 9px;
  color: var(--text-muted);
}

.phone-tab.on {
  color: var(--pink);
  font-weight: 600;
}

/* ── Features strip ── */
.features-strip {
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 40px;
}

.features-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
}

.feature-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm);
}

.feature-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── New products section ── */
.section {
  padding: 80px 40px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

.new-products {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.new-product-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.new-product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.new-product-card.primary {
  background: linear-gradient(145deg, #fff5f7 0%, #ffffff 60%, #f5f8ff 100%);
  border-color: rgba(240, 110, 140, 0.2);
}

.new-product-card.secondary {
  background: var(--bg-soft);
}

.new-product-card.disabled {
  pointer-events: none;
  opacity: 0.85;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.card-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.card-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.card-badge.new {
  background: var(--pink-soft);
  color: var(--pink);
}

.card-badge.soon {
  background: var(--blue-soft);
  color: var(--blue);
}

.new-product-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.new-product-card .card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  margin-bottom: 24px;
}

.card-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

.card-action {
  font-size: 15px;
  font-weight: 600;
  color: var(--pink);
  margin-top: auto;
}

.new-product-card.secondary .card-action {
  color: var(--blue);
}

/* ── Other products ── */
.other-products {
  background: var(--bg-soft);
  padding: 64px 40px;
  border-top: 1px solid var(--border);
}

.other-card {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.other-card:hover {
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.other-card img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
}

.other-card-body {
  flex: 1;
}

.other-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.other-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
}

.other-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tag-muted {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 500;
}

.other-card-arrow {
  font-size: 18px;
  color: var(--text-muted);
}

/* ── Company bar ── */
.company-bar {
  text-align: center;
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.company-bar p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.company-bar strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ── Contact ── */
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 80px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.contact-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-box p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.contact-links a,
.contact-links span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 28px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--text-secondary);
}

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

  .hero-content h1 {
    font-size: 38px;
  }

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

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

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

  .hero-preview {
    order: -1;
  }

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

  .new-products {
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-links {
    text-align: center;
  }

  .other-card {
    flex-wrap: wrap;
  }

  .other-card-meta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .site-nav-inner,
  .hero,
  .features-strip,
  .section,
  .other-products,
  .company-bar,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .phone-mock {
    width: 240px;
  }

  .features-strip-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .new-product-card {
    padding: 24px;
  }

  .contact-box {
    padding: 24px;
  }
}
