/**
 * Version: v4.1.0 (2026-07-07) | Main landing — Hero typography + readability
 */
[x-cloak] { display: none !important; }

html, body {
  background: #FFFFFF;
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after { box-sizing: border-box; }

.text-gradient {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 55%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.i18n-fade { transition: opacity 0.15s ease; }
.i18n-fade.is-switching { opacity: 0.6; }

.lang-dropdown-item:hover { background: #F7F9FC; }
.lang-dropdown-item.active { background: linear-gradient(135deg, #EFF6FF, #F7F9FC); color: #1E3A8A; font-weight: 700; }

/* ---------- Hero headline typography ---------- */
.hero-headline { text-align: inherit; }
.hero-headline-main {
  display: block;
  font-family: Pretendard, 'Noto Sans KR', system-ui, sans-serif;
  font-size: clamp(2.1rem, 6.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #0B1220;
  word-break: keep-all;
}
.hero-headline-sub {
  display: block;
  margin-top: 0.45rem;
  font-family: Pretendard, 'Noto Sans KR', system-ui, sans-serif;
  font-size: clamp(1.55rem, 4.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  word-break: keep-all;
}
.hero-desc-line,
.insight-line,
.cta-desc-line {
  display: block;
  line-height: 1.75;
  font-weight: 500;
}
.hero-desc { letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .hero-headline-main { font-size: clamp(2.75rem, 4.2vw, 3.75rem); }
  .hero-headline-sub { font-size: clamp(1.85rem, 2.8vw, 2.5rem); margin-top: 0.55rem; }
}

/* ---------- Hero mesh background + floating blobs ---------- */
.hero-mesh { position: relative; }
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: blob-float 12s ease-in-out infinite;
}
.hero-blob-1 { width: 420px; height: 420px; top: -140px; right: -80px; background: radial-gradient(circle, rgba(59,130,246,0.20), transparent 70%); }
.hero-blob-2 { width: 340px; height: 340px; bottom: -120px; left: -100px; background: radial-gradient(circle, rgba(201,162,39,0.14), transparent 70%); animation-delay: -4s; }
.hero-blob-3 { width: 260px; height: 260px; top: 30%; left: 45%; background: radial-gradient(circle, rgba(30,58,138,0.10), transparent 70%); animation-delay: -8s; }
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 20px) scale(1.06); }
}

/* ---------- Trust chips ---------- */
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid #E7ECF3;
  font-size: 0.72rem; font-weight: 600; color: #334155;
  box-shadow: 0 2px 8px rgba(11,18,32,0.04);
}

/* ---------- Hero visual card + floating chips ---------- */
.hero-visual-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #F7F9FC, #fff);
  border: 1px solid #E7ECF3;
  box-shadow: 0 24px 64px -16px rgba(30,58,138,0.18);
}
.hero-float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid #E7ECF3;
  font-size: 0.78rem; font-weight: 600; color: #0B1220;
  box-shadow: 0 12px 28px rgba(11,18,32,0.12);
  animation: chip-float 5s ease-in-out infinite;
}
.hero-float-chip i { color: #3B82F6; }
.hero-float-chip-1 { top: 8%; left: -6%; animation-delay: 0s; }
.hero-float-chip-2 { bottom: 10%; right: -6%; animation-delay: -2.5s; }
.hero-float-chip-2 i { color: #C9A227; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 640px) {
  .hero-float-chip { font-size: 0.68rem; padding: 0.5rem 0.8rem; }
  .hero-float-chip-1 { left: 0; }
  .hero-float-chip-2 { right: 0; }
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.75rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 700;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(120deg, #1E3A8A, #3B82F6);
  color: #fff;
  box-shadow: 0 10px 28px rgba(59,130,246,0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(59,130,246,0.40); }
.btn-secondary {
  background: #fff; color: #0B1220;
  border: 1.5px solid #E7ECF3;
  box-shadow: 0 2px 10px rgba(11,18,32,0.04);
}
.btn-secondary:hover { border-color: rgba(59,130,246,0.5); background: #EFF6FF; transform: translateY(-2px); }

/* ---------- Layer flow section ---------- */
.layer-flow { position: relative; display: grid; gap: 1.75rem; }
@media (min-width: 1024px) {
  .layer-flow { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .layer-flow-line {
    position: absolute; top: 76px; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(59,130,246,0.35) 0 10px, transparent 10px 20px);
    z-index: 0;
  }
}

.layer-card {
  position: relative;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #E7ECF3;
  padding: 2rem 1.75rem 1.9rem;
  box-shadow: var(--tw-shadow, 0 1px 2px rgba(11,18,32,0.04), 0 16px 40px -8px rgba(30,58,138,0.08));
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
  z-index: 1;
  min-width: 0;
}
.layer-card:hover { transform: translateY(-6px); }
.layer-card-consumer:hover { box-shadow: 0 28px 60px -12px rgba(59,130,246,0.26); border-color: rgba(59,130,246,0.35); }
.layer-card-producer:hover { box-shadow: 0 28px 60px -12px rgba(201,162,39,0.28); border-color: rgba(201,162,39,0.40); }
.layer-card-chain:hover { box-shadow: 0 28px 60px -12px rgba(30,58,138,0.26); border-color: rgba(30,58,138,0.30); }

.layer-step {
  position: absolute; top: -14px; left: 1.75rem;
  font-family: Pretendard, 'Noto Sans KR', sans-serif; font-size: 0.7rem; font-weight: 700;
  color: #fff; background: #0B1220;
  padding: 0.25rem 0.65rem; border-radius: 999px; letter-spacing: 0.05em;
}
.layer-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.1rem;
}
.layer-icon-consumer { background: linear-gradient(150deg, #EFF6FF, #DBEAFE); color: #3B82F6; }
.layer-icon-producer { background: linear-gradient(150deg, #FFFBEB, #FDF0C8); color: #8A6D1D; }
.layer-icon-chain { background: linear-gradient(150deg, #EEF2FF, #DBEAFE); color: #1E3A8A; }

.layer-eyebrow { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 0.35rem; }
.layer-title { font-family: Pretendard, 'Noto Sans KR', sans-serif; font-size: 1.2rem; font-weight: 700; color: #0B1220; margin-bottom: 1.35rem; letter-spacing: -0.01em; }
.layer-list { display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.88rem; font-weight: 500; color: #475569; line-height: 1.65; }
.layer-list li { display: flex; align-items: flex-start; gap: 0.65rem; line-height: 1.5; }
.layer-list li i { margin-top: 0.2rem; flex-shrink: 0; }

.layer-insight {
  margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 18px;
  background: linear-gradient(150deg, #FFFBEB, #fff);
  border: 1px solid rgba(201,162,39,0.3);
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.layer-insight i { color: #8A6D1D; margin-top: 0.15rem; }
.layer-insight p { font-size: 0.82rem; font-weight: 600; color: #7C5E12; line-height: 1.65; }

.blockchain-grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
}

.landing-messenger-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
@media (max-width: 380px) { .landing-messenger-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.messenger-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 0.4rem; min-height: 5.25rem; border-radius: 16px;
  border: 1px solid #E7ECF3; background: #fff;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.messenger-tile:hover { transform: translateY(-3px); border-color: rgba(59,130,246,0.25); box-shadow: 0 12px 28px rgba(59,130,246,0.10); }
.messenger-tile-icon { width: 2.35rem; height: 2.35rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.messenger-tile-label { font-size: 0.6rem; font-weight: 600; color: #334155; letter-spacing: 0.02em; }

/* ---------- Stats dark band ---------- */
.stats-band { background: linear-gradient(160deg, #0B1220, #142238); }
.stat-item { text-align: center; }
.stat-value { font-family: Pretendard, 'Noto Sans KR', sans-serif; font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.stat-value span { color: #60A5FA; }
.stat-gold span { color: #E8C547; }
.stat-label { font-size: 0.75rem; font-weight: 600; color: #94A3B8; margin-top: 0.4rem; }

/* ---------- CTA gradient band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 40px;
  padding: 3.25rem 1.75rem;
  background: linear-gradient(125deg, #0B1220 0%, #1E3A8A 55%, #3B82F6 100%);
}
.cta-band-blob {
  position: absolute; width: 340px; height: 340px; border-radius: 9999px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  top: -100px; right: -60px; filter: blur(10px);
}
.btn-cta-primary, .btn-cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.75rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 700;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
}
.btn-cta-primary { background: #fff; color: #1E3A8A; box-shadow: 0 10px 28px rgba(0,0,0,0.20); }
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.28); }
.btn-cta-secondary { background: rgba(255,255,255,0.10); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-cta-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer-dark { background: #0B1220; border-top: 1px solid rgba(255,255,255,0.06); }

/* ---------- Scroll reveal ---------- */
.landing-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.landing-reveal.is-visible { opacity: 1; transform: translateY(0); }
.landing-reveal-delay-1 { transition-delay: 0.08s; }
.landing-reveal-delay-2 { transition-delay: 0.16s; }
.landing-reveal-delay-3 { transition-delay: 0.24s; }
