/* ChillDIN Gothic Bold — 本地字体 */
@font-face {
  font-family: 'ChillDIN';
  src: url('./assets/ChillDINGothic_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-950: #1535a0;
  --blue-900: #2055cc;
  --blue-700: #4a8aff;
  --blue-500: #70aaff;
  --blue-100: #e8f2ff;
  --ink: #111827;
  --muted: #617083;
  --line: #ccdeff;
  --white: #ffffff;
  --paper: #f2f6ff;
  --shadow: 0 22px 60px rgba(74, 138, 255, 0.18);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.subpage .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px rgba(74, 138, 255, 0.10);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* 白色 logo：hero 透明导航时显示 */
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.brand-logo-light {
  display: block;
}

.brand-logo-dark {
  display: none;
}

/* 滚动后 / 子页面：切换为彩色 logo */
.site-header.is-scrolled .brand-logo-light,
.subpage .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark,
.subpage .brand-logo-dark {
  display: block;
}

.brand-mark {
  display: none;
}

.brand-text strong,
.brand-text small {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 15px;
  font-weight: 700;
  padding-right: 8px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: currentColor;
}

.seller-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 44px;
  padding: 0 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  line-height: 1;
  overflow: visible;
}

.site-header.is-scrolled .seller-link,
.subpage .seller-link {
  color: var(--white);
  background: var(--blue-700);
  border-color: var(--blue-700) !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 31, 92, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO – redesigned ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 110% -10%, rgba(180, 220, 255, 0.45) 0%, transparent 40%),
    radial-gradient(ellipse at -10% 110%, rgba(48, 112, 236, 0.45) 0%, transparent 45%),
    linear-gradient(135deg, #2055cc 0%, #4a8aff 50%, #70aaff 100%);
}

/* subtle dot grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-circle-1 {
  width: 520px;
  height: 520px;
  right: 20%;
  top: -160px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border: 1px solid rgba(255,255,255,0.10);
}

.hero-circle-2 {
  width: 360px;
  height: 360px;
  left: -80px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  max-width: 1280px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 110px 40px 60px;
}

.company,
.section-kicker {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

/* Hero copy column — ensure left-aligned on desktop, centered on mobile */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 侧边栏左侧对齐 */
}

/* Hero title — ChillDIN Gothic Bold */
.hero-title {
  margin: 0 0 16px;
  font-family: 'ChillDIN', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  width: 100%;          /* 扩展以填充父列的整个宽度 */
  max-width: none;      /* 覆盖 h1 元素 780px 的尺寸限制 */
  white-space: nowrap;
}

.hero-sub1 {
  display: none;
}

.hero-sub2 {
  margin: 0 0 40px;
  font-size: clamp(16px, 1.91vw, 25px);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

/* legacy .hero-lede kept for compat */
.hero-lede {
  max-width: 680px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.45;
}

/* ===== DOWNLOAD CARD – unified white card ===== */
.download-card {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(74, 138, 255, 0.22);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Left QR area */
.dl-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 22px 24px;
  color: var(--ink);
}

.dl-qr p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #2b3440;
  line-height: 1.5;
  white-space: nowrap;
}

/* Vertical divider */
.dl-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.08);
  margin: 16px 0;
}

/* Right buttons area */
.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 20px 22px;
}

.mobile-download-cta {
  display: none;
}

/* keep old .qr-pair hidden */
.qr-pair { display: none; }
.download-row { display: none; }
.qr-card { display: none; }
.store-stack { display: none; }

.qr-placeholder {
  position: relative;
  width: 130px;
  height: 130px;
  background:
    linear-gradient(90deg, #111 9px, transparent 9px) 0 0 / 23px 23px,
    linear-gradient(#111 9px, transparent 9px) 0 0 / 23px 23px,
    var(--white);
  border: 10px solid var(--white);
  outline: 1px solid var(--line);
}

.qr-placeholder::before,
.qr-placeholder::after,
.qr-placeholder span {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--blue-700);
  border: 7px solid var(--white);
  outline: 7px solid #111;
}

.qr-placeholder::before {
  top: 8px;
  left: 8px;
}

.qr-placeholder::after {
  top: 8px;
  right: 8px;
}

.qr-placeholder span {
  left: 8px;
  bottom: 8px;
}

.qr-placeholder.small {
  width: 118px;
  height: 118px;
  margin: 0 auto;
  background-size: 21px 21px;
}

.qr-placeholder.qr-image {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 10px;
  background: var(--white);
  border: 0;
  border-radius: 18px;
  outline: 0;
  box-shadow: 0 10px 24px rgba(15, 42, 93, 0.10);
  overflow: hidden;
}

.qr-placeholder.qr-image::before,
.qr-placeholder.qr-image::after,
.qr-placeholder.qr-image span {
  content: none;
}

.qr-placeholder.qr-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}


/* Store buttons inside the download card */
.store-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-width: 180px;
  min-height: 48px;
  padding: 9px 18px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--blue-500);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(4, 18, 50, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: var(--blue-100);
  box-shadow: 0 6px 20px rgba(4, 18, 50, 0.12);
}

.store-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 138, 255, 0.30);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 6px;
  background: var(--blue-700);
  border-radius: 50%;
  flex: 0 0 auto;
}

.store-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.wechat-icon {
  background: #22c55e;
}

/* ===== THREE-PHONE SHOWCASE — auction-themed, calm Apple-style float ===== */
.phone-showcase {
  position: relative;
  height: 520px;
  min-width: 320px;
}

/* ambient pulse behind the stack — reads as a live auction spotlight, not décor */
.showcase-glow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 420px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 45%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 3.6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.96); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

/* slim rotating ring — echoes an auction countdown bezel */
.showcase-ring {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 300px;
  height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 0;
  animation: ring-spin 22s linear infinite;
}

@keyframes ring-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

/* shared phone frame */
.phone {
  position: absolute;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(3, 15, 40, 0.36);
  overflow: hidden;
  padding: 10px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
  will-change: transform;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
}

/*
  定位策略：三台手机以容器水平中心为锚点静态排布成扇形。
  鼠标悬停整组时，左右两台手机向外侧轻微展开，简单直接。
*/

.phone-left {
  width: 210px;
  height: 430px;
  left: 50%;
  bottom: 16px;
  transform: translateX(calc(-50% - 160px)) rotate(-8deg);
  transform-origin: bottom center;
  z-index: 1;
}

.phone-center {
  width: 240px;
  height: 500px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transform-origin: bottom center;
  z-index: 3;
  box-shadow: 0 36px 90px rgba(3, 15, 40, 0.42);
}

.phone-right {
  width: 210px;
  height: 430px;
  left: 50%;
  bottom: 16px;
  transform: translateX(calc(-50% + 160px)) rotate(8deg);
  transform-origin: bottom center;
  z-index: 2;
}

.phone-showcase:hover .phone-left {
  transform: translateX(calc(-50% - 178px)) rotate(-10deg);
}

.phone-showcase:hover .phone-right {
  transform: translateX(calc(-50% + 178px)) rotate(10deg);
}

/* ===== Live-bid floating chips — the auction signal the screenshots lacked ===== */
.bid-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(3, 15, 40, 0.32);
  backdrop-filter: blur(6px);
  z-index: 4;
  transform:;
  animation: float-bob 4.2s ease-in-out infinite;
}

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

.bid-float-top {
  top: 56px;
  left: 50%;
  transform: translateX(calc(-50% + 154px));
  animation-name: float-bob-top;
}

@keyframes float-bob-top {
  0%, 100% { transform: translateX(calc(-50% + 154px)) translateY(0); }
  50% { transform: translateX(calc(-50% + 154px)) translateY(-7px); }
}

.bid-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a5f;
  box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.6);
  animation: dot-ping 1.6s ease-out infinite;
}

@keyframes dot-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(255, 90, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); }
}

.bid-float-label {
  color: rgba(255, 255, 255, 0.92);
}

.bid-float-timer {
  font-family: 'ChillDIN', 'Source Han Sans CN', sans-serif;
  color: #ffd166;
  font-variant-numeric: tabular-nums;
}

.bid-float-bottom {
  bottom: 78px;
  left: 50%;
  transform: translateX(calc(-50% - 158px));
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  animation-name: float-bob-bottom;
  animation-delay: 0.4s;
  cursor: pointer;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.bid-float-bottom:hover {
  box-shadow: 0 16px 36px rgba(3, 15, 40, 0.34);
  filter: brightness(1.02);
}

.bid-float-bottom:active {
  filter: brightness(0.96);
}

.bid-float-bottom:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 2px;
}

/* one-shot pulse on click — deliberately subtle, no scale/position change
   so it never fights the floating/parallax transforms already on this element */
.bid-float-bottom.is-bidding {
  animation-name: float-bob-bottom, bid-pulse;
  animation-duration: 4.2s, 0.5s;
  animation-timing-function: ease-in-out, ease-out;
  animation-iteration-count: infinite, 1;
  animation-delay: 0.4s, 0s;
}

@keyframes bid-pulse {
  0% { box-shadow: 0 14px 32px rgba(3, 15, 40, 0.28), 0 0 0 0 rgba(48, 112, 236, 0.45); }
  60% { box-shadow: 0 14px 32px rgba(3, 15, 40, 0.28), 0 0 0 8px rgba(48, 112, 236, 0); }
  100% { box-shadow: 0 14px 32px rgba(3, 15, 40, 0.28), 0 0 0 0 rgba(48, 112, 236, 0); }
}

@keyframes float-bob-bottom {
  0%, 100% { transform: translateX(calc(-50% - 158px)) translateY(0); }
  50% { transform: translateX(calc(-50% - 158px)) translateY(-7px); }
}

.bid-float-price-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(43, 52, 64, 0.6);
}

.bid-float-price {
  font-family: 'ChillDIN', 'Source Han Sans CN', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #e0492f;
  font-variant-numeric: tabular-nums;
}

.bid-float-price small {
  margin-left: 1px;
  font-size: 11px;
  font-weight: 600;
}

.hammer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 3px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  transform-origin: 65% 60%;
  animation: hammer-tap 2.6s ease-in-out infinite;
}

.hammer-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes hammer-tap {
  0%, 74%, 100% { transform: rotate(0deg) scale(1); }
  80% { transform: rotate(-22deg) scale(1.06); }
  87% { transform: rotate(6deg) scale(1); }
  92% { transform: rotate(0deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-glow,
  .showcase-ring,
  .bid-float,
  .bid-dot,
  .hammer-badge {
    animation: none !important;
  }

  .phone {
    transition: none !important;
  }
}

/* ===== Auction closed state — countdown stops, price freezes, no more looping ===== */
.bid-float-top.is-sold {
  background: rgba(15, 110, 86, 0.94);
}

.bid-float-top.is-sold .bid-dot {
  background: #2bd989;
  animation: none;
  box-shadow: none;
}

.bid-float-top.is-sold .bid-float-timer {
  color: #d9fce9;
}

.bid-float-bottom.is-sold .hammer-badge {
  animation: none;
}

.bid-float.is-sold {
  animation-play-state: paused;
}

/* keep old .filter-card hidden */
.filter-card { display: none; }

.official-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.35fr) minmax(240px, auto);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 74px) 28px;
  background: var(--paper);
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand-logo {
  height: 64px;
  width: auto;
  display: block;
}

.footer-logo {
  display: none;
}

.footer-brand strong {
  display: block;
  font-size: 28px;
}

.footer-brand p,
.footer-meta p,
.footer-qrs p {
  margin: 0;
  color: var(--muted);
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-meta nav a {
  color: var(--ink);
}

.footer-meta p {
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-qrs {
  display: flex;
  gap: 24px;
  text-align: center;
}

.footer-qrs p {
  margin-top: 10px;
  font-size: 14px;
}

.footer-qrs small {
  display: block;
  max-width: 150px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section-kicker {
  color: var(--blue-700);
}

.subpage-hero {
  position: relative;
  min-height: 320px;
  margin-top: 72px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #2055cc, #4a8aff);
}

/* 独自背景を持つヒーローはデフォルトの::afterストライプを非表示 */
.about-hero::after,
.news-hero::after,
.contact-hero::after {
  display: none;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.32) 42% 42.4%, transparent 42.4%),
    linear-gradient(130deg, transparent 0 52%, rgba(255, 255, 255, 0.22) 52% 52.35%, transparent 52.35%),
    linear-gradient(150deg, transparent 0 62%, rgba(255, 255, 255, 0.18) 62% 62.3%, transparent 62.3%);
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(21, 53, 160, 0.80) 0%, rgba(21, 53, 160, 0.25) 60%, transparent 100%),
    url('./assets/about-background.png') right center / cover no-repeat;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(21, 53, 160, 0.80) 0%, rgba(21, 53, 160, 0.25) 60%, transparent 100%),
    url('./assets/about-background.png') right center / cover no-repeat;
}

.news-hero {
  background:
    linear-gradient(90deg, rgba(21, 53, 160, 0.45) 0%, rgba(21, 53, 160, 0.10) 50%, transparent 100%),
    url('./assets/news-_background.png') center center / cover no-repeat;
}

.subpage-hero > div {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
}

.subpage-hero p {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 900;
}

.subpage-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.12;
}

.subpage-content {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 96px) 0;
}

.news-content {
  padding-top: clamp(36px, 5vw, 58px);
}

.story-block {
  max-width: 920px;
  margin-bottom: 44px;
}

.story-block p,
.contact-copy p,
.contact-info p,
.contact-qrs p {
  color: var(--muted);
  font-size: 18px;
}

.story-block p {
  margin-bottom: 22px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.value-list article {
  min-height: 220px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--white);
}

.value-list span {
  color: var(--blue-700);
  font-weight: 900;
}

.value-list h2 {
  margin: 18px 0 12px;
  font-size: 25px;
}

.value-list p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  margin-bottom: 52px;
}

.contact-copy h2 {
  max-width: 720px;
}

.contact-info {
  padding-top: 8px;
  border-top: 3px solid var(--blue-700);
}

.contact-info h3 {
  margin-bottom: 22px;
  font-size: 28px;
}

.contact-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-info a {
  color: var(--blue-700);
  font-weight: 900;
}

.schedule-section {
  padding-top: 0;
}

.section-headline {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-headline h2 {
  font-size: 32px;
  line-height: 1.25;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.city-grid article {
  min-height: 310px;
  padding: 28px;
  background: var(--white);
}

.city-grid h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.city-grid h3 span {
  display: block;
  margin-top: 2px;
  color: var(--blue-700);
  font-size: 14px;
}

.city-grid p {
  color: var(--muted);
}

.city-grid dl {
  margin: 24px 0 0;
}

.city-grid dt {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 900;
}

.city-grid dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.city-grid dd a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
}

.news-item {
  display: grid;
  min-height: 330px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-item[hidden] {
  display: none;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(8, 35, 90, 0.12);
}

.news-thumb {
  min-height: 136px;
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.88), rgba(8, 35, 90, 0.92)),
    url("./assets/home-2.png") center top / 160px auto no-repeat;
}

.news-thumb.blue {
  background:
    linear-gradient(135deg, rgba(47, 135, 255, 0.86), rgba(23, 105, 224, 0.92)),
    url("./assets/home-10.png") center top / 160px auto no-repeat;
}

.news-thumb.navy {
  background:
    linear-gradient(135deg, rgba(8, 35, 90, 0.95), rgba(11, 52, 121, 0.9)),
    url("./assets/filter.png") center top / 140px auto no-repeat;
}

.news-thumb.gray {
  background:
    linear-gradient(135deg, rgba(245, 248, 252, 0.9), rgba(219, 230, 244, 0.98)),
    url("./assets/home-2.png") center top / 160px auto no-repeat;
}

.news-item > div:last-child {
  padding: 22px;
}

.news-item h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.28;
}

.news-item p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
}

.news-item time {
  display: block;
  color: #8a95a4;
  font-size: 18px;
  font-weight: 800;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  color: var(--blue-700);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.pagination button.is-current {
  color: var(--white);
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.article-page {
  margin-top: 72px;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 110px) max(28px, calc((100vw - 1160px) / 2 + 28px));
  background: #f3f6fa;
}

.article-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  width: 420px;
  height: 100%;
  opacity: 0.55;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(47, 135, 255, 0.16) 12px 20px);
  transform: skewX(-16deg);
}

.article-hero a,
.article-hero h1,
.article-hero time {
  position: relative;
  z-index: 1;
}

.article-hero a {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.18;
}

.article-hero time {
  display: block;
  color: #747f8d;
  font-size: 18px;
  font-weight: 800;
}

.article-content {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 28px;
}

.article-content p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.article-content h2 {
  margin-top: 42px;
  font-size: 30px;
}

.advisor-section,
.hq-section {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.advisor-section > h2,
.hq-section > h2 {
  margin: 0 0 34px;
  font-size: 32px;
  line-height: 1.25;
}

.advisor-grid,
.hq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: 52px;
}

.advisor-grid article,
.hq-grid article,
.follow-grid > div {
  min-height: 250px;
  padding: 36px;
  background: var(--white);
  border-radius: 14px;
}

.advisor-grid article {
  min-height: 150px;
  display: grid;
  align-content: center;
}

.advisor-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.advisor-grid strong {
  color: var(--ink);
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 9px;
  font-weight: 900;
}

.hq-grid h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.hq-section p,
.follow-grid p {
  color: var(--muted);
  font-size: 18px;
}

.advisor-grid a,
.hq-section a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.follow-grid {
  display: grid;
  grid-template-columns: 260px;
  gap: clamp(18px, 3vw, 34px);
}

.follow-grid > div {
  min-height: 250px;
  text-align: center;
}

.follow-grid strong {
  display: block;
  margin-top: 14px;
}

.simple-footer {
  padding: 28px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  background: var(--blue-950);
}

.mobile-footer {
  display: none;
}

/* ===== 1100px: 中等屏幕过渡，缩小手机图防止挤压 ===== */
@media (max-width: 1100px) {
  .hero-inner {
    padding: 110px 32px 60px;
  }

  .hero-title {
    font-size: clamp(52px, 6.5vw, 88px);
  }

  .hero-sub1 {
    display: none;
  }

  .hero-sub2 {
    font-size: clamp(14px, 1.72vw, 22px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero-logo img {
    height: 64px;
  }

  .dl-qr {
    padding: 16px 16px 16px 18px;
  }

  .dl-buttons {
    padding: 16px 18px 16px 16px;
  }

  .store-button {
    width: max-content;
    min-width: 162px;
    min-height: 44px;
    font-size: 13px;
    padding: 8px 14px;
  }

  /* 中等屏幕：手机整体缩小，偏移量同比缩小 */
  .phone-showcase {
    height: 430px;
  }

  .phone-center {
    width: 200px;
    height: 415px;
  }

  .phone-left, .phone-right {
    width: 175px;
    height: 358px;
  }

  .phone-left {
    transform: translateX(calc(-50% - 132px)) rotate(-8deg);
  }

  .phone-right {
    transform: translateX(calc(-50% + 132px)) rotate(8deg);
  }

  .phone-showcase:hover .phone-left {
    transform: translateX(calc(-50% - 144px)) rotate(-10deg);
  }

  .phone-showcase:hover .phone-right {
    transform: translateX(calc(-50% + 144px)) rotate(10deg);
  }

  .bid-float {
    font-size: 11px;
    padding: 7px 12px;
  }

  .bid-float-price {
    font-size: 16px;
  }

  .bid-float-top {
    top: 44px;
    transform: translateX(calc(-50% + 128px));
  }

  .bid-float-bottom {
    bottom: 64px;
    transform: translateX(calc(-50% - 132px));
  }

  @keyframes float-bob-top {
    0%, 100% { transform: translateX(calc(-50% + 128px)) translateY(0); }
    50% { transform: translateX(calc(-50% + 128px)) translateY(-7px); }
  }

  @keyframes float-bob-bottom {
    0%, 100% { transform: translateX(calc(-50% - 132px)) translateY(0); }
    50% { transform: translateX(calc(-50% - 132px)) translateY(-7px); }
  }

  .showcase-glow {
    width: 340px;
    height: 340px;
  }

  .showcase-ring {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 66px;
  }

  .site-header.is-scrolled,
  .subpage .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 120;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(82vw, 340px);
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    gap: 10px;
    padding: 84px 28px 28px;
    color: var(--ink);
    background: #ffffff !important;
    border-right: 1px solid var(--line);
    border-radius: 0 20px 20px 0;
    box-shadow: 18px 0 46px rgba(74, 138, 255, 0.16);
    transform: translateX(-104%);
    transition: transform 0.24s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid #eef2f7;
  }

  .seller-link {
    margin-top: 18px;
    padding: 13px 18px !important;
    color: var(--white) !important;
    text-align: center;
    background: var(--blue-700);
    border-color: var(--blue-700);
    border-radius: 8px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 96px;
    padding-bottom: 56px;
    gap: 40px;
  }

  .hero-copy {
    align-items: center;  /* flex子要素（タイトル・副題・カード）を水平中央に */
    text-align: center;
  }

  .download-card {
    margin: 0 auto;
  }

  .phone-showcase {
    height: 380px;
    max-width: 520px;
    margin: 0 auto;
  }

  .phone-center {
    width: 178px;
    height: 368px;
  }

  .phone-left, .phone-right {
    width: 155px;
    height: 315px;
  }

  .phone-left,
  .phone-showcase:hover .phone-left {
    transform: translateX(calc(-50% - 118px)) rotate(-8deg);
    animation: none;
  }

  .phone-right,
  .phone-showcase:hover .phone-right {
    transform: translateX(calc(-50% + 118px)) rotate(8deg);
    animation: none;
  }

  .phone-center,
  .phone-showcase:hover .phone-center {
    transform: translateX(-50%);
    animation: none;
  }

  .bid-float {
    font-size: 10px;
    padding: 6px 10px;
    gap: 4px;
  }

  .bid-float-price {
    font-size: 14px;
  }

  .bid-float-top {
    top: 22px;
    transform: translateX(calc(-50% + 96px));
  }

  .bid-float-bottom {
    bottom: 38px;
    transform: translateX(calc(-50% - 100px));
  }

  @keyframes float-bob-top {
    0%, 100% { transform: translateX(calc(-50% + 96px)) translateY(0); }
    50% { transform: translateX(calc(-50% + 96px)) translateY(-7px); }
  }

  @keyframes float-bob-bottom {
    0%, 100% { transform: translateX(calc(-50% - 100px)) translateY(0); }
    50% { transform: translateX(calc(-50% - 100px)) translateY(-7px); }
  }

  .hammer-badge {
    width: 18px;
    height: 18px;
  }

  .showcase-glow {
    width: 260px;
    height: 260px;
  }

  .showcase-ring {
    width: 190px;
    height: 190px;
  }

  .official-footer,
  .value-list,
  .contact-layout,
  .city-grid,
  .news-list,
  .advisor-grid,
  .hq-grid,
  .follow-grid {
    grid-template-columns: 1fr;
  }

  .footer-qrs {
    justify-content: flex-start;
  }

  .official-footer,
  .simple-footer {
    display: none;
  }

  .mobile-footer {
    display: block;
    padding: 34px 22px 30px;
    color: #2b3440;
    text-align: center;
    background: #f3f6fa;
    border-top: 1px solid var(--line);
  }

  .mobile-footer p {
    margin: 0 0 9px;
    font-size: 14px;
    line-height: 1.6;
  }

  .mobile-footer p:last-child {
    margin-bottom: 0;
  }

  .mobile-footer a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-title {
    font-size: clamp(44px, 12vw, 64px);
  }

  .hero-logo img {
    height: 52px;
  }

  .hero-sub1 {
    display: none;
  }

  .hero-sub2 {
    /* 主标题 12vw × 6字 = 72vw；副标题 19字同宽：72vw ÷ 19 = 3.789vw */
    font-size: 3.789vw;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .download-row {
    display: none;
  }

  .download-card {
    display: none;
  }

  .mobile-download-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 260px);
    height: 52px;
    color: var(--blue-700);
    background: var(--white);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 16px 38px rgba(74, 138, 255, 0.22);
  }

  .phone-showcase {
    position: relative;
    height: 290px;
    width: min(100%, 360px);
    margin-top: 34px;
    margin-left: auto;
    margin-right: auto;
  }

  .phone-center {
    width: 136px;
    height: 280px;
  }

  .phone-left, .phone-right {
    width: 118px;
    height: 240px;
  }

  .phone-left,
  .phone-showcase:hover .phone-left {
    transform: translateX(calc(-50% - 88px)) rotate(-8deg);
    animation: none;
  }

  .phone-right,
  .phone-showcase:hover .phone-right {
    transform: translateX(calc(-50% + 88px)) rotate(8deg);
    animation: none;
  }

  .phone-center,
  .phone-showcase:hover .phone-center {
    transform: translateX(-50%);
    animation: none;
  }

  .bid-float {
    font-size: 9px;
    padding: 5px 8px;
    gap: 3px;
    box-shadow: 0 8px 18px rgba(3, 15, 40, 0.28);
  }

  .bid-float-price {
    font-size: 12px;
  }

  .bid-float-price-label {
    font-size: 9px;
  }

  .bid-float-top {
    top: 14px;
    transform: translateX(calc(-50% + 56px));
  }

  .bid-float-bottom {
    bottom: 24px;
    transform: translateX(calc(-50% - 58px));
  }

  @keyframes float-bob-top {
    0%, 100% { transform: translateX(calc(-50% + 56px)) translateY(0); }
    50% { transform: translateX(calc(-50% + 56px)) translateY(-7px); }
  }

  @keyframes float-bob-bottom {
    0%, 100% { transform: translateX(calc(-50% - 58px)) translateY(0); }
    50% { transform: translateX(calc(-50% - 58px)) translateY(-7px); }
  }

  .hammer-badge {
    width: 15px;
    height: 15px;
  }

  .showcase-glow {
    width: 200px;
    height: 200px;
    bottom: 4%;
  }

  .showcase-ring {
    width: 150px;
    height: 150px;
  }

  .footer-brand,
  .footer-qrs {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-qrs {
    gap: 18px;
  }

  .subpage-hero {
    min-height: 260px;
    margin-top: 66px;
    background-position: right center;
    background-size: cover;
  }

  .subpage-content,
  .subpage-hero > div {
    width: min(100% - 36px, 1160px);
  }

  .follow-grid {
    width: 100%;
  }

}
