:root {
  --brand: #e23d4f;
  --brand-deep: #c4293c;
  --brand-soft: #ff6b7a;
  --brand-wash: #fff4f5;
  --ink: #1a1a1c;
  --sub: #5c5c63;
  --muted: #8a8a93;
  --line: #f0e4e6;
  --surface: #ffffff;
  --footer: #16161a;
  --pad: clamp(20px, 5vw, 80px);
  --max: 1120px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(26, 26, 28, 0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Noto Serif SC", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--sub);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(226, 61, 79, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(226, 61, 79, 0.35);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(196, 41, 60, 0.35), transparent 50%),
    linear-gradient(145deg, #e23d4f 0%, #ff6b7a 55%, #ff9aa5 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(48px, 48px); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 34rem;
}

.hero-kicker {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.92;
}

.hero-brand {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(26, 26, 28, 0.78);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.btn-light {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 32px rgba(26, 26, 28, 0.12);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(26, 26, 28, 0.16);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  box-shadow: 0 10px 28px rgba(226, 61, 79, 0.3);
}

.btn-brand:hover {
  transform: translateY(-2px);
}

/* Phone mock — product visual */
.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone {
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  border-radius: 36px;
  background: #fff;
  padding: 14px;
  box-shadow:
    0 40px 80px rgba(26, 26, 28, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: rotateY(-8deg) rotateX(4deg);
  animation: phone-float 5.5s var(--ease) infinite;
}

@keyframes phone-float {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7f8 0%, #fff 40%);
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
}

.phone-banner {
  margin: 8px 14px 0;
  padding: 22px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
}

.phone-banner strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 6px;
}

.phone-banner .price {
  font-family: "Noto Serif SC", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.phone-banner .price span {
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 4px;
  opacity: 0.85;
}

.phone-banner p {
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(26, 26, 28, 0.7);
}

.phone-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.phone-chip {
  background: var(--brand-wash);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

.phone-chip b {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  font-size: 0.75rem;
  line-height: 28px;
}

.phone-chip span {
  font-size: 0.72rem;
  color: var(--ink);
  font-weight: 600;
}

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

.phone-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.phone-item .thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.phone-item .meta {
  min-width: 0;
}

.phone-item .meta strong {
  display: block;
  font-size: 0.72rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-item .meta em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Sections —— */
.section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section-alt {
  background: var(--brand-wash);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.section-head p {
  margin-top: 0.55rem;
  color: var(--sub);
  font-size: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--brand);
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--sub);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.reason {
  padding: 1.5rem 1.25rem;
}

.reason .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.reason h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.reason p {
  font-size: 0.88rem;
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent),
    linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Noto Serif SC", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-brand {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product h3 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.product-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}

.product-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  padding: clamp(64px, 10vw, 100px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255, 255, 255, 0.25), transparent),
    linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
}

.cta-band h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cta-band p {
  margin: 0.75rem auto 1.5rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #c8c8d0;
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  font-family: "Noto Serif SC", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-desc {
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: #aeb0ba;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #7a7a86;
}

/* —— Legal pages —— */
.legal-body {
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(226, 61, 79, 0.06), transparent),
    #fafafa;
  min-height: 100vh;
}

.legal-wrap {
  width: min(100% - var(--pad) * 2, 760px);
  margin: 0 auto;
  padding: 40px 0 72px;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.legal-nav nav {
  display: flex;
  gap: 18px;
}

.legal-nav nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sub);
}

.legal-nav nav a.active {
  color: var(--brand);
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 40px rgba(26, 26, 28, 0.04);
}

.legal-card .product-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.legal-card h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  margin: 0.35rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.legal-card .muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-card .lead {
  margin-top: 0.85rem;
  color: var(--sub);
}

.legal-card section {
  margin-top: 1.75rem;
}

.legal-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.legal-card p,
.legal-card li {
  color: var(--sub);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 1.2rem;
  margin-top: 0.4rem;
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 0.75rem;
}

.contact-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-list dd {
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-list a {
  color: var(--brand);
  font-weight: 600;
}

.page-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.back-home {
  display: inline-flex;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
    align-items: center;
  }

  .hero-lead {
    max-width: 32rem;
  }

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

  .phone {
    transform: none;
    animation: phone-float-m 5.5s var(--ease) infinite;
  }

  @keyframes phone-float-m {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .reasons,
  .products,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .reasons,
  .products,
  .stats {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
