/* ===== Header / Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.is-scrolled .logo-img {
  filter: none;
}

.logo-img--footer {
  filter: brightness(0) invert(1);
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-inverse);
}

.is-scrolled .nav-link {
  color: var(--text-secondary);
}

.is-scrolled .nav-link:hover,
.is-scrolled .nav-link.active {
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-contact {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  transition: background 0.2s;
}

.btn-header-contact:hover {
  background: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  transition: all 0.3s;
}

.is-scrolled .mobile-menu-btn span {
  background: var(--text);
}

/* ===== Header: Solid variant (sub pages) ===== */
.site-header--solid {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.site-header--solid .logo {
  color: var(--text);
}

.site-header--solid .nav-link {
  color: var(--text-secondary);
}

.site-header--solid .nav-link:hover,
.site-header--solid .nav-link.active {
  color: var(--text);
}

.site-header--solid .logo-img {
  filter: none;
}

.site-header--solid .mobile-menu-btn span {
  background: var(--text);
}

/* ===== Header: Dark text variant (light hero bg) ===== */
.site-header--dark-text .logo-img {
  filter: none;
}

.site-header--dark-text .nav-link {
  color: var(--text-secondary);
}

.site-header--dark-text .nav-link:hover,
.site-header--dark-text .nav-link.active {
  color: var(--text);
}

.site-header--dark-text .mobile-menu-btn span {
  background: var(--text);
}

/* ===== Page Header (sub pages) ===== */
.page-header {
  padding: 180px 0 100px;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(238,98,47,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 85%, rgba(255,139,51,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 0%, rgba(249,206,193,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(245,242,239,0.6) 0%, transparent 50%),
    var(--surface-warm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.page-header-desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
}

.page-header--dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.page-header--dark .page-header-desc--light {
  color: rgba(255,255,255,0.65);
}

.site-header--solid + .page-header--dark {
  padding-top: 160px;
}

/* page-header 진입 애니메이션 */
.ph-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: phReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ph-anim--1 { animation-delay: 0.15s; }
.ph-anim--2 { animation-delay: 0.35s; }
.ph-anim--3 { animation-delay: 0.55s; }

@keyframes phReveal {
  to { opacity: 1; transform: translateY(0); }
}

.page-header .product-hero-badge {
  align-self: center;
  margin-bottom: 24px;
}

.page-header .product-hero-title {
  margin-bottom: 20px;
}

.page-header .product-hero-desc {
  margin-bottom: 0;
  max-width: 560px;
}

/* ===== About Stats (wide variant for about page) ===== */
.about-stats--wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.about-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 4px;
}

/* ===== Competence Group (about page) ===== */
.competence-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.competence-group + .competence-group {
  margin-top: 48px;
}

.competence-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 22px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.competence-label--pangea {
  background: var(--primary-100);
  color: var(--primary);
}

.competence-label--guideus {
  background: var(--blue-100);
  color: var(--blue-600);
}

.competence-desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== Brand Story (about page) ===== */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.brand-story-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-story-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.brand-story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-story-logo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-story-logo-img {
  width: 160px;
  height: auto;
}

/* ===== Brand Story Timeline ===== */
.bs-section {
  background: var(--gray-900);
  padding: 120px 0 100px;
}

/* 헤더 */
.bs-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
  text-align: center;
}

.bs-header-logo-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bs-header-logo {
  width: 160px;
  height: auto;
}

.bs-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
}

.bs-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-inverse);
  line-height: 1.35;
}

/* 타임라인 컨테이너 */
.bs-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* 중앙 세로 라인 */
.bs-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(238, 98, 47, 0.15));
  transform: translateX(-50%);
}

/* 노드 (한 블록) */
.bs-node {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 50%;
  padding-bottom: 60px;
}

.bs-node--left {
  padding-right: 48px;
  text-align: right;
  align-self: flex-start;
}

.bs-node--right {
  padding-left: 48px;
  margin-left: 50%;
}

/* 중앙 dot */
.bs-node-dot {
  position: absolute;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--gray-900);
  box-shadow: 0 0 12px rgba(238, 98, 47, 0.4);
  z-index: 1;
}

.bs-node--left .bs-node-dot {
  right: -7px;
}

.bs-node--right .bs-node-dot {
  left: -7px;
}

/* 카드 */
.bs-node-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bs-node-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.bs-node-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.4;
}

.bs-node-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-400);
}

/* 마무리 */
.bs-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 20px;
}

.bs-footer-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(238, 98, 47, 0.15), var(--primary));
}

.bs-footer-quote {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-inverse);
  text-align: center;
  line-height: 1.6;
}

/* 스크롤 등장 애니메이션 */
.bs-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bs-node--left.bs-reveal {
  transform: translateX(-32px);
}

.bs-node--right.bs-reveal {
  transform: translateX(32px);
}

.bs-node--left.bs-reveal.is-visible,
.bs-node--right.bs-reveal.is-visible {
  transform: translateX(0);
}

/* ===== Footer logo color ===== */
.logo--footer {
  color: #fff;
}

/* ===== Hero outline button (dark bg) ===== */
.btn-outline--hero {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  background: transparent;
}

.btn-outline--hero:hover {
  border-color: rgba(255,255,255,0.5);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: -5%;
  z-index: 0;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0;
  animation:
    heroBgFadeIn 2s ease 0.2s forwards,
    heroBgDrift 25s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes heroBgFadeIn {
  to { opacity: 0.7; }
}

@keyframes heroBgDrift {
  0%   { transform: scale(1.05) translate(0, 0); }
  25%  { transform: scale(1.08) translate(-1.2%, 0.8%); }
  50%  { transform: scale(1.06) translate(0.8%, -1%); }
  75%  { transform: scale(1.09) translate(-0.4%, 0.4%); }
  100% { transform: scale(1.05) translate(1%, -0.4%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-top: var(--header-height);
}

/* ── Hero entrance animation ── */
.hero-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero scroll indicator ── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  animation: heroScrollFadeIn 0.6s ease 2.4s forwards;
}

.hero-scroll-text {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollFadeIn {
  to { opacity: 1; }
}

@keyframes heroScrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.5); opacity: 0.2; }
}

/* 낮은 뷰포트 높이 / 좁은 화면에서 hero 버튼과 겹치지 않도록 SCROLL 인디케이터 숨김 */
@media (max-height: 760px), (max-width: 1024px) {
  .hero-scroll-indicator { display: none; }
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(56, 47, 47, 0.6), 0 4px 32px rgba(56, 47, 47, 0.35);
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(56, 47, 47, 0.55);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}



/* ===== Problem / Question Section ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.problem-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.problem-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.problem-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== About (회사소개) Section ===== */
/* ===== Mission Section ===== */
/* 미션 섹션 전체 */
.mission-section {
  position: relative;
  overflow: hidden;
}

.mission-section .container {
  position: relative;
}

/* 미션 콘텐츠: values + visual 가로 배치 */
.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* 우측 SVG 비주얼 */
.mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-visual-img {
  width: 100%;
  height: auto;
}

.mission-header {
  text-align: center;
  margin-bottom: 80px;
}

.mission-values {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mission-value {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  align-items: start;
}

.mission-value:last-child {
  border-bottom: 1px solid var(--border-light);
}

.mission-value-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  padding-top: 8px;
}

.mission-value-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-value-keyword {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mission-value-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.about-visual-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.about-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Features Section ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
}

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

/* Feature card — large variant */
.feature-card--lg {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  gap: 20px;
}

.feature-icon--lg {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  font-size: 28px;
}

/* Section description (header 내 본문) */
.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.section-header--center .section-desc {
  text-align: center;
}

/* ===== Product Showcase Banner (index page) ===== */
.showcase-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* 두 제품을 한 섹션에 좌/우로 나란히 배치 */
.showcase-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* PangeA+ 카드 (오렌지 톤 배경) */
.pair-card-pangea {
  position: relative;
  padding: 48px 40px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pair-card-pangea:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(238, 98, 47, 0.15);
  border-color: var(--primary);
}

/* GuideUs 카드 (블루 톤 배경) */
.pair-card-guideus {
  position: relative;
  padding: 48px 40px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pair-card-guideus:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 133, 255, 0.15);
  border-color: var(--blue-600);
}

/* 카드 내부의 "자세히 보기" 링크를 카드 전체로 확장해서 카드 어디를 눌러도 이동 */
.pair-card-pangea .showcase-banner-link::before,
.pair-card-guideus .showcase-banner-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* 카드 내부 스크린샷 영역 */
.pair-card-image {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pair-card-image-img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-banner-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Showcase Visual: Floating Cards (PangeA+) ── */
.showcase-banner-visual--cards {
  position: relative;
  aspect-ratio: 1 / 0.85;
}

.sc-card {
  position: absolute;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
}

.sc-card--keyword {
  width: 52%;
  top: 0;
  left: 6%;
  background: var(--bg-white);
}

.sc-card-keyword {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.sc-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.sc-card--dark {
  width: 55%;
  top: 28%;
  right: 0;
  background: #272424;
  padding: 24px 28px;
}

.sc-card-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-500);
  line-height: 1;
  letter-spacing: -0.03em;
}

.sc-card-unit {
  font-size: 32px;
}

.sc-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-top: 6px;
}

.sc-card--small {
  padding: 16px 20px;
}

.sc-card--left {
  top: 68%;
  left: 0;
  background: var(--bg-white);
}

.sc-card--right {
  top: 60%;
  right: 6%;
  background: var(--bg-white);
}

.sc-card-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Showcase Visual: Screenshot (GuideUs) ── */
.showcase-banner-visual--screenshot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-screenshot-frame {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.sc-screenshot-frame-bare {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.sc-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.showcase-badge--pangea {
  background: rgba(238,98,47,0.2);
  color: var(--primary-500);
}

.showcase-badge--guideus {
  background: var(--blue-200);
  color: var(--blue-700);
}

.showcase-product-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}

.showcase-banner-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.showcase-highlight--pangea { color: var(--primary); }
.showcase-highlight--guideus { color: var(--blue-600); }

.showcase-banner-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.showcase-keywords {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.showcase-keyword {
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}


.showcase-banner-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.showcase-banner-link--guideus {
  color: var(--blue-600);
}

.showcase-banner-link:hover {
  gap: 10px;
}

/* ===== Statement Section (풀스크린 선언) ===== */
.statement-section {
  background: var(--gray-900);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.statement-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(238, 98, 47, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(238, 98, 47, 0.05) 0%, transparent 50%);
}

.statement-inner {
  position: relative;
  text-align: center;
}

.statement-text {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-inverse);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.statement-highlight {
  color: var(--primary);
}

/* ===== Product Showcase (index page) ===== */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 72px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.product-showcase--pangea {
  margin-bottom: 48px;
}

.product-showcase--pangea::before {
  background: radial-gradient(circle, rgba(238, 98, 47, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.product-showcase--guideus::before {
  background: radial-gradient(circle, rgba(0, 133, 255, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.product-showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-screenshot-frame--depth {
  border-radius: var(--radius);
  overflow: hidden;
}

.product-showcase {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

/* ===== Section CTA Wrap (button below grid) ===== */
.section-cta-wrap {
  padding-top: 48px;
}

/* ===== Pipeline Grid (index page) ===== */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pipeline-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s ease;
}

.pipeline-card:hover {
  box-shadow: var(--shadow-md);
}

.pipeline-step {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.pipeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pipeline-title {
  font-size: 18px;
  font-weight: 600;
}

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

/* ===== Product Hero (Warm gradient) ===== */
.product-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(238,98,47,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255,139,51,0.1) 0%, transparent 45%),
    linear-gradient(225deg, rgba(249,206,193,0.7) 0%, rgba(251,234,231,0) 50%),
    linear-gradient(150deg, rgba(249,241,253,0) 30%, rgba(249,241,253,0.8) 100%),
    var(--warm-200);
}

.product-hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
}

/* ── Left: Text column ── */
.product-hero-text {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}

.product-hero-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--primary-200);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 48px;
}


.product-hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.highlight-pangea { color: var(--primary); }
.highlight-guideus { color: var(--blue-600); }

.product-hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 48px;
}

.product-hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 48px;
}

.product-hero-cta {
  display: inline-flex;
  align-self: flex-start;
  padding: 16px 44px;
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 16px;
  font-weight: 600;
  border-radius: 28px;
  transition: background 0.2s, transform 0.2s;
}

.product-hero-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── Right: Floating cards (container-query 비례 스케일) ──
   컨테이너 너비에 비례해 위치·크기·폰트 모두 스케일.
   기준 프레임: 672 × 560 (1× 원본)                    */
.product-hero-cards {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 672 / 580;
  margin-top: 20px;
}

/* ── Card base ── */
.ph-card {
  position: absolute;
  border-radius: clamp(12px, 3cqw, 20px);
  padding: clamp(14px, 3.6cqw, 24px) clamp(16px, 4.2cqw, 28px);
  box-shadow: var(--shadow-md);
}

.ph-card-keyword {
  display: block;
  font-size: clamp(24px, 6cqw, 40px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ph-card-number {
  display: block;
  font-size: clamp(40px, 10.5cqw, 72px);
  font-weight: 700;
  color: var(--primary-500);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ph-card-unit {
  font-size: clamp(24px, 6.6cqw, 44px);
}

.ph-card-label {
  display: block;
  font-size: clamp(13px, 2.7cqw, 18px);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.9cqw;
}

.ph-card-desc {
  font-size: clamp(12px, 2.2cqw, 15px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1.5cqw;
}

.ph-card-desc--light {
  color: rgba(255,255,255,0.5);
}

.ph-card-detail {
  font-size: clamp(12px, 2.4cqw, 16px);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-top: 0.9cqw;
}

/* ── Card positions (% of container) ── */
.ph-card--one {
  width: 55%;
  top: 0;
  left: 8.8%;
  background: var(--bg-white);
}

.ph-card--rank {
  width: 57%;
  top: 24%;
  left: 25.6%;
  background: #272424;
  padding: clamp(18px, 4.8cqw, 32px);
}

.ph-card--policy {
  width: 33.6%;
  top: 65%;
  left: 0;
  background: var(--bg-white);
}

.ph-card--auto {
  width: 33.6%;
  top: 56%;
  right: 0;
  background: var(--bg-white);
}

/* ── Flow pill ── */
.ph-flow-pill {
  position: absolute;
  bottom: 0;
  right: 2%;
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5cqw, 10px);
  padding: clamp(8px, 2.1cqw, 14px) clamp(14px, 4.2cqw, 28px);
  border-radius: var(--radius-full);
  background: #FFEBDC;
  border: 1px solid var(--primary-400);
  color: var(--primary-500);
  font-size: clamp(12px, 2.4cqw, 16px);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.ph-flow-pill:hover {
  background: #FFE0C8;
}

.ph-flow-pill .fa-arrow-right {
  font-size: clamp(9px, 1.8cqw, 12px);
}

/* ── Floating animation (위아래 흔들림) ── */
@keyframes ph-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.ph-card,
.ph-flow-pill {
  animation: ph-float 4s ease-in-out infinite;
  will-change: transform;
}

.ph-card--one    { animation-duration: 4.2s; animation-delay: 0s; }
.ph-card--rank   { animation-duration: 4.8s; animation-delay: -0.8s; }
.ph-card--policy { animation-duration: 3.6s; animation-delay: -1.5s; }
.ph-card--auto   { animation-duration: 4.4s; animation-delay: -2.2s; }
.ph-flow-pill    { animation-duration: 5s;   animation-delay: -1s; }

@media (prefers-reduced-motion: reduce) {
  .ph-card,
  .ph-flow-pill { animation: none; }
}

.ph-flow-icon {
  width: clamp(16px, 3.3cqw, 22px);
  height: clamp(16px, 3.3cqw, 22px);
  border-radius: clamp(3px, 0.7cqw, 5px);
  background: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(8px, 1.7cqw, 12px);
  flex-shrink: 0;
}

/* ===== Checklist Grid (Why section) ===== */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.checklist-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.checklist-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checklist-title {
  font-size: 16px;
  font-weight: 600;
}

.checklist-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Product Badge (section header) ===== */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.product-badge-logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ===== Product Screenshots Section ===== */
.product-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.product-tab i {
  font-size: 12px;
}

.product-tab.active,
.product-tab:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.product-preview {
  margin-top: 40px;
  padding-bottom: 20px;
}

/* Laptop mockup */
.product-preview-placeholder {
  position: relative;
  width: 100%;
  background: #fff;
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* 두 이미지 레이어를 같은 셀에 겹쳐 cross-fade 처리 */
.product-preview-stage {
  display: grid;
  width: 100%;
}

.product-preview-stage > .product-preview-img {
  grid-area: 1 / 1;
}

.product-preview-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-preview-img.is-active {
  opacity: 1;
}

/* Screens stage — 화살표가 placeholder를 양옆에서 차지하는 flex 행 */
.screens-stage {
  display: flex;
  align-items: center;
  gap: 24px;
}

.screens-stage .product-preview-placeholder {
  flex: 1;
  min-width: 0;
}

/* 화면 양옆 prev/next 화살표 버튼 */
.screens-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.screens-nav:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  transform: scale(1.05);
}

.screens-nav--guideus:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

@media (max-width: 768px) {
  .screens-stage { gap: 8px; }
  .screens-nav { width: 32px; height: 32px; font-size: 12px; }
}

/* 스크린 베젤 */
.product-preview-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 8px solid var(--gray-200);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

/* 노트북 하판 */
.product-preview-placeholder::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: -4%;
  width: 108%;
  height: 18px;
  background: linear-gradient(to bottom, var(--gray-200), var(--gray-300));
  border-radius: 0 0 8px 8px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ── Preview Description Cards ── */
.product-preview-desc {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-preview-desc.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.product-preview-item {
  flex: 1;
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.product-preview-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  line-height: 22px;
  flex-shrink: 0;
}

.product-preview-item-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-preview-item-title {
  font-size: 16px;
  font-weight: 600;
}

.product-preview-item-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Spec Table Section ===== */
.spec-table-wrap {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table .spec-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ===== Comparison Table ===== */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-300);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.comparison-table thead th {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  background: var(--warm-100);
  color: var(--text);
}

.comparison-table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table thead th.comparison-highlight {
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--warm-100);
  background: var(--bg-white);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.6;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  background: var(--warm-50);
}

.comparison-table tbody td.comparison-highlight {
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 600;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-lg);
}

.comparison-table tbody tr:last-child td.comparison-highlight {
  border-radius: 0 0 var(--radius-lg) 0;
}

/* ===== Platform vs Service (Lifecycle Compare) ===== */
.lifecycle-compare {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lifecycle-flow {
  display: grid;
  grid-template-columns: auto 1fr minmax(140px, auto) 1fr;
  row-gap: 8px;
  column-gap: 20px;
  align-items: center;
}

.lifecycle-head-platform {
  grid-column: 2;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  justify-self: center;
}

.lifecycle-head-service {
  grid-column: 4;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: var(--gray-700);
  color: var(--text-inverse);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  justify-self: center;
}

.lifecycle-step-platform {
  grid-column: 2;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--primary-50);
  border: 1px solid var(--primary-300);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.lifecycle-step-service {
  grid-column: 4;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.lifecycle-arrow-platform {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  font-size: 12px;
  color: var(--primary-600);
}

.lifecycle-arrow-service {
  grid-column: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.lifecycle-cross-export {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 700;
}

.lifecycle-cross-receive {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--gray-700);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 700;
}

.lifecycle-loop-bracket {
  grid-column: 1;
  grid-row: 8 / 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 10px;
  border: 2px dashed var(--primary-600);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--primary-50);
  color: var(--primary);
}

.lifecycle-loop-icon {
  font-size: 16px;
}

.lifecycle-loop-label {
  writing-mode: vertical-rl;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.lifecycle-footnote {
  padding: 24px 32px;
  background: var(--primary-50);
  border: 1px solid var(--primary-300);
  border-radius: var(--radius);
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.lifecycle-footnote strong {
  color: var(--primary);
  font-weight: 700;
}

/* ===== Platform vs Service — A안 (2-Card + Flow) ===== */
.role-compare {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.role-compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ── Platform Card (Independent) ── */
.role-card-platform {
  padding: 56px 80px;
  background: var(--primary-50);
  border: 1px solid var(--primary-300);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.role-card-platform-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.role-card-platform-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.role-card-platform-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.role-card-platform-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.role-card-platform-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-card-platform-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.role-card-platform-check {
  color: var(--primary);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── Service Card (Independent) ── */
.role-card-service {
  padding: 56px 80px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.role-card-service-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.role-card-service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gray-700);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.role-card-service-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.role-card-service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.role-card-service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-card-service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.role-card-service-check {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── 1-line Flow Diagram ── */
.role-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.role-flow-platform-step {
  padding: 12px 18px;
  background: var(--primary-100);
  border: 1px solid var(--primary-400);
  color: var(--text);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
}

.role-flow-service-step {
  padding: 12px 18px;
  background: var(--gray-200);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
}

.role-flow-arrow {
  color: var(--text-muted);
  font-size: 14px;
}

.role-flow-loopback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
}

/* lcm 카드 그리드와 take-away 사이 여백을 부모 gap으로 관리 */
.lcm-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ── Take-away callout ── */
.role-takeaway {
  padding: 24px 32px;
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: var(--radius);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

/* 연한 배경 변형 — 강한 솔리드 대신 부드러운 톤 */
.role-takeaway-soft {
  background: var(--primary-50);
  color: var(--text);
  border: 1px solid var(--primary-200);
}

.role-takeaway-soft strong {
  color: var(--primary);
}

.role-takeaway strong {
  font-weight: 700;
}

/* ===== Lifecycle Unified (카드 + 교환 통합) ===== */
.lifecycle-unified {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 56px;
}

/* 카드 공통 */
.lcu-card {
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lcu-card--platform {
  background: var(--primary-100);
  border: 1px solid var(--primary-200);
}

.lcu-card--service {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
}

.lcu-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lcu-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.lcu-card-icon--platform {
  background: var(--primary);
  color: var(--text-inverse);
}

.lcu-card-icon--service {
  background: var(--blue-600);
  color: var(--text-inverse);
}

.lcu-card-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lcu-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.lcu-card-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.lcu-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.lcu-check {
  margin-top: 4px;
  font-size: 13px;
  flex-shrink: 0;
}

.lcu-check--platform { color: var(--primary); }
.lcu-check--service { color: var(--blue-600); }

.lcu-card-endpoint {
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.lcu-card-endpoint--platform {
  background: var(--primary);
  color: var(--text-inverse);
}

.lcu-card-endpoint--service {
  background: var(--blue-600);
  color: var(--text-inverse);
}

/* 중앙 브릿지 */
.lcu-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 36px 16px;
  min-width: 200px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  position: relative;
}

.lcu-bridge-divider {
  width: 80%;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.lcu-bridge-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.lcu-bridge-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
}

.lcu-bridge-row--export .lcu-bridge-arrow {
  background: var(--primary);
  color: var(--text-inverse);
}

.lcu-bridge-row--receive .lcu-bridge-arrow {
  background: var(--blue-600);
  color: var(--text-inverse);
}

.lcu-bridge-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.lcu-bridge-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.lcu-bridge-loop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lcu-bridge-loop i {
  font-size: 12px;
  color: var(--primary);
}

/* 화살표 글로우 펄스 — 공급/수집 교대 호흡 */
.lcu-bridge-row--export .lcu-bridge-arrow {
  animation: lcuGlowOrange 3s ease-in-out infinite;
}

.lcu-bridge-row--receive .lcu-bridge-arrow {
  animation: lcuGlowBlue 3s ease-in-out infinite 1.5s;
}

@keyframes lcuGlowOrange {
  0%, 100% { box-shadow: 0 0 4px rgba(238, 98, 47, 0.1); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(238, 98, 47, 0.6), 0 0 56px rgba(238, 98, 47, 0.2); transform: scale(1.1); }
}

@keyframes lcuGlowBlue {
  0%, 100% { box-shadow: 0 0 4px rgba(0, 133, 255, 0.1); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(0, 133, 255, 0.55), 0 0 56px rgba(0, 133, 255, 0.18); transform: scale(1.1); }
}

.lcu-bridge-caption {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lcu-bridge-caption i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.lcu-dot { display: none; }

/* ===== Data Lifecycle 고도화 (.role-compare-v2 스코프) ===== */

/* 카드 호버 인터랙션 */
.role-compare-v2 .role-card-platform,
.role-compare-v2 .role-card-service {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.role-compare-v2 .role-card-platform:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(238, 98, 47, 0.12);
}

.role-compare-v2 .role-card-service:hover {
  transform: translateY(-6px);
  border-color: var(--gray-700);
  box-shadow: 0 16px 36px rgba(34, 34, 34, 0.1);
}

/* 흐름 다이어그램 컨테이너 */
.role-compare-v2 .role-flow {
  padding: 32px 32px;
  box-shadow: 0 14px 32px rgba(34, 34, 34, 0.05);
}

/* 흐름 + 캡션 묶음 */
.role-compare-v2 .role-flow-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 흐름 아래 부연 캡션 — 루프백 의미 보강 */
.role-compare-v2 .role-flow-caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

.role-compare-v2 .role-flow-caption i {
  color: var(--primary);
  font-size: 14px;
}

.role-compare-v2 .role-flow-caption strong {
  color: var(--text);
  font-weight: 700;
}

/* ===== Data Lifecycle 통합 (lcm) — 카드와 도표를 합친 단일 시각화 ===== */
.lcm {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.2fr) 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Platform 카드 (좌) */
.lcm-card-platform {
  padding: 36px 32px;
  background: var(--primary-50);
  border: 1px solid var(--primary-300);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Service 카드 (우) */
.lcm-card-service {
  padding: 36px 32px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lcm-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lcm-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.lcm-card-icon-platform {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

.lcm-card-icon-service {
  background: linear-gradient(135deg, var(--gray-600), var(--gray-900));
}

.lcm-card-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.lcm-card-tag-platform { color: var(--primary); }
.lcm-card-tag-service { color: var(--text-secondary); }

.lcm-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.lcm-card-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 카드 안 vertical flow 도표 — 칩 + 화살표 교차 */
.lcm-flow-vert {
  align-items: stretch;
}

.lcm-step {
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--bg-white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  line-height: 1.4;
}

.lcm-step-platform {
  border: 1px solid var(--primary-300);
}

.lcm-step-service {
  border: 1px solid var(--border);
}

.lcm-step-platform-fill {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: var(--text-inverse);
  background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
  border: 1px solid var(--primary-700);
  box-shadow: 0 6px 14px rgba(238, 98, 47, 0.2);
}

.lcm-step-service-fill {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: var(--text-inverse);
  background: linear-gradient(90deg, var(--gray-700), var(--gray-900));
  border: 1px solid var(--gray-900);
  box-shadow: 0 6px 14px rgba(34, 34, 34, 0.18);
}

.lcm-step-arrow {
  font-size: 12px;
  text-align: center;
  align-self: center;
}

.lcm-step-arrow-platform { color: var(--primary); }
.lcm-step-arrow-service { color: var(--text-muted); }

/* 가운데 Bridge */
.lcm-bridge {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* 카드 padding-top(36) + head(56) + card gap(24) + 3 row pitch(72*3 = 216) - (action(61) - step(44))/2 */
  padding-top: 324px;
  gap: 11px;
}

.lcm-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(34, 34, 34, 0.1);
}

.lcm-action-export {
  background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
}

.lcm-action-receive {
  background: linear-gradient(90deg, var(--gray-700), var(--gray-900));
}

.lcm-action-loop {
  background: linear-gradient(90deg, var(--primary-700), var(--gray-900));
}

.lcm-action-loop i {
  animation: lcm-loop-spin 6s linear infinite;
}

@keyframes lcm-loop-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lcm-action-loop i { animation: none; }
}

.lcm-action i {
  font-size: 16px;
}

.lcm-action-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.lcm-action-text-right {
  align-items: flex-end;
  text-align: right;
}

.lcm-action-label {
  font-size: 14px;
  font-weight: 700;
}

.lcm-action-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
  .lcm {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lcm-bridge {
    padding-top: 0;
    gap: 12px;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .lcm-action { padding: 10px 16px; gap: 8px; font-size: 12px; }
  .lcm-action i { font-size: 14px; }
}

@media (max-width: 768px) {
  .lcm-card-platform,
  .lcm-card-service { padding: 28px 24px; }
  .lcm-card-title { font-size: 18px; }
}

/* v4 — 컴팩트 Exchange 다이어그램 (Platform ↔ Service) */
.role-compare-v2 .role-exchange {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

/* 좌·우 사이드 — 아이콘 오브 + 라벨 + 부제 (분리된 원래 디자인) */
.role-compare-v2 .role-exchange-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 140px;
  justify-self: center;
}

.role-compare-v2 .role-exchange-orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-inverse);
}

.role-compare-v2 .role-exchange-orb-platform {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
}

.role-compare-v2 .role-exchange-orb-service {
  background: linear-gradient(135deg, var(--gray-600), var(--gray-900));
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.2);
}

.role-compare-v2 .role-exchange-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.role-compare-v2 .role-exchange-label-platform { color: var(--primary); }
.role-compare-v2 .role-exchange-label-service { color: var(--gray-700); }

.role-compare-v2 .role-exchange-sub {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 가운데 bridge — 3행(엔드포인트 / 세로 화살표 / 엔드포인트) 단일 그리드 */
.role-compare-v2 .role-exchange-bridge {
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr minmax(140px, auto);
  column-gap: 8px;
  row-gap: 10px;
  align-items: center;
  width: 100%;
}

/* 양쪽 영역 내부의 세로 화살표 — 학습 데이터셋 ↓ 모델 학습, 모델 배포 ↓ 피드백 */
.role-compare-v2 .role-exchange-vert-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.role-compare-v2 .role-exchange-vert-arrow-platform {
  color: var(--primary);
}

.role-compare-v2 .role-exchange-vert-arrow-service {
  color: var(--gray-700);
}

.role-compare-v2 .role-exchange-vert-spacer {
  /* 가운데 컬럼은 cross-arrow 자리이므로 세로 화살표 행에서는 비움 */
}

.role-compare-v2 .role-exchange-endpoint {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  justify-self: center;
}

.role-compare-v2 .role-exchange-endpoint-platform {
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-300);
}

.role-compare-v2 .role-exchange-endpoint-service {
  background: var(--gray-200);
  color: var(--text);
  border: 1px solid var(--border);
}

.role-compare-v2 .role-exchange-line {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  color: var(--text-inverse);
  box-shadow: 0 8px 20px rgba(34, 34, 34, 0.1);
}

.role-compare-v2 .role-exchange-line-export {
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-700) 100%);
  justify-content: flex-start;
}

.role-compare-v2 .role-exchange-line-receive {
  background: linear-gradient(90deg, var(--gray-700) 0%, var(--gray-900) 100%);
  justify-content: flex-end;
}

.role-compare-v2 .role-exchange-line i {
  font-size: 22px;
  flex-shrink: 0;
}

.role-compare-v2 .role-exchange-line-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.role-compare-v2 .role-exchange-line-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.role-compare-v2 .role-exchange-line-text span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.92;
  white-space: nowrap;
}

/* ── 2-Row + Bridge 흐름 (내보내기/받기 강조 버전) ── */
.role-compare-v2 .role-flow-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(34, 34, 34, 0.05);
}

.role-compare-v2 .role-flow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: var(--radius);
}

.role-compare-v2 .role-flow-row-platform {
  background: var(--primary-50);
  border: 1px dashed var(--primary-300);
}

.role-compare-v2 .role-flow-row-service {
  background: var(--gray-100);
  border: 1px dashed var(--border);
}

.role-compare-v2 .role-flow-row-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.role-compare-v2 .role-flow-row-label-platform {
  background: var(--primary);
  color: var(--text-inverse);
}

.role-compare-v2 .role-flow-row-label-service {
  background: var(--gray-700);
  color: var(--text-inverse);
}

.role-compare-v2 .role-flow-row-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1;
}

/* 두 행 사이 다리 — 내보내기 / 받기 */
.role-compare-v2 .role-flow-bridge {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: var(--radius);
  max-width: 640px;
  box-shadow: 0 6px 16px rgba(34, 34, 34, 0.08);
}

.role-compare-v2 .role-flow-bridge-export {
  background: var(--primary);
  color: var(--text-inverse);
}

.role-compare-v2 .role-flow-bridge-receive {
  background: var(--gray-700);
  color: var(--text-inverse);
}

.role-compare-v2 .role-flow-bridge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.role-compare-v2 .role-flow-bridge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.5;
}

.role-compare-v2 .role-flow-bridge-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.role-compare-v2 .role-flow-bridge-text span {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
}

.role-compare-v2 .role-flow-bridge-text em {
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 모바일 — 라벨이 칩 위에 올라가도록 */
@media (max-width: 768px) {
  .role-compare-v2 .role-flow-stack { padding: 20px 16px; }
  .role-compare-v2 .role-flow-row { padding: 14px 14px; gap: 10px; }
  .role-compare-v2 .role-flow-bridge { padding: 12px 16px; gap: 10px; }
  .role-compare-v2 .role-flow-bridge-icon { width: 30px; height: 30px; font-size: 14px; }
  .role-compare-v2 .role-flow-bridge-text strong { font-size: 14px; }
  .role-compare-v2 .role-flow-bridge-text span { font-size: 12px; }
}

/* 흐름 칩 호버 */
.role-compare-v2 .role-flow-platform-step,
.role-compare-v2 .role-flow-service-step {
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.role-compare-v2 .role-flow-platform-step:hover {
  transform: translateY(-2px);
  background: var(--primary-200);
  box-shadow: 0 6px 14px rgba(238, 98, 47, 0.18);
}

.role-compare-v2 .role-flow-service-step:hover {
  transform: translateY(-2px);
  background: var(--gray-300);
  box-shadow: 0 6px 14px rgba(34, 34, 34, 0.12);
}

/* 화살표 스태거 펄스 — 데이터가 흐르는 시각적 은유 */
@keyframes role-flow-pulse-v2 {
  0%, 100% { opacity: 0.35; transform: translateX(0); }
  50%      { opacity: 1;    transform: translateX(4px); }
}

.role-compare-v2 .role-flow-arrow {
  animation: role-flow-pulse-v2 2.4s ease-in-out infinite;
}

.role-compare-v2 .role-flow > .role-flow-arrow:nth-child(2) { animation-delay: 0s; }
.role-compare-v2 .role-flow > .role-flow-arrow:nth-child(4) { animation-delay: 0.4s; }
.role-compare-v2 .role-flow > .role-flow-arrow:nth-child(6) { animation-delay: 0.8s; }
.role-compare-v2 .role-flow > .role-flow-arrow:nth-child(8) { animation-delay: 1.2s; }

/* 루프백 회전 애니메이션 — 순환 강조 */
@keyframes role-loop-rotate-v2 {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.role-compare-v2 .role-flow-loopback i {
  animation: role-loop-rotate-v2 4s linear infinite;
}

/* Take-away — 그라디언트 배경 + 인용 부호 + 강조 텍스트 그라디언트 */
.role-compare-v2 .role-takeaway {
  position: relative;
  padding: 48px 56px;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--warm-100) 100%);
  border: 1px solid var(--primary-200);
  color: var(--text);
  font-size: 24px;
  line-height: 1.5;
  overflow: hidden;
}

.role-compare-v2 .role-takeaway strong {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .role-compare-v2 .role-flow-arrow { animation: none; opacity: 0.7; }
  .role-compare-v2 .role-flow-loopback i { animation: none; }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .role-compare-v2 .role-flow { padding: 20px 16px; }
  .role-compare-v2 .role-takeaway { padding: 32px 28px; font-size: 16px; }

  /* role-exchange 반응형 — 좌·우 사이드 숨김, bridge 한 줄 3-컬럼 유지(축소) */
  .role-compare-v2 .role-exchange {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 16px;
    justify-items: center;
  }
  .role-compare-v2 .role-exchange-side { display: none; }
  .role-compare-v2 .role-exchange-bridge {
    grid-template-columns: auto 1fr auto;
    column-gap: 6px;
    row-gap: 8px;
    width: 100%;
    max-width: 100%;
  }
  .role-compare-v2 .role-exchange-vert-arrow,
  .role-compare-v2 .role-exchange-vert-spacer { display: none; }
  .role-compare-v2 .role-exchange-endpoint {
    padding: 6px 10px;
    font-size: 12px;
  }
  .role-compare-v2 .role-exchange-line {
    padding: 8px 12px;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(34, 34, 34, 0.1);
  }
  .role-compare-v2 .role-exchange-line-export,
  .role-compare-v2 .role-exchange-line-receive { justify-content: center; }
  .role-compare-v2 .role-exchange-line i { font-size: 14px; }
  .role-compare-v2 .role-exchange-line-text strong { font-size: 12px; }
  .role-compare-v2 .role-exchange-line-text span { display: none; } /* 부연 설명은 모바일에서 숨김 */
}

/* ===== Q&A Section (GuideUs) ===== */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qa-pair {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: stretch;
}

/* ── Question card (left) ── */
.qa-question-card {
  padding: 32px 28px;
  background: var(--warm-100);
  border: 1px solid var(--warm-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-head-q {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa-badge-q {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--warm-700);
  color: var(--text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.qa-label-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.qa-question-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

/* ── Answer card (right) ── */
.qa-answer-card {
  padding: 32px 28px;
  background: var(--blue-50);
  border: 1px solid var(--blue-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-head-a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa-badge-a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--blue-600);
  color: var(--text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.qa-label-a {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.04em;
}

.qa-answer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-answer-para {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Q&A — 천천히 하나씩 등장하도록 딜레이 스코프 오버라이드 */
.qa-section .scroll-reveal[data-reveal-delay="1"] { transition-delay: 0.5s; }
.qa-section .scroll-reveal[data-reveal-delay="2"] { transition-delay: 1.0s; }
.qa-section .scroll-reveal[data-reveal-delay="3"] { transition-delay: 1.5s; }
.qa-section .scroll-reveal[data-reveal-delay="4"] { transition-delay: 2.0s; }

/* ===== Q&A Accordion (GuideUs) ===== */
.qa-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

/* Q&A 아코디언 섹션 — 아래 여백 추가 */
.qa-section-accordion {
  padding-bottom: 200px;
}

@media (max-width: 768px) {
  .qa-section-accordion { padding-bottom: 120px; }
}

.qa-accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qa-accordion-item[open] {
  border-color: var(--blue-600);
  box-shadow: 0 8px 20px rgba(0, 133, 255, 0.08);
}

.qa-accordion-summary {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.qa-accordion-summary::-webkit-details-marker {
  display: none;
}

.qa-accordion-summary:hover {
  background: var(--blue-50);
}

.qa-accordion-q {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--blue-600);
  color: var(--text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.qa-accordion-question {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.qa-accordion-chevron {
  flex-shrink: 0;
  color: var(--blue-600);
  font-size: 14px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-accordion-item[open] .qa-accordion-chevron {
  transform: rotate(180deg);
}

.qa-accordion-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--blue-100);
  overflow: hidden;
}

.qa-accordion-para {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .qa-accordion-chevron { transition: none; }
}

/* ===== CTA Section (공통 레이아웃) ===== */
.cta-section {
  padding: 120px 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.cta-badge {
  display: inline-flex;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
}

.cta-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
}

.cta-desc {
  font-size: 18px;
  line-height: 1.8;
  max-width: 720px;
}

.cta-btn {
  display: inline-flex;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── CTA: Primary (index 기본) ── */
.cta-section--primary {
  background: var(--primary);
  color: var(--text-inverse);
}

.cta-section--primary .cta-btn {
  background: var(--bg-white);
  color: var(--primary);
}

/* ── CTA: Dark (product 서브페이지) ── */
.cta-section--pangea {
  background:
    radial-gradient(ellipse at center 35%, rgba(238,98,47,0.25) 0%, transparent 55%),
    var(--gray-900);
  color: var(--text-inverse);
}

.cta-section--pangea .cta-badge {
  color: var(--primary);
}

.cta-section--pangea .cta-subtitle {
  color: var(--primary);
}

.cta-section--pangea .cta-desc {
  color: var(--gray-300);
}

.cta-section--pangea .cta-btn {
  background: var(--primary);
  color: var(--text-inverse);
}

/* ===== GuideUs Color Overrides ===== */

/* ── Hero ── */
.product-hero--guideus {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(0,133,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(51,153,255,0.08) 0%, transparent 45%),
    linear-gradient(225deg, rgba(153,204,255,0.7) 0%, rgba(229,243,255,0) 50%),
    linear-gradient(150deg, rgba(204,229,255,0) 30%, rgba(204,229,255,0.8) 100%),
    var(--blue-100);
}

/* ── Hero Screenshot ── */
.product-hero-screenshot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-screenshot-frame {
  position: relative;
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-hero-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Floating Badges over Hero Screenshot ── */
.hero-badge-gs {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 110px;
  height: auto;
  z-index: 2;
  padding: 10px;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  animation: hero-badge-float 4.4s ease-in-out infinite;
}

.hero-badge-nps {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 130px;
  z-index: 2;
  padding: 10px;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: hero-badge-float 5s ease-in-out infinite;
  animation-delay: -1.6s;
}

.hero-badge-nps-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-badge-nps-img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes hero-badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge-gs,
  .hero-badge-nps { animation: none; }
}

.product-hero-badge--guideus {
  background: var(--blue-200);
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.product-hero-subtitle--guideus { color: var(--blue-600); }

.section-subtitle--guideus { color: var(--blue-600); }

.product-hero-cta--guideus {
  background: var(--blue-600);
}

.product-hero-cta--guideus:hover {
  background: var(--blue-700);
}

/* ── Floating Cards (GuideUs blue tint) ── */
.ph-card--guideus-bg {
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--blue-50) 100%);
  border-color: var(--blue-300);
}

.ph-card--guideus-bg .ph-card-keyword,
.ph-card--guideus-bg .ph-card-number,
.ph-card--guideus-bg .ph-card-label {
  color: var(--blue-600);
}

.ph-flow-pill--guideus {
  background: var(--blue-600);
}

.ph-flow-icon--guideus {
  background: rgba(255,255,255,0.2);
}

/* ── Feature Icon ── */
.feature-icon--guideus {
  background: var(--blue-100);
  color: var(--blue-600);
}

/* ── Checklist Icon ── */
.checklist-icon--guideus {
  background: var(--blue-100);
  color: var(--blue-600);
}

/* ── Product Tab ── */
.product-tab--guideus.active,
.product-tab--guideus:hover {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}

/* ── Preview Num ── */
.product-preview-num--guideus {
  color: var(--blue-600);
}

/* ── Comparison Highlight ── */
.comparison-table-wrap--guideus {
  border-color: var(--blue-300);
}

.comparison-highlight--guideus {
  background: var(--blue-50);
}

thead .comparison-highlight--guideus {
  background: var(--blue-600);
  color: var(--text-inverse);
}

/* ── CTA ── */
.cta-section--guideus {
  background:
    radial-gradient(ellipse at center 35%, rgba(59,130,246,0.25) 0%, transparent 55%),
    var(--gray-900);
  color: var(--text-inverse);
}

.cta-section--guideus .cta-badge {
  color: var(--blue-400);
}

.cta-section--guideus .cta-desc {
  color: var(--gray-300);
}

.cta-section--guideus .cta-btn {
  background: var(--blue-600);
  color: var(--text-inverse);
}

.text-blue { color: var(--blue-500); }

/* ===== Footer ===== */
.site-footer {
  background: var(--gray-950);
  color: rgba(253,253,253,0.6);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-50);
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 400px;
  color: rgba(253,253,253,0.6);
}

.footer-right {
  display: flex;
  gap: 48px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-group-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.03em;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--gray-50);
  transition: color 0.2s;
}

.footer-link[hidden] {
  display: none;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(253,253,253,0.2);
  font-size: 13px;
  color: var(--gray-300);
}

.footer-company-info {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-subtle);
}

/* ── Footer: Compact (서브페이지) ── */
.site-footer--compact {
  padding: 32px 0;
}

.site-footer--compact .footer-inner {
  display: none;
}

.site-footer--compact .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* ===== Scroll to Top Button ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34,34,34,0.4);
  color: var(--text-inverse);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary);
}

/* ===== Persona Slider (Why PangeA+?) ===== */
.persona-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.persona-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.persona-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.persona-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 48px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.persona-slide-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-number {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 14px;
  background: var(--primary-100);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.persona-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.persona-title-icon {
  color: var(--primary);
  font-size: 24px;
}

.persona-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.persona-concern-card {
  padding: 28px;
  background: var(--warm-100);
  border: 1px solid var(--warm-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.persona-answer-card {
  padding: 28px;
  background: var(--primary-100);
  border: 1px solid var(--primary-400);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.persona-col-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.persona-concern-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-concern-item {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.persona-concern-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary-600);
  border-radius: 50%;
}

.persona-answer-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-answer-item {
  padding: 16px 18px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.persona-answer-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.persona-answer-icon {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.persona-answer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.persona-answer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: 26px;
}

.persona-slogan {
  padding: 20px 24px;
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.persona-nav-btn {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  font-size: 16px;
  z-index: 2;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.persona-nav-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.persona-nav-prev {
  left: -24px;
}

.persona-nav-next {
  right: -24px;
}

.persona-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.persona-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.persona-dot.is-active {
  background: var(--primary);
  width: 28px;
}

/* ===== Interactive Q&A Section ===== */

/* Dark section background */
.section--dark {
  background: var(--gray-900);
  color: var(--text-inverse);
}

.section-subtitle--light {
  color: var(--primary-400);
  border-color: rgba(249, 206, 193, 0.3);
}

.heading-lg--light {
  color: var(--text-inverse);
}

.section-desc--light {
  color: var(--gray-400);
}

/* Persona cards */
.qna-persona-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.qna-persona-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: center;
}

.qna-persona-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.qna-persona-card.is-active {
  background: rgba(238, 98, 47, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 24px rgba(238, 98, 47, 0.15);
}

.qna-persona-avatar {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.35s ease;
}

.qna-persona-card.is-active .qna-persona-avatar {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(238, 98, 47, 0.3);
}

.qna-persona-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-400);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.qna-persona-card.is-active .qna-persona-role {
  color: var(--text-inverse);
}

.qna-persona-desc {
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.qna-persona-card.is-active .qna-persona-desc {
  color: var(--gray-400);
}

/* Chat container */
.qna-chat-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.qna-chat {
  max-width: 820px;
  margin: 0 auto;
}

/* 좌우 화살표 */
.qna-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  z-index: 2;
  padding: 16px 8px;
  transition: color 0.25s ease;
}

.qna-nav-btn:hover {
  color: var(--primary);
}

.qna-nav-prev { left: -52px; }
.qna-nav-next { right: -52px; }

.qna-panel {
  display: none;
  flex-direction: column;
  gap: 0;
}

.qna-panel.is-active {
  display: flex;
}

/* Thread: Q + A pair — 자리는 항상 확보, 시각적으로만 등장 */
.qna-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.qna-thread.is-visible {
  opacity: 1;
}

/* Bubble shared */
.qna-bubble {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 88%;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: default;
}

/* Question bubble — left aligned */
.qna-bubble--q {
  align-self: flex-start;
  cursor: default;
}

.qna-bubble--q .qna-bubble-body {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px 16px 16px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--gray-200);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.qna-thread.is-answered .qna-bubble--q .qna-bubble-body {
  background: rgba(238, 98, 47, 0.1);
  border-color: var(--primary-400);
}

/* Answer bubble — right aligned, 자리 확보 + 시각만 제어 */
.qna-bubble--a {
  align-self: flex-end;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.qna-thread.is-answered .qna-bubble--a {
  opacity: 1;
  transform: translateY(0);
}

.qna-bubble--a .qna-bubble-body {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  border-radius: 16px 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(238, 98, 47, 0.2);
}

/* Avatars */
.qna-bubble-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.qna-thread.is-answered .qna-bubble--q .qna-bubble-avatar {
  background: rgba(238, 98, 47, 0.15);
  color: var(--primary);
  border-color: var(--primary-400);
}

.qna-bubble-avatar--bot {
  background: var(--primary) !important;
  color: var(--text-inverse) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 16px rgba(238, 98, 47, 0.3);
}

/* Answer content */
.qna-a-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-inverse);
}

.qna-a-title i {
  font-size: 14px;
  opacity: 0.9;
}

.qna-a-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal[data-reveal="fade-up"] {
  transform: translateY(48px);
}

.scroll-reveal[data-reveal="fade-left"] {
  transform: translateX(-48px);
}

.scroll-reveal[data-reveal="fade-right"] {
  transform: translateX(48px);
}

.scroll-reveal[data-reveal="scale-up"] {
  transform: scale(0.85);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger delay for pipeline cards */
.scroll-reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.scroll-reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.scroll-reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.scroll-reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }
.scroll-reveal[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hero-bg-layer { animation: none !important; opacity: 0.7 !important; transform: scale(1.05) !important; }
  .hero-scroll-indicator { opacity: 1 !important; animation: none !important; }
  .hero-scroll-line { animation: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .about-grid { gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-banner { gap: 32px; }
  .showcase-product-logo { height: 36px; width: 180px; }
  .showcase-banner-title { font-size: 24px; }
  .footer-right { gap: 32px; }
  .cta-title { font-size: 36px; }
  .cta-section { padding: 100px 0; }
  .lifecycle-flow { column-gap: 16px; }

  /* Product Hero — 세로 스택 */
  .product-hero { min-height: auto; }
  .product-hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 48px;
  }
  .product-hero-text {
    padding-top: 0;
    text-align: center;
    align-items: center;
    width: 100%;
  }
  .product-hero-badge { align-self: center; }
  .product-hero-cta { align-self: center; }
  .product-hero-cards { display: none; }
  .product-hero-screenshot { display: none; }
  .product-hero-title { font-size: 40px; }
  .product-hero-subtitle { font-size: 22px; margin-bottom: 40px; }
  .product-hero-desc { margin-bottom: 40px; }
}

@media (max-width: 1024px) {
  .about-stats--wide { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  /* Header */
  .nav-list { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Page Header */
  .page-header { padding: 120px 0 48px; }
  .site-header--solid + .page-header--dark { padding-top: 120px; }
  .about-stats--wide { grid-template-columns: repeat(2, 1fr); }

  .nav-list.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav-list.is-open .nav-link {
    color: var(--text);
    font-size: 16px;
  }

  /* Hero */
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .hero-scroll-indicator { display: none; }

  /* Product Hero — 세로 스택, 가운데 정렬 */
  .product-hero { min-height: auto; }
  .product-hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 48px;
    gap: 32px;
  }
  .product-hero-text {
    text-align: center;
    align-items: center;
  }
  .product-hero-badge { align-self: center; }
  .product-hero-cta { align-self: center; }
  .product-hero-cards { display: none; }
  .product-hero-screenshot { display: none; }
  .product-hero-title { font-size: 28px; margin-bottom: 24px; }
  .product-hero-subtitle { font-size: 18px; margin-bottom: 28px; }
  .product-hero-desc { font-size: 15px; margin-bottom: 32px; }

  /* Checklist */
  .checklist-grid { grid-template-columns: 1fr; }

  /* Platform vs Service — tighter layout, bracket hidden */
  .lifecycle-flow {
    column-gap: 10px;
    row-gap: 6px;
  }
  .lifecycle-loop-bracket { display: none; }
  .lifecycle-head-platform,
  .lifecycle-head-service {
    padding: 12px 14px;
  }
  .lifecycle-step-platform,
  .lifecycle-step-service {
    padding: 12px 12px;
  }
  .lifecycle-cross-export,
  .lifecycle-cross-receive {
    padding: 8px 12px;
    font-size: 12px;
  }
  .lifecycle-footnote { font-size: 16px; padding: 20px 24px; }

  /* Platform vs Service — A안 반응형 */
  .role-compare-cards { grid-template-columns: 1fr; }
  .role-card-platform,
  .role-card-service { padding: 28px 24px; }
  .role-card-platform-title,
  .role-card-service-title { font-size: 18px; }
  .role-card-platform-item,
  .role-card-service-item { font-size: 14px; }
  .role-flow { padding: 20px 16px; gap: 8px; }
  .role-flow-platform-step,
  .role-flow-service-step { padding: 10px 14px; font-size: 12px; }
  .role-flow-loopback { font-size: 12px; padding: 8px 12px; }
  .role-takeaway { font-size: 16px; padding: 20px 24px; }
  .lifecycle-unified { grid-template-columns: 1fr; }
  .lcu-bridge {
    flex-direction: column;
    padding: 24px 20px;
    gap: 18px;
    min-width: auto;
  }
  .lcu-bridge-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .lcu-bridge-row--receive { flex-direction: column-reverse; }
  .lcu-bridge-label { font-size: 14px; }
  .lcu-bridge-desc { font-size: 12px; line-height: 1.5; }
  .lcu-bridge-arrow { width: 36px; height: 36px; font-size: 14px; }
  .lcu-bridge-loop { padding: 8px 16px; font-size: 12px; }
  .lcu-bridge-divider { width: 60%; }
  .lcu-bridge-caption { font-size: 12px; padding: 0 8px; line-height: 1.5; }
  .lcu-card { padding: 28px 24px; }

  /* Q&A — stack vertically */
  .qa-pair { grid-template-columns: 1fr; gap: 12px; }
  .qa-question-card,
  .qa-answer-card { padding: 24px 20px; }
  .qa-question-text { font-size: 16px; }

  /* Q&A Accordion — 모바일에서 축소 */
  .qa-accordion-summary { padding: 18px 20px; gap: 12px; }
  .qa-accordion-question { font-size: 14px; }
  .qa-accordion-body { padding: 16px 20px 20px; }

  /* Q&A — 모바일에서는 스크롤 리빌 애니메이션 비활성화 */
  .qa-section .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr; }

  /* Statement */
  .statement-section { min-height: 40vh; padding: 80px 0; }
  .statement-text { font-size: 32px; }

  /* Product Showcase */
  .product-showcase { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .product-showcase--pangea { margin-bottom: 32px; }
  .product-showcase--guideus .product-showcase-visual { order: -1; }
  .showcase-banner { grid-template-columns: 1fr; }
  .showcase-banner-visual--cards,
  .showcase-banner-visual--screenshot { display: none; }
  .showcase-pair { grid-template-columns: 1fr; gap: 24px; }
  .pair-card-pangea,
  .pair-card-guideus { padding: 32px 24px; gap: 24px; }
  .showcase-product-logo { height: 32px; width: 160px; }
  .showcase-banner-title { font-size: 22px; }
  .showcase-keywords { gap: 8px; }
  .showcase-keyword { padding: 6px 16px; font-size: 12px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-layout { grid-template-columns: 1fr; }
  .mission-visual { display: none; }
  .mission-value { grid-template-columns: 40px 1fr; gap: 16px; padding: 32px 0; }
  .mission-value-keyword { font-size: 26px; }
  .mission-value-desc br { display: none; }
  .brand-story { grid-template-columns: 1fr; gap: 40px; }
  .brand-story-visual { order: -1; }
  .brand-story-logo { width: 180px; height: 180px; }
  .brand-story-logo-img { width: 90px; }

  /* Brand Story Timeline - mobile */
  .bs-section { padding: 80px 0 64px; }
  .bs-header { margin-bottom: 48px; }
  .bs-header-logo-circle { width: 140px; height: 140px; }
  .bs-header-logo { width: 76px; }
  .bs-title { font-size: 24px; }
  .bs-timeline::before { left: 20px; }
  .bs-node { width: 100%; padding-left: 52px; padding-right: 0; text-align: left; }
  .bs-node--left { padding-right: 0; }
  .bs-node--right { margin-left: 0; padding-left: 52px; }
  .bs-node-dot { left: 13px !important; right: auto !important; }
  .bs-node--left.bs-reveal,
  .bs-node--right.bs-reveal { transform: translateX(0) translateY(24px); }
  .bs-node-title { font-size: 18px; }
  .bs-node-desc { font-size: 14px; }
  .bs-footer-quote { font-size: 17px; }

  .about-stats { grid-template-columns: repeat(3, 1fr); }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Persona Slider */
  .persona-slide { padding: 28px 20px; gap: 24px; }
  .persona-title { font-size: 18px; }
  .persona-title-icon { font-size: 18px; }
  .persona-body { grid-template-columns: 1fr; gap: 16px; }
  .persona-concern-card,
  .persona-answer-card { padding: 20px; }
  .persona-col-title { font-size: 16px; }
  .persona-slogan { font-size: 16px; padding: 16px 20px; }
  .persona-nav-prev { left: 8px; }
  .persona-nav-next { right: 8px; }
  .persona-nav-btn { width: 40px; height: 40px; }

  /* Q&A */
  .qna-persona-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 40px; }
  .qna-persona-card { padding: 16px 8px 14px; gap: 6px; }
  .qna-persona-avatar { width: 38px; height: 38px; font-size: 15px; }
  .qna-persona-role { font-size: 13px; }
  .qna-persona-desc { font-size: 11px; }
  .qna-nav-btn { font-size: 20px; padding: 12px 4px; }
  .qna-nav-prev { left: -8px; }
  .qna-nav-next { right: -8px; }
  .qna-bubble { max-width: 95%; }
  .qna-bubble--q .qna-bubble-body,
  .qna-bubble--a .qna-bubble-body { padding: 14px 16px; font-size: 14px; }
  .qna-bubble-avatar { width: 30px; height: 30px; font-size: 12px; }

  /* Product */
  .product-preview-desc { flex-direction: column; gap: 24px; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-title { font-size: 28px; }
  .cta-subtitle { font-size: 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .product-hero-title { font-size: 24px; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about-stat-value { font-size: 24px; }
}
