/* ─────────────────────────────────────────────
   灼见 · 首页
   依赖 tokens.css（全局变量、品牌标记）
   ───────────────────────────────────────────── */

body {
  background-color: var(--ink-bg);
  background-image:
    radial-gradient(ellipse at 18% 0%,  rgba(240, 160, 48, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 8%,  rgba(216, 136, 32, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(240, 160, 48, 0.05) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Coupon Section (Top Right) ─── */
.coupon-section-top {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.coupon-section-top .coupon-input {
  display: flex;
  gap: 8px;
}

.coupon-section-top .coupon-input input {
  padding: 8px 12px;
  border: 1px solid var(--paper-10);
  border-radius: var(--r-sm);
  background: var(--ink-card);
  color: var(--paper);
  font-size: 12px;
  width: 160px;
  font-family: var(--font-sans);
  transition: border-color 0.25s var(--ease);
  letter-spacing: 0.04em;
}

.coupon-section-top .coupon-input input:focus {
  outline: none;
  border-color: var(--gold);
}

.coupon-section-top .coupon-input input::placeholder {
  color: var(--paper-30);
  font-style: italic;
  font-family: var(--font-serif);
}

.coupon-section-top .coupon-input .btn-secondary {
  padding: 8px 16px;
  font-size: 11px;
}

.coupon-section-top .coupon-result {
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: italic;
  min-height: 16px;
  letter-spacing: 0.02em;
  text-align: right;
}

/* ─── Particles ─── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particles .particle {
  position: absolute;
  border-radius: 50%;
  background: var(--paper);
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.15; }
  33%       { transform: translateY(-18px) scale(1.1); opacity: 0.35; }
  66%       { transform: translateY(-8px) scale(0.9); opacity: 0.2; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: 110px 20px 36px;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 22px;
}

/* em: 单色暖金 + 极细下划饰线 */
.hero-title em {
  position: relative;
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 28px var(--gold-glow);
  padding-bottom: 4px;
}

.hero-title em::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.7;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 400;
  font-style: italic;
  color: var(--paper-50);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ─── Scene & 3D Carousel ─── */
.scene {
  width: 100%;
  height: 56vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  position: relative;
  z-index: 10;
}

.carousel {
  position: relative;
  width: 280px;
  height: 380px;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
}

/* ─── Card ─── */
.card {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.5s ease;
  cursor: pointer;
}

.card:hover { border-color: rgba(255, 255, 255, 0.16); }

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.8s ease, opacity 0.5s;
}

.card:hover .card-bg { transform: scale(1.06); }

.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 8, 15, 0.55) 0%,
    rgba(7, 8, 15, 0.35) 35%,
    rgba(7, 8, 15, 0.78) 100%
  );
  pointer-events: none;
}

.card-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.card-symbol {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-serif-en);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -0.02em;
  opacity: 0.9;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.card:hover .card-symbol {
  transform: translateY(-4px) scale(1.05);
}

.card-content {
  position: relative;
  z-index: 10;
  padding: 20px 22px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.card:hover .card-content { transform: translateY(0); }

.card-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  border: 1px solid;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 3px;
  color: #fff;
}

.card-subtitle {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.card-author {
  font-family: var(--font-serif);
  font-size: 11.5px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 10px;
}

.card-desc {
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-line {
  height: 1px;
  margin-top: 14px;
  opacity: 0.6;
}

/* ─── Journey Card (九阶段卷轴 · 特殊样式) ─── */
.card.journey-card .card-bg { opacity: 0.35; }

.card.journey-card .journey-scroll {
  position: absolute;
  inset: 54px 18px 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2px;
  z-index: 6;
}

.card.journey-card .journey-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  opacity: 0;
  transform: translateX(14px);
  animation: journeyReveal 0.7s var(--ease) forwards;
}

.card.journey-card .journey-stage-num {
  font-family: var(--font-serif-en);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  min-width: 24px;
  letter-spacing: 0.05em;
}

.card.journey-card .journey-stage-name {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--paper-90);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.card.journey-card .journey-stage-theory {
  font-family: var(--font-sans);
  font-size: 9.5px;
  color: var(--paper-50);
  letter-spacing: 0.08em;
  margin-left: auto;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card.journey-card .journey-row .journey-dash {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(240,160,48,0.4), transparent);
  margin: 0 6px;
}

@keyframes journeyReveal {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── Controls ─── */
.control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid var(--paper-15);
  color: var(--paper-70);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.control-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}

.control-btn svg { width: 20px; height: 20px; }
.prev-btn { left: 5%; }
.next-btn { right: 5%; }

/* ─── Indicators ─── */
.indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 18px 20px 28px;
  position: relative;
  z-index: 50;
}

.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper-15);
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.indicator.active {
  width: 22px;
  border-radius: 3px;
  background: var(--accent, var(--gold));
  box-shadow: 0 0 10px var(--accent, var(--gold-glow));
}

/* ─── Container ─── */
.container {
  position: relative;
  z-index: 20;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ─── Features ─── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 52px;
}

.feature {
  padding: 32px 26px 28px;
  background: var(--ink-card);
  border-radius: var(--r-md);
  border: 1px solid var(--paper-10);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 160, 48, 0.35);
  background: var(--ink-card-2);
}

/* 罗马数字替换原几何图标：薄衬线、克制暖金 */
.feature-roman {
  font-family: var(--font-serif-en);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 0 0 14px var(--gold-glow);
  opacity: 0.9;
}

.feature h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.feature p {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--paper-50);
  font-weight: 400;
}

/* ─── Pricing ─── */
.pricing {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.price-card {
  text-align: center;
  padding: 48px 64px 44px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 160, 48, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(242, 237, 228, 0.04), rgba(242, 237, 228, 0.01));
  border-radius: var(--r-lg);
  border: 1px solid var(--paper-10);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.8;
}

.price-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-50);
  margin-bottom: 20px;
}

.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.original-price {
  font-family: var(--font-serif-en);
  font-size: 20px;
  color: var(--paper-30);
  text-decoration: line-through;
  font-weight: 400;
}

.current-price {
  font-family: var(--font-serif-en);
  font-size: 60px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 0 32px var(--gold-glow);
}

.price-desc {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--paper-50);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.7;
  font-style: italic;
}

/* ─── Buttons ─── */
.btn {
  padding: 14px 36px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink-bg);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(240, 160, 48, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px var(--gold-glow-strong), 0 0 0 1px var(--gold);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper-15);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Coupon ─── */
.coupon-section {
  text-align: center;
  margin: 0 0 20px;
}

.coupon-section > p {
  margin-bottom: 14px;
  color: var(--paper-50);
  font-size: 13px;
  font-family: var(--font-serif);
  font-style: italic;
}

.coupon-input {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.coupon-input input {
  padding: 11px 16px;
  border: 1px solid var(--paper-10);
  border-radius: var(--r-sm);
  background: var(--ink-card);
  color: var(--paper);
  font-size: 14px;
  width: 200px;
  font-family: var(--font-sans);
  transition: border-color 0.25s var(--ease);
  letter-spacing: 0.04em;
}

.coupon-input input:focus {
  outline: none;
  border-color: var(--gold);
}

.coupon-input input::placeholder {
  color: var(--paper-30);
  font-style: italic;
  font-family: var(--font-serif);
}

.coupon-input .btn-secondary {
  padding: 11px 24px;
  font-size: 12.5px;
}

.coupon-result {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  min-height: 20px;
  letter-spacing: 0.02em;
}

.coupon-result.success { color: #a3e635; }
.coupon-result.error   { color: #f87171; }

/* ─── Spotlight Cards Section ─── */
.spotlight-section {
  margin: 60px 0;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--paper);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.spotlight-subtitle {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--paper-50);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.spotlight-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 40px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.spotlight-scroll::-webkit-scrollbar { display: none; }

.spotlight-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  padding: 36px 24px 28px;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(240, 160, 48, 0.10) 0%, transparent 60%),
    var(--ink-bg-2);
  border: 1px solid var(--paper-10);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  cursor: default;
  min-height: 280px;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--paper-05);
  border-radius: calc(var(--r-lg) - 4px);
  pointer-events: none;
}

.spotlight-card:hover {
  border-color: rgba(240, 160, 48, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(240, 160, 48, 0.08);
}

.spotlight-card-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper-30);
  margin-bottom: 24px;
}

.spotlight-card-label {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px var(--gold-glow);
  margin-bottom: 14px;
  line-height: 1.25;
}

.spotlight-card-subtitle {
  font-family: var(--font-serif);
  font-size: 12.5px;
  color: var(--paper-60);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.spotlight-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.spotlight-card-tag {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(240, 160, 48, 0.08);
  border: 1px solid rgba(240, 160, 48, 0.25);
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 500;
  color: var(--paper-70);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ─── Footer ─── */
.footer {
  text-align: center;
  padding: 32px 0 0;
  border-top: var(--rule);
  color: var(--paper-30);
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-style: italic;
  letter-spacing: 0.08em;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 28px; }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 13px; }

  .coupon-section-top {
    top: 16px;
    right: 16px;
  }

  .coupon-section-top .coupon-input input {
    width: 140px;
    font-size: 11px;
  }

  .coupon-section-top .coupon-input .btn-secondary {
    padding: 6px 12px;
    font-size: 10px;
  }

  .scene {
    height: 50vh;
    min-height: 340px;
  }

  .carousel {
    width: 240px;
    height: 340px;
  }

  .card-symbol { font-size: 52px; }
  .card-title  { font-size: 22px; }
  .card-content { padding: 16px 18px 18px; }

  .card.journey-card .journey-scroll { inset: 46px 14px 100px; }
  .card.journey-card .journey-stage-name { font-size: 11px; }
  .card.journey-card .journey-stage-theory { display: none; }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-card { padding: 36px 28px 32px; }
  .current-price { font-size: 48px; }

  .prev-btn { left: 2%; }
  .next-btn { right: 2%; }

  .control-btn { width: 40px; height: 40px; }

  .spotlight-section {
    margin: 40px 0;
    padding: 36px 0 52px;
  }

  .spotlight-title {
    font-size: 20px;
  }

  .spotlight-scroll {
    padding: 0 20px 16px;
    gap: 14px;
  }

  .spotlight-card {
    flex: 0 0 170px;
    min-height: 250px;
    padding: 28px 18px 22px;
  }

  .spotlight-card-label {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 120px 20px 28px; }
  .hero-title { font-size: 32px; }
  
  .coupon-section-top {
    top: 12px;
    right: 12px;
  }

  .coupon-section-top .coupon-input {
    flex-direction: column;
    gap: 6px;
  }

  .coupon-section-top .coupon-input input {
    width: 100%;
  }

  .coupon-section-top .coupon-input .btn-secondary {
    align-self: stretch;
  }

  .carousel { width: 210px; height: 300px; }
  .card-symbol { font-size: 44px; top: 18px; }
  .card-desc { -webkit-line-clamp: 2; }

  .card.journey-card .journey-scroll { inset: 40px 12px 90px; }
  .card.journey-card .journey-stage-num { font-size: 11px; min-width: 20px; }
  .card.journey-card .journey-stage-name { font-size: 10.5px; }

  .spotlight-section {
    padding: 28px 0 44px;
  }

  .spotlight-title {
    font-size: 18px;
  }

  .spotlight-scroll {
    padding: 0 14px 12px;
    gap: 10px;
  }

  .spotlight-card {
    flex: 0 0 155px;
    min-height: 230px;
    padding: 24px 14px 18px;
  }

  .spotlight-card-label {
    font-size: 18px;
  }

  .spotlight-card-subtitle {
    font-size: 11.5px;
  }
}
