/* iPhone Duo — Apple product page, real product imagery + refero tokens */

:root {
  --white: #ffffff;
  --mist: #f5f5f7;
  --frost: #fafafc;
  --ink: #1d1d1f;
  --slate: #707070;
  --steel: #86868b;
  --line: #d6d6d6;
  --blue: #0066cc;
  --blue-hover: #005bb5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 44px;
  --pnav-h: 52px;
  --max-w: 1440px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.37px;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--nav-h) + var(--pnav-h));
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
a { color: var(--blue); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .7; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.skip-link { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip-path: none;
  padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 8px; z-index: 9999;
}

/* ============ Nav ============ */
.gnav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: rgba(0,0,0,.8); backdrop-filter: blur(20px); z-index: 1000; color: var(--frost);
}
.gnav-inner {
  max-width: var(--max-w); margin: 0 auto; height: 100%;
  padding: 0 22px; display: flex; align-items: center; gap: 32px;
}
.gnav-logo { color: var(--frost); }
.gnav-links { display: flex; gap: 28px; margin-left: auto; }
.gnav-links a { font-size: 12px; color: var(--frost); letter-spacing: -0.12px; }
.gnav-actions { display: flex; gap: 16px; }
.gnav-icon { color: var(--frost); padding: 4px; }

.pnav {
  position: fixed; top: var(--nav-h); left: 0; right: 0; height: var(--pnav-h);
  background: rgba(251,251,253,.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line); z-index: 999;
}
.pnav-inner {
  max-width: var(--max-w); margin: 0 auto; height: 100%;
  padding: 0 22px; display: flex; align-items: center; gap: 32px;
}
.pnav-title { font-size: 19px; font-weight: 600; letter-spacing: -0.1px; }
.pnav-links { display: flex; gap: 24px; margin-left: auto; }
.pnav-links a { font-size: 12px; color: var(--ink); font-weight: 500; }
.pnav-cta { display: flex; gap: 12px; }

.pill {
  display: inline-block; padding: 7px 16px; font-size: 12px; font-weight: 500;
  border-radius: 980px; transition: all .2s;
}
.pill--ghost { border: 1px solid var(--ink); color: var(--ink); }
.pill--ghost:hover { background: var(--ink); color: var(--white); opacity: 1; }
.pill--blue { background: var(--blue); color: var(--white); }
.pill--blue:hover { background: var(--blue-hover); opacity: 1; }
.pill--lg { padding: 11px 22px; font-size: 14px; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h) - var(--pnav-h));
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 48px 22px 40px; overflow: hidden;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.hero-text { z-index: 3; flex: 0 0 auto; }
.hero-kicker { font-size: 21px; font-weight: 600; color: var(--slate); margin-bottom: 4px; letter-spacing: 0; }
.hero-title {
  font-size: clamp(40px, 5.2vw, 72px); font-weight: 600; line-height: 1.05;
  letter-spacing: -1.2px; margin-bottom: 6px;
}
.hero-sub { font-size: clamp(19px, 1.9vw, 26px); font-weight: 400; line-height: 1.2; letter-spacing: .2px; color: var(--slate); margin-bottom: 10px; }
.hero-price { font-size: 17px; color: var(--slate); letter-spacing: -0.37px; }

.hero-stage {
  flex: 1 1 auto; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 16px; position: relative;
}

/* 真实产品图 —— 关键：大、居中、有落影 */
.hero-product {
  width: auto;
  height: min(56vh, 520px);
  max-width: 92vw;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.22)) drop-shadow(0 4px 10px rgba(0,0,0,.08));
  will-change: transform;
}

.hero-scroll {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 32px; border: 2px solid var(--slate); border-radius: 10px;
  display: flex; justify-content: center; padding-top: 6px; opacity: .6;
}
.hero-scroll span {
  width: 3px; height: 6px; background: var(--slate); border-radius: 2px;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .3; }
}

/* ============ Colorway ============ */
.colorway { padding: 28px 22px; text-align: center; background: var(--white); }
.cw-label { font-size: 14px; color: var(--slate); margin-bottom: 14px; }
.cw-dots { display: flex; gap: 16px; justify-content: center; }
.cw-dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--dot);
  border: 2px solid transparent; transition: all .25s;
}
.cw-dot.is-active { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue); }
.cw-dot:hover { transform: scale(1.08); }

/* ============ Poster ============ */
.poster {
  padding: 110px 22px; text-align: center; background: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.poster-text { max-width: 780px; }
.poster-h {
  font-size: clamp(40px, 5vw, 68px); font-weight: 600; line-height: 1.06;
  letter-spacing: -1.2px; margin-bottom: 18px;
}
.poster-h em { font-style: normal; color: var(--blue); }
.poster-p { font-size: 21px; line-height: 1.4; letter-spacing: .23px; color: var(--slate); max-width: 560px; margin: 0 auto; }

.poster-visual { width: 100%; max-width: 1000px; }
.poster-product {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.16));
}

/* ============ Hinge ============ */
.hinge-band {
  background: var(--ink); color: var(--white); padding: 120px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center;
}
.hinge-copy { max-width: 800px; }
.hinge-copy h2 {
  font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.8px; margin-bottom: 18px;
}
.hinge-copy h2 span { display: block; color: var(--steel); font-weight: 500; }
.hinge-copy p { font-size: 19px; line-height: 1.5; color: var(--frost); letter-spacing: -0.2px; }
.hinge-visual img {
  height: min(46vh, 420px); width: auto;
  filter: drop-shadow(0 24px 56px rgba(255,255,255,.10));
}

/* ============ Display ============ */
.display-sec { padding: 120px 22px; background: var(--mist); text-align: center; }
.ds-copy { margin-bottom: 48px; }
.ds-eyebrow { font-size: 19px; font-weight: 500; color: var(--slate); margin-bottom: 10px; letter-spacing: .23px; }
.ds-h {
  font-size: clamp(44px, 5.4vw, 80px); font-weight: 600; line-height: 1.04;
  letter-spacing: -1.5px;
}
.ds-visual { max-width: 620px; margin: 0 auto 64px; }
.ds-visual img {
  margin: 0 auto; height: min(64vh, 620px); width: auto;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,.20));
}
.ds-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.ds-stat strong { display: block; font-size: clamp(38px,4vw,52px); font-weight: 600; line-height: 1; margin-bottom: 6px; letter-spacing: -1px; }
.ds-stat span { font-size: 14px; font-weight: 500; color: var(--slate); }

/* ============ Chip ============ */
.chip { background: var(--ink); color: var(--white); padding: 120px 22px; text-align: center; }
.chip-h { font-size: clamp(48px,6vw,80px); font-weight: 600; line-height: 1; letter-spacing: -1.5px; margin-bottom: 10px; }
.chip-sub { font-size: clamp(19px,2.2vw,28px); font-weight: 500; color: var(--frost); margin-bottom: 64px; letter-spacing: -0.3px; }
.chip-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 820px; margin: 0 auto; }
.chip-stats strong { display: block; font-size: clamp(44px,5vw,60px); font-weight: 600; line-height: 1; margin-bottom: 6px; letter-spacing: -1.2px; }
.chip-stats span { font-size: 14px; font-weight: 500; color: var(--frost); }

/* ============ Duo cards ============ */
.duo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; background: var(--mist); }
.dcard {
  border-radius: 28px; padding: 52px 44px; min-height: 560px;
  display: flex; flex-direction: column;
}
.dcard--dark { background: var(--ink); color: var(--white); }
.dcard--light { background: var(--white); color: var(--ink); }
.dcard h3 {
  font-size: clamp(26px,2.8vw,36px); font-weight: 600; line-height: 1.12; letter-spacing: -0.6px; margin-bottom: 14px;
}
.dcard p { font-size: 17px; line-height: 1.45; color: var(--slate); letter-spacing: -0.37px; }
.dcard--dark p { color: var(--frost); }
.dcard-visual { margin-top: auto; padding-top: 32px; display: flex; justify-content: center; }
.dcard-visual img { height: 260px; width: auto; object-fit: contain; filter: drop-shadow(0 18px 36px rgba(0,0,0,.18)); }

/* ============ Specs ============ */
.specs { padding: 110px 22px; background: var(--white); text-align: center; }
.specs-h { font-size: clamp(34px,4vw,48px); font-weight: 600; line-height: 1.05; letter-spacing: -0.8px; margin-bottom: 48px; }
.specs-grid { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.spec-item { display: flex; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); }
.spec-item dt { font-weight: 600; flex: 0 0 200px; }
.spec-item dd { color: var(--slate); line-height: 1.5; }

/* ============ Outro ============ */
.outro { padding: 96px 22px; text-align: center; background: var(--mist); }
.outro h2 { font-size: clamp(38px,4.4vw,56px); font-weight: 600; line-height: 1.05; letter-spacing: -0.9px; margin-bottom: 28px; }
.outro-cta { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 500; }

/* ============ Footer ============ */
.footer { background: var(--mist); padding: 32px 22px; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-note { font-size: 12px; line-height: 1.5; color: var(--slate); margin-bottom: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 32px; }
.footer-cols h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.footer-cols a { display: block; font-size: 14px; line-height: 1.8; color: var(--slate); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--slate); }
.footer-legal { display: flex; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  .hero-scroll span { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .duo-cards { grid-template-columns: 1fr; }
  .ds-stats, .chip-stats { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 833px) {
  body { padding-top: var(--nav-h); }
  .pnav { display: none; }
  .gnav-links { display: none; }
  .hero-product { height: min(48vh, 400px); }
  .spec-item { flex-direction: column; gap: 6px; }
  .spec-item dt { flex: none; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
