/* ============================================================
   研Q LP v2 — visual-forward overrides (layered after styles.css)
   Photographic hero + KPI band, circular line-icon system,
   product mockups. Scoped under body.v2.
   ============================================================ */

/* ---------- shared icon circle ---------- */
.v2 .ic {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 50%;
}
.v2 .ic svg { width: 56%; height: 56%; stroke-width: 1.5; }

/* ============================================================
   HERO — full-bleed photography
   ============================================================ */
.v2 .hero {
  padding: 200px 0 110px;
  background: var(--ink-blue);
  color: #fff;
}
.v2 .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url('lp/assets/hero_bg1.avif') center/cover no-repeat;
  background-position: center 30%;
}
.v2 .hero-scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(15,20,35,0.93) 0%, rgba(15,20,35,0.80) 42%, rgba(15,20,35,0.45) 100%),
    linear-gradient(to top, rgba(15,20,35,0.65), transparent 40%);
}
.v2 .hero-deco { opacity: 0.6; }
.v2 .hero-ring { border-color: rgba(184,150,74,0.16); }
.v2 .hero-glyph { color: rgba(255,255,255,0.04); }
.v2 .hero-inner { grid-template-columns: 0.92fr 1.08fr; align-items: center; }
.v2 .hero-eyebrow { color: var(--gold-light); }
.v2 .hero-eyebrow::before { background: var(--gold-light); }
.v2 .hero-catch { color: #fff; }
.v2 .hero-catch em { color: var(--gold-light); }
.v2 .hero-sub { color: rgba(250,248,244,0.74); }
.v2 .hero-trust {
  margin-top: 34px; gap: 12px;
  width: fit-content; max-width: 100%;
  padding: 11px 22px 11px 18px;
  font-family: var(--font-ja); font-weight: 600;
  font-size: 0.94rem; letter-spacing: 0.02em; white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, rgba(212,175,110,0.20), rgba(212,175,110,0.10));
  border: none;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}
.v2 .hero-trust strong { color: var(--gold-light); font-weight: 700; }
.v2 .hero-trust::before {
  content: ''; flex: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(212,175,110,0.6);
  animation: heroTrustPulse 2.4s ease-out infinite;
}
@keyframes heroTrustPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,175,110,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(212,175,110,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,110,0); }
}
@media (prefers-reduced-motion: reduce) {
  .v2 .hero-trust::before { animation: none; }
}
.v2 .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.32); border-radius: var(--r-sm); }
.v2 .hero .btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* floating product frame on photo */
.v2 .hero-frame {
  border-radius: 0; overflow: visible; background: transparent;
  box-shadow: none;
  transform: none;
}
.v2 .hero-visual { position: relative; }
.v2 .hero-frame image-slot, .v2 .hero-frame img { width: 100%; max-width: 100%; height: auto; object-fit: contain; display: block; transform: translateX(-7%); }
.v2 .hero-chip-row { position: absolute; inset: auto auto -20px -22px; z-index: 3; display: flex; gap: 12px; }
.v2 .hero-badge { position: static; }
.v2 .hero-badge .ic { width: 34px; height: 34px; background: var(--azure-soft); color: var(--azure-strong); }
.v2 .hero-scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-latin); font-size: 0.64rem; letter-spacing: 0.24em; color: rgba(250,248,244,0.55);
}
.v2 .hero-scroll-cue .line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold-light), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ============================================================
   PROBLEM — icon-led pain cards
   ============================================================ */
.v2 .pain { padding-top: 8px; }
.v2 .pain-icon {
  width: 64px; height: 64px; margin-bottom: 26px;
  background: var(--sand); color: var(--ink-blue);
  border: 1px solid var(--border); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.v2 .pain-icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
.v2 .pain:hover .pain-icon { background: var(--azure-soft); color: var(--azure-strong); border-color: transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }

/* ============================================================
   SHIFT — faint photo behind dark section
   ============================================================ */
.v2 .shift { position: relative; }
.v2 .shift-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('lp/assets/hero_bg2.avif') center/cover no-repeat;
  opacity: 0.10; mix-blend-mode: luminosity;
}
.v2 .shift .inner { position: relative; z-index: 1; }
.v2 .ba-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   HOW — two-column: steps + product mockup
   ============================================================ */
.v2 .how-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 64px; align-items: center; margin-top: 60px; }
.v2 .how-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.v2 .how-step { display: flex; gap: 24px; padding: 24px 0; position: relative; }
.v2 .how-step:not(:last-child)::before {
  content: ''; position: absolute; left: 25px; top: 70px; bottom: -6px; width: 1px;
  background: linear-gradient(to bottom, var(--border-gold), transparent);
}
.v2 .how-step .ic {
  width: 52px; height: 52px; background: var(--azure-soft); color: var(--azure-strong);
  border: 1px solid rgba(79,141,239,0.18); position: relative; z-index: 1;
}
.v2 .how-step .ic svg { width: 24px; height: 24px; }
.v2 .how-step-body { padding-top: 4px; }
.v2 .how-step-tag { font-family: var(--font-latin); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--azure-strong); text-transform: uppercase; margin-bottom: 8px; }
.v2 .how-step-body h3 { font-weight: 500; font-size: 1.16rem; letter-spacing: 0.03em; color: var(--ink-blue); margin-bottom: 10px; }
.v2 .how-step-body p { font-weight: 300; font-size: 0.9rem; line-height: 1.95; color: var(--muted); }
.v2 .how-visual {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #eef2f8, #dfe7f2); padding: 40px 40px 0;
  box-shadow: var(--shadow-card);
}
.v2 .how-visual img, .v2 .how-visual image-slot { width: 100%; display: block; border-radius: var(--r-md) var(--r-md) 0 0; }
.v2 .how-visual::after { content: ''; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(to top, rgba(223,231,242,0.9), transparent); }
.v2 .how-cta { justify-content: flex-start; }

/* ============================================================
   FEATURES — enlarged circular icon chips
   ============================================================ */
.v2 .feat { padding: 46px 44px; gap: 24px; align-items: flex-start; }
.v2 .feat-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--azure-soft); color: var(--azure-strong);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(79,141,239,0.16); transition: transform var(--dur) var(--ease);
}
.v2 .feat-icon svg { width: 26px; height: 26px; }
.v2 .feat:hover .feat-icon { transform: translateY(-3px) scale(1.04); }

/* ============================================================
   TRUST — photo KPI band + logo strip
   ============================================================ */
.v2 .phase-step .ic { width: 46px; height: 46px; background: var(--sand); color: var(--gold); border: 1px solid var(--border-gold-faint); margin-bottom: 18px; }
.v2 .phase-step .ic svg { width: 22px; height: 22px; }
.v2 .phase-no { margin-bottom: 12px; }

.v2 .kpi-band {
  position: relative; margin-top: 56px; overflow: hidden; border-radius: var(--r-md);
  background: var(--ink-blue);
}
.v2 .kpi-photo { position: absolute; inset: 0; background: url('lp/assets/hero_bg2.avif') center/cover no-repeat; background-position: center 35%; }
.v2 .kpi-scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,20,35,0.92), rgba(15,20,35,0.74)); }
.v2 .kpi-band-inner { position: relative; z-index: 1; padding: 52px 48px; }
.v2 .kpi-band .poc-line { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; flex-wrap: wrap; }
.v2 .kpi-band .poc-line p { font-weight: 300; font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.6; letter-spacing: 0.04em; color: #fff; }
.v2 .kpi-band .poc-line p strong { font-weight: 600; color: var(--gold-light); }
.v2 .kpi-band .kpis { background: transparent; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 0; }
.v2 .kpi-band .kpi { background: transparent; padding: 8px 36px 8px 0; border-left: none; }
.v2 .kpi-band .kpi + .kpi { border-left: 1px solid var(--border-on-dark); padding-left: 36px; }
.v2 .kpi-band .kpi-label { color: rgba(250,248,244,0.7); }

/* keep the How-it-works lead on one line (desktop); wraps on mobile */
.v2 .how .sec-lead, .v2 .trust .sec-lead { max-width: none; white-space: nowrap; }

/* track-record: industries + university */
.v2 .ind-block { margin-bottom: 38px; }
.v2 .ind-cap {
  font-family: var(--font-latin); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(212,175,110,0.85);
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.v2 .ind-cap::before { content: ''; width: 32px; height: 1px; background: rgba(212,175,110,0.55); }
.v2 .ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border-on-dark); border: 1px solid var(--border-on-dark); }
.v2 .ind {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 26px 12px; text-align: center;
  background: rgba(255,255,255,0.015);
  transition: background 0.35s ease;
}
.v2 .ind:hover { background: rgba(212,175,110,0.07); }
.v2 .ind-ic { color: var(--gold-light); display: flex; }
.v2 .ind-ic svg { width: 30px; height: 30px; }
.v2 .ind-name { font-family: var(--font-ja); font-weight: 400; font-size: 0.84rem; letter-spacing: 0.04em; color: rgba(250,248,244,0.92); line-height: 1.4; }

.v2 .tr-foot {
  display: block;
  padding-top: 34px; border-top: 1px solid var(--border-on-dark);
}
.v2 .tr-univ-cap {
  display: block; font-family: var(--font-latin); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.v2 .tr-univ-item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-ja); font-weight: 300; font-size: 0.98rem; letter-spacing: 0.03em;
  color: rgba(250,248,244,0.86); padding: 9px 0;
}
.v2 .tr-univ-item + .tr-univ-item { border-top: 1px solid rgba(255,255,255,0.06); }
.v2 .tr-univ-lead {
  font-family: var(--font-ja); font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.85; letter-spacing: 0.03em; color: rgba(250,248,244,0.9);
}
.v2 .tr-univ-lead strong { font-weight: 500; color: var(--gold-light); }
.v2 .tr-tag {
  flex: none; min-width: 78px; text-align: center;
  font-weight: 500; font-size: 0.8rem; color: #fff;
  padding: 4px 12px; border: 1px solid rgba(212,175,110,0.5);
  letter-spacing: 0.06em;
}
.v2 .tr-when { margin-left: auto; font-family: var(--font-latin); font-style: normal; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold-light); }
.v2 .tr-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.v2 .tr-metric { padding: 0 28px; }
.v2 .tr-metric + .tr-metric { border-left: 1px solid var(--border-on-dark); }
.v2 .tr-num { display: block; font-family: var(--font-latin); font-weight: 500; font-size: 2.1rem; line-height: 1; color: #fff; letter-spacing: 0.01em; }
.v2 .tr-num .u { font-size: 0.9rem; font-weight: 400; margin-left: 3px; color: rgba(250,248,244,0.8); }
.v2 .tr-mlabel { display: block; margin-top: 12px; font-family: var(--font-ja); font-weight: 300; font-size: 0.78rem; line-height: 1.6; letter-spacing: 0.03em; color: rgba(250,248,244,0.66); }

.v2 .logos { margin-top: 44px; }
.v2 .logos-label { font-family: var(--font-latin); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.v2 .logos-label::before { content: ''; width: 28px; height: 1px; background: var(--border); }
.v2 .logos-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.v2 .logos-row image-slot { width: 100%; height: 72px; background: var(--white); border: 1px solid var(--border); }

/* ============================================================
   FINAL — faint photo
   ============================================================ */
.v2 .final-photo { position: absolute; inset: 0; z-index: 0; background: url('lp/assets/hero_bg1.avif') center/cover no-repeat; opacity: 0.07; mix-blend-mode: luminosity; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .v2 .how-grid { grid-template-columns: 1fr; gap: 44px; }
  .v2 .hero-frame { transform: none; }
}
@media (max-width: 820px) {
  .v2 .hero { padding-top: 150px; }
  .v2 .logos-row { grid-template-columns: repeat(2, 1fr); }
  .v2 .kpi-band .kpis { grid-template-columns: 1fr; }
  .v2 .kpi-band .kpi + .kpi { border-left: none; border-top: 1px solid var(--border-on-dark); padding-left: 0; padding-top: 22px; margin-top: 6px; }
  .v2 .kpi-band-inner { padding: 40px 28px; }
  .v2 .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .v2 .tr-foot { grid-template-columns: 1fr; gap: 30px; }
  .v2 .how .sec-lead, .v2 .trust .sec-lead { white-space: normal; }
}

/* ============================================================
   demo video modal
   ============================================================ */
.btn-ghost .play-ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: -2px; }
.btn-ghost .play-ic svg { width: 13px; height: 13px; }

.vmodal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s;
}
.vmodal.open { opacity: 1; visibility: visible; }
.vmodal-backdrop { position: absolute; inset: 0; background: rgba(10,13,22,0.82); backdrop-filter: blur(6px); }
.vmodal-card {
  position: relative; width: min(980px, 100%);
  max-height: calc(100dvh - 32px); display: flex; flex-direction: column;
  background: var(--ink-blue); border-radius: var(--r-lg);
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  overflow: hidden;
  transform: translateY(16px) scale(0.985);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.vmodal.open .vmodal-card { transform: none; }
.vmodal-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 28px 20px; }
.vmodal-title { font-family: var(--font-ja); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.02em; color: #fff; margin-top: 10px; line-height: 1.5; }
.vmodal-title em { color: var(--gold-light); font-style: normal; }
.vmodal-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.vmodal-close:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.vmodal-close svg { width: 18px; height: 18px; }
.vmodal-stage {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  flex: 1 1 auto; min-height: 0; max-height: calc(100dvh - 130px);
  background: #0a0d16;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.vmodal-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.vmodal-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--azure-strong); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,99,235,0.45), 0 0 0 0 rgba(37,99,235,0.5);
  transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
  animation: vmodalPulse 2.6s ease-out infinite;
}
.vmodal-play:hover { transform: translate(-50%,-50%) scale(1.06); background: #1d4fc4; }
.vmodal-play svg { width: 30px; height: 30px; margin-left: 4px; }
.vmodal-play.hidden { display: none; }
@keyframes vmodalPulse {
  0%   { box-shadow: 0 10px 30px rgba(37,99,235,0.45), 0 0 0 0 rgba(37,99,235,0.5); }
  70%  { box-shadow: 0 10px 30px rgba(37,99,235,0.45), 0 0 0 22px rgba(37,99,235,0); }
  100% { box-shadow: 0 10px 30px rgba(37,99,235,0.45), 0 0 0 0 rgba(37,99,235,0); }
}
.vmodal-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-family: var(--font-ja); font-weight: 300; font-size: 0.78rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7); background: rgba(10,13,22,0.55);
  padding: 7px 16px; border-radius: 999px; white-space: nowrap; pointer-events: none;
}
.vmodal-hint.hidden { display: none; }
@media (prefers-reduced-motion: reduce) { .vmodal-play { animation: none; } }
@media (max-width: 600px) {
  .vmodal { padding: 16px; }
  .vmodal-title { font-size: 1.1rem; }
  .vmodal-play { width: 60px; height: 60px; }
  .vmodal-play svg { width: 24px; height: 24px; }
  .vmodal-hint { font-size: 0.7rem; white-space: normal; text-align: center; width: 80%; }
}
