/* ============================================================
   美市洞察 · U.S. MARKET INSIGHT
   Palette: Flame Coral #FF5722 / Magenta #FF1493 / Deep Navy #16213E
   Type: Nanum Gothic (display + latin) + Noto Sans SC (CJK)
   ============================================================ */

:root {
  --navy:        #16213E;
  --navy-deep:   #0D1428;
  --navy-soft:   #1E2C4E;
  --coral:       #FF5722;
  --pink:        #FF1493;
  --ink:         #EEF2FB;
  --muted:       #93A0C0;
  --muted-dim:   #66729033;
  --line:        rgba(255,255,255,.08);
  --card:        rgba(255,255,255,.035);
  --card-2:      rgba(255,255,255,.06);
  --grad:        linear-gradient(120deg, #FF5722 0%, #FF1493 100%);
  --grad-soft:   linear-gradient(120deg, rgba(255,87,34,.16), rgba(255,20,147,.16));
  --glow-coral:  0 0 40px rgba(255,87,34,.35);
  --glow-pink:   0 0 40px rgba(255,20,147,.30);
  --radius:      20px;
  --maxw:        1200px;
  --bar-h:       76px;
  font-family: 'Nanum Gothic', 'Noto Sans SC', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-deep);
  color: var(--ink);
  font-family: 'Nanum Gothic', 'Noto Sans SC', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: var(--bar-h);           /* room for fixed bottom bar */
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

/* ambient background field */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60vw 60vw at 78% -10%, rgba(255,87,34,.16), transparent 60%),
    radial-gradient(50vw 50vw at 8% 12%, rgba(255,20,147,.13), transparent 60%),
    var(--navy-deep);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120vw 90vh at 50% 0, #000, transparent 75%);
          mask-image: radial-gradient(120vw 90vh at 50% 0, #000, transparent 75%);
}

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); box-shadow: var(--glow-coral);
  animation: pulse 1.6s infinite;
}
.grad-text {
  background: linear-gradient(110deg, #FF5722 0%, #FF1493 30%, #FF9A62 55%, #FF1493 78%, #FF5722 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradflow 7s linear infinite;
}
@keyframes gradflow { to { background-position: 240% 0; } }
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1;
  font-weight: 800; letter-spacing: -.01em;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-size: .98rem; cursor: pointer; border: none;
  transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn i, .btn .wa { font-size: 1.05em; }
.btn .wa { width: 20px; height: 20px; object-fit: contain; }

/* sweeping glare that crosses the button */
.btn::after {
  content: ""; position: absolute; z-index: 2; top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: translateX(-180%) skewX(-22deg);
  pointer-events: none;
}
/* hover triggers a single sweep on any button */
.btn:hover::after { transition: transform .75s ease; transform: translateX(320%) skewX(-22deg); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(255,87,34,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,20,147,.45); }
/* primary buttons also auto-flash on an idle loop */
.btn-primary::after { animation: sweep 5s ease-in-out infinite; }
.btn-primary:hover::after { animation: none; }

.btn-ghost {
  background: var(--card-2); color: var(--ink);
  border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(255,87,34,.6); }

@keyframes sweep {
  0%   { transform: translateX(-180%) skewX(-22deg); }
  18%  { transform: translateX(320%)  skewX(-22deg); }
  100% { transform: translateX(320%)  skewX(-22deg); }
}

/* brand mark (used in footer) */
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; box-shadow: var(--glow-coral);
}
.brand small { display: block; font-size: .62rem; letter-spacing: .28em; color: var(--muted); font-weight: 700; }

/* =====================================================
   HERO
   ===================================================== */
.hero { position: relative; padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02;
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px;
}
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px rgba(255,255,255,.55); color: transparent;
}
.hero p.lead { margin-bottom: 30px; font-size: 1.12rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.trust { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .92rem; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--navy-deep); background: var(--grad-soft);
  display: grid; place-items: center; font-size: .8rem; color: var(--coral);
}
.avatars span:first-child { margin-left: 0; }

/* hero visual — frameless transparent art floating on a radial glow */
.hero-visual { position: relative; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before {
  content: ""; position: absolute; z-index: 0;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,87,34,.34), rgba(255,20,147,.20) 42%, transparent 70%);
  filter: blur(26px); animation: pulseGlow 6s ease-in-out infinite;
}
.hero-art img {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  filter: drop-shadow(0 30px 46px rgba(255,20,147,.30)) drop-shadow(0 10px 20px rgba(0,0,0,.4));
  animation: floatY 6s ease-in-out infinite;
}

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

/* =====================================================
   STATS BAND
   ===================================================== */
.stats { padding: 26px 0; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--navy); padding: 30px 26px; text-align: center; position: relative; }
.stat .n { font-size: clamp(1.8rem,3.4vw,2.6rem); font-weight: 800; }
.stat .n span { font-size: .6em; }
.stat .l { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.stat i { color: var(--coral); font-size: 1rem; margin-bottom: 10px; display: block; }
@media (max-width: 760px){ .stats .wrap { grid-template-columns: repeat(2,1fr); } }

/* =====================================================
   SECTION HEADER
   ===================================================== */
.sec { padding: 90px 0; }
.sec-head { max-width: 620px; margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p { color: var(--muted); margin-top: 14px; }

/* =====================================================
   FEATURES — BENTO
   ===================================================== */
.bento { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; grid-auto-rows: 1fr; }
.f-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.f-card:hover { transform: translateY(-6px); border-color: rgba(255,87,34,.5); background: var(--card-2); }
.f-card::before {
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  right: -50px; top: -50px; background: var(--grad-soft); filter: blur(30px);
  opacity: 0; transition: opacity .3s;
}
.f-card:hover::before { opacity: 1; }
/* diagonal sheen that sweeps across the card on hover */
.f-card::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -20%; left: 0; width: 45%; height: 140%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.10) 50%, transparent);
  transform: translateX(-160%) skewX(-20deg); transition: transform .8s ease;
}
.f-card:hover::after { transform: translateX(320%) skewX(-20deg); }
.f-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--coral);
  font-size: 1.3rem; margin-bottom: 18px; position: relative; z-index: 1;
  transition: transform .3s, box-shadow .3s;
}
.f-card:hover .f-ico { transform: translateY(-2px) scale(1.05); box-shadow: var(--glow-coral); }
.f-card h3 { font-size: 1.25rem; margin-bottom: 8px; position: relative; z-index: 1; }
.f-card p { color: var(--muted); font-size: .95rem; position: relative; z-index: 1; }
.f-index { position: absolute; right: 22px; bottom: 12px; font-size: 3.4rem; font-weight: 800;
  color: rgba(255,255,255,.04); z-index: 0; }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
@media (max-width: 900px){
  .bento { grid-template-columns: repeat(2,1fr); }
  .span-3,.span-2,.span-4 { grid-column: span 1; }
}
@media (max-width: 560px){ .bento { grid-template-columns: 1fr; } }

/* =====================================================
   SPLIT MODULES
   ===================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-copy h2 { font-size: clamp(1.7rem,3.4vw,2.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 18px; }
.split-copy .lead { margin-bottom: 26px; }
.checklist { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist li i { color: var(--coral); margin-top: 4px; }
.checklist li span { color: var(--muted); }

/* media with tilt + glow frame + floating chips */
.split-media { position: relative; }
.media-frame {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line); position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.media-frame img { width: 100%; height: 420px; object-fit: cover; }
.media-frame::after { content:""; position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(255,87,34,.10), transparent 55%, rgba(255,20,147,.14)); }
.media-tilt { transform: perspective(1000px) rotateY(6deg); }
.media-tilt.left { transform: perspective(1000px) rotateY(-6deg); }
.chip {
  position: absolute; z-index: 4; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .82rem;
  background: rgba(13,20,40,.85); border: 1px solid var(--line); backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 8px; box-shadow: 0 16px 34px rgba(0,0,0,.45);
}
.chip i { color: var(--coral); }
.chip.tl { top: 20px; left: -22px; animation: float 6s ease-in-out infinite; }
.chip.br { bottom: 24px; right: -18px; animation: float 7s ease-in-out infinite .6s; }
.chip .g { color: #29E5A6; }
@media (max-width: 860px){
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .media-tilt, .media-tilt.left { transform: none; }
  .media-frame img { height: 300px; }
  .chip.tl { left: 8px; } .chip.br { right: 8px; }
}

/* =====================================================
   ARCHIVE / REPORTS — offset overlap
   ===================================================== */
.archive { position: relative; }
.archive-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); border-radius: 28px;
  padding: 50px; position: relative; overflow: hidden;
}
.archive-inner::before { content:""; position:absolute; width: 380px; height: 380px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,20,147,.25), transparent 70%); right:-120px; top:-120px; filter: blur(20px); }
.archive-media { position: relative; z-index: 1; }
.archive-media img { border-radius: 20px; border: 1px solid var(--line); }
.big-num { font-size: clamp(3rem,7vw,5.4rem); font-weight: 800; line-height: 1; }
.archive-copy p { color: var(--muted); margin: 16px 0 26px; }
@media (max-width: 860px){ .archive-inner { grid-template-columns: 1fr; padding: 32px; } }

/* =====================================================
   FINAL CTA
   ===================================================== */
.final { text-align: center; position: relative; }
.final-box {
  border: 1px solid var(--line); border-radius: 30px; padding: 70px 40px;
  background:
    radial-gradient(60% 100% at 50% 0, rgba(255,87,34,.20), transparent 70%),
    rgba(255,255,255,.02);
  position: relative; overflow: hidden;
}
.final-box h2 { font-size: clamp(2rem,4.5vw,3.4rem); font-weight: 800; margin-bottom: 16px; }
.final-box p { color: var(--muted); max-width: 46ch; margin: 0 auto 30px; }
.final .hero-cta { justify-content: center; }
.qr-note { margin-top: 22px; color: var(--muted); font-size: .85rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; margin-top: 40px; }
.footer .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.footer .brand { margin-bottom: 14px; }
.footer .desc { color: var(--muted); max-width: 40ch; font-size: .92rem; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-col a, .foot-col button {
  display: block; color: var(--ink); background: none; border: none; cursor: pointer;
  font: inherit; padding: 5px 0; text-align: left; transition: color .2s;
}
.foot-col a:hover, .foot-col button:hover { color: var(--coral); }
.legal { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: .82rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.disclaimer { color: #6b7796; font-size: .78rem; line-height: 1.7; margin-top: 20px; }

/* =====================================================
   FIXED BOTTOM BAR
   ===================================================== */
.dockbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  min-height: var(--bar-h); padding: 12px 20px;
  background: rgba(13,20,40,.9); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.dockbar .dock-text { display: flex; flex-direction: column; line-height: 1.25; }
.dockbar .dock-text b { font-size: 1rem; }
.dockbar .dock-text small { color: var(--muted); font-size: .8rem; }
.dockbar .btn { padding: 14px 30px; font-size: 1.02rem; box-shadow: 0 8px 26px rgba(255,20,147,.4);
  animation: bob 2.6s ease-in-out infinite; }
@media (max-width: 560px){
  .dockbar { gap: 12px; padding: 10px 14px; }
  .dockbar .dock-text { display: none; }
  .dockbar .btn { width: 100%; justify-content: center; }
}

/* =====================================================
   MODALS
   ===================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 24px; }
.modal.open { display: flex; animation: fade .25s; }
.modal-bg { position: absolute; inset: 0; background: rgba(5,9,20,.72); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; z-index: 1; width: min(680px, 100%); max-height: 82vh; overflow-y: auto;
  background: var(--navy); border: 1px solid var(--line); border-radius: 22px; padding: 38px;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
}
.modal-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-card .eyebrow { margin-bottom: 20px; }
.modal-card h4 { margin: 20px 0 6px; font-size: 1.02rem; }
.modal-card p, .modal-card li { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.modal-card ul { padding-left: 20px; }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--card-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; font-size: 1rem;
}
.modal-close:hover { border-color: var(--coral); color: var(--coral); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:1; } 50%{ transform: scale(1.5); opacity:.5; } }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }
@keyframes pulseGlow { 0%,100%{ opacity:.75; transform: scale(1); } 50%{ opacity:1; transform: scale(1.06); } }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-frame, .media-tilt, .media-tilt.left { transform: none !important; }
}

/* focus */
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* =====================================================
   MOBILE COMPACT
   ===================================================== */
@media (max-width: 640px){
  :root { --bar-h: 66px; }
  .wrap { width: 90vw; }

  .hero { padding: 30px 0 8px; }
  .hero .wrap { gap: 22px; }
  .hero-copy .eyebrow { margin-bottom: 14px; font-size: .68rem; letter-spacing: .22em; }
  .hero h1 { margin-bottom: 14px; }
  .hero p.lead { font-size: 1rem; margin-bottom: 20px; }
  .hero-cta { gap: 10px; margin-bottom: 22px; }
  .hero-art img { max-width: 380px; }
  .hero-art::before { width: 88%; }

  .btn { padding: 12px 20px; font-size: .92rem; }

  .stats { padding: 8px 0 4px; }
  .stat { padding: 20px 12px; }
  .stat .l { font-size: .78rem; }

  .sec { padding: 46px 0; }
  .sec-head { margin-bottom: 28px; }
  .section-title { font-size: 1.7rem; }

  .bento { gap: 12px; }
  .f-card { padding: 22px; }
  .f-card h3 { font-size: 1.12rem; }
  .f-index { font-size: 2.6rem; right: 16px; bottom: 6px; }

  .split { gap: 26px; }
  .split-copy h2 { font-size: 1.6rem; }
  .checklist { gap: 10px; margin-bottom: 22px; }
  .media-frame img { height: 240px; }
  .chip { font-size: .74rem; padding: 8px 11px; }
  .chip.tl { left: 6px; top: 12px; } .chip.br { right: 6px; bottom: 14px; }

  .archive-inner { padding: 26px 20px; gap: 22px; }
  .big-num { font-size: 3rem; }

  .final-box { padding: 44px 22px; border-radius: 22px; }
  .final-box h2 { font-size: 1.9rem; }

  .footer { padding: 40px 0 30px; }
  .footer .top { gap: 24px; margin-bottom: 24px; }
  .foot-links { gap: 26px; }
  .legal { gap: 8px; }

  .modal-card { padding: 26px 20px; }
  .modal-card h3 { font-size: 1.3rem; }
}
