﻿/* ==========================================================================
   PAPER & PRINT 3D ARCHIVE - Clean Gothic, No Spin, High-Fidelity Blank Paper
   ========================================================================== */

:root {
  --bg-main: #f5f2ec;
  --bg-surface: #ffffff;
  --bg-subtle: #eae6de;
  --bg-dark: #191816;

  --text-main: #181715;
  --text-muted: #666258;
  --text-light: #9e9a8f;

  --accent-red: #e6392f;
  --accent-orange: #e06d3b;
  --accent-yellow: #facc15;
  --accent-blue: #2563eb;

  --border-subtle: #e2ded5;
  --border-strong: #cac4b7;

  /* 100% PURE GOTHIC / SANS-SERIF TYPOGRAPHY */
  --font-gothic: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 12px 32px -4px rgba(24, 23, 21, 0.1), 0 4px 12px rgba(24, 23, 21, 0.05);
  --shadow-hover: 0 28px 70px -8px rgba(24, 23, 21, 0.22);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-gothic) !important;
}

html, body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-gothic);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 100;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(245, 242, 236, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  background: var(--text-main);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.nav-btn {
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn:hover {
  color: var(--text-main);
}

.nav-btn.active {
  background: var(--text-main);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* View Sections */
.view-panel {
  display: none;
  padding-top: 86px;
  min-height: 100vh;
}

.view-panel.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

/* ==========================================================================
   3D ORBIT HERO (NO CARD ROTATION - PURE BLANK PAPER FOCUS)
   ========================================================================== */
.hero-3d-stage {
  position: relative;
  width: 100vw;
  height: calc(100vh - 86px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  cursor: grab;
}

.hero-3d-stage:active {
  cursor: grabbing;
}

.stage-bg-circle {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 225, 214, 0.8) 0%, rgba(245, 242, 236, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.stage-ambient-title {
  position: absolute;
  top: 5%;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.stage-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  background: var(--accent-red);
  color: #ffffff;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.stage-main-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-main);
  text-transform: uppercase;
}

.stage-main-title span {
  color: var(--accent-red);
}

.stage-instruction-pill {
  position: absolute;
  bottom: 30px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text-main);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.stage-instruction-pill .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

/* 3D CAROUSEL CONTAINER */
.orbit-carousel-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* 3D PAPER CARD (DOES NOT SPIN ON HOVER) */
.paper-card-3d {
  position: absolute;
  width: 230px;
  height: 330px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

/* Hover: DO NOT ROTATE/SPIN. Instead, elevate & highlight cleanly! */
.paper-card-3d:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--text-main);
  z-index: 9999 !important;
}

/* Large Pure Blank Texture Showcase (무지 종이 질감) */
.card-texture-showcase {
  position: relative;
  width: 100%;
  height: 235px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  transition: transform 0.4s ease;
}

/* Subtle micro-zoom of texture on card hover */
.paper-card-3d:hover .card-texture-showcase {
  transform: scale(1.04);
}

.card-cat-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(24, 23, 21, 0.82);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-gloss-tag {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-main);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.card-info-footer {
  padding: 14px 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.card-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.card-paper-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.card-badge-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-red);
}

.card-tag-line {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 700;
}

.card-weights-text {
  color: var(--text-muted);
}

.card-click-hint {
  color: var(--accent-red);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ==========================================================================
   POPUP MODAL (종이 클릭 시 상세 설명)
   ========================================================================== */
.modal-overlay-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 17, 15, 0.72);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay-3d.active {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}

.modal-card-container {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-round {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(24, 23, 21, 0.85);
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.modal-close-round:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

/* Large Texture Showcase in Modal Header */
.modal-top-hero {
  height: 250px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 28px 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-top-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(24, 23, 21, 0.85) 0%, rgba(24, 23, 21, 0.15) 60%, transparent 100%);
}

.modal-hero-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.modal-hero-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-hero-name {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.modal-hero-en {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.modal-inner-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-section-box {
  background: var(--bg-subtle);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.detail-heading {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.detail-p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.sensory-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sensory-item-card {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.sensory-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sensory-value-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-red);
  margin-top: 4px;
}

.caution-alert-box {
  background: #fff5f5;
  border: 1px solid #fecaca;
  padding: 22px;
  border-radius: var(--radius-md);
}

.caution-list {
  padding-left: 20px;
  font-size: 0.88rem;
  color: #991b1b;
  line-height: 1.65;
  margin-top: 8px;
}

/* Views & Containers */
.view-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.section-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 36px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive */
@media (max-width: 900px) {
  .header { padding: 0 20px; }
  .stage-main-title { font-size: 2.2rem; }
  .paper-card-3d { width: 175px; height: 260px; }
  .card-texture-showcase { height: 180px; }
}
/* ==========================================================================
   CLASSIFICATION PAGE STYLES (도공지 / 비도공지 / 러프글로스 심층 해설)
   ========================================================================== */

.classification-hero {
  margin-bottom: 48px;
}

/* Cross Section Visualizer Grid */
.cross-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.cross-section-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.cs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cs-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.cs-badge.coated { background: #fee2e2; color: #991b1b; }
.cs-badge.rough { background: #e0e7ff; color: #3730a3; }
.cs-badge.uncoated { background: #fef3c7; color: #92400e; }

.cs-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cs-subtitle {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Visual Layer Graphic */
.layer-visual-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.layer-slice-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.layer-slice {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.layer-ink {
  background: #181715;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}

.layer-coating {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.layer-pulp {
  background: #e8e2d5;
  color: #555045;
  border: 1px dashed #b8b09f;
}

.cs-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
}

.cs-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cs-feature-list strong {
  color: var(--text-main);
  white-space: nowrap;
}

/* Detailed Category Breakdown Sections */
.deep-dive-section {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

.deep-dive-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.deep-dive-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.deep-dive-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}

.deep-dive-article p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.pros-cons-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.pros-col, .cons-col {
  padding: 18px;
  border-radius: var(--radius-sm);
}

.pros-col {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cons-col {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.pc-title {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pros-col .pc-title { color: #166534; }
.cons-col .pc-title { color: #9a3412; }

.pc-list {
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.pros-col .pc-list { color: #14532d; }
.cons-col .pc-list { color: #7c2d12; }

/* Swatch Showcase inside Deep Dive */
.swatch-shelf {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border-subtle);
}

.swatch-shelf-title {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swatch-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swatch-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swatch-mini-card:hover {
  transform: translateX(4px);
  border-color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.swatch-mini-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.swatch-mini-info {
  flex-grow: 1;
}

.swatch-mini-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.swatch-mini-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .deep-dive-grid {
    grid-template-columns: 1fr;
  }
  .pros-cons-box {
    grid-template-columns: 1fr;
  }
  .deep-dive-section {
    padding: 24px;
  }
}
