/**
 * Tagless page — Figma "태그리스" (1920 기준)
 * 기존 토큰(design-tokens.css)과 .section / .container 레이아웃을 그대로 사용.
 */

/* ============ Hero (sol-hero 변형: 한글 뱃지) ============ */
.sol-hero__banner--tagless {
  background-image: url('../images/tagless/tagless-hero-bg.jpg');
}
.sol-hero__badge--ko {
  font-family: var(--font-family);
  font-weight: var(--fw-bold);
  font-size: 52px;
  letter-spacing: -0.02em;
}
@media (max-width: 1280px) { .sol-hero__badge--ko { font-size: 44px; } }
@media (max-width: 768px)  { .sol-hero__badge--ko { font-size: 32px; } }

/* ============ 공통 섹션 배경 ============ */
.section--accent { background-color: var(--bg-accent); }

/* ============ 01 핵심기능 : 이미지 상단 카드 2×2 ============ */
.tg-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tg-feat-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--border-default);
  background-color: var(--bg-primary);
  overflow: hidden;
}
.tg-feat-card__image {
  width: 100%;
  aspect-ratio: 788 / 420;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--gray-200);
}
.tg-feat-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 32px 36px;
}
.tg-num {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 6px;
  background-color: var(--interactive-accent-blue);
  color: var(--tx-white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.tg-feat-card__title {
  font-size: 26px;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--tx-primary);
}
.tg-feat-card__desc {
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 1.55;
  color: var(--tx-secondary);
}

/* ============ 02 QR vs 태그리스 비교 ============ */
.tg-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tg-cmp {
  padding: 36px;
  border-radius: 20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-default);
}
.tg-cmp--tagless {
  background-color: var(--interactive-accent-blue);
  border-color: var(--interactive-accent-blue);
}
.tg-cmp__head {
  padding-bottom: 20px;
  font-size: 26px;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--tx-secondary);
}
.tg-cmp--tagless .tg-cmp__head { color: var(--tx-white); }

.tg-cmp__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
}
.tg-cmp--tagless .tg-cmp__row { border-top-color: rgba(255, 255, 255, 0.28); }

.tg-cmp__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: var(--border-default);
  color: var(--tx-white);
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1;
}
.tg-cmp--tagless .tg-cmp__num {
  background-color: var(--bg-white);
  color: var(--interactive-accent-blue);
}
.tg-cmp__text { display: flex; flex-direction: column; gap: 5px; }
.tg-cmp__label {
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  color: var(--tx-muted);
}
.tg-cmp--tagless .tg-cmp__label { color: rgba(255, 255, 255, 0.82); }
.tg-cmp__value {
  font-size: 24px;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: var(--tx-primary);
}
.tg-cmp--tagless .tg-cmp__value {
  font-weight: var(--fw-semibold);
  color: var(--tx-white);
}

/* ============ 03 이용자·운영자 장점 ============ */
.tg-persona-grid,
.tg-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tg-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--border-default);
  background-color: var(--bg-primary);
  overflow: hidden;
}
.tg-card__image {
  width: 100%;
  aspect-ratio: 518 / 300;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--gray-200);
}
.tg-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 32px 36px;
}
.tg-card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tg-card__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background-color: var(--bg-accent);
  font-size: 18px;
  line-height: 1;
}
.tg-card__role {
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--interactive-primary);
}
.tg-card__title {
  font-size: 26px;
  font-weight: var(--fw-bold);
  line-height: 1.45;
  color: var(--tx-primary);
}
.tg-use-grid .tg-card__title { font-weight: var(--fw-semibold); }
.tg-card__desc {
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 1.65;
  color: var(--tx-secondary);
}

/* ============ 04 작동 방식 ============ */
.tg-flow-card {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 56px 44px 48px;
  border-radius: 24px;
  background-color: var(--bg-primary);
}
.tg-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.tg-flow__arrow {
  flex: 0 0 72px;
  display: flex;
  justify-content: center;
  padding-top: 92px;
  font-size: 28px;
  line-height: 1;
  color: var(--interactive-accent-blue);
}
.tg-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.tg-step__tag {
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #E8F2FF;
  color: var(--interactive-accent-blue);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
}
.tg-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background-color: var(--bg-accent);
  color: var(--interactive-accent-blue);
}
.tg-step__icon svg { width: 40px; height: 40px; }
.tg-step__title {
  font-size: 24px;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--tx-primary);
}
.tg-step__line {
  font-size: 17px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--tx-secondary);
}
.tg-step__line--accent {
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--interactive-accent-blue);
}

/* 각주 */
.tg-note {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tg-note__divider { height: 1px; background-color: var(--border-light); }
.tg-note__row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--tx-muted);
}

/* ============ 05 CTA ============ */
.cta-section--tagless {
  background-image:
    linear-gradient(rgba(8, 12, 32, 0.42), rgba(8, 12, 32, 0.42)),
    url('../images/tagless/tagless-cta-bg.jpg');
}
.cta-section__desc {
  font-size: var(--fs-h5);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  color: #E8EDF5;
}

/* ============ 반응형 ============ */
@media (max-width: 1280px) {
  .tg-feat-card__title,
  .tg-card__title { font-size: 22px; }
  .tg-cmp__value { font-size: 20px; }
  .tg-flow__arrow { flex-basis: 40px; padding-top: 86px; }
  .tg-flow-card { padding: 40px 28px; }
}

@media (max-width: 1024px) {
  .tg-persona-grid,
  .tg-use-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-flow { flex-wrap: wrap; row-gap: 40px; }
  .tg-step { flex-basis: calc(50% - 20px); }
  .tg-flow__arrow { display: none; }
}

@media (max-width: 768px) {
  .tg-feat-grid,
  .tg-compare,
  .tg-persona-grid,
  .tg-use-grid { grid-template-columns: 1fr; }
  .tg-step { flex-basis: 100%; }
  .tg-feat-card__body,
  .tg-card__body { padding: 24px 20px 28px; }
  .tg-cmp { padding: 24px 20px; }
  .tg-feat-card__title,
  .tg-card__title { font-size: 20px; }
  .tg-feat-card__desc,
  .tg-card__desc { font-size: 16px; }
  .tg-cmp__value { font-size: 18px; }
  .tg-cmp__head { font-size: 20px; }
  .tg-step__title { font-size: 20px; }
  .tg-step__line { font-size: 15px; }
  .tg-note__row { font-size: 14px; text-align: left; }
  .cta-section__desc { font-size: 16px; }
}
