/* ═══════════════════════════════════
   NowQuit 官网 — 设计系统
   ═══════════════════════════════════ */

:root {
  --c-primary: #3B8CFF;
  --c-primary-dark: #2E6FDB;
  --c-primary-light: #E8F3FF;
  --c-orange: #FF9F3B;
  --c-orange-light: #FFF1DE;
  --c-green: #52C41A;
  --c-pink: #F5A3D1;
  --c-purple: #A974E6;

  --t-primary: #1F1F1F;
  --t-secondary: #595959;
  --t-muted: #8C8C8C;
  --t-inverse: #FFFFFF;

  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F0F5FA;

  --border: #EEF1F5;
  --shadow-sm: 0 2rpx 8rpx rgba(20, 30, 60, 0.04);
  --shadow-md: 0 4rpx 16rpx rgba(20, 30, 60, 0.06);
  --shadow-lg: 0 8rpx 32rpx rgba(20, 30, 60, 0.08);
  --shadow-xl: 0 16rpx 48rpx rgba(20, 30, 60, 0.10);

  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "SF Pro Display", "PingFang SC", "Helvetica Neue", system-ui, sans-serif;
  font-size: 16px;
  color: var(--t-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 顶部导航 ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(238, 241, 245, 0.6);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--t-primary);
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3B8CFF, #5DA9FF);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── 语言切换 ── */
.lang-switch {
  display: inline-flex;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--t-secondary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  min-width: 36px;
}

.lang-switch__btn:hover {
  color: var(--c-primary);
}

.lang-switch__btn--active {
  background: var(--c-primary);
  color: white;
}

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

.nav__links a {
  color: var(--t-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s;
}

.nav__links a:hover {
  color: var(--c-primary);
}

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ── 通用按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  padding: 0 24px;
}

.btn--primary {
  background: linear-gradient(135deg, #3B8CFF 0%, #2E6FDB 100%);
  color: white;
  box-shadow: 0 8rpx 24rpx rgba(59, 140, 255, 0.30);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12rpx 28rpx rgba(59, 140, 255, 0.40);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
}

.btn--ghost:hover {
  background: var(--c-primary-light);
}

.btn--sm { height: 40px; font-size: 14px; padding: 0 20px; }
.btn--lg { height: 56px; font-size: 16px; padding: 0 32px; }

.btn__arrow {
  transition: transform 0.2s;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

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

.blob--blue {
  width: 480px;
  height: 480px;
  background: #C5E3FF;
  top: -120px;
  right: -120px;
}

.blob--orange {
  width: 380px;
  height: 380px;
  background: #FFD9A6;
  bottom: -100px;
  left: -100px;
  opacity: 0.4;
}

.blob--small { width: 200px; height: 200px; opacity: 0.3; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero__content { max-width: 540px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--t-secondary);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.2);
}

.hero__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--t-primary);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #3B8CFF 0%, #FF9F3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 720px) {
  .hero__title { font-size: 44px; }
}

.hero__subtitle {
  font-size: 17px;
  color: var(--t-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border);
}

.chip--blue { background: #E8F3FF; color: #2E6FDB; border-color: transparent; }
.chip--orange { background: var(--c-orange-light); color: #C66D00; border-color: transparent; }
.chip--green { background: #F0FBE6; color: #389E0D; border-color: transparent; }
.chip--pink { background: #FFE9F6; color: #C4397E; border-color: transparent; }

/* ── Hero 视觉 ── */
.hero__visual {
  position: relative;
}

.phone-frame {
  position: relative;
  width: 320px;
  margin: 0 auto;
  background: white;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
  transform: rotate(2deg);
}

.phone-frame--sm {
  width: 200px;
}

.phone-frame--right {
  transform: rotate(-2deg);
  margin-top: -40px;
}

@media (max-width: 900px) {
  .phone-frame { width: 240px; }
  .phone-frame--sm { width: 160px; }
}

.phone-frame__img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.hero__float {
  position: absolute;
  animation: float 4s ease-in-out infinite;
}

.hero__float--1 {
  top: 10%;
  left: -10%;
}

.hero__float--2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 1s;
}

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

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
}

.float-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.float-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--t-primary);
}

.float-card__sub {
  font-size: 12px;
  color: var(--t-secondary);
}

/* ── Section 通用 ── */
.section-head {
  margin-bottom: 60px;
}

.section-head--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--t-primary);
}

.section-title em {
  font-style: normal;
  color: var(--c-primary);
}

.section-subtitle {
  font-size: 17px;
  color: var(--t-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .section-title { font-size: 32px; }
}

/* ── Features ── */
.features {
  padding: 100px 0;
}

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

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.06);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--t-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--t-secondary);
  line-height: 1.6;
}

/* ── Knowledge ── */
.knowledge {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.knowledge__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.knowledge__bg .blob--blue {
  top: 40%;
  left: -100px;
}

.knowledge__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .knowledge__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .knowledge__grid { grid-template-columns: 1fr; }
}

.chapter-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 4px solid var(--c);
  position: relative;
  overflow: hidden;
}

.chapter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.chapter-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.chapter-card__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.chapter-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--t-primary);
  margin-bottom: 8px;
}

.chapter-card p {
  font-size: 13px;
  color: var(--t-secondary);
  line-height: 1.5;
}

.knowledge__quote {
  text-align: center;
  margin-top: 40px;
  padding: 40px;
  background: linear-gradient(135deg, #E8F3FF 0%, #FFF1DE 100%);
  border-radius: var(--radius-xl);
}

.quote-mark {
  display: block;
  font-size: 60px;
  line-height: 1;
  color: var(--c-primary);
  font-family: serif;
  margin-bottom: 8px;
}

.knowledge__quote p {
  font-size: 18px;
  font-weight: 600;
  color: var(--t-primary);
}

/* ── States 对比 ── */
.states {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-soft) 100%);
}

.states__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .states__compare { grid-template-columns: 1fr; }
}

.state-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  min-height: 360px;
}

.state-card--quitting {
  background: linear-gradient(135deg, #C5E3FF 0%, #FFE7D4 100%);
}

.state-card--smoking {
  background: linear-gradient(135deg, #5C3B1F 0%, #8B5A2B 100%);
  color: #FFF1DE;
}

.state-card__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--t-primary);
}

.state-card__tag--warning {
  background: rgba(255,77,79,0.85);
  color: white;
}

.state-card__visual {
  position: relative;
  z-index: 2;
}

.state-card__blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.state-card__blob--blue {
  background: #FFF;
  top: -100px;
  right: -100px;
}

.state-card__blob--brown {
  background: #FF9F3B;
  top: -100px;
  right: -100px;
  opacity: 0.3;
}

.state-card h3 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
}

.state-card__chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--t-primary);
}

.state-card--smoking .state-card__chip {
  background: rgba(255,255,255,0.15);
  color: #FFE7D4;
  backdrop-filter: blur(10px);
}

.state-card ul {
  list-style: none;
}

.state-card li {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.state-card li:last-child { border-bottom: none; }

.state-card--quitting li {
  border-bottom-color: rgba(31,31,31,0.08);
}

/* ── Platforms ── */
.platforms {
  padding: 100px 0;
}

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

@media (max-width: 720px) {
  .platforms__grid { grid-template-columns: 1fr; }
}

.platform-card {
  background: var(--bg-card);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.platform-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 14px;
  color: var(--t-secondary);
  margin-bottom: 16px;
}

.platform-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

/* ── Showcase ── */
.showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-soft) 100%);
  overflow: hidden;
}

.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .showcase__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.showcase__visual {
  position: relative;
  min-height: 400px;
}

.phone-frame--right {
  margin-left: 100px;
}

@media (max-width: 720px) {
  .phone-frame--right { margin-left: 60px; }
}

.showcase__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.showcase__bullet {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.showcase__item strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--t-primary);
}

.showcase__item p {
  font-size: 14px;
  color: var(--t-secondary);
}

/* ── Privacy ── */
.privacy {
  padding: 100px 0;
}

.privacy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .privacy__inner { grid-template-columns: 1fr; }
}

.privacy__visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.lock-orbit {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(59, 140, 255, 0.2);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.lock-orbit--small {
  width: 220px;
  height: 220px;
  border-style: solid;
  border-color: rgba(59, 140, 255, 0.15);
  animation-direction: reverse;
  animation-duration: 15s;
}

@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.privacy__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--t-secondary);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CTA ── */
.cta {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #E8F3FF 0%, #FFF1DE 100%);
}

.cta__bg .blob--blue {
  width: 500px;
  height: 500px;
  background: #B8D6FF;
  top: -200px;
  right: -100px;
  opacity: 0.5;
}

.cta__bg .blob--orange {
  width: 500px;
  height: 500px;
  background: #FFCFA0;
  bottom: -200px;
  left: -100px;
  opacity: 0.5;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta__mascot {
  width: 200px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8rpx 32rpx rgba(0,0,0,0.08));
}

.cta__title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--t-primary);
}

@media (max-width: 720px) {
  .cta__title { font-size: 36px; }
}

.cta__subtitle {
  font-size: 18px;
  color: var(--t-secondary);
  margin-bottom: 32px;
}

/* ── Footer ── */
.footer {
  padding: 32px 0;
  background: var(--t-primary);
  color: rgba(255,255,255,0.7);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: white;
}

.footer__logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.footer__copy {
  font-size: 13px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

.footer__links a:hover { color: white; }

@media (max-width: 720px) {
  .footer__inner { justify-content: center; text-align: center; }
}