/* ========================================
   FAIRPASS Landing Page — CSS
   Dark Theme + Purple/Cyan Gradient
   ======================================== */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #050505;
  --bg-alt: #0a0a12;
  --surface: rgba(255,255,255,0.05);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.20);
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.60);
  --text-secondary: rgba(255,255,255,0.80);
  --purple: #8b5cf6;
  --purple-light: #a855f7;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --pink: #ec4899;
  --green: #10b981;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font-body: 'Pretendard', system-ui, -apple-system, sans-serif;
  --font-heading: 'Pretendard', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === PAGE LOAD FADE-IN === */
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageLoad 0.6s ease-out;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}
.nav-link--login {
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.nav-link--login:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface);
}
.nav-link--cta {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  border: none;
}
.nav-link--cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Nav Language Toggle --- */
.nav-lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
  margin-left: 4px;
}
.nav-lang-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.nav-lang-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
}
.nav-lang-btn:hover:not(.active) {
  color: var(--text);
}

/* --- Language Content Visibility --- */
.lang-en { display: none; }
html[data-lang="en"] .lang-ko { display: none; }
html[data-lang="en"] .lang-en { display: inline; }
html[data-lang="en"] .en-hide { display: none !important; }

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}
.nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link--dropdown svg {
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-link--dropdown svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: rgba(10,10,18,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}
.nav-dropdown-item:hover {
  background: var(--surface-hover);
}
.nav-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-light);
}
.nav-dropdown-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.nav-dropdown-item small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  /* 메뉴 패널 */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch; /* center → stretch: 핵심 수정 */
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
    max-height: calc(100svh - 60px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }

  /* 일반 링크 */
  .nav-link {
    width: 100%;
    padding: 12px 14px;
    text-align: left;
    border-radius: 8px;
  }
  .nav-toggle { display: flex; }

  /* 서비스 드롭다운 full-width */
  .nav-dropdown { width: 100%; }
  .nav-link--dropdown {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  /* 드롭다운 서브메뉴 */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 4px 0 4px 8px;
    margin: 2px 0 4px;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s, visibility 0.25s, max-height 0.3s;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    transform: none;
  }

  /* 서브메뉴 아이콘 모바일 축소 */
  .nav-dropdown-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    flex-shrink: 0;
  }
  .nav-dropdown-icon svg { width: 14px; height: 14px; }
  .nav-dropdown-item { padding: 10px 10px; gap: 10px; }
  .nav-dropdown-item strong { font-size: 13px; }
  .nav-dropdown-item small { font-size: 11px; }

  /* 언어 토글 왼쪽 정렬 */
  .nav-lang-toggle {
    align-self: flex-start;
    margin: 8px 0 4px 14px;
  }

  /* 로그인 위 구분선 (전체 너비 선) */
  .nav-link--login {
    margin-top: 16px;
    text-align: center;
    position: relative;
  }
  .nav-link--login::before {
    content: '';
    position: absolute;
    top: -9px;
    left: -16px;
    right: -16px;
    height: 1px;
    background: var(--border);
  }

  /* 회원가입 CTA 모바일 강조 */
  .nav-link--cta {
    text-align: center;
    margin-top: 4px;
    padding: 13px 14px;
  }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 88px 24px 56px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  top: -20%; left: -10%;
  animation: blobMove1 25s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: 10%; right: -15%;
  animation: blobMove2 30s ease-in-out infinite;
}
.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  bottom: -10%; left: 30%;
  animation: blobMove3 20s ease-in-out infinite;
}
.blob-4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  bottom: 20%; right: 10%;
  animation: blobMove4 35s ease-in-out infinite;
  opacity: 0.25;
}

@keyframes blobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 100px) scale(0.95); }
}
@keyframes blobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 80px) scale(1.05); }
  66% { transform: translate(50px, -40px) scale(0.9); }
}
@keyframes blobMove3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, -60px); }
}
@keyframes blobMove4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, -50px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  transform: translateY(-5vh);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-title-sub {
  display: block;
  font-size: 0.48em;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-bottom: 12px;
}

/* === SHIMMER TEXT EFFECT === */
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--purple-light) 0%,
    var(--cyan-light) 25%,
    rgba(255,255,255,0.55) 50%,
    var(--cyan-light) 75%,
    var(--purple-light) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.hero-tag--cyan   { background: rgba(34,211,238,0.10); color: var(--cyan-light);   border: 1px solid rgba(34,211,238,0.30); }
.hero-tag--purple { background: rgba(30,58,138,0.25);  color: #93c5fd; border: 1px solid rgba(59,130,246,0.35); }
.hero-tag--green  { background: rgba(16,185,129,0.10);  color: var(--green);        border: 1px solid rgba(16,185,129,0.30); }

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.3);
}
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.btn-full { width: 100%; }
.btn-lg {
  font-size: 16px;
  padding: 16px 36px;
}

/* === MARQUEE === */
.hero .marquee {
  position: absolute;
  top: 82%;
  left: 0;
  right: 0;
  margin-top: 0;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}
.marquee-item {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
  padding: 144px 0;
}
#products.section {
  padding: 200px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 70px;
}
.section-desc strong.gradient-text {
  font-weight: 700;
}
.kw-blue {
  color: var(--cyan-light);
  font-weight: 600;
}

/* === GLASS CARD === */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s;
}
.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* === TRUST BAR === */
.trust-bar {
  padding: 28px 0;
  background: var(--bg-alt);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar-value {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.trust-bar-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-bar-since {
  text-align: right;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* === SECTION TITLE SMALL === */
.section-title-sm {
  display: inline;
  font-size: 0.55em;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

/* === INLINE LOGO === */
.inline-logo {
  display: inline-block;
  height: 0.75em;
  width: auto;
  vertical-align: baseline;
  position: relative;
  top: -0.03em;
  margin-right: 0.25em;
}

/* === COMPARE CARDS (Before/After) === */
.compare-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.3s;
}
.compare-card--after {
  border-color: rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.04);
}
.compare-card--after:hover {
  border-color: rgba(139,92,246,0.5);
}
.compare-card-header {
  margin-bottom: 14px;
}
.compare-card-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
}
.compare-card-badge--before {
  background: rgba(239,68,68,0.08);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.15);
}
.compare-card-badge--after {
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
  color: var(--cyan-light);
  border: 1px solid rgba(6,182,212,0.25);
}
.compare-card-items {
  display: grid;
  gap: 10px;
}
.compare-card-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.compare-card-item .compare-icon {
  margin-top: 2px;
  margin-right: 0;
}
.compare-item-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.compare-item-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.compare-card--before .compare-item-text {
  color: var(--text-muted);
}
.compare-card--after .compare-item-text {
  color: var(--text);
}
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.compare-vs span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
}

/* Compare Icons */
.compare-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.compare-icon--x {
  background: rgba(239,68,68,0.15);
  border: 1.5px solid rgba(239,68,68,0.4);
}
.compare-icon--x::before,
.compare-icon--x::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  background: #f87171;
  border-radius: 1px;
}
.compare-icon--x::before { transform: translate(-50%,-50%) rotate(45deg); }
.compare-icon--x::after { transform: translate(-50%,-50%) rotate(-45deg); }

.compare-icon--check {
  background: rgba(6,182,212,0.15);
  border: 1.5px solid rgba(6,182,212,0.4);
}
.compare-icon--check::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 7px;
  height: 4px;
  border-left: 1.5px solid var(--cyan-light);
  border-bottom: 1.5px solid var(--cyan-light);
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* === COMPARE TABLE (3-column) === */
.compare-table {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.cmp-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.cmp-header--left {
  background: rgba(239,68,68,0.03);
  justify-content: flex-end;
}
.cmp-header--mid {
  background: rgba(255,255,255,0.03);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  justify-content: center;
}
.cmp-header--right {
  background: rgba(139,92,246,0.04);
}
.cmp-cell {
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.4;
}
.cmp-cell:nth-last-child(-n+3) {
  border-bottom: none;
}
.cmp-cell--left {
  background: rgba(239,68,68,0.03);
  justify-content: flex-end;
  color: var(--text-muted);
  text-align: right;
}
.cmp-cell--mid {
  background: rgba(255,255,255,0.03);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.cmp-cell--right {
  background: rgba(139,92,246,0.02);
  color: var(--text);
}
@media (max-width: 640px) {
  .compare-table {
    grid-template-columns: 1fr 80px 1fr;
  }
  .cmp-header, .cmp-cell { padding: 10px 12px; font-size: 12px; }
  .cmp-cell--mid { font-size: 10px; letter-spacing: 0.04em; }
}

/* === PRODUCT CARDS === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.product-card--cyan::before { background: linear-gradient(90deg, var(--cyan), var(--cyan-light)); }
.product-card--cyan .product-icon { background: rgba(6,182,212,0.15); color: var(--cyan-light); }
.product-card--cyan .product-tag { color: var(--cyan-light); border-color: rgba(6,182,212,0.3); background: rgba(6,182,212,0.1); }
.product-card--cyan:hover { border-color: rgba(6,182,212,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(6,182,212,0.12); }

.product-card--purple::before { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.product-card--purple .product-icon { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.product-card--purple .product-tag { color: var(--purple-light); border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.1); }
.product-card--purple:hover { border-color: rgba(139,92,246,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(139,92,246,0.12); }

.product-card--pink::before { background: linear-gradient(90deg, var(--pink), #f472b6); }
.product-card--pink .product-icon { background: rgba(236,72,153,0.15); color: #f472b6; }
.product-card--pink .product-tag { color: #f472b6; border-color: rgba(236,72,153,0.3); background: rgba(236,72,153,0.1); }
.product-card--pink:hover { border-color: rgba(236,72,153,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(236,72,153,0.12); }

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  margin-bottom: 12px;
  width: fit-content;
}
.product-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-light);
  transition: color 0.2s;
}
.product-card:hover .product-link {
  color: var(--cyan-light);
}

/* === FLOW SECTION === */
.flow-wrapper {
  position: relative;
  padding: 18px 0;
}
.flow-line {
  position: absolute;
  top: 30%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  transform: translateY(-50%);
}
.flow-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 2px;
  transition: width 1.5s ease;
}
.flow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  text-align: center;
}
.flow-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--border);
  transition: border-color 0.5s, box-shadow 0.5s, background 0.5s;
}
.flow-step.active .flow-dot {
  border-color: var(--purple-light);
  background: var(--purple);
  box-shadow: 0 0 20px rgba(139,92,246,0.4);
}
.flow-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.5s;
  margin-top: 18px;
}
.flow-step.active .flow-num {
  color: var(--text);
}
.flow-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.5s;
}
.flow-step.active .flow-title {
  color: var(--text);
}
.flow-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.5s;
  line-height: 1.5;
}
.flow-step.active .flow-label {
  color: var(--text-secondary);
}

/* === DIFFERENTIATORS === */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: all 0.3s ease;
}
.diff-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.diff-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.diff-icon--cyan { background: rgba(6,182,212,0.15); color: var(--cyan-light); }
.diff-icon--purple { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.diff-icon--green { background: rgba(16,185,129,0.15); color: var(--green); }
.diff-icon--pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.diff-icon--blue { background: rgba(56,189,248,0.15); color: #38bdf8; }
.diff-icon--amber { background: rgba(251,191,36,0.15); color: #fbbf24; }
.diff-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.diff-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* === PRODUCT FIRST BADGE === */
.product-first-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan-light);
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* === OUR VALUES === */
.values-wordcloud {
  max-width: 820px;
  margin: 0 auto 40px;
  user-select: none;
}
.values-wordcloud canvas {
  display: block;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.values-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.values-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
}
.values-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.values-card-title {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
}
.values-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}
/* Core Values */
.values-core {
  margin-top: 20px;
  text-align: center;
}
.values-core-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.values-core-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.values-core-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}
.values-tagline {
  text-align: center;
  margin-top: 48px;
  font-size: clamp(17px, 2.2vw, 24px);
  color: var(--text-muted);
  line-height: 1.65;
}
.values-tagline strong {
  display: block;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 28px);
}

/* === PROMISE (3가지 약속) === */
.promise-wrap {
  margin-top: 40px;
}
.promise-heading {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 24px;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.promise-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--card-color, var(--cyan));
  padding: 24px 22px;
  transition: border-color 0.3s, background 0.3s;
}
.promise-card:hover {
  border-color: var(--card-color, rgba(6,182,212,0.4));
  background: var(--surface-hover);
}
.promise-card--amber  { --card-color: #22d3ee; }
.promise-card--purple { --card-color: var(--purple-light); }
.promise-card--green  { --card-color: var(--green); }
.promise-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.promise-card-icon--cyan   { background: rgba(6,182,212,0.12);   color: var(--cyan-light); }
.promise-card-icon--purple { background: rgba(139,92,246,0.12); color: var(--purple-light); }
.promise-card-icon--green  { background: rgba(16,185,129,0.12); color: var(--green); }
.promise-card-icon--amber  { background: rgba(34,211,238,0.12);  color: #22d3ee; }
.promise-card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.promise-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  word-break: keep-all;
}
@media (max-width: 768px) {
  .promise-grid {
    grid-template-columns: 1fr;
  }
}

/* === TESTIMONIALS === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #facc15;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === FINAL CTA === */
.final-cta {
  position: relative;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.final-cta-bg .blob-1 {
  width: 400px; height: 400px;
  top: -30%; left: -5%;
  opacity: 0.3;
}
.final-cta-bg .blob-2 {
  width: 350px; height: 350px;
  bottom: -20%; right: -10%;
  opacity: 0.25;
}
.final-cta-bg .blob-3 {
  width: 300px; height: 300px;
  top: 20%; right: 20%;
  opacity: 0.2;
}
.final-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 20px 0;
}
.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.final-cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.final-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === QUOTE SECTION === */
#quote .section-desc { margin-bottom: 32px; }
.quote-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 980px) {
  .quote-grid { grid-template-columns: 1fr; }
}
.quote-form {
  display: grid;
  gap: 16px;
}
.quote-summary { position: relative; }
.quote-sticky {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.quote-actions {
  display: flex;
  gap: 12px;
}

.card-title-sm {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* === FORM ELEMENTS === */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.form-label > span {
  font-weight: 600;
}
.form-label--full {
  grid-column: 1 / -1;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
select.form-input option {
  background: #1a0e2e;
  color: #fff;
}
.form-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-textarea:focus {
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* === RADIO CARDS === */
.radio-group {
  display: grid;
  gap: 10px;
}
.radio-card {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.radio-card:hover {
  border-color: var(--border-hover);
  background: rgba(0,0,0,0.3);
}
.radio-card:has(input:checked) {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.08);
}
.radio-card input { margin-top: 3px; accent-color: var(--purple); }
.radio-title {
  font-weight: 700;
  font-size: 14px;
}
.radio-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === CHECKBOX CARDS === */
.check-group {
  display: grid;
  gap: 10px;
}
.check-card {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.check-card:hover {
  border-color: var(--border-hover);
}
.check-card:has(input:checked) {
  border-color: rgba(6,182,212,0.4);
  background: rgba(6,182,212,0.06);
}
.check-card input { margin-top: 3px; accent-color: var(--cyan); }
.check-title {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === PILL === */
.pill {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  font-weight: 600;
}

/* === SUB-CARD === */
.sub-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.15);
}
.sub-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* === SUMMARY === */
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
}
.muted { color: var(--text-muted); }
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}
.sum-items {
  display: grid;
  gap: 8px;
}
.sum-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.sum-item span { color: var(--text-secondary); }
.sum-item strong { color: var(--text); white-space: nowrap; }

.total-box { display: grid; gap: 6px; }
.total-label { font-size: 12px; color: var(--text-muted); }
.total-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
/* === CONSENT === */
.consent-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--purple);
  flex-shrink: 0;
}
.consent-toggle {
  background: none;
  border: none;
  color: var(--cyan-light);
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.consent-toggle:hover {
  color: var(--purple-light);
}
.consent-terms {
  margin-top: 10px;
  padding: 14px;
  border-radius: var(--radius-xs);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
}
.consent-terms ul {
  margin: 8px 0;
  padding-left: 16px;
  list-style: disc;
}
.consent-terms li {
  margin-bottom: 4px;
}
.consent-terms strong {
  color: var(--text-secondary);
}
.consent-shake {
  animation: consentShake 0.4s ease;
}
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* === SUM NOTE (smaller for 1-line fit) === */
#sumNote {
  font-size: 10px;
  line-height: 1.6;
}

/* === QUOTE REQUEST NOTE === */
.quote-request-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 16px 0 0;
}
.quote-request-note p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* === QUOTE EXPORT ACTIONS === */
.quote-export-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #111117 !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.modal-card:hover {
  background: #111117 !important;
}
.modal-overlay.active .modal-card {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--surface);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
#emailForm, #brochureForm {
  display: grid;
  gap: 20px;
}
.email-success {
  text-align: center;
  padding: 32px 0;
  display: grid;
  gap: 16px;
  justify-items: center;
}
.email-success p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* === PDF PREVIEW === */
.pdf-preview-wrap {
  margin: 16px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.pdf-preview-wrap img {
  width: 100%;
  display: block;
}

/* === PDF TEMPLATE (hidden, for html2canvas capture) === */
.pdf-tpl {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 700px;
  z-index: -1;
  pointer-events: none;
}
.pdf-tpl-inner {
  background: #ffffff;
  color: #1a1a2e;
  padding: 48px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}
.pdf-tpl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.pdf-tpl-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #8b5cf6;
}
.pdf-tpl-subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}
.pdf-tpl-date {
  font-size: 13px;
  color: #888;
  text-align: right;
}
.pdf-tpl-hr {
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4);
  margin-bottom: 32px;
  border-radius: 1px;
}
.pdf-tpl-section {
  margin-bottom: 28px;
}
.pdf-tpl-label {
  font-size: 13px;
  font-weight: 700;
  color: #8b5cf6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pdf-tpl-table {
  width: 100%;
  border-collapse: collapse;
}
.pdf-tpl-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.pdf-tpl-td-label {
  color: #666;
  width: 160px;
  font-weight: 500;
}
.pdf-tpl-table td:last-child {
  font-weight: 600;
  text-align: right;
  color: #1a1a2e;
}
.pdf-tpl-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f8f7ff;
  border-radius: 12px;
  margin-bottom: 32px;
}
.pdf-tpl-total-row > span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}
.pdf-tpl-total-value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #8b5cf6;
}
.pdf-tpl-note {
  font-size: 11px;
  color: #999;
  margin-bottom: 16px;
}
.pdf-tpl-footer {
  border-top: 1px solid #eee;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8b5cf6;
  font-weight: 600;
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  padding: 48px 0 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.footer-logo-link { display: inline-flex; }
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-sns {
  display: flex;
  gap: 8px;
}
.footer-sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  overflow: hidden;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-sns-link:hover {
  background: #FB8129;
  color: #fff;
  transform: translateY(-2px);
}
.footer-sns-link--fp {
  background: #fff;
  padding: 0;
}
.footer-sns-link--fp:hover {
  background: #fff;
  opacity: 0.85;
}
.footer-sns-fp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.footer-sns-link--linkedin:hover {
  background: #0A66C2;
}
.footer-sns-link--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.footer-sns-link--naver:hover {
  background: #03C75A;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-nav-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav-link:hover {
  color: var(--text);
}
.footer-nav-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.footer-info {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.footer-info.open {
  max-height: 120px;
  padding-bottom: 20px;
}
.footer-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  line-height: 2.2;
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.30);
}
.footer-info-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 12px;
  color: rgba(255,255,255,0.30);
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.footer-info-btn:hover {
  color: rgba(255,255,255,0.65);
}
.footer-info-chevron {
  transition: transform 0.3s ease;
}
.footer-info-chevron.open {
  transform: rotate(180deg);
}
.footer-legal {
  padding: 2px 0 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  line-height: 1.8;
}

/* === FLOATING DOCK === */
.dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(10,10,18,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  z-index: 999;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}
.dock.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.dock-item {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text-muted);
  transition: all 0.2s ease;
  position: relative;
}
.dock-item:hover {
  color: var(--text);
  background: var(--surface);
  transform: scale(1.2) translateY(-4px);
}
.dock-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(10,10,18,0.9);
  border: 1px solid var(--border);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.dock-item:hover::after {
  opacity: 1;
}

/* =============================================
   PRODUCT DETAIL PAGES
   ============================================= */
.detail-hero {
  position: relative;
  padding: 160px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.detail-hero .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.detail-hero-content {
  position: relative;
  z-index: 1;
}
.detail-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid;
  margin-bottom: 20px;
}
.detail-hero-tag--cyan { color: var(--cyan-light); border-color: rgba(6,182,212,0.4); background: rgba(6,182,212,0.1); }
.detail-hero-tag--purple { color: var(--purple-light); border-color: rgba(139,92,246,0.4); background: rgba(139,92,246,0.1); }
.detail-hero-tag--pink { color: #10b981; border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.1); }

.detail-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.detail-hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== Badge Page ===== */

/* ALL-PAPER 배너 */
.badge-allpaper-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 16px;
  padding: 22px 28px;
  margin: 40px 0 48px;
  flex-wrap: wrap;
}
.badge-allpaper-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #10b981;
  color: #000;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-allpaper-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-allpaper-content strong {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #10b981;
}
.badge-allpaper-content span {
  font-size: 15px;
  color: var(--text-muted);
}
.badge-allpaper-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  width: 100%;
  margin-top: -4px;
}

/* BADGE TYPE THUMB: 모두 동일 사이즈 */
.badge-type-thumb {
  background: rgba(255,255,255,0.06);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.badge-type-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px;
}
.badge-type-thumb--wide  { aspect-ratio: 3/4; }
.badge-type-thumb--ticket { aspect-ratio: 3/4; }

/* LANYARD 실제 비율 시각화 */
.lanyard-preview-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lanyard-preview-strap {
  height: 56px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
}
.lanyard-preview-strap--thick { width: 26px; }
.lanyard-preview-strap--thin  { width: 8px; }

/* WATERPROOF */
.badge-water-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.badge-water-video {}
.badge-water-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}
.badge-water-placeholder span {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}
.badge-water-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.badge-water-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.badge-water-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(6,182,212,0.12);
  color: var(--cyan-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-water-point strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.badge-water-point p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* STORE: full-width like hero */
.badge-store-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* RESPONSIVE additions */
@media (max-width: 768px) {
  .badge-water-wrap { grid-template-columns: 1fr; }
  .badge-allpaper-banner { flex-direction: column; align-items: flex-start; }
}

/* PROOF */
.badge-proof-section { background: rgba(255,255,255,0.02); }
.badge-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.badge-proof-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.3s;
}
.badge-proof-card:hover { border-color: rgba(255,255,255,0.2); }
.badge-proof-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.badge-proof-icon--green { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-proof-icon--pink  { background: rgba(236,72,153,0.15);  color: #f472b6; }
.badge-proof-icon--cyan  { background: rgba(6,182,212,0.15);   color: var(--cyan-light); }
.badge-proof-num {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.badge-proof-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.badge-proof-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* BADGE TYPES */
.badge-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.badge-type-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.badge-type-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.badge-type-thumb {
  background: rgba(255,255,255,0.06);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.badge-type-thumb--wide  { aspect-ratio: 4/2.5; }
.badge-type-thumb--ticket { aspect-ratio: 1/2; }
.badge-type-thumb-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.badge-type-thumb-size {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-family: monospace;
}
.badge-type-info { padding: 20px 18px 24px; }
.badge-type-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.badge-type-size {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  opacity: 0.65;
}
.badge-type-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* LANYARD */
.lanyard-wrap {
  max-width: 760px;
  margin: 48px auto 0;
}
.lanyard-thickness-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.lanyard-thickness-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.lanyard-strap {
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  height: 60px;
  flex-shrink: 0;
}
.lanyard-strap--thick { width: 22px; }
.lanyard-strap--thin  { width: 7px; }
.lanyard-thickness-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lanyard-thickness-info strong { font-size: 15px; color: var(--text); }
.lanyard-thickness-info span   { font-size: 12px; color: var(--text-muted); }
.lanyard-colors-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.lanyard-colors-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.lanyard-colors-row {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lanyard-color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.lanyard-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.lanyard-color-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 999px;
  padding: 2px 8px;
}
.lanyard-note {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  margin-top: 8px;
}

/* GALLERY */
/* ── Badge Gallery Marquee ── */
.badge-marquee-wrap {
  margin-top: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.badge-marquee-row { overflow: hidden; }
.badge-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.badge-marquee-track--fwd { animation: badge-mq-fwd 30s linear infinite; }
.badge-marquee-track--rev { animation: badge-mq-rev 34s linear infinite; }
.badge-marquee-wrap:hover .badge-marquee-track { animation-play-state: paused; }
.badge-marquee-item {
  height: 220px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.badge-marquee-item:hover {
  border-color: rgba(139,92,246,0.5);
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  z-index: 2;
}
.badge-marquee-item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}
.badge-marquee-item--ph {
  width: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
}
.badge-marquee-ph {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}
@keyframes badge-mq-fwd {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes badge-mq-rev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* SMART STORE */
.badge-store-section { background: rgba(255,255,255,0.02); }
.badge-store-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.badge-store-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #03c75a;
  background: rgba(3,199,90,0.1);
  border: 1px solid rgba(3,199,90,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.badge-store-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.badge-store-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.badge-store-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.badge-store-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.badge-store-list svg { color: #10b981; flex-shrink: 0; }
.badge-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.badge-store-right {}
.badge-store-img-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .badge-proof-grid { grid-template-columns: 1fr; }
  .badge-types-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-marquee-item { height: 180px; }
  .badge-marquee-item--ph { width: 130px; }
  .badge-store-wrap { grid-template-columns: 1fr; }
  .badge-store-right { display: none; }
  .lanyard-thickness-row { grid-template-columns: 1fr; }
}

/* ===== Smart Billing Section ===== */
.smart-billing-section { background: rgba(255,255,255,0.02); }
.billing-compare-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: 820px;
  margin: 48px auto 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.billing-col { padding: 32px 28px; }
.billing-col--old { background: rgba(255,255,255,0.02); }
.billing-col--new { background: rgba(6,182,212,0.05); }
.billing-col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.billing-col--old .billing-col-label { color: var(--text-muted); }
.billing-col--new .billing-col-label { color: var(--cyan-light); }
.billing-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.billing-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.billing-item::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 1px;
}
.billing-item--bad { color: var(--text-muted); }
.billing-item--bad::before { background: rgba(239,68,68,0.15); box-shadow: inset 0 0 0 1px rgba(239,68,68,0.3); }
.billing-item--good { color: var(--text); }
.billing-item--good::before { background: rgba(16,185,129,0.15); box-shadow: inset 0 0 0 1px rgba(16,185,129,0.3); }
.billing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.billing-vs-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 6px 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.billing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.billing-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(6,182,212,0.1);
  color: var(--cyan-light);
  border: 1px solid rgba(6,182,212,0.25);
}
.billing-footnote {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  margin-top: 16px;
}

/* ===== Kiosk Split Hero — Container-aligned ===== */
.detail-hero--kiosk {
  padding: 0;
  text-align: left;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.detail-hero--kiosk .container {
  width: 100%;
  padding-top: 118px;
  padding-bottom: 56px;
}
/* Grid fills full container width */
.kiosk-hero-split {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 48px;
  width: 100%;
  align-items: start;
}

/* Left: no extra padding — container handles alignment */
.kiosk-hero-text {
  display: flex;
  flex-direction: column;
}
.kiosk-hero-hook {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
  color: var(--text);
}
.kiosk-hero-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 32px;
}
.kiosk-hero-sub strong { color: var(--text); }

/* Stats */
.kiosk-hero-stats { display: flex; gap: 48px; margin-bottom: 36px; justify-content: flex-start; }
.kiosk-stat { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.kiosk-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  color: #818cf8;
  line-height: 1;
}
.kiosk-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* CTA 좌측 정렬 */
.detail-hero--kiosk .hero-actions { justify-content: flex-start; }

/* Right: stretches to match left column height, starts at same top */
.kiosk-hero-visual {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

/* Video wrap — flex:1 fills full column height */
.kiosk-hero-video-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.kiosk-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom; /* 하단 보임, 상단 크롭 허용 */
}

/* Responsive */
@media (max-width: 860px) {
  .detail-hero--kiosk { min-height: auto; }
  .detail-hero--kiosk .container { padding-top: 68px; padding-bottom: 48px; }
  .kiosk-hero-split { grid-template-columns: 1fr; gap: 32px; }
  .kiosk-hero-text { text-align: center; align-items: center; }
  .kiosk-hero-stats { justify-content: center; }
  .kiosk-hero-visual { align-items: center; }
  .kiosk-hero-video-wrap { height: 280px; max-height: 280px; }
}

/* Detail Feature Grid */
.detail-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.detail-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}
.detail-feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.detail-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.detail-feature-icon--cyan { background: rgba(6,182,212,0.15); color: var(--cyan-light); }
.detail-feature-icon--purple { background: rgba(139,92,246,0.15); color: var(--purple-light); }
.detail-feature-icon--pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.detail-feature-icon--green { background: rgba(16,185,129,0.15); color: var(--green); }
.detail-feature-icon--amber { background: rgba(245,158,11,0.15); color: #f59e0b; }

.detail-feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.detail-feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Detail Screenshot Placeholder */
.detail-screenshot {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Platform Slider */
.platform-slider-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  background: #0d0d1a;
  position: relative;
}
.platform-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.platform-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.platform-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.platform-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.slider-dot.active {
  background: #22d3ee;
  transform: scale(1.3);
}

/* Platform Renewal Teaser */
.platform-renewal-wrap {
  max-width: 1155px;
  width: 100%;
  height: 479px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  position: relative;
}
.platform-renewal-badge {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.platform-renewal-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 16px;
  line-height: 1.2;
}
.platform-renewal-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 32px;
}
.platform-renewal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  display: inline-block;
}
.platform-renewal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0;
}
.platform-renewal-list li svg {
  color: #22d3ee;
  flex-shrink: 0;
}
.platform-renewal-cta-text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.75;
}

/* Detail Specs */
.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.detail-spec-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.detail-spec-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.detail-spec-item span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Detail CTA */
.detail-cta {
  text-align: center;
}
.detail-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ========================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 160px 0; }
  .hero { padding: 68px 20px 50px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-features-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   RESPONSIVE — Mobile (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 128px 0; }
  .section-desc { font-size: 14px; margin-bottom: 32px; }

  /* Hero */
  .hero { padding: 64px 16px 40px; min-height: auto; min-height: 100svh; }
  .hero-title { margin-bottom: 18px; }
  .hero-subtitle { margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .btn { font-size: 14px; padding: 11px 22px; }
  .btn-lg { font-size: 15px; padding: 13px 28px; }
  .marquee { margin-top: 48px; }

  /* Blobs — smaller on mobile */
  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 250px; height: 250px; }
  .blob-3 { width: 200px; height: 200px; }
  .blob-4 { width: 180px; height: 180px; }

  /* Trust Bar */
  .trust-bar { padding: 32px 0; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Compare Cards */
  .compare-cards { grid-template-columns: 1fr; gap: 12px; }
  .compare-card { padding: 24px 20px; }
  .compare-vs { padding: 4px 0; }
  .compare-vs span { writing-mode: horizontal-tb; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 24px 20px; }

  /* Flow */
  .flow-wrapper { padding: 24px 0; overflow-x: auto; }
  .flow-steps { min-width: 480px; padding: 0 16px; }
  .flow-line { left: 3%; right: 3%; }

  /* Differentiators */
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card { padding: 22px; }
  .values-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 22px; }

  /* Quote */
  .glass-card { padding: 22px; }
  .quote-sticky { position: static; }
  .quote-actions { flex-wrap: wrap; }
  .quote-actions .btn { flex: 1; min-width: 120px; }

  /* Final CTA */
  .final-cta-inner { padding: 20px 0; }
  .final-cta-actions { gap: 10px; }

  /* Footer */
  .footer { padding: 36px 0 0; }
  .footer-nav { gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* Detail pages */
  .detail-hero { padding: 88px 16px 60px; }
  .detail-features-grid { grid-template-columns: 1fr; }
  .detail-specs-grid { grid-template-columns: 1fr; }

  /* Fix inline white-space:nowrap overflow on mobile */
  .hero-subtitle span,
  .section-desc span,
  .section-desc .lang-ko,
  .section-desc .lang-en,
  .final-cta-desc .lang-en {
    white-space: normal !important;
  }

  /* Mission/Vision 카드 모바일 1열 스택 */
  .values-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  .section { padding: 96px 0; }
  .section-title { margin-bottom: 8px; }
  .section-desc { font-size: 13px; margin-bottom: 24px; }

  /* Hero */
  .hero { padding: 72px 16px 32px; }
  .hero-subtitle br { display: none; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .marquee { margin-top: 36px; }

  /* Trust Bar */
  .trust-bar-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-bar-value { font-size: 24px; }

  /* Compare */
  .compare-card { padding: 20px 16px; }
  .compare-card-items { gap: 14px; }

  /* Cards */
  .glass-card { padding: 18px; }

  /* Flow */
  .flow-steps { min-width: 400px; }
  .flow-dot { width: 16px; height: 16px; }
  .flow-num { font-size: 16px; }
  .flow-title { font-size: 14px; }
  .flow-label { font-size: 10px; }

  /* Quote summary */
  .total-value { font-size: 24px; }

  /* Radio / Check cards */
  .radio-card, .check-card { padding: 12px 14px; gap: 10px; }
  .radio-title, .check-title { font-size: 13px; }
  .radio-desc, .check-desc { font-size: 11px; }

  /* Sub-card */
  .sub-card { padding: 12px; }

  /* Dock */
  .dock {
    gap: 4px;
    padding: 8px 10px;
  }
  .dock-item {
    width: 36px;
    height: 36px;
  }

  /* Final CTA */
  .final-cta-actions { flex-direction: column; max-width: 320px; margin: 0 auto; }
  .final-cta-actions .btn { width: 100%; }
}

/* ========================================
   KIOSK SHOWCASE
   ======================================== */

/* Color selector */
.kiosk-color-selector {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.kiosk-color-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kiosk-color-btn:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.kiosk-color-btn.active {
  background: rgba(129,140,248,0.15);
  border-color: #818cf8;
  color: #818cf8;
}

.kiosk-color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* Showcase grid */
.kiosk-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Left: main image */
.kiosk-main-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 24px;
  min-height: 360px;
}

.kiosk-main-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  transition: opacity 0.35s ease;
}

/* Right: carousel */
.kiosk-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kiosk-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kiosk-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.kiosk-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.kiosk-slide img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

/* Dots */
.kiosk-carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.kiosk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.kiosk-dot.active {
  background: #818cf8;
  width: 24px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 700px) {
  .kiosk-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kiosk-main-img-wrap {
    min-height: 260px;
    padding: 20px 16px;
  }

  .kiosk-carousel {
    min-height: 220px;
  }

  .kiosk-slide img {
    max-height: 200px;
  }
}

/* ===================== BADGE STORY / TIMELINE ===================== */
.badge-story {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
}

.badge-story-heading {
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.badge-story-intro {
  font-size: clamp(14px, 1.35vw, 16px);
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0 0 80px;
}

.badge-story-intro strong {
  color: var(--text);
}

/* Timeline */
.badge-timeline {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 4px;
  gap: 12px;
  margin-bottom: 56px;
}

/* 작은 아이템 */
.badge-timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  position: relative;
}

/* NOW 박스 높이 240px → 중앙 120px
   일반 아이템: padding-top 16px → 박스 하단 100px, 점선 위 20px 여백
   텍스트: 박스마진(16)+year마진(24) → 140px 시작 (점선 아래 ✓) */
.badge-timeline-item:not(.badge-timeline-item--now) {
  padding-top: 16px;
}

/* 점선: item1은 박스 중앙(50%)에서 시작, item2~3은 0에서 NOW 직전까지 */
.badge-timeline-item:not(.badge-timeline-item--now)::after {
  content: '';
  position: absolute;
  left: 0;
  right: -12px;
  top: 120px;
  height: 0;
  border-top: 1px dashed rgba(255,255,255,0.22);
  z-index: 0;
}

/* 첫 아이템(1960s): 박스 가로 중앙에서 시작 */
.badge-timeline-item:first-child::after {
  left: 50%;
}

/* 각 박스 중앙에 동그라미 dot */
.badge-timeline-item:not(.badge-timeline-item--now)::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 116px; /* 점선(120px) - dot반지름(4px) */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(255,255,255,0.2);
  z-index: 2;
}

/* NOW 아이템: 가로 1/3 축소 (flex:1.6 → flex:1, min-width 축소) */
.badge-timeline-item--now {
  min-width: 140px;
  flex: 1;
}

/* 작은 박스 (1960s~2010s) */
.badge-tl-box {
  width: 84px;
  height: 84px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.badge-tl-box svg {
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.32);
}

/* 큰 박스 (NOW / FAIRPASS) — 높이 늘리고 내용 세로 가운데 정렬 */
.badge-tl-box--now {
  width: 100%;
  height: 240px;
  border: 1.5px solid var(--cyan-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 32px rgba(34,211,238,0.2), 0 0 0 4px rgba(34,211,238,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

/* NOW 태그: flex flow로 가운데 정렬 그룹에 포함 */
.badge-tl-now-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan-light);
  padding: 4px 10px;
  text-align: center;
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 20px;
}

/* 이미지: 현재 사이즈 유지, 가운데 정렬 */
.badge-tl-box--now img {
  width: 33%;
  height: auto;
  display: block;
  object-fit: contain;
}

.badge-tl-year {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* 일반 아이템: 선(120px) 아래 여백 확보 — 박스(84)+마진(16)+여기(20) = 120+20 */
.badge-timeline-item:not(.badge-timeline-item--now) .badge-tl-year {
  margin-top: 24px;
}

.badge-tl-year--now {
  color: var(--cyan-light);
  font-size: 13px;
}

.badge-tl-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

.badge-timeline-item--now .badge-tl-label {
  color: var(--text);
  font-weight: 600;
}

/* Why badge section */
.badge-why-wrap {
  margin-top: 0;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 48px;
}

.badge-why-img {
  width: 360px;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
  display: block;
  align-self: flex-start;
}

.badge-why-text {
  flex: 1;
}

.badge-story-sustain {
  font-size: clamp(14px, 1.35vw, 16px);
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0 0 72px;
}

/* ===== FAIRPASS 진화 로드맵 ===== */
.fp-roadmap {
  margin: 60px 0 56px;
}
.fp-roadmap-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
}
.fp-roadmap-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.fp-roadmap-step {
  flex: 1;
  max-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.fp-roadmap-step:hover {
  transform: translateY(-4px);
}
.fp-roadmap-step--past   { border-top: 3px solid rgba(255,255,255,0.15); }
.fp-roadmap-step--green  { border-top: 3px solid var(--green); }
.fp-roadmap-step--cyan   { border-top: 3px solid var(--cyan-light); }
.fp-roadmap-step--past .fp-roadmap-title { color: rgba(255,255,255,0.35); }
.fp-roadmap-step--past .fp-roadmap-list li { color: rgba(255,255,255,0.28); }
.fp-roadmap-step--cyan .fp-roadmap-title { color: #fff; }

.fp-roadmap-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #050505;
}
.fp-roadmap-badge--past { background: rgba(120,120,120,0.85); color: rgba(255,255,255,0.75); }
.fp-roadmap-badge--cyan { background: var(--cyan-light); }

.fp-roadmap-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.fp-roadmap-step--past   .fp-roadmap-icon { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }
.fp-roadmap-step--green  .fp-roadmap-icon { background: rgba(16,185,129,0.12); color: var(--green); }
.fp-roadmap-step--cyan   .fp-roadmap-icon { background: rgba(34,211,238,0.12); color: var(--cyan-light); }

.fp-roadmap-next-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 4px 0 0;
  font-style: italic;
  text-align: center;
}

.fp-roadmap-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-heading);
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.fp-roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fp-roadmap-list li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.fp-roadmap-arrow {
  flex-shrink: 0;
  padding: 0 12px;
  color: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .fp-roadmap-track {
    flex-direction: column;
    gap: 8px;
  }
  .fp-roadmap-step {
    max-width: 100%;
    width: 100%;
  }
  .fp-roadmap-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .badge-why-wrap {
    flex-direction: column;
    gap: 32px;
    margin-top: 72px;
  }
  .badge-why-img {
    width: 100%;
    max-width: 280px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .badge-timeline-item {
    min-width: 80px;
    padding-top: 25px;
  }
  .badge-timeline-item--now {
    min-width: 130px;
    padding-top: 0;
  }
  .badge-tl-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  }
  .badge-tl-box svg {
    width: 32px;
    height: 32px;
  }
  .badge-tl-box--now {
    height: 110px;
  }
  .badge-timeline::before {
    top: 55px;
  }
}

/* ===== Kiosk Gallery ===== */
.kiosk-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.kiosk-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kiosk-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
}
.kiosk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kiosk-gallery-item--large {
  max-height: 440px;
}

/* ===== Kiosk Specs (3:7 layout) ===== */
.kiosk-specs-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 56px;
  align-items: flex-start;
  margin-top: 48px;
}
.kiosk-specs-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.kiosk-specs-img-box {
  width: 100%;
  background: #e5e5e5;
  border-radius: 20px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.kiosk-specs-carousel {
  width: 100%;
  position: relative;
}
.kiosk-specs-img {
  width: auto;
  max-width: 80%;
  max-height: 340px;
  display: none;
  object-fit: contain;
  margin: 0 auto;
}
.kiosk-specs-img.active {
  display: block;
}
.kiosk-specs-color-sel {
  display: flex;
  gap: 8px;
}
.kiosk-specs-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2px;
}
.kiosk-specs-color-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
}
.kiosk-specs-color-btn.active,
.kiosk-specs-color-btn:hover {
  border-color: var(--cyan-light);
  color: #fff;
}
.kiosk-specs-table {
  display: flex;
  flex-direction: column;
}
.kiosk-spec-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.kiosk-spec-row:first-child {
  border-top: 1px solid var(--border);
}
.kiosk-spec-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.kiosk-spec-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
}

/* ===== Only FAIRPASS section (3:7 split) ===== */
.kiosk-only-split {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 56px;
  align-items: center;
}
.kiosk-only-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.kiosk-only-video {
  width: 100%;
  display: block;
  object-fit: cover;
}
.kiosk-only-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.kiosk-only-title {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 28px;
  font-family: var(--font-heading);
}
.kiosk-only-prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kiosk-only-prose p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Inquiry form checkbox ===== */
.form-label--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 4px;
}
.form-label--checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--cyan-light);
  cursor: pointer;
}

/* ===== WHY FAIRPASS KIOSK section ===== */
.kiosk-diff-img-wrap {
  margin: 48px auto;
  max-width: 760px;
  border-radius: var(--radius);
  overflow: hidden;
}
.kiosk-diff-img {
  width: 100%;
  display: block;
}
.kiosk-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.kiosk-why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kiosk-why-num {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
.kiosk-why-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}
.kiosk-why-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ===== WHY FAIRPASS KIOSK (redesign) ===== */
.kiosk-why2-section {
  background: #0a0a12;
  padding-top: 72px;
}
.kiosk-why2-split {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 56px;
  align-items: flex-start;
}
.kiosk-why2-left {
  display: flex;
  flex-direction: column;
}
.kiosk-why2-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.kiosk-why2-video {
  width: 100%;
  display: block;
  object-fit: cover;
}
.kiosk-why2-right {
  display: flex;
  flex-direction: column;
  padding-top: 34px;
}
.kiosk-why2-header {
  margin: 0 0 48px;
}
.kiosk-why2-question {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
  font-family: var(--font-body);
}
.kiosk-why2-answer {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}
.kiosk-why2-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.kiosk-why2-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.kiosk-why2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-light);
  flex-shrink: 0;
  margin-top: 8px;
}
.kiosk-why2-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kiosk-why2-point-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.kiosk-why2-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}
.kiosk-why2-content p strong {
  color: #fff;
  font-weight: 700;
}
.kiosk-why2-elevate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.kiosk-why2-elevate-tag {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
}
.kiosk-why2-elevate-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.7;
  white-space: nowrap;
}

/* ===== Specs dots ===== */
.kiosk-specs-dots {
  display: flex;
  gap: 8px;
}
.kiosk-specs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.kiosk-specs-dot.active {
  background: var(--cyan-light);
  transform: scale(1.3);
}
.kiosk-specs-dot:hover {
  background: rgba(255,255,255,0.5);
}

/* ===== CTA section ===== */
.detail-cta .section-desc {
  white-space: nowrap;
}
.kiosk-cta-elevate {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px;
  text-align: center;
}

/* ===== Platform Hero Image ===== */
.platform-hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.platform-hero-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ===== Features 3-col variant ===== */
.detail-features-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== Badge Page ===== */

/* ALL-PAPER banner */
.badge-allpaper-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 40px;
}
.badge-allpaper-badge {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 2px;
}
.badge-allpaper-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.badge-allpaper-content strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
}
.badge-allpaper-content span {
  font-size: 14px;
  color: var(--text);
}
.badge-allpaper-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

/* Proof section */
.badge-proof-section { background: rgba(255,255,255,0.02); }
.badge-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.badge-proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.badge-proof-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.badge-proof-icon--green { background: rgba(16,185,129,0.15); color: var(--green); }
.badge-proof-icon--pink  { background: rgba(236,72,153,0.15); color: #ec4899; }
.badge-proof-icon--cyan  { background: rgba(34,211,238,0.15); color: var(--cyan-light); }
.badge-proof-num {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.badge-proof-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.badge-proof-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Badge Types grid */
.badge-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.badge-type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.badge-type-thumb {
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.badge-type-thumb-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.badge-type-thumb-size {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.badge-type-info {
  padding: 16px;
  flex: 1;
}
.badge-type-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.badge-type-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Badge stat text override (Korean, lighter weight) ===== */
.badge-stat-text {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}

/* ===== Features split intro ===== */
.badge-features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.badge-features-text .section-label,
.badge-features-text .section-title,
.badge-features-text .section-desc {
  text-align: left;
}
.badge-features-text .section-title { margin-bottom: 12px; }
.badge-features-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.badge-features-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Lanyard section */
.lanyard-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.lanyard-img-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lanyard-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  object-fit: cover;
}
.lanyard-img-labels {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.lanyard-img-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lanyard-img-label strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.lanyard-img-label span {
  font-size: 12px;
  color: var(--text-muted);
}
.lanyard-colors-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lanyard-colors-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}
.lanyard-colors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.lanyard-color-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.lanyard-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.lanyard-color-badge {
  font-size: 10px;
  background: rgba(34,211,238,0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}
.lanyard-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Gallery grid */
.badge-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.badge-gallery-item {
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.badge-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge-gallery-placeholder {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* Waterproof section */
.badge-water-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.badge-water-video {
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.badge-water-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.badge-water-placeholder span {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.badge-water-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.badge-water-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.badge-water-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34,211,238,0.12);
  color: var(--cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-water-point strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.badge-water-point p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== Lanyard v2 ===== */
.lanyard-wrap-v2 {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 40px;
}
.lanyard-solo-img {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}
.lanyard-main-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}
.lanyard-spec-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lanyard-spec-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
}
.lanyard-spec-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}
.lanyard-strap-preview {
  flex-shrink: 0;
  height: 80px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
}
.lanyard-strap-preview--thick { width: 20px; }
.lanyard-strap-preview--thin  { width: 7px; }
.lanyard-spec-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
}
.lanyard-spec-info strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.lanyard-spec-info span {
  font-size: 13px;
  color: var(--text-muted);
}
.lanyard-color-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lanyard-color-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
  font-family: var(--font-body);
}
.lanyard-color-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

/* ===== Video ===== */
.badge-water-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ===== PATENT SECTION ===== */
.badge-patent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.badge-patent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s;
}
.badge-patent-card:hover {
  border-color: rgba(255,255,255,0.20);
}
.badge-patent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge-patent-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-patent-icon--green { background: rgba(16,185,129,0.12); color: #10b981; }
.badge-patent-icon--cyan  { background: rgba(34,211,238,0.12); color: #22d3ee; }
.badge-patent-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
}
.badge-patent-status--green { background: rgba(16,185,129,0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge-patent-status--cyan  { background: rgba(34,211,238,0.12); color: #22d3ee; border: 1px solid rgba(34,211,238,0.3); }
.badge-patent-title {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}
.badge-patent-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  flex: 1;
}
.badge-patent-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.badge-patent-no {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.badge-patent-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .badge-patent-grid { grid-template-columns: 1fr; }
}

/* badge hero height matching */
.detail-hero--badge .kiosk-hero-visual {
  min-height: 460px;
  justify-content: flex-start;
}

/* ===== SUSTAINABILITY SECTION ===== */

/* 섹션 배경 — 미묘한 초록 그라디언트 오버레이 */
.sustain-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(16,185,129,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 30%, rgba(16,185,129,0.05) 0%, transparent 60%);
}

/* 섹션 레이블 green */
.sustain-label { color: #10b981 !important; }

/* 그라디언트 텍스트 — 초록 계열 */
.sustain-gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 떠오르는 잎사귀 파티클 */
.sustain-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sustain-leaf {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: leafFloat 8s ease-in infinite;
  filter: hue-rotate(0deg);
}
.sustain-leaf--1 { left: 8%;  animation-delay: 0s;   animation-duration: 9s;  font-size: 18px; }
.sustain-leaf--2 { left: 22%; animation-delay: 1.5s; animation-duration: 11s; font-size: 14px; }
.sustain-leaf--3 { left: 42%; animation-delay: 3s;   animation-duration: 8s;  font-size: 16px; }
.sustain-leaf--4 { left: 60%; animation-delay: 0.8s; animation-duration: 10s; font-size: 20px; }
.sustain-leaf--5 { left: 78%; animation-delay: 2.2s; animation-duration: 9s;  font-size: 15px; }
.sustain-leaf--6 { left: 90%; animation-delay: 4s;   animation-duration: 12s; font-size: 13px; }

@keyframes leafFloat {
  0%   { transform: translateY(100%) translateX(0px) rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: translateY(40%) translateX(18px) rotate(120deg); opacity: 0.4; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-10%) translateX(-12px) rotate(240deg); opacity: 0; }
}

/* 수치 하위 설명 */
.sustain-metric-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  margin-top: -4px;
}

.sustain-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 56px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 48px;
}
.sustain-metric {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sustain-metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 40px;
}
.sustain-metric-num {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: #10b981;
  line-height: 1;
}
.sustain-metric-unit {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
}
.sustain-metric-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.sustain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sustain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s;
}
.sustain-card:hover { border-color: rgba(255,255,255,0.20); }
.sustain-card--coming {
  border-color: rgba(168,85,247,0.25);
  background: rgba(168,85,247,0.04);
  position: relative;
}
.sustain-coming-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(168,85,247,0.15);
  color: #a855f7;
  border: 1px solid rgba(168,85,247,0.3);
  align-self: flex-start;
  margin-top: -4px;
}
.sustain-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sustain-card-icon--green  { background: rgba(16,185,129,0.12); color: #10b981; }
.sustain-card-icon--cyan   { background: rgba(34,211,238,0.12); color: #22d3ee; }
.sustain-card-icon--purple { background: rgba(168,85,247,0.12); color: #a855f7; }
.sustain-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.sustain-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  flex: 1;
}
.sustain-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.sustain-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.25);
}
.sustain-tag--muted {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border-color: var(--border);
}
@media (max-width: 1024px) {
  .sustain-metrics { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .sustain-metric { min-width: 140px; }
  .sustain-metric-divider { display: none; }
}
@media (max-width: 900px) {
  .sustain-grid { grid-template-columns: 1fr; }
  .sustain-metrics { flex-direction: column; gap: 24px; padding: 32px 24px; }
}

/* Smart Store section */
.badge-store-section { background: rgba(255,255,255,0.02); }
.badge-store-wrap {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: start;
}
.badge-store-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #03c75a;
  background: rgba(3,199,90,0.12);
  border: 1px solid rgba(3,199,90,0.25);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.badge-store-title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 14px;
}
.badge-store-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 20px;
}
.badge-store-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.badge-store-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.badge-store-list svg {
  color: var(--green);
  flex-shrink: 0;
}
.badge-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge-store-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 37px;
}
.badge-store-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-store-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: contain;
  background: transparent;
}

/* ===== Badge Hero Image Stack ===== */
.badge-hero-img-stack {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.badge-hero-bg-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}
.badge-hero-float-img {
  position: absolute;
  bottom: -12px;
  right: -16px;
  width: 52%;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  animation: badgeFloat 3.2s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* ===== ALL-PAPER Diagram ===== */
.badge-allpaper-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 56px;
}
.badge-diagram-left {
  position: relative;
}
.badge-diagram-img {
  width: 55%;
  display: block;
  object-fit: contain;
  max-height: 380px;
  border-radius: var(--radius);
  margin-right: auto;
}
/* 이미지 위에 오버레이되는 callout 라인 */
.badge-diagram-callout {
  position: absolute;
  top: var(--ct);
  left: var(--cl);
  right: 0;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.badge-diagram-cdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan-light);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.25), 0 0 12px rgba(34,211,238,0.6);
  flex-shrink: 0;
}
.badge-diagram-cline {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(34,211,238,0.9), rgba(34,211,238,0.35));
  margin: 0 8px 0 4px;
}
.badge-diagram-clabel {
  font-size: 10px;
  font-weight: 700;
  color: var(--cyan-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(5,5,5,0.55);
  backdrop-filter: blur(6px);
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid rgba(34,211,238,0.25);
}
/* 우측 텍스트 — 좌측 정렬, 넉넉한 좌측 여백 */
.badge-diagram-right {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}
.badge-diagram-heading {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #22d3ee, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.05;
}
.badge-diagram-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
.badge-diagram-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.badge-diagram-desc strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* ===== Lanyard Option Box (줄 선택 + 색상 선택 통합) ===== */
.lanyard-option-box {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lanyard-option-half {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lanyard-option-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}
.lanyard-option-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
  margin: 0;
}

/* ===== Lanyard String Select (박스 없이, 가운데 정렬) ===== */
.lanyard-string-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}
.lanyard-string-select .lanyard-spec-row-h {
  justify-content: center;
}

/* ===== Lanyard Bottom Split 5:5 ===== */
.lanyard-bottom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ===== Lanyard Print Card ===== */
.lanyard-print-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lanyard-print-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}
.lanyard-print-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.lanyard-print-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 3/2;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: block;
  min-height: 90px;
}
.lanyard-print-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
}

/* ===== Lanyard Horizontal Spec ===== */
.lanyard-spec-row-h {
  display: flex;
  gap: 32px;
  padding: 8px 0;
}
.lanyard-spec-item-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lanyard-strap-wrap {
  width: 120px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lanyard-spec-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
}
.lanyard-strap-h {
  border-radius: 99px;
  background: rgba(255,255,255,0.28);
}
.lanyard-strap-h--thick {
  width: 120px;
  height: 16px;
}
.lanyard-strap-h--thin {
  width: 120px;
  height: 5px;
}
.lanyard-spec-dim {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* ===== Lanyard Color Card ===== */
.lanyard-color-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lanyard-color-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  font-family: var(--font-body);
}
.lanyard-color-swatches {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.lanyard-color-swatch-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.lanyard-color-dot {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lanyard-color-name {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .badge-proof-grid { grid-template-columns: 1fr; }
  .badge-types-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-features-intro { grid-template-columns: 1fr; }
  .lanyard-wrap { grid-template-columns: 1fr; }
  .lanyard-spec-row { flex-direction: column; }
  .lanyard-spec-divider { width: 80%; height: 1px; }
  .badge-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-water-wrap { grid-template-columns: 1fr; }
  .badge-store-wrap { grid-template-columns: 1fr; }
  .badge-hero-img-stack { max-width: 360px; }
  .badge-allpaper-diagram { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .badge-diagram-right { padding-left: 0; }
  .lanyard-spec-row-h { flex-direction: column; gap: 20px; }
  .lanyard-color-card { padding: 18px 20px; }
  .lanyard-option-box { flex-direction: column; }
  .lanyard-option-divider { width: auto; height: 1px; align-self: stretch; }
  .lanyard-option-half { padding: 20px 20px; }
  .lanyard-bottom-split { grid-template-columns: 1fr; }
  .lanyard-print-examples { grid-template-columns: 1fr 1fr; }
}

/* ===== Hero video height constraint (kiosk alignment fix) ===== */
.kiosk-hero-video-wrap {
  max-height: 460px;
  flex: none;
}

/* ===== Billing: right-align 기존방식 ===== */
.billing-col--old .billing-col-label { text-align: right; }
.billing-col--old .billing-list { align-items: flex-end; }
.billing-col--old .billing-item {
  flex-direction: row-reverse;
  text-align: right;
}

/* ===== Billing: VS horizontal ===== */
.billing-vs-badge {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  padding: 8px 12px !important;
}

/* ===== Billing: checkmark in circle (FAIRPASS side) ===== */
.billing-item--good::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: rgba(16,185,129,0.15);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.4);
}

/* ===== Billing tags: colorful ===== */
.billing-tag:nth-child(3n+1) {
  background: rgba(6,182,212,0.1);
  color: var(--cyan-light);
  border-color: rgba(6,182,212,0.25);
}
.billing-tag:nth-child(3n+2) {
  background: rgba(139,92,246,0.1);
  color: var(--purple-light);
  border-color: rgba(139,92,246,0.25);
}
.billing-tag:nth-child(3n+3) {
  background: rgba(16,185,129,0.1);
  color: var(--green);
  border-color: rgba(16,185,129,0.25);
}

/* ===== Gallery slides: uniform size ===== */
.platform-slide {
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-placeholder {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

/* ===== Kiosk Gallery Slider v2 ===== */
.kiosk-gallery-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.kiosk-gallery-overflow {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  background: #0d0d1a;
}
.kiosk-gallery-overflow .platform-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.kiosk-gallery-overflow .platform-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.kiosk-gallery-overflow .platform-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kiosk-gallery-dots {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  justify-content: center;
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
.kiosk-gallery-dots .slider-dot {
  cursor: pointer;
}

/* ===== Kiosk Gallery Arrow buttons ===== */
.kiosk-gallery-overflow {
  position: relative;
}
.kiosk-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
}
.kiosk-gallery-arrow:hover {
  background: rgba(0,0,0,0.72);
}
.kiosk-gallery-arrow--prev { left: 12px; }
.kiosk-gallery-arrow--next { right: 12px; }

/* ===== Gallery row (arrows outside overflow) ===== */
.kiosk-gallery-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kiosk-gallery-row .kiosk-gallery-overflow {
  flex: 1;
  min-width: 0;
}
.kiosk-gallery-row .kiosk-gallery-arrow {
  position: static;
  transform: none;
  flex-shrink: 0;
}

/* === PORTFOLIO === */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 48px;
}

.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  align-items: start;
}

.portfolio-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-img-main {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.portfolio-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: opacity 0.2s;
}

.portfolio-thumb:hover { opacity: 0.75; }

.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.portfolio-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.30);
  color: var(--purple-light);
}

.portfolio-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.portfolio-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.portfolio-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .portfolio-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 24px;
  }
  .portfolio-title { font-size: 18px; }
}

/* --- EN Quote OPEN SOON --- */
.en-quote-soon { max-width: 640px; margin: 0 auto; text-align: center; }
.en-quote-soon-inner { padding: 56px 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.en-soon-badge {
  display: inline-block; padding: 6px 18px; border-radius: 99px;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 2px;
}
.en-soon-title { font-size: 26px; font-weight: 700; color: var(--text); margin: 0; line-height: 1.3; }
.en-soon-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
@media (max-width: 600px) {
  .en-quote-soon-inner { padding: 36px 24px; }
  .en-soon-title { font-size: 20px; }
}

/* ── Subnav (서비스 세부페이지 고정 탭바) ── */
.subnav {
  position: sticky;
  top: 60px;
  z-index: 900;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-link {
  flex-shrink: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.subnav-link:hover { color: var(--text); }
.subnav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
@media (max-width: 640px) {
  .subnav-link { padding: 12px 12px; font-size: 12px; }
}

/* ===================== FAQ PREVIEW (index.html) ===================== */
.faqp-list { border-top: 0.5px solid rgba(255,255,255,0.1); }
.faqp-item { border-bottom: 0.5px solid rgba(255,255,255,0.1); }
.faqp-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}
.faqp-q:hover { color: #fff; }
.faqp-item.open .faqp-q { color: #fff; }
.faqp-icon {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: transform 0.25s, color 0.15s;
  line-height: 1;
}
.faqp-item.open .faqp-icon {
  transform: rotate(45deg);
  color: var(--cyan-light);
}
.faqp-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faqp-item.open .faqp-a { max-height: 300px; }
.faqp-a p {
  padding: 0 4px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin: 0;
}
.faqp-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.faqp-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cyan-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
  padding-bottom: 2px;
}
.faqp-more-link:hover { border-color: var(--cyan-light); }

/* ===================== STORE CTA BANNER ===================== */
.store-cta {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px auto 0;
  max-width: 900px;
}
.store-cta-text { flex: 1; min-width: 0; }
.store-cta-eyebrow {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.store-cta-title {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}
.store-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #03C75A;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.store-cta-btn:hover { opacity: 0.85; }
@media (max-width: 768px) {
  .store-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: rgba(3, 199, 90, 0.06);
    border-color: rgba(3, 199, 90, 0.28);
    margin-top: 32px;
  }
  .store-cta-eyebrow {
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #03C75A;
  }
  .store-cta-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .store-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
    text-align: center;
  }
}

/* ===================== OUR CLIENTS ===================== */
.clients-tab-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.clients-tab {
  padding: 6px 16px;
  border-radius: 999px;
  border: 0.5px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.clients-tab:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.clients-tab-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 2px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.clients-tab.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  font-weight: 500;
}
.clients-grid-outer { position: relative; }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.clients-grid.collapsed { max-height: 148px; }
.clients-grid.expanded  { max-height: 3000px; }
.clients-fade-mask {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  transition: opacity 0.3s;
}
.clients-fade-mask.hidden { opacity: 0; }
.clients-chip {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.15s;
  cursor: default;
}
.clients-chip-pco  { border: 0.5px solid rgba(139,92,246,0.4);  background: rgba(139,92,246,0.07);  color: rgba(196,170,255,0.85); }
.clients-chip-corp { border: 0.5px solid rgba(16,185,129,0.4);  background: rgba(16,185,129,0.07);  color: rgba(110,231,183,0.85); }
.clients-chip-gov  { border: 0.5px solid rgba(6,182,212,0.4);   background: rgba(6,182,212,0.07);   color: rgba(103,232,249,0.85); }
.clients-chip-edu  { border: 0.5px solid rgba(245,158,11,0.4);  background: rgba(245,158,11,0.07);  color: rgba(252,211,77,0.85);  }
.clients-chip-intl { border: 0.5px solid rgba(236,72,153,0.4);  background: rgba(236,72,153,0.07);  color: rgba(249,168,212,0.85); }
.clients-chip-pco:hover  { background: rgba(139,92,246,0.15); color: #fff; }
.clients-chip-corp:hover { background: rgba(16,185,129,0.15); color: #fff; }
.clients-chip-gov:hover  { background: rgba(6,182,212,0.15);  color: #fff; }
.clients-chip-edu:hover  { background: rgba(245,158,11,0.15); color: #fff; }
.clients-chip-intl:hover { background: rgba(236,72,153,0.15); color: #fff; }
.clients-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.clients-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.clients-ldot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.clients-more-note {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin: 0;
  min-height: 18px;
}
.clients-expand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.clients-expand-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: 0.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.clients-expand-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.clients-arrow {
  font-size: 12px;
  transition: transform 0.3s;
  display: inline-block;
}
.clients-arrow.up { transform: rotate(180deg); }

/* ========================================
   SUB-PAGE MOBILE GRID OVERRIDES
   (badge.html / kiosk.html / platform.html)
   ======================================== */
@media (max-width: 768px) {
  /* badge.html: 갤러리 3열 → 2열 */
  .badge-gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* portfolio.html: 썸네일 4열 → 2열 */
  .portfolio-thumbs { grid-template-columns: repeat(2, 1fr); }

  /* 기능카드 내 <br> 숨김 — 모바일 full-width 카드에서 자연스러운 줄바꿈 */
  .detail-feature-desc br { display: none; }

  /* badge.html: 3열 증거 카드 → 1열 */
  .badge-proof-grid { grid-template-columns: 1fr; }

  /* badge.html: 명찰 종류 4열 → 2열 */
  .badge-types-grid { grid-template-columns: repeat(2, 1fr); }

  /* badge.html: 특징 분할 레이아웃 → 1열 */
  .badge-features-intro { grid-template-columns: 1fr; }
  .badge-allpaper-diagram { grid-template-columns: 1fr; }

  /* badge.html: 스마트스토어 섹션 → 1열 */
  .badge-store-wrap { grid-template-columns: 1fr; }
  .badge-store-right { padding-top: 0; }

  /* kiosk.html: 갤러리 2fr 1fr → 1열 */
  .kiosk-gallery-grid { grid-template-columns: 1fr; }

  /* kiosk.html: 스펙 4fr 6fr → 1열 */
  .kiosk-specs-grid { grid-template-columns: 1fr; gap: 32px; }

  /* kiosk.html: 3fr 7fr 분할 섹션들 → 1열 */
  .kiosk-only-split { grid-template-columns: 1fr; gap: 32px; }
  .kiosk-why2-split { grid-template-columns: 1fr; gap: 32px; }

  /* kiosk.html: WHY FAIRPASS 3열 카드 → 1열 */
  .kiosk-why-grid { grid-template-columns: 1fr; }

  /* platform.html: 3열 기능 그리드 → 1열 */
  .detail-features-grid--3col { grid-template-columns: 1fr; }

  /* 모바일에서 nowrap 방지 — 서브페이지 공통 */
  .kiosk-why2-elevate-desc { white-space: normal; }
  .detail-cta .section-desc { white-space: normal; }
}

@media (max-width: 480px) {
  /* badge.html: 명찰 종류 2열 → 1열 */
  .badge-types-grid { grid-template-columns: 1fr; }

  /* badge.html: 갤러리 2열 → 1열 */
  .badge-gallery-grid { grid-template-columns: 1fr; }
}

/* ==============================
   Flatpickr 다크 테마 오버라이드
   ============================== */
.flatpickr-calendar {
  background: #1e1e2e !important;
  border: 1px solid rgba(139,92,246,0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
  color: #e2e8f0 !important;
  font-family: inherit !important;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-monthDropdown-months {
  background: transparent !important;
  color: #e2e8f0 !important;
  fill: #e2e8f0 !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #e2e8f0 !important;
  background: transparent !important;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: #94a3b8 !important;
  fill: #94a3b8 !important;
}
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: #8b5cf6 !important;
  fill: #8b5cf6 !important;
}
.flatpickr-weekday {
  color: #64748b !important;
  background: transparent !important;
}
.flatpickr-day {
  color: #e2e8f0 !important;
  border-radius: 6px !important;
}
.flatpickr-day:hover {
  background: rgba(139,92,246,0.2) !important;
  border-color: transparent !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
  color: #fff !important;
}
.flatpickr-day.inRange {
  background: rgba(139,92,246,0.18) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #e2e8f0 !important;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #374151 !important;
}
.flatpickr-day.today {
  border-color: rgba(139,92,246,0.5) !important;
}
.fp-range { position: relative; }
