@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Paperozi';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* =========================================
   기준: html 62.5% → 1rem = 10px
   ========================================= */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

:root {
  /* Dark Mode Theme */
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: #1E293B;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-tertiary: #CBD5E1;
  --color-accent: #7EC1FF;
  --color-accent-hover: #4DE9AB;
  --color-mint: #4DE9AB;
  --border-light: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(126, 193, 255, 0.5);
  --shadow-light: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 1.2rem 3.2rem rgba(77, 233, 171, 0.2);
  --shadow-glow: 0 0 2rem rgba(126, 193, 255, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Paperozi', sans-serif !important;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 20% 50%, rgba(126, 193, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(77, 233, 171, 0.05) 0%, transparent 50%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Paperozi', sans-serif !important;
}

/* ── 타이포그래피 위계 ── */
h1,
h2 {
  font-family: 'Paperozi', sans-serif !important;
  font-weight: 700;
}

h3,
h4 {
  font-family: 'Paperozi', sans-serif !important;
  font-weight: 500;
}

p,
span,
li,
a,
label,
input,
textarea,
select {
  font-family: 'Paperozi', sans-serif !important;
  font-weight: 400;
}

article p,
.seo-article__body p,
.seo-article__body li,
.faq-answer,
.ingredient-desc,
.result-description,
.feature-card__desc,
.tool-card__desc,
.hero-subtitle {
  font-weight: 300;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.4rem;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 144rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.site-header__logo {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-shadow: 0 0 1rem rgba(96, 165, 250, 0.3);
}

/* —— Hero Section —— */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 94vh;
  background-color: #0F172A;
  /* Data Grid Pattern - Minimal & Professional */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 45px 45px;
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ─── Hero Content ─── */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
  /* Increased padding for spaciousness */
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  /* Increased gap from 2.4rem to 4rem (1.67x) */
  width: 100%;
  max-width: 100rem;
  padding-inline: clamp(3.6rem, 8vw, 12rem);
  /* Increased horizontal padding (1.5x) */
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0;
  /* Increased size for emphasis */
  font-size: clamp(5.6rem, 9vw, 8rem);
  /* Increased from 4.4rem-7.6rem to 5.6rem-9.6rem */
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #FFFFFF;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.8);
}

/* Mint Green Highlight for "1초" */
.highlight-mint {
  color: #4DE9AB;
  font-weight: 900;
}

.hero-subtitle {
  margin: 0;
  /* Increased size */
  font-size: clamp(2.2rem, 3vw, 3rem);
  /* Increased from 1.9rem-2.6rem to 2.2rem-3rem */
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.8),
    0 2px 18px rgba(0, 0, 0, 0.6);
  max-width: 70rem;
}

/* Hero CTA Button - Solid Gradient with Mint Glow */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 6.4rem;
  padding-inline: 4.8rem;
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0F172A;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  border-radius: 1.2rem;
  box-shadow:
    0 0 3rem rgba(77, 233, 171, 0.5),
    0 1rem 3rem rgba(126, 193, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.hero-cta-btn:hover {
  transform: translateY(-0.4rem) scale(1.02);
  box-shadow:
    0 0 4rem rgba(77, 233, 171, 0.7),
    0 1.4rem 4rem rgba(126, 193, 255, 0.4);
}

.hero-cta-btn:active {
  transform: translateY(-0.2rem) scale(1.01);
}

@media (max-width: 768px) {
  .hero-container {
    padding-inline: clamp(2.4rem, 6vw, 8rem);
    gap: 3rem;
  }

  .hero-title {
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .hero-subtitle {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  }

  .hero-cta-btn {
    min-height: 5.6rem;
    padding-inline: 3.6rem;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    background-size: 35px 35px;
    /* Smaller grid on mobile */
  }

  .hero-container {
    gap: 2.4rem;
  }

  .hero-cta-btn {
    min-height: 5.2rem;
    padding-inline: 3.2rem;
    font-size: 1.7rem;
  }
}

/* —— SEO / Article Utilities —— */

/* 시각적으로 숨김, 스크린리더·검색봇은 읽음 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 목차 (Table of Contents) */
.toc {
  max-width: 86rem;
  margin: 3.2rem auto 0;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.toc__inner {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(126, 193, 255, 0.15);
  border-radius: 1.2rem;
  padding: 2rem 2.4rem;
}

.toc__label {
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.toc__list {
  margin: 0;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toc__list li {
  padding-bottom: 1.2rem;
}

.toc__link {
  font-size: 1.4rem;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

.toc__link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* 성분 ul/li 목록 */
.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-left: 0.4rem;
}

.ingredient-desc {
  font-size: 1.45rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* PC/모바일 줄바꿈 대응 수직 레이아웃 */
.ingredient-item--vertical {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

/* 브랜드 강조색 */
.brand-highlight {
  color: var(--color-accent);
  font-weight: 700;
}

/* 본문 내 내부 링크 */
.intext-link {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.4rem;
  transition: all 0.3s ease;
}

/* Step 레이블 박스 (High-End Badge Design) */
.step-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1.5rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}

/* 정보 레이블 박스 */
.info-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1.5rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 500;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}

/* 인라인 레이블 (추천/기피 성분용) */
.label-inline {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.05em;
}

/* 설명 레이블과 본문 강제 줄바꿈 (PC 최적화) */
.article-label {
  display: block;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.intext-link:hover {
  color: var(--color-accent-hover);
}

/* 성분 정보 intro 텍스트 */
.ingredient-info__intro {
  margin: -1rem 0 2.4rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

/* 심화 조언 H3 */
.seo-section-h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 3.2rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(126, 193, 255, 0.15);
}

/* FAQ */
.faq-item {
  margin-bottom: 3.2rem;
  padding: 2.4rem;
  background: rgba(30, 41, 59, 0.5);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 1.2rem 1.2rem 0;
}

.faq-question {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1.2rem;
}

.faq-answer {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}


/* —— Feature Cards Section —— */
.feature-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.feature-cards__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  max-width: 120rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
  gap: 2.4rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 3.6rem 3rem;
  text-align: left;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  border: 0.2rem solid rgba(148, 163, 184, 0.1);
  border-radius: 1.6rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-light);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 18rem;
}

.feature-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: var(--shadow-hover);
  border-color: rgba(126, 193, 255, 0.3);
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.1) 0%, rgba(77, 233, 171, 0.1) 100%);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:active {
  transform: translateY(-0.4rem) scale(1.01);
}

.feature-card__icon {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 1rem rgba(96, 165, 250, 0.3));
}

.feature-card__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.feature-card__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* —— Hero Tool Section —— */
.hero-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.hero-tool__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  width: 100%;
  max-width: 144rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
  align-items: center;
}

.hero-tool__content {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.hero-tool__title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: #2c2a29;
}

.hero-tool__subtitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(44, 42, 41, 0.65);
}

.hero-tool__form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.form-group {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  accent-color: #3276ff;
}

.checkbox-text {
  font-size: 1.6rem;
  font-weight: 500;
  color: #2c2a29;
}

.hero-tool__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding-inline: 3.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  color: #ffffff;
  background-color: #3276ff;
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2rem rgba(50, 118, 255, 0.15);
  transition: all 0.3s ease;
}

.hero-tool__cta:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3.2rem rgba(50, 118, 255, 0.25);
}

.hero-tool__cta:active {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.8rem 1.6rem rgba(50, 118, 255, 0.2);
}

.hero-tool__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(50, 118, 255, 0.08) 0%, rgba(255, 134, 169, 0.08) 100%);
  border-radius: 1.6rem;
}

.result-box.perfect {
  border: 2px solid #4DE9AB;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  animation: pulseCard 2s infinite;
}

.visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

/* —— Quick Tools Section —— */
.quick-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.quick-tools__container {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  max-width: 144rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.quick-tools__heading {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: #2c2a29;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.4rem;
  text-align: left;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 0.15rem solid rgba(44, 42, 41, 0.1);
  border-radius: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.4rem 1.2rem rgba(50, 118, 255, 0.08);
}

.tool-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(126, 193, 255, 0.2);
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  border-color: transparent;
  color: #ffffff;
}

.tool-card:hover {
  transform: translateY(-0.6rem);
  border-color: transparent;
  background: linear-gradient(135deg, #f0f4ff 0%, #fff0f5 100%);
  box-shadow: 0 1.2rem 3.2rem rgba(50, 118, 255, 0.15);
}

.tool-card:active {
  transform: translateY(-0.3rem);
}

.tool-card__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #2c2a29;
}

.tool-card__desc {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(44, 42, 41, 0.65);
}

.tool-card__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  font-size: 1.3rem;
  font-weight: 600;
  color: #3276ff;
  transition: color 0.3s ease;
}

.tool-card:hover .tool-card__cta {
  color: #ff86a9;
}

/* —— Diagnosis Result —— */
.diagnosis-result {
  margin-top: 2.4rem;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }

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

.skintype-recommendation {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  border: 2px solid #4DE9AB;
  border-radius: 1.2rem;
}

.result-box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.4rem;
  background: linear-gradient(135deg, rgba(50, 118, 255, 0.08) 0%, rgba(255, 134, 169, 0.08) 100%);
  border: 0.15rem solid rgba(50, 118, 255, 0.2);
  border-radius: 1.2rem;
}

.result-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #F8FAFC;
}

.result-description {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  color: #F8FAFC;
}

.result-warning {
  margin: 0;
  padding: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  color: #d32f2f;
  background-color: rgba(211, 47, 47, 0.08);
  border-left: 0.4rem solid #d32f2f;
  border-radius: 0.4rem;
}

.homecare-cta {
  display: block;
  width: 100%;
  padding: 1.6rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #ffffff;
  border: none;
  border-radius: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.result-reset-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding-inline: 2.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  color: #ffffff;
  background-color: #ff86a9;
  border-radius: 0.8rem;
  box-shadow: 0 0.8rem 1.6rem rgba(255, 134, 169, 0.15);
  transition: all 0.3s ease;
}

.result-reset-btn:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 1.2rem 2.4rem rgba(255, 134, 169, 0.25);
}

.result-reset-btn:active {
  transform: translateY(-0.1rem);
  box-shadow: 0 0.6rem 1.2rem rgba(255, 134, 169, 0.2);
}

/* —— SEO Content Section —— */
.seo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.seo-content__container {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.seo-content__title {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: #2c2a29;
}

.seo-content__body {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.seo-content__body p {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(44, 42, 41, 0.8);
  text-align: justify;
}

/* —— About Section —— */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding-block: clamp(6rem, 10vw, 10rem);
  margin-top: 4rem;
}

.about-text {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.9;
  text-align: center;
  color: var(--text-secondary);
  letter-spacing: 0.02rem;
  max-width: 80rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

/* —— Ingredient Page —— */
.ingredient-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.ingredient-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.ingredient-content {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
}

.ingredient-title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: #2c2a29;
}

.ingredient-subtitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(44, 42, 41, 0.65);
}

.ingredient-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.ingredient-textarea {
  width: 100%;
  min-height: 16rem;
  padding: 2rem;
  font-size: 1.6rem;
  font-family: inherit;
  line-height: 1.6;
  color: #2c2a29;
  background-color: #ffffff;
  border: 0.15rem solid rgba(44, 42, 41, 0.15);
  border-radius: 1.2rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ingredient-textarea:focus {
  outline: none;
  border-color: #3276ff;
  box-shadow: 0 0 0 0.3rem rgba(50, 118, 255, 0.1);
}

.ingredient-textarea::placeholder {
  color: rgba(44, 42, 41, 0.4);
}

.ingredient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding-inline: 3.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0F172A;
  background: linear-gradient(135deg, #3276ff 0%, #ff86a9 100%);
  border-radius: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ingredient-btn:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 1.2rem 3.2rem rgba(50, 118, 255, 0.25);
}

.ingredient-btn:active {
  transform: translateY(-0.1rem);
}

/* —— Result Area —— */
.result-area {
  display: none;
  animation: slideIn 0.4s ease;
}

.ingredient-result {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.result-safe {
  padding: 2.4rem;
  background: linear-gradient(135deg, rgba(50, 200, 100, 0.08) 0%, rgba(50, 200, 100, 0.04) 100%);
  border: 0.15rem solid rgba(50, 200, 100, 0.2);
  border-radius: 1.2rem;
}

.result-safe-text {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #F8FAFC;
}

.result-warning-header {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 134, 169, 0.1) 0%, rgba(255, 134, 169, 0.05) 100%);
  border: 0.15rem solid rgba(255, 134, 169, 0.2);
  border-radius: 1.2rem;
}

.result-warning-count {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #ff86a9;
}

.result-ingredients {
  padding: 2.4rem;
  background-color: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  border: 0.15rem solid rgba(248, 250, 252, 0.1);
  border-radius: 1.2rem;
}

.result-ingredients-title {
  margin: 0 0 1.2rem 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #F8FAFC;
}

.result-ingredients-text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #F8FAFC;
  word-break: break-word;
  white-space: pre-wrap;
}

.highlight-warning {
  background-color: #ff86a9;
  color: #ffffff;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
}

.result-warning-list {
  padding: 2.4rem;
  background: linear-gradient(135deg, rgba(255, 134, 169, 0.08) 0%, rgba(255, 134, 169, 0.04) 100%);
  border: 0.15rem solid rgba(255, 134, 169, 0.2);
  border-radius: 1.2rem;
}

.result-warning-list-title {
  margin: 0 0 1.2rem 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff86a9;
}

.warning-list {
  margin: 0;
  padding-left: 2rem;
  list-style: disc;
}

.warning-list li {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 0.8rem;
}

.result-reset-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding-inline: 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #3276ff 0%, #ff86a9 100%);
  border-radius: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.result-reset-btn:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.8rem 2.4rem rgba(50, 118, 255, 0.2);
}

.result-reset-btn:active {
  transform: translateY(-0.1rem);
}

/* —— Ingredient SEO Content —— */
.ingredient-seo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.ingredient-seo__container {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.ingredient-seo__title {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: #2c2a29;
}

.ingredient-seo__body {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.ingredient-seo__body p {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(44, 42, 41, 0.8);
  text-align: justify;
}

/* —— Footer —— */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.95);
  border-top: 0.1rem solid rgba(148, 163, 184, 0.1);
  padding-block: 2.4rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 144rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.footer-copyright {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.footer-link {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-divider {
  font-size: 1.3rem;
  color: rgba(148, 163, 184, 0.3);
}

/* —— Ad Banner —— */
.ad-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  padding: 4rem 2rem;
  background: transparent;
}

/* —— About Page Styles —— */

/* About Hero Section */
.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 45px 45px;
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.1);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.about-hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
  text-align: center;
}

.about-hero__title {
  margin: 0;
  font-size: clamp(4rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.8);
}

.about-hero__subtitle {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.8),
    0 2px 18px rgba(0, 0, 0, 0.6);
  max-width: 70rem;
}

/* Mission, Vision, Values Section */
.about-mvv {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.about-mvv__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 3.2rem;
  width: 100%;
  max-width: 120rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.mvv-card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 3.2rem;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.6rem;
  transition: all 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-0.6rem);
  border-color: rgba(126, 193, 255, 0.3);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 1.2rem 3.2rem rgba(126, 193, 255, 0.1);
}

.mvv-card__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mvv-card__content {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Core Values Section */
.about-values {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
  border-top: 0.1rem solid rgba(148, 163, 184, 0.1);
}

.about-values__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  max-width: 120rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.about-values__heading {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2.8rem;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.8rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  border: 0.15rem solid rgba(126, 193, 255, 0.2);
  border-radius: 1.6rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-0.8rem);
  border-color: rgba(126, 193, 255, 0.4);
  box-shadow: 0 1.6rem 4rem rgba(126, 193, 255, 0.15);
}

.value-card__icon {
  font-size: 4.8rem;
  line-height: 1;
}

.value-card__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.value-card__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* About Content Section */
.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
  border-top: 0.1rem solid rgba(148, 163, 184, 0.1);
}

.about-content__container {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.about-content__title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  color: #FFFFFF;
}

.about-content__body {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.about-content__body p {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-secondary);
  text-align: justify;
}

/* Operating Principles Section */
.about-principles {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
  border-top: 0.1rem solid rgba(148, 163, 184, 0.1);
}

.about-principles__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.about-principles__title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  color: #FFFFFF;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2.4rem;
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.4rem;
  background: rgba(30, 41, 59, 0.5);
  border-left: 0.4rem solid;
  border-image: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%) 1;
  border-radius: 0 1.2rem 1.2rem 0;
  transition: all 0.3s ease;
}

.principle-item:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateX(0.8rem);
}

.principle-item__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
}

.principle-item__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Contact Section */


/* Responsive Design */
@media (max-width: 768px) {
  .about-hero__title {
    font-size: clamp(3rem, 6vw, 4.8rem);
  }

  .about-hero__subtitle {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
  }

  .mvv-card {
    padding: 2.4rem;
  }

  .mvv-card__title {
    font-size: 1.8rem;
  }

  .mvv-card__content {
    font-size: 1.5rem;
  }

  .value-card {
    padding: 2.4rem;
  }

  .value-card__icon {
    font-size: 4rem;
  }

  .value-card__title {
    font-size: 1.8rem;
  }

  .value-card__desc {
    font-size: 1.4rem;
  }

  .about-content__body p {
    font-size: 1.5rem;
  }

  .principle-item {
    padding: 2rem;
  }

  .principle-item__title {
    font-size: 1.6rem;
  }

  .principle-item__desc {
    font-size: 1.4rem;
  }

  .about-contact__email {
    min-height: 5.2rem;
    padding-inline: 3.2rem;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    min-height: 50vh;
    background-size: 35px 35px;
  }

  .about-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
  }

  .about-hero__subtitle {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
  }

  .about-mvv__container {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .principles-list {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .about-contact__email {
    min-height: 4.8rem;
    padding-inline: 2.8rem;
    font-size: 1.5rem;
  }
}

/* —— Ingredient Page Styles —— */
#tool-area {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.ingredient-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.ingredient-tool__container {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.ingredient-tool__title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.ingredient-tool__subtitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* —— Policy Pages (Privacy & Terms) —— */

/* Policy Hero Section */
.policy-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 45px 45px;
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.1);
  padding-block: clamp(4rem, 6vw, 6rem);
}

.policy-hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
  text-align: center;
}

.policy-hero__title {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.8);
}

.policy-hero__subtitle {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Policy Content Section */
.policy-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.policy-content__container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

/* Policy Section */
.policy-section {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.policy-section__title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  padding-bottom: 1.2rem;
  border-bottom: 0.15rem solid rgba(126, 193, 255, 0.2);
}

.policy-section__subtitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 1.2rem;
}

.policy-section__text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-secondary);
  text-align: justify;
}

.policy-section__text--important {
  padding: 1.6rem;
  background: rgba(126, 193, 255, 0.08);
  border-left: 0.4rem solid #7EC1FF;
  border-radius: 0 0.8rem 0.8rem 0;
  color: #F1F5F9;
  font-weight: 500;
}

/* Policy List */
.policy-list {
  margin: 0;
  padding-left: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: disc;
}

.policy-list li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Highlight Section */
.policy-section--highlight {
  padding: 2.4rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  border: 0.15rem solid rgba(126, 193, 255, 0.2);
  border-radius: 1.2rem;
}

.policy-section--highlight .policy-section__title {
  border-bottom-color: rgba(126, 193, 255, 0.3);
  color: #FFFFFF;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
  .policy-hero__title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
  }

  .policy-hero__subtitle {
    font-size: 1.4rem;
  }

  .policy-section__title {
    font-size: 2rem;
  }

  .policy-section__subtitle {
    font-size: 1.6rem;
  }

  .policy-section__text {
    font-size: 1.5rem;
  }

  .policy-list li {
    font-size: 1.5rem;
  }

  .policy-section--highlight {
    padding: 1.8rem;
  }
}

@media (max-width: 480px) {
  .policy-hero {
    min-height: 35vh;
    background-size: 35px 35px;
  }

  .policy-hero__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }

  .policy-hero__subtitle {
    font-size: 1.3rem;
  }

  .policy-content__container {
    gap: 2.8rem;
  }

  .policy-section {
    gap: 1.2rem;
  }

  .policy-section__title {
    font-size: 1.8rem;
    padding-bottom: 0.8rem;
  }

  .policy-section__subtitle {
    font-size: 1.4rem;
    margin-top: 0.8rem;
  }

  .policy-section__text {
    font-size: 1.4rem;
  }

  .policy-list {
    padding-left: 1.8rem;
    gap: 0.8rem;
  }

  .policy-list li {
    font-size: 1.4rem;
  }

  .policy-section--highlight {
    padding: 1.4rem;
  }
}

.ingredient-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.ingredient-textarea {
  width: 100%;
  min-height: 16rem;
  padding: 2rem;
  font-size: 1.6rem;
  font-family: inherit;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 0.15rem solid rgba(148, 163, 184, 0.2);
  border-radius: 1.2rem;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ingredient-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.3rem rgba(96, 165, 250, 0.2);
}

.ingredient-textarea::placeholder {
  color: var(--text-secondary);
}

.ingredient-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding-inline: 3.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  color: #0F172A;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-mint) 100%);
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2rem rgba(96, 165, 250, 0.3);
  transition: all 0.3s ease;
}

.ingredient-btn:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3.2rem rgba(96, 165, 250, 0.4);
}

.ingredient-btn:active {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.8rem 1.6rem rgba(96, 165, 250, 0.3);
}

.result-area {
  margin-top: 2.4rem;
}

.result-message {
  padding: 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  border-radius: 1.2rem;
  animation: slideIn 0.4s ease;
}

.result-message.safe {
  color: #4ade80;
  background-color: rgba(74, 222, 128, 0.15);
  border: 0.15rem solid rgba(74, 222, 128, 0.3);
}

.result-message.warning {
  color: #f87171;
  background-color: rgba(248, 113, 113, 0.15);
  border: 0.15rem solid rgba(248, 113, 113, 0.3);
}

.result-box {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  background: rgba(30, 41, 59, 0.5);
  border: 0.15rem solid rgba(96, 165, 250, 0.3);
  border-radius: 1.2rem;
  animation: slideIn 0.4s ease;
}

.result-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.result-warning-count {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f87171;
}

.result-ingredients {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-label {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.result-text {
  margin: 0;
  padding: 1.2rem;
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--text-tertiary);
  background-color: rgba(15, 23, 42, 0.5);
  border-radius: 0.8rem;
  word-break: break-word;
}

.warning-highlight {
  color: #ffffff;
  background-color: #f87171;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 0.3rem;
}

.result-warning-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.warning-list {
  margin: 0;
  padding-left: 2rem;
  font-size: 1.5rem;
  color: var(--text-tertiary);
}

.warning-list li {
  margin-bottom: 0.6rem;
  color: #f87171;
  font-weight: 600;
}

/* 위험도별 스타일 */
.risk-high {
  border-left: 0.4rem solid #FF6B6B;
  padding-left: 1.6rem;
  background: rgba(255, 107, 107, 0.08);
  /* #FF6B6B transparent overlay */
  border-radius: 0.8rem;
  padding: 1.6rem;
}

.risk-high .result-label {
  color: #FF6B6B;
}

.risk-medium {
  border-left: 0.4rem solid #fbbf24;
  padding-left: 1.6rem;
  background: rgba(251, 191, 36, 0.08);
  border-radius: 0.8rem;
  padding: 1.6rem;
}

.risk-medium .result-label {
  color: #fbbf24;
}

.risk-low {
  border-left: 0.4rem solid #4ade80;
  padding-left: 1.6rem;
  background: rgba(74, 222, 128, 0.08);
  border-radius: 0.8rem;
  padding: 1.6rem;
}

.risk-low .result-label {
  color: #4ade80;
}

.warning-list .category {
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 0.6rem;
}

.warning-list .desc {
  font-size: 1.4rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-top: 0.4rem;
  display: inline-block;
}

.result-tip {
  margin-top: 1.6rem;
  padding: 1.6rem;
  background: rgba(96, 165, 250, 0.1);
  border-left: 0.4rem solid var(--color-accent);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-tertiary);
}

/* —— Ingredient Info Section —— */
.ingredient-info {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.ingredient-info__container {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  max-width: 144rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.ingredient-info__heading {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
}

.info-cards-wrapper {
  padding: 2.4rem;
  background-color: transparent;
  border-radius: 1.2rem;
}

.info-cards-wrapper .info-cards {
  margin: 0;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.4rem;
  background: var(--bg-card);
  border: 0.15rem solid rgba(148, 163, 184, 0.2);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 1.2rem 3.2rem rgba(96, 165, 250, 0.2);
}

.info-card__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.info-card__list {
  margin: 0;
  padding-left: 2rem;
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.info-card__list li {
  margin-bottom: 0.8rem;
}

.info-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 1.5rem;
  line-height: 1.6;
}

.ingredient-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: rgba(96, 165, 250, 0.2);
  color: var(--color-accent);
  font-weight: 700;
  border-radius: 2rem;
  white-space: nowrap;
}

.ingredient-arrow {
  color: var(--text-secondary);
  font-weight: 600;
}

.ingredient-desc {
  color: var(--text-tertiary);
  font-weight: 500;
}

.ingredient-tip {
  margin: 0;
  padding: 1rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-accent);
  background-color: rgba(96, 165, 250, 0.1);
  border-left: 0.3rem solid var(--color-accent);
  border-radius: 0.4rem;
}

/* —— SEO Article —— */
.seo-article {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 0.1rem solid rgba(148, 163, 184, 0.1);
  margin-top: 4rem;
}

.seo-article__container {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.seo-article__title {
  margin: 0;
  font-size: clamp(2.8rem, 2.5vw, 3.6rem);
  font-weight: 600;
  color: var(--text-primary);
}

.seo-article__body {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.seo-article__body p {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-tertiary);
  text-align: justify;
}

.highlight-blue {
  color: var(--color-accent);
  font-weight: 700;
}

.highlight-pink {
  color: var(--color-mint);
  font-weight: 700;
}

.tip-box {
  margin-top: 2.4rem;
  padding: 2.4rem;
  background-color: rgba(96, 165, 250, 0.1);
  border: 0.15rem solid rgba(96, 165, 250, 0.3);
  border-radius: 1.2rem;
}

.tip-box__title {
  margin: 0 0 1.2rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
}

.tip-box__content {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-tertiary);
  text-align: justify;
}

/* —— Responsive Design —— */
@media (max-width: 768px) {
  .site-header {
    min-height: 5.6rem;
  }

  .site-header__logo {
    font-size: 1.4rem;
    letter-spacing: 0.04em;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-card {
    padding: 3.2rem 2.8rem;
    min-height: 16rem;
  }

  .feature-card__icon {
    font-size: 3.6rem;
  }

  .feature-card__title {
    font-size: 1.9rem;
  }

  .feature-card__desc {
    font-size: 1.5rem;
  }

  .hero-tool__container {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-tool__visual {
    display: none;
  }

  .hero-tool__title {
    font-size: 2rem;
  }

  .hero-tool__subtitle {
    font-size: 1.4rem;
  }

  .hero-tool__form {
    gap: 1.4rem;
  }

  .checkbox-label {
    gap: 1rem;
  }

  .checkbox-input {
    width: 2.2rem;
    height: 2.2rem;
  }

  .checkbox-text {
    font-size: 1.5rem;
  }

  .hero-tool__cta {
    width: 100%;
    min-height: 4.8rem;
    font-size: 1.5rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .tool-card {
    padding: 2rem;
    gap: 1rem;
  }

  .tool-card__title {
    font-size: 1.6rem;
  }

  .tool-card__desc {
    font-size: 1.3rem;
  }

  .quick-tools__heading {
    font-size: 2rem;
  }

  .seo-content__title {
    font-size: 2rem;
  }

  .seo-content__body p {
    font-size: 1.5rem;
    text-align: left;
  }

  .about-text {
    font-size: 1.6rem;
  }

  .ingredient-title {
    font-size: 2rem;
  }

  .ingredient-subtitle {
    font-size: 1.4rem;
  }

  .ingredient-textarea {
    min-height: 14rem;
    padding: 1.6rem;
    font-size: 1.5rem;
  }

  .ingredient-btn {
    min-height: 4.8rem;
    font-size: 1.5rem;
  }

  .result-ingredients-text {
    font-size: 1.4rem;
  }

  .ingredient-seo__title {
    font-size: 2rem;
  }

  .ingredient-seo__body p {
    font-size: 1.5rem;
    text-align: left;
  }

  .footer-copyright {
    font-size: 1.2rem;
  }

  .footer-link {
    font-size: 1.2rem;
  }

  .footer-divider {
    font-size: 1.2rem;
  }

  .ingredient-tool__title {
    font-size: 2rem;
  }

  .ingredient-tool__subtitle {
    font-size: 1.4rem;
  }

  .ingredient-textarea {
    min-height: 14rem;
    padding: 1.6rem;
    font-size: 1.5rem;
  }

  .ingredient-btn {
    width: 100%;
    min-height: 4.8rem;
    font-size: 1.5rem;
  }

  .result-message {
    font-size: 1.6rem;
  }

  .result-box {
    padding: 2rem;
  }

  .result-title {
    font-size: 1.8rem;
  }

  .result-text {
    font-size: 1.4rem;
  }

  .warning-list {
    font-size: 1.4rem;
  }

  .ingredient-info__heading {
    font-size: 2rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .info-card {
    padding: 2rem;
  }

  .info-card__title {
    font-size: 1.6rem;
  }

  .info-card__list {
    font-size: 1.4rem;
  }

  .ingredient-item {
    font-size: 1.4rem;
  }

  .ingredient-badge {
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
  }

  .ingredient-tip {
    font-size: 1.3rem;
  }

  .seo-article__body p {
    font-size: 1.5rem;
    text-align: left;
  }

  .tip-box {
    padding: 2rem;
  }

  .tip-box__title {
    font-size: 1.6rem;
  }

  .tip-box__content {
    font-size: 1.5rem;
    text-align: left;
  }
}

.seo-article__title {
  font-size: 2rem;
}

.seo-article__body p {
  font-size: 1.5rem;
  text-align: left;
}


@media (max-width: 480px) {
  html {
    font-size: 55%;
  }

  .site-header__logo {
    font-size: 1.2rem;
  }

  .feature-grid {
    gap: 1.8rem;
  }

  .feature-card {
    padding: 3rem 2.4rem;
    min-height: 15rem;
  }

  .feature-card__icon {
    font-size: 3.2rem;
  }

  .feature-card__title {
    font-size: 1.7rem;
  }

  .feature-card__desc {
    font-size: 1.4rem;
  }

  .hero-tool__title {
    font-size: 1.8rem;
  }

  .hero-tool__subtitle {
    font-size: 1.3rem;
  }

  .checkbox-text {
    font-size: 1.4rem;
  }

  .quick-tools__heading {
    font-size: 1.8rem;
  }

  .seo-content__title {
    font-size: 1.8rem;
  }

  .tool-card {
    padding: 1.6rem;
    gap: 0.8rem;
  }

  .tool-card__title {
    font-size: 1.5rem;
  }

  .tool-card__desc {
    font-size: 1.2rem;
  }

  .seo-content__body p {
    font-size: 1.4rem;
  }

  .about-text {
    font-size: 1.5rem;
  }

  .ingredient-title {
    font-size: 1.8rem;
  }

  .ingredient-subtitle {
    font-size: 1.3rem;
  }

  .ingredient-textarea {
    min-height: 12rem;
    padding: 1.4rem;
    font-size: 1.4rem;
  }

  .ingredient-btn {
    min-height: 4.4rem;
    font-size: 1.4rem;
  }

  .result-ingredients-text {
    font-size: 1.3rem;
  }

  .ingredient-seo__title {
    font-size: 1.8rem;
  }

  .ingredient-seo__body p {
    font-size: 1.4rem;
  }

  .footer-copyright {
    font-size: 1.1rem;
  }

  .footer-link {
    font-size: 1.1rem;
  }

  .footer-divider {
    font-size: 1.1rem;
  }
}


/* —— Compatibility Page Styles —— */
.compatibility-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.compatibility-tool__container {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.compatibility-tool__title {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.compatibility-tool__subtitle {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

.compatibility-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.select-label {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
}

.compatibility-select {
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 0.15rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.compatibility-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.3rem rgba(96, 165, 250, 0.2);
}

.compatibility-select option {
  padding: 0.8rem;
  color: var(--text-primary);
  background-color: var(--bg-card);
}

.compatibility-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding-inline: 3.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-accent) 100%);
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2rem rgba(244, 114, 182, 0.3);
  transition: all 0.3s ease;
}

.compatibility-btn:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3.2rem rgba(244, 114, 182, 0.4);
}

.compatibility-btn:active {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.8rem 1.6rem rgba(244, 114, 182, 0.3);
}

.result-box {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  border-radius: 1.2rem;
  animation: slideIn 0.4s ease;
}

.result-box.ingredient-msg.error {
  background: rgba(255, 107, 107, 0.1);
  color: #FF6B6B;
  border-left: 4px solid #FF6B6B;
}

.result-box.result-conflict {
  background: rgba(248, 113, 113, 0.15);
  border: 0.15rem solid rgba(248, 113, 113, 0.3);
}

.result-box.result-synergy {
  background: rgba(96, 165, 250, 0.15);
  border: 0.15rem solid rgba(96, 165, 250, 0.3);
}

.result-box.result-neutral {
  background: rgba(74, 222, 128, 0.15);
  border: 0.15rem solid rgba(74, 222, 128, 0.3);
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.result-icon {
  font-size: 3.2rem;
}

.result-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.result-box.result-conflict .result-title {
  color: #f87171;
}

.result-box.result-synergy .result-title {
  color: var(--color-accent);
}

.result-box.result-neutral .result-title {
  color: #4ade80;
}

.result-ingredients {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-label {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.result-combo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.combo-badge {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: rgba(96, 165, 250, 0.2);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.6rem;
  border-radius: 2rem;
}

.combo-plus {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.result-advice {
  padding: 1.6rem;
  background-color: rgba(15, 23, 42, 0.5);
  border-radius: 0.8rem;
}

.advice-text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-tertiary);
}

.compatibility-info {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(4rem, 8vw, 8rem);
}

.compatibility-info__container {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  max-width: 144rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.compatibility-info__heading {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

/* —— Responsive Design for Compatibility —— */
@media (max-width: 768px) {
  .compatibility-tool__title {
    font-size: 2rem;
  }

  .compatibility-tool__subtitle {
    font-size: 1.4rem;
  }

  .select-label {
    font-size: 1.5rem;
  }

  .compatibility-select {
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
  }

  .compatibility-btn {
    width: 100%;
    min-height: 4.8rem;
    font-size: 1.5rem;
  }

  .result-header {
    gap: 1rem;
  }

  .result-icon {
    font-size: 2.8rem;
  }

  .result-title {
    font-size: 1.8rem;
  }

  .combo-badge {
    padding: 0.6rem 1.2rem;
    font-size: 1.5rem;
  }

  .combo-plus {
    font-size: 1.6rem;
  }

  .advice-text {
    font-size: 1.5rem;
  }

  .compatibility-info__heading {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .compatibility-tool__title {
    font-size: 1.8rem;
  }

  .compatibility-tool__subtitle {
    font-size: 1.3rem;
  }

  .select-label {
    font-size: 1.4rem;
  }

  .compatibility-select {
    padding: 0.9rem 1rem;
    font-size: 1.4rem;
  }

  .result-icon {
    font-size: 2.4rem;
  }

  .result-title {
    font-size: 1.6rem;
  }

  .combo-badge {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
  }

  .advice-text {
    font-size: 1.4rem;
  }

  .compatibility-info__heading {
    font-size: 1.8rem;
  }
}


/* —— Hamburger Menu —— */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 2.4rem;
  height: 0.2rem;
  background-color: var(--color-accent);
  border-radius: 0.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 0.5rem rgba(96, 165, 250, 0.3);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.8rem, 0.8rem);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.7rem, -0.7rem);
}

/* —— Menu Overlay —— */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 100%;
  max-width: 100%;
  padding: clamp(2.4rem, 6vw, 4rem);
  animation: slideInMenu 0.4s ease;
}

@keyframes slideInMenu {
  from {
    opacity: 0;
    transform: translateY(-2rem);
  }

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

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.2);
}

.menu-title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-close:hover {
  transform: rotate(90deg);
  color: var(--color-accent);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: center;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  padding: 1.6rem 1.2rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.menu-link:hover {
  background-color: rgba(96, 165, 250, 0.1);
  color: var(--color-accent);
  transform: translateX(0.4rem);
}

.menu-link.current {
  background-color: rgba(96, 165, 250, 0.2);
  color: var(--color-accent);
  font-weight: 700;
  box-shadow: 0 0 1rem rgba(96, 165, 250, 0.2);
}

/* —— Responsive: Show Hamburger Menu —— */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .menu-nav {
    padding: clamp(2rem, 6vw, 3rem);
  }

  .menu-link {
    padding: 1.4rem 1rem;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .menu-title {
    font-size: 2rem;
  }

  .menu-close {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 2rem;
  }

  .menu-link {
    padding: 1.2rem 0.8rem;
    font-size: 1.5rem;
  }
}

/* —— Skin Type Check Page —— */
.skintype-form {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-block: 2.4rem;
}

.skintype-question {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  border: 0.15rem solid rgba(248, 250, 252, 0.1);
  border-radius: 1.2rem;
  padding: 2.4rem;
  text-align: left;
}

.skintype-question__title {
  margin: 0 0 1.6rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #F8FAFC;
}

.skintype-options {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skintype-option {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem;
  background-color: rgba(15, 23, 42, 0.5);
  border: 0.15rem solid rgba(248, 250, 252, 0.1);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skintype-option:hover {
  background-color: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}

.skintype-option input[type="radio"],
.skintype-option input[type="checkbox"] {
  width: 2.2rem;
  height: 2.2rem;
  accent-color: #60A5FA;
  cursor: pointer;
  flex-shrink: 0;
}

.skintype-option__text {
  font-size: 1.6rem;
  font-weight: 500;
  color: #F8FAFC;
}

.hidden {
  display: none !important;
}

/* —— Matching Check Glow Effect —— */
.matching-check-glow {
  border: 0.2rem solid #388868;
  box-shadow: 0 0 1.5rem rgba(77, 233, 171, 0.3), inset 0 0 1rem rgba(77, 233, 171, 0.2);
  transition: all 0.3s ease;
  position: relative;
  border-radius: 1.6rem;
  padding: 2.4rem;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(2rem);
  -webkit-backdrop-filter: blur(2rem);
  margin-bottom: 4rem;
}

.matching-check-glow:hover {
  box-shadow: 0 0 1.5rem rgba(77, 233, 171, 0.5), inset 0 0 1rem rgba(77, 233, 171, 0.3);
  border-color: #388868;
}

.matching-check-glow__title {
  color: rgb(77, 233, 171);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.matching-check-glow__desc {
  color: #F8FAFC;
  font-size: 1.6rem;
  margin-bottom: 2.4rem;
}

.matching-btn-group {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.matching-btn-primary {
  background: rgb(126, 193, 255);
  color: #0F172A;
  padding: 1.2rem 2.4rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.matching-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.6rem rgba(60, 114, 165, 0.3);
}

.matching-btn-secondary {
  background: transparent;
  border: 1px solid #7EC1FF;
  color: #7EC1FF;
  padding: 1.2rem 2.4rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.matching-btn-secondary:hover {
  background: rgba(96, 165, 250, 0.1);
}

/* —— Timeline Card UI —— */
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4.8rem;
}

.timeline-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-group__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid rgba(148, 163, 184, 0.15);
}

.timeline-card {
  display: flex;
  flex-direction: column;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 1.6rem;
  padding: 3.2rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.6rem;
  background: linear-gradient(180deg, #7EC1FF 0%, #4DE9AB 100%);
}

.timeline-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.2rem 2.4rem rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
}

.timeline-card__step {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4DE9AB;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.timeline-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 1.6rem;
}

.timeline-card__desc {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: #CBD5E1;
  margin: 0;
}

/* =========================================
   New UI Styles (Added via User Instructions)
   ========================================= */

/* Header Right Content */
.site-header__right {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  /* Space between location text and hamburger */
}

.current-location {
  font-size: 1.4rem;
  color: #94A3B8;
  opacity: 0.8;
  font-weight: 500;
}

/* Summary Cards (Infographic) */
.summary-cards {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.6rem;
  padding: 2.4rem;
  box-shadow: 0 0.4rem 0.6rem rgba(0, 0, 0, 0.1);
}

.summary-card__emoji {
  font-size: 3.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.summary-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-card__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.summary-card__text {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Ingredient Analysis flex indent alignment */
.warning-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.warning-item__name {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.warning-item__desc {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text-secondary);
}

.warning-bullet,
.desc-bullet {
  flex-shrink: 0;
  font-weight: bold;
}


/* —— Skintype Page Enhancements —— */

/* PC 환경에서 Step 박스와 레이블 강제 줄바꿈 */
@media (min-width: 769px) {
  .ingredient-item--vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .step-badge,
  .info-badge {
    display: block;
    width: fit-content;
  }
}

/* 모바일에서도 동일하게 적용 */
@media (max-width: 768px) {

  .step-badge,
  .info-badge {
    display: block;
    width: fit-content;
    margin-bottom: 0.8rem;
  }
}


/* —— Emergency Soothing Cards —— */
.emergency-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2.4rem;
  margin-top: 3.2rem;
}

.emergency-card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 3.2rem 2.8rem;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  border: 0.2rem solid rgba(126, 193, 255, 0.2);
  border-radius: 1.6rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.3);
}

.emergency-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 1.2rem 3.2rem rgba(77, 233, 171, 0.2);
  border-color: rgba(126, 193, 255, 0.4);
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.1) 0%, rgba(77, 233, 171, 0.1) 100%);
}

.emergency-card__icon {
  font-size: 4.8rem;
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 0 1rem rgba(96, 165, 250, 0.3));
}

.emergency-card__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  text-align: center;
}

.emergency-card__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: left;
}

.emergency-card__desc strong {
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .emergency-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .emergency-card {
    padding: 2.8rem 2.4rem;
  }

  .emergency-card__icon {
    font-size: 4rem;
  }

  .emergency-card__title {
    font-size: 1.8rem;
  }

  .emergency-card__desc {
    font-size: 1.4rem;
  }
}

/* —— Skin Type Diagnostic Form —— */
.skintype-form {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
}

.skintype-question {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
  background: rgba(30, 41, 59, 0.4);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.2rem;
}

.question-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.4rem 1.5rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}

.skintype-question__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

.skintype-options {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skintype-option-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem;
  background: rgba(15, 23, 42, 0.3);
  border: 0.15rem solid rgba(126, 193, 255, 0.2);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skintype-option-card:hover {
  border-color: var(--color-accent);
  background: rgba(126, 193, 255, 0.08);
  transform: translateX(0.4rem);
}

.skintype-option-card input[type="radio"] {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.skintype-option-card input[type="radio"]:checked+.option-label {
  color: var(--color-accent);
  font-weight: 700;
}

.option-label {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.skintype-option-card:has(input[type="radio"]:checked) {
  border-color: var(--color-accent);
  background: rgba(126, 193, 255, 0.12);
  box-shadow: 0 0 1rem rgba(126, 193, 255, 0.2);
}

/* Result Card Fade-in */
@keyframes fadeInResult {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

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

.result-area:not(.hidden) {
  display: block;
  animation: fadeInResult 0.5s ease;
}

.result-area.hidden {
  display: none;
}

.result-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3.2rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.1) 0%, rgba(77, 233, 171, 0.1) 100%);
  border: 0.2rem solid rgba(126, 193, 255, 0.3);
  border-radius: 1.6rem;
  box-shadow: 0 0.8rem 3.2rem rgba(126, 193, 255, 0.15);
  animation: fadeInResult 0.6s ease;
}

.result-card__header {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.result-card__type {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.result-card__typename {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  opacity: 0.8;
  color: #7EC1FF;
  margin-top: 0.8rem;
}

.result-card__description {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.result-card__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.result-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem;
  background: rgba(15, 23, 42, 0.4);
  border-left: 0.4rem solid var(--color-accent);
  border-radius: 0.8rem;
}

.result-section__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-section__text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.result-tip-box {
  margin-top: 1.6rem;
  padding: 1.6rem;
  background: rgba(77, 233, 171, 0.1);
  border-left: 0.4rem solid var(--color-pink);
  border-radius: 0.8rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-tertiary);
}

.result-disclaimer {
  margin-top: 2rem;
  padding: 1.2rem;
  font-size: 1.3rem;
  text-align: center;
  color: var(--text-secondary);
  opacity: 0.8;
  border-top: 0.1rem solid rgba(126, 193, 255, 0.15);
}

/* Button State */
.ingredient-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ingredient-btn:disabled:hover {
  transform: none;
  box-shadow: 0 1rem 2rem rgba(96, 165, 250, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .skintype-form {
    gap: 2.4rem;
  }

  .skintype-question {
    padding: 2rem;
    gap: 1.4rem;
  }

  .question-badge {
    font-size: 1.2rem;
    padding: 0.3rem 1.2rem;
  }

  .skintype-question__title {
    font-size: 1.6rem;
  }

  .skintype-options {
    gap: 1rem;
  }

  .skintype-option-card {
    padding: 1.4rem;
    gap: 1rem;
  }

  .option-label {
    font-size: 1.5rem;
  }

  .result-card {
    padding: 2.4rem;
    gap: 1.6rem;
  }

  .result-card__type {
    font-size: 2.2rem;
  }

  .result-card__description {
    font-size: 1.5rem;
  }

  .result-section {
    padding: 1.4rem;
    gap: 0.8rem;
  }

  .result-section__title {
    font-size: 1.4rem;
  }

  .result-section__text {
    font-size: 1.5rem;
  }

  .result-tip-box {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .skintype-question {
    padding: 1.6rem;
    gap: 1.2rem;
  }

  .question-badge {
    font-size: 1.1rem;
    padding: 0.3rem 1rem;
  }

  .skintype-question__title {
    font-size: 1.5rem;
  }

  .skintype-option-card {
    padding: 1.2rem;
    gap: 0.8rem;
  }

  .skintype-option-card input[type="radio"] {
    width: 1.8rem;
    height: 1.8rem;
  }

  .option-label {
    font-size: 1.4rem;
  }

  .result-card {
    padding: 2rem;
    gap: 1.4rem;
  }

  .result-card__type {
    font-size: 2rem;
  }

  .result-card__description {
    font-size: 1.4rem;
  }

  .result-section {
    padding: 1.2rem;
  }

  .result-section__title {
    font-size: 1.3rem;
  }

  .result-section__text {
    font-size: 1.4rem;
  }

  .result-tip-box {
    font-size: 1.3rem;
  }

  .result-disclaimer {
    font-size: 1.2rem;
  }
}


/* =========================================
   Interaction Card Tool — Shared Styles
   (d-1, soothing, trace pages)
   ========================================= */

/* 고민 선택 카드 그리드 */
.concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
}

@media (max-width: 768px) {
  .concern-grid {
    grid-template-columns: 1fr;
  }
}

/* 개별 고민 카드 */
.concern-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2.8rem 2rem;
  background: rgba(15, 23, 42, 0.5);
  border: 0.2rem solid rgba(126, 193, 255, 0.2);
  border-radius: 1.6rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.concern-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.concern-card:hover::before,
.concern-card.is-active::before {
  opacity: 1;
}

.concern-card:hover {
  border-color: rgba(126, 193, 255, 0.5);
  transform: translateY(-0.4rem);
  box-shadow: 0 0.8rem 2.4rem rgba(126, 193, 255, 0.2);
}

.concern-card.is-active {
  border-color: #4DE9AB;
  box-shadow: 0 0 1.6rem rgba(77, 233, 171, 0.35);
}

.concern-card__icon {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 0.8rem rgba(126, 193, 255, 0.3));
}

.concern-card__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #F1F5F9;
  margin: 0;
  line-height: 1.4;
}

.concern-card__sub {
  font-size: 1.3rem;
  color: #94A3B8;
  margin: 0;
}

/* 블러 리빌 결과 영역 */
.prescription-area {
  margin-top: 3.2rem;
}

.prescription-area.hidden {
  display: none;
}

/* 처방전 카드 */
.prescription-card {
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  border: 0.2rem solid rgba(77, 233, 171, 0.35);
  border-radius: 1.6rem;
  padding: 3.2rem;
  animation: blurReveal 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes blurReveal {
  from {
    opacity: 0;
    filter: blur(0.8rem);
    transform: translateY(1.2rem);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.prescription-card__header {
  margin-bottom: 2.4rem;
}

.prescription-card__catchphrase {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.6rem 0;
}

.prescription-card__typename {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #7EC1FF;
  opacity: 0.85;
  margin-top: 0.4rem;
}

.prescription-card__desc {
  font-size: 1.6rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin: 1.2rem 0 0 0;
}

/* 처방전 내부 섹션 그리드 */
.prescription-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .prescription-sections {
    grid-template-columns: 1fr;
  }
}

.prescription-section {
  background: rgba(15, 23, 42, 0.4);
  border-left: 0.3rem solid rgba(126, 193, 255, 0.4);
  border-radius: 0 1rem 1rem 0;
  padding: 1.6rem 2rem;
}

.prescription-section--warn {
  border-left-color: rgba(255, 107, 107, 0.6);
}

.prescription-section--tip {
  border-left-color: rgba(77, 233, 171, 0.6);
}

.prescription-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7EC1FF;
  margin: 0 0 0.8rem 0;
}

.prescription-section--warn .prescription-section__title {
  color: #FF6B6B;
}

.prescription-section--tip .prescription-section__title {
  color: #4DE9AB;
}

.prescription-section__text {
  font-size: 1.45rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin: 0;
}

.prescription-disclaimer {
  margin-top: 2rem;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: #64748B;
  line-height: 1.6;
}


/* =========================================
   Personal Color Page — 퍼스널 무드 팔레트
   ========================================= */

/* 진단 폼 */
.pc-form {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* 질문 블록 */
.pc-question {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.8rem;
  background: rgba(30, 41, 59, 0.5);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.6rem;
  transition: border-color 0.3s ease;
}

.pc-question:focus-within {
  border-color: rgba(126, 193, 255, 0.35);
}

.pc-question__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

/* 컬러 칩 그리드 */
.pc-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.pc-chip-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

/* 컬러 칩 카드 */
.chip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem 1.6rem;
  background: rgba(15, 23, 42, 0.5);
  border: 0.2rem solid rgba(148, 163, 184, 0.2);
  border-radius: 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.chip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.06) 0%, rgba(77, 233, 171, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chip-card:hover {
  border-color: rgba(126, 193, 255, 0.4);
  transform: translateY(-0.4rem);
  box-shadow: 0 0.8rem 2.4rem rgba(126, 193, 255, 0.15);
}

.chip-card:hover::before {
  opacity: 1;
}

/* 선택된 칩 — 브랜드 그라데이션 테두리 */
.chip-card.is-selected {
  border-color: transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 0.2rem transparent,
    inset 0 0 0 0.2rem transparent;
  outline: 0.25rem solid transparent;
  position: relative;
}

.chip-card.is-selected::after {
  content: '';
  position: absolute;
  inset: -0.2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  z-index: -1;
}

.chip-card.is-selected {
  border-color: transparent;
  transform: translateY(-0.4rem);
  box-shadow: 0 0.8rem 2.8rem rgba(77, 233, 171, 0.3);
}

/* 컬러 블록 */
.chip-card__color {
  width: 100%;
  height: 8rem;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.chip-card:hover .chip-card__color {
  transform: scale(1.03);
}

/* 칩 레이블 */
.chip-card__label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── 결과 영역 ── */
.pc-result-wrap {
  display: none;
  position: relative;
  margin-top: 3.2rem;
  border-radius: 1.6rem;
  overflow: hidden;
}

.pc-result-wrap.is-visible {
  display: block;
}

/* 블러 오버레이 */
.pc-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(15, 23, 42, 0.4);
  z-index: 2;
  border-radius: 1.6rem;
  transition: backdrop-filter 1.5s ease, opacity 1.5s ease;
}

.pc-blur-overlay.is-revealed {
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
}

/* 결과 카드 */
.pc-result-card {
  padding: 3.2rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.08) 0%, rgba(77, 233, 171, 0.08) 100%);
  border: 0.2rem solid rgba(77, 233, 171, 0.3);
  border-radius: 1.6rem;
}

/* 결과 페르소나 */
.pc-result__persona {
  margin: 0 0 1.2rem;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pc-result__typename {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #7EC1FF;
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}

.pc-result__desc {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-tertiary);
}

/* 컬러 팔레트 블록 */
.pc-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 0;
}

.pc-palette__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.pc-palette__color {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pc-palette__color:hover {
  transform: scale(1.06);
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.4);
}

.pc-palette__label {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* 추천 그리드 */
.pc-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

/* 추천 섹션 */
.pc-rec-section {
  padding: 1rem 1.2rem;
  background: rgba(15, 23, 42, 0.4);
  border-left: 0.3rem solid rgba(126, 193, 255, 0.5);
  border-radius: 0 1rem 1rem 0;
}

.pc-rec-section--tip {
  border-left-color: rgba(77, 233, 171, 0.6);
}

.pc-rec-section--warn {
  border-left-color: rgba(255, 107, 107, 0.6);
}

.pc-rec-section__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.pc-rec-section--tip .pc-rec-section__title {
  color: #4DE9AB;
}

.pc-rec-section--warn .pc-rec-section__title {
  color: #FF6B6B;
}

.pc-rec-section__text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-tertiary);
}

/* 면책 문구 */
.pc-disclaimer {
  margin: 0.8rem 0 0;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.5;
  text-align: center;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .pc-question {
    padding: 2rem;
    gap: 1.4rem;
  }

  .pc-question__title {
    font-size: 1.6rem;
  }

  .pc-chip-grid {
    gap: 1.2rem;
  }

  .pc-chip-grid--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .chip-card {
    padding: 1.6rem 1.2rem;
    gap: 1rem;
  }

  .chip-card__color {
    height: 6rem;
  }

  .chip-card__label {
    font-size: 1.3rem;
  }

  .pc-result-card {
    padding: 2.4rem;
  }

  .pc-palette {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .pc-recommend-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .pc-question {
    padding: 1.6rem;
  }

  .pc-question__title {
    font-size: 1.5rem;
  }

  .pc-chip-grid--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .chip-card {
    padding: 1.2rem 0.8rem;
    gap: 0.8rem;
  }

  .chip-card__color {
    height: 5rem;
  }

  .chip-card__label {
    font-size: 1.2rem;
  }

  .pc-result-card {
    padding: 2rem;
  }

  .pc-palette {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .pc-result__persona {
    font-size: 2.2rem;
  }

  .pc-result__typename {
    font-size: 1.4rem;
  }

  .pc-result__desc {
    font-size: 1.5rem;
  }

  .pc-rec-section {
    padding: 1.4rem 1.6rem;
  }

  .pc-rec-section__title {
    font-size: 1.3rem;
  }

  .pc-rec-section__text {
    font-size: 1.35rem;
  }
}


/* =========================================
   Weather Page — 오늘의 피부 날씨
   ========================================= */

/* 로더 영역 */
.wx-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 4.8rem 2rem;
  text-align: center;
}

.wx-loader__icon {
  font-size: 6.4rem;
  line-height: 1;
  animation: wxPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 1.6rem rgba(126, 193, 255, 0.4));
}

@keyframes wxPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.wx-loader__text {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.wx-loader__sub {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color 0.4s ease;
}

/* 점 애니메이션 */
.wx-dots::after {
  content: '';
  animation: wxDots 1.4s steps(4, end) infinite;
}

@keyframes wxDots {
  0% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }

  100% {
    content: '';
  }
}

/* 결과 래퍼 */
.wx-result-wrap {
  display: none;
  position: relative;
  margin-top: 3.2rem;
  border-radius: 1.6rem;
  overflow: hidden;
}

/* 블러 오버레이 */
.wx-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(15, 23, 42, 0.45);
  z-index: 2;
  border-radius: 1.6rem;
  transition: backdrop-filter 1.5s ease, opacity 1.5s ease;
}

.wx-blur-overlay.is-revealed {
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
}

/* 결과 카드 */
.wx-result-card {
  padding: 3.6rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.07) 0%, rgba(77, 233, 171, 0.07) 100%);
  border: 0.2rem solid rgba(77, 233, 171, 0.25);
  border-radius: 1.6rem;
}

/* 월 레이블 */
.wx-result__month {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.5rem 1.6rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.06em;
}

/* 히어로 영역 */
.wx-result__hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.wx-result__season-icon {
  font-size: 5.6rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 1.2rem rgba(126, 193, 255, 0.35));
}

.wx-result__season-name {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.wx-result__alert {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.wx-alert--warn {
  color: #FCD34D;
}

.wx-alert--danger {
  color: #F87171;
}

/* 설명 텍스트 */
.wx-result__desc {
  margin: 0 0 2.8rem;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-tertiary);
}

/* 루틴 그리드 */
.wx-routine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 2rem;
}

/* 루틴 스텝 */
.wx-routine-step {
  padding: 2rem;
  background: rgba(15, 23, 42, 0.45);
  border-left: 0.3rem solid rgba(126, 193, 255, 0.5);
  border-radius: 0 1.2rem 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wx-routine-step__badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.wx-routine-step__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.wx-routine-step__text {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-tertiary);
}

/* 하단 푸터 그리드 */
.wx-result__footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.wx-footer-section {
  padding: 1.8rem 2rem;
  background: rgba(15, 23, 42, 0.4);
  border-left: 0.3rem solid rgba(126, 193, 255, 0.4);
  border-radius: 0 1rem 1rem 0;
}

.wx-footer-section--warn {
  border-left-color: rgba(248, 113, 113, 0.6);
}

.wx-footer-section--tip {
  border-left-color: rgba(77, 233, 171, 0.6);
}

.wx-footer-section__title {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
}

.wx-footer-section--warn .wx-footer-section__title {
  color: #F87171;
}

.wx-footer-section--tip .wx-footer-section__title {
  color: #4DE9AB;
}

.wx-footer-section__text {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-tertiary);
}

/* 면책 문구 */
.wx-disclaimer {
  margin: 0;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: #64748B;
  line-height: 1.6;
  text-align: center;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .wx-loader {
    padding: 3.6rem 1.6rem;
  }

  .wx-loader__icon {
    font-size: 5.6rem;
  }

  .wx-loader__text {
    font-size: 2rem;
  }

  .wx-result-card {
    padding: 2.4rem;
  }

  .wx-result__hero {
    gap: 1.6rem;
  }

  .wx-result__season-icon {
    font-size: 4.8rem;
  }

  .wx-routine-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .wx-result__footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .wx-loader__icon {
    font-size: 4.8rem;
  }

  .wx-loader__text {
    font-size: 1.8rem;
  }

  .wx-result-card {
    padding: 2rem;
  }

  .wx-result__hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .wx-result__season-icon {
    font-size: 4rem;
  }

  .wx-result__desc {
    font-size: 1.5rem;
  }

  .wx-routine-step {
    padding: 1.6rem;
  }

  .wx-routine-step__title {
    font-size: 1.5rem;
  }

  .wx-routine-step__text {
    font-size: 1.35rem;
  }

  .wx-footer-section {
    padding: 1.4rem 1.6rem;
  }

  .wx-footer-section__title {
    font-size: 1.3rem;
  }

  .wx-footer-section__text {
    font-size: 1.35rem;
  }
}


/* =========================================
   Personal Color — Swiper Card Stack
   ========================================= */

/* 결과 카드 컨테이너 재정의 (Swiper 래퍼) */
.pc-result-card {
  padding: 2.4rem 2.4rem 3.2rem;
  background: transparent;
  border: none;
}

/* Swiper 컨테이너 */
.pc-swiper {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding-bottom: 2rem !important;
  overflow: visible !important;
}

/* 스와이프 힌트 */
.pc-swiper-hint {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* 개별 Swiper 슬라이드 */
.pc-swiper-slide {
  border-radius: 2rem;
  overflow: hidden;
  height: auto !important;
  max-height: 75vh;
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 비활성 슬라이드 — 텍스트 겹침 방지 */
.pc-swiper-slide:not(.swiper-slide-active) {
  pointer-events: none;
}

.pc-swiper-slide:not(.swiper-slide-active) .pc-swiper-card>*:not(.pc-card__match-badge) {
  visibility: hidden;
}

/* 카드 본체 */
.pc-swiper-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.8rem;
  border: 0.2rem solid rgba(77, 233, 171, 0.3);
  border-radius: 2rem;
  background: #0F172A;
  min-height: 0;
  max-height: 75vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  word-break: keep-all;
}

.pc-swiper-card::-webkit-scrollbar {
  display: none;
}

/* 나의 톤 배지 */
.pc-card__match-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.5rem 1.4rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 2rem;
  letter-spacing: 0.04em;
  z-index: 1;
}

/* 카드 헤더 */
.pc-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pc-card__persona {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.pc-card__typename {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  color: #7EC1FF;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
  word-break: keep-all;
}

.pc-card__desc {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-tertiary);
  word-break: keep-all;
}

/* 추천 그리드 (2열) */
.pc-card__recs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* 카드 푸터 (2열) */
.pc-card__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* feature-card--new 뱃지 효과 */
.feature-card--new {
  border-color: rgba(77, 233, 171, 0.25) !important;
}

.feature-card--new::after {
  content: 'NEW';
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  padding: 0.3rem 0.9rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.06em;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .pc-swiper-slide {
    max-height: none;
    height: auto !important;
  }

  .pc-swiper-card {
    padding: 1.6rem;
    gap: 1rem;
    max-height: none;
    height: auto;
  }

  .pc-card__recs,
  .pc-card__footer {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .pc-palette {
    grid-template-columns: repeat(4, 1fr);
  }

  .pc-rec-section__text {
    word-break: keep-all;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .pc-swiper-card {
    padding: 1.4rem;
    gap: 0.8rem;
    max-height: none;
    height: auto;
  }

  .pc-card__persona {
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .pc-card__desc,
  .pc-rec-section__text {
    font-size: 1.2rem;
    line-height: 1.6;
    word-break: keep-all;
  }

  .pc-palette {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   Article Readability Refactor (전체 서브페이지)
   ========================================= */

/* 본문 단락 줄간격 강화 */
.seo-article__body p,
.seo-article__body li {
  line-height: 1.9;
}

/* h2 소제목 여백 & 컬러 */
.seo-article__title {
  color: #7EC1FF !important;
  margin-bottom: 2.4rem;
}

/* h3 소제목 여백 & 컬러 */
.seo-section-h3 {
  margin-top: 3.2rem !important;
  margin-bottom: 1.4rem;
  color: #7EC1FF;
  font-size: 1.9rem;
  font-weight: 700;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(126, 193, 255, 0.2);
}

/* 정보성 텍스트 블록 — 은은한 배경 라운드 박스 */
.seo-article__body p {
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  margin: 0;
}

/* 리스트 아이템 박스 */
.ingredient-item.ingredient-item--vertical {
  padding: 1.6rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border-left: 0.3rem solid rgba(126, 193, 255, 0.25);
}

/* FAQ 아이템 가독성 */
.faq-answer {
  line-height: 1.9 !important;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.6rem;
}


/* =========================================
   Texture Layering Slider Page
   ========================================= */

/* 슬라이더 폼 */
.tx-form {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* 슬라이더 그룹 */
.tx-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2.8rem;
  background: rgba(30, 41, 59, 0.5);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.6rem;
  transition: border-color 0.3s ease;
}

.tx-slider-group:focus-within {
  border-color: rgba(126, 193, 255, 0.4);
}

.tx-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.tx-slider-label {
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.tx-slider-value {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 4rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tx-slider-desc {
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

/* 슬라이더 트랙 래퍼 */
.tx-slider-track-wrap {
  position: relative;
  height: 0.8rem;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 10rem;
  margin-top: 0;
  margin-bottom: 0;
}

/* 채워진 트랙 (그라데이션) */
.tx-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 10rem;
  background: linear-gradient(90deg, #7EC1FF 0%, #4DE9AB 100%);
  pointer-events: none;
  transition: width 0.05s linear;
}

/* range input 기본 스타일 초기화 */
.tx-range {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2rem;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
}

/* 슬라이더 썸 — 커스텀 (WebKit) */
.tx-slider-track-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  box-shadow: 0 0 0.8rem rgba(126, 193, 255, 0.5), 0 0.2rem 0.8rem rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: left 0.05s linear, box-shadow 0.2s ease;
  /* left는 JS로 제어 */
  left: calc(var(--thumb-pct, 50%) - 1.2rem);
}

/* 슬라이더 양 끝 레이블 */
.tx-slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.8rem;
  opacity: 1;
}

.tx-slider-ends span {
  color: rgba(255, 255, 255, 0.8);
}

/* ── 결과 영역 ── */
.tx-result-wrap {
  display: none;
  position: relative;
  margin-top: 3.2rem;
  border-radius: 1.6rem;
  overflow: hidden;
}

.tx-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(15, 23, 42, 0.45);
  z-index: 2;
  border-radius: 1.6rem;
  transition: backdrop-filter 1.5s ease, opacity 1.5s ease;
}

.tx-blur-overlay.is-revealed {
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
}

.tx-result-card {
  padding: 3.2rem;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.07) 0%, rgba(77, 233, 171, 0.07) 100%);
  border: 0.2rem solid rgba(77, 233, 171, 0.25);
  border-radius: 1.6rem;
}

/* 결과 헤더 */
.tx-result__header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.tx-result__icon {
  font-size: 5.6rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 1.2rem rgba(126, 193, 255, 0.4));
}

.tx-result__title {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.tx-result__subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #7EC1FF;
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}

/* 미터 바 (선택값 시각화) */
.tx-result__meters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.4rem;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 1.2rem;
}

.tx-meter {
  display: grid;
  grid-template-columns: 9rem 1fr 3.2rem;
  align-items: center;
  gap: 1.2rem;
}

.tx-meter__label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tx-meter__bar {
  height: 0.6rem;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 10rem;
  overflow: hidden;
}

.tx-meter__fill {
  height: 100%;
  background: linear-gradient(90deg, #7EC1FF 0%, #4DE9AB 100%);
  border-radius: 10rem;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tx-meter__val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 결과 설명 */
.tx-result__desc {
  margin: 0 0 2.4rem;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-tertiary);
  padding: 1.6rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
}

/* 스텝 그리드 */
.tx-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.tx-step {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.4);
  border-left: 0.3rem solid rgba(126, 193, 255, 0.5);
  border-radius: 0 1.2rem 1.2rem 0;
}

.tx-step__badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.tx-step__name {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #7EC1FF;
  line-height: 1.3;
}

.tx-step__text {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-tertiary);
}

/* 결과 푸터 */
.tx-result__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.tx-footer-box {
  padding: 1.8rem 2rem;
  background: rgba(15, 23, 42, 0.4);
  border-left: 0.3rem solid rgba(126, 193, 255, 0.4);
  border-radius: 0 1rem 1rem 0;
}

.tx-footer-box--warn {
  border-left-color: rgba(248, 113, 113, 0.6);
}

.tx-footer-box--tip {
  border-left-color: rgba(77, 233, 171, 0.6);
}

.tx-footer-box__title {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
}

.tx-footer-box--warn .tx-footer-box__title {
  color: #F87171;
}

.tx-footer-box--tip .tx-footer-box__title {
  color: #4DE9AB;
}

.tx-footer-box__text {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-tertiary);
}

.tx-disclaimer {
  margin: 0;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: #64748B;
  line-height: 1.6;
  text-align: center;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .tx-slider-group {
    padding: 2rem;
  }

  .tx-slider-label {
    font-size: 1.7rem;
    color: #ffffff;
  }

  .tx-result-card {
    padding: 2.4rem;
  }

  .tx-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .tx-result__footer {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .tx-meter {
    grid-template-columns: 8rem 1fr 2.8rem;
  }
}

@media (max-width: 480px) {
  .tx-slider-group {
    padding: 1.6rem;
  }

  .tx-slider-label {
    font-size: 1.6rem;
    color: #ffffff;
  }

  .tx-slider-value {
    font-size: 2rem;
  }

  .tx-result-card {
    padding: 2rem;
  }

  .tx-result__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .tx-result__icon {
    font-size: 4.4rem;
  }

  .tx-result__title {
    font-size: 2rem;
  }

  .tx-step {
    padding: 1.6rem;
  }

  .tx-step__name {
    font-size: 1.5rem;
  }

  .tx-step__text {
    font-size: 1.35rem;
  }

  .tx-footer-box {
    padding: 1.4rem 1.6rem;
  }
}

/* =========================================
   오늘의 피부 타로 (Tarot)
   ========================================= */

/* 카드 스테이지 — 3장 가로 정렬 */
.tarot-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3.2rem;
  padding: 4rem 0 2rem;
  perspective: 1200px;
}

/* 개별 카드 래퍼 */
.tarot-card {
  width: 25rem;
  height: 38rem;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, opacity 0.6s ease;
}

/* 호버 시 살짝 떠오름 */
.tarot-card:hover:not(.tarot-card--flipped):not(.tarot-card--fade) {
  transform: translateY(-1.2rem) scale(1.03);
}

/* 카드 내부 (3D 컨테이너) */
.tarot-card__inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 뒤집힌 상태 */
.tarot-card--flipped .tarot-card__inner {
  transform: rotateY(180deg);
}

/* 선택 안 된 카드 페이드 아웃 */
.tarot-card--fade {
  opacity: 0.15;
  pointer-events: none;
  transform: scale(0.95);
}

/* 앞면 & 뒷면 공통 */
.tarot-card__back,
.tarot-card__front {
  position: absolute;
  inset: 0;
  border-radius: 1.6rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

/* 뒷면 (기본 보이는 면) */
.tarot-card__back {
  background: linear-gradient(160deg, #1e1b4b 0%, #0f172a 60%, #1e1b4b 100%);
  border: 0.15rem solid rgba(167, 139, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 뒷면 패턴 */
.tarot-card__back-pattern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem;
  text-align: center;
}

.tarot-card__back-icon {
  font-size: 2.4rem;
  color: rgba(167, 139, 250, 0.6);
  display: block;
}

.tarot-card__back-text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* 앞면 (뒤집혔을 때 보이는 면) */
.tarot-card__front {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border: 0.15rem solid rgba(126, 193, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
}

/* 앞면 콘텐츠 */
.tarot-card__front-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

.tarot-front__emoji {
  font-size: 5.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 1.2rem rgba(126, 193, 255, 0.5));
}

.tarot-front__title {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #7EC1FF;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tarot-front__text {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.6;
  color: #E2E8F0;
  word-break: keep-all;
}

/* 다시하기 버튼 래퍼 */
.tarot-retry-wrap {
  text-align: center;
  margin-top: 3.2rem;
}

/* 인포그래픽 카드 그리드 (3가지 이유) */
.tarot-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 2.4rem;
}

.tarot-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.8rem 2.4rem;
  background: rgba(30, 41, 59, 0.5);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.6rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tarot-info-card:hover {
  border-color: rgba(126, 193, 255, 0.35);
  transform: translateY(-0.4rem);
}

.tarot-info-card__icon {
  font-size: 3.6rem;
  line-height: 1;
}

.tarot-info-card__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #7EC1FF;
  line-height: 1.3;
}

.tarot-info-card__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-tertiary);
}

/* ── 반응형 ── */
@media (max-width: 900px) {
  .tarot-stage {
    gap: 2rem;
  }

  .tarot-card {
    width: 20rem;
    height: 32rem;
  }

  .tarot-info-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

@media (max-width: 768px) {
  .tarot-stage {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 2.4rem 2rem 2.4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* 스크롤바 숨김 */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tarot-stage::-webkit-scrollbar {
    display: none;
  }

  .tarot-card {
    min-width: 72vw;
    width: 72vw;
    height: 36rem;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .tarot-card__back-pattern {
    padding: 2rem;
    gap: 1.4rem;
  }

  .tarot-card__back-text {
    font-size: 1.4rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .tarot-card__back-icon {
    font-size: 2rem;
  }

  .tarot-card__front {
    padding: 2rem;
  }

  .tarot-card__front-content {
    gap: 1.2rem;
  }

  .tarot-front__emoji {
    font-size: 4.4rem;
  }

  .tarot-front__title {
    font-size: 1.6rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .tarot-front__text {
    font-size: 1.45rem;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .tarot-card {
    min-width: 78vw;
    width: 78vw;
    height: 32rem;
  }

  .tarot-card__back-text {
    font-size: 1.3rem;
  }

  .tarot-front__emoji {
    font-size: 3.8rem;
  }

  .tarot-front__title {
    font-size: 1.5rem;
  }

  .tarot-front__text {
    font-size: 1.35rem;
  }
}

@media (max-width: 400px) {
  .tarot-card {
    min-width: 82vw;
    width: 82vw;
    height: 30rem;
  }

  .tarot-card__back-text {
    font-size: 1.2rem;
  }

  .tarot-front__emoji {
    font-size: 3.4rem;
  }

  .tarot-front__title {
    font-size: 1.4rem;
  }

  .tarot-front__text {
    font-size: 1.3rem;
    line-height: 1.55;
  }
}

/* =========================================
   시크릿 글로우 미션 (Blur Cover)
   ========================================= */

/* 미션 카드 래퍼 */
.mission-card-wrap {
  position: relative;
  width: 100%;
  max-width: 56rem;
  min-height: 28rem;
  height: auto;
  margin: 3.2rem auto 0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0.8rem 4rem rgba(126, 193, 255, 0.2), 0 0.2rem 1.2rem rgba(0, 0, 0, 0.4);
}

/* 미션 결과 본체 */
.mission-result-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3.2rem 2.4rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
  border: 0.15rem solid rgba(126, 193, 255, 0.3);
  border-radius: 2rem;
  text-align: center;
  width: 100%;
  word-break: keep-all;
  line-height: 1.6;
}

/* 블러 덮개 */
.mission-blur-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2rem;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 2;
}

.mission-blur-cover.is-revealed {
  opacity: 0;
  visibility: hidden;
}

.mission-blur-cover__text {
  margin: 0;
  padding: 0 2.4rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.6;
  word-break: keep-all;
  text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.5);
}

.mission-result__tag {
  display: inline-block;
  padding: 0.4rem 1.4rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.06em;
}

.mission-result__emoji {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 1rem rgba(126, 193, 255, 0.5));
}

.mission-result__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.mission-result__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
}

.mission-result__step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.mission-result__step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.mission-result__tip {
  margin: 0;
  font-size: 1.3rem;
  color: #7EC1FF;
  line-height: 1.6;
  font-style: italic;
}

/* 다시하기 버튼 래퍼 */
.scratch-retry-wrap {
  text-align: center;
  margin-top: 2.4rem;
}

/* ── 모바일 반응형 ── */
@media (max-width: 768px) {
  .mission-card-wrap {
    min-height: 20rem;
    height: auto;
  }

  .mission-result-body {
    padding: 2.4rem 1.6rem;
    gap: 1.2rem;
  }

  .mission-blur-cover__text {
    font-size: 1.5rem;
    padding: 0 1.6rem;
  }

  .mission-result__title {
    font-size: 1.9rem;
    word-break: keep-all;
    line-height: 1.5;
  }

  .mission-result__step {
    font-size: 1.3rem;
    line-height: 1.6;
    word-break: keep-all;
  }

  .mission-result__tip {
    font-size: 1.2rem;
    word-break: keep-all;
    line-height: 1.6;
  }
}

/* ── 결과 모달 ── */
.mission-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(0.6rem);
  -webkit-backdrop-filter: blur(0.6rem);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mission-modal-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.mission-modal {
  position: relative;
  width: 100%;
  max-width: 48rem;
  background: linear-gradient(160deg, #0d1b3e 0%, #0f172a 60%, #0d1b3e 100%);
  border: 0.15rem solid rgba(126, 193, 255, 0.4);
  border-radius: 2.4rem;
  padding: 4rem 3.2rem 3.2rem;
  box-shadow: 0 2.4rem 8rem rgba(0, 0, 0, 0.7), 0 0 4rem rgba(126, 193, 255, 0.12);
  transform: scale(0.8) translateY(3.2rem);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}

.mission-modal-overlay.is-active .mission-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.mission-modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 3.2rem;
  height: 3.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: #94A3B8;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.mission-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
}

.mission-modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

.mission-modal__tag {
  display: inline-block;
  padding: 0.5rem 1.6rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.06em;
}

.mission-modal__emoji {
  font-size: 6.4rem;
  line-height: 1;
  filter: drop-shadow(0 0 1.6rem rgba(126, 193, 255, 0.5));
}

.mission-modal__title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mission-modal__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  text-align: left;
}

.mission-modal__step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1rem;
}

.mission-modal__step-num {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.mission-modal__tip {
  margin: 0;
  font-size: 1.4rem;
  color: #7EC1FF;
  line-height: 1.7;
  font-style: italic;
  padding: 1.2rem 1.6rem;
  background: rgba(126, 193, 255, 0.06);
  border-radius: 1rem;
  width: 100%;
  text-align: left;
}

.mission-modal__btn {
  width: 100%;
  margin-top: 0.8rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%) !important;
  color: #0F172A !important;
  font-weight: 700;
}

/* ── 인포그래픽 카드 3개 ── */
.mission-detox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 2.4rem;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

/* Contact Hero Section */
.contact-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(126, 193, 255, 0.15) 0%, rgba(77, 233, 171, 0.15) 100%);
  padding-block: clamp(6rem, 10vw, 10rem);
  min-height: 40rem;
}

.contact-hero__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 96rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
  text-align: center;
}

.contact-hero__title {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.8);
}

.contact-hero__subtitle {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Contact Form Section */
.contact-form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  padding-block: clamp(6rem, 10vw, 10rem);
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  width: 100%;
  max-width: 60rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

/* Contact Form */
.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-form-container p {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.contact-form-container label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  display: block;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.4rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 0.15rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.8rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.3rem rgba(126, 193, 255, 0.2);
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: var(--text-secondary);
}

.contact-form-container textarea {
  resize: vertical;
  font-family: inherit;
}

.contact-form-container button {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding-inline: 4rem;
  margin-top: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  color: #0F172A;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-mint) 100%);
  border: none;
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2rem rgba(126, 193, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-container button:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3.2rem rgba(126, 193, 255, 0.4);
}

.contact-form-container button:active {
  transform: translateY(-0.2rem);
}

/* Contact Modal Styles */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.contact-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal__content {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  border-radius: 1.6rem;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.5);
  max-width: 50rem;
  width: 90%;
  animation: slideUp 0.3s ease;
  border: 0.1rem solid rgba(126, 193, 255, 0.2);
}

.contact-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem 2.4rem 1.6rem 2.4rem;
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.1);
}

.contact-modal__title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-mint);
  letter-spacing: -0.02em;
}

.contact-modal__close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  transition: color 0.3s ease;
}

.contact-modal__close:hover {
  color: var(--color-accent);
}

.contact-modal__body {
  padding: 2.4rem;
  text-align: center;
}

.contact-modal__message {
  margin: 0 0 0.8rem 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-modal__submessage {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-modal__footer {
  display: flex;
  justify-content: center;
  padding: 0 2.4rem 2.4rem 2.4rem;
}

.contact-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding-inline: 3.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  color: #0F172A;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-mint) 100%);
  border: none;
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2rem rgba(126, 193, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal__btn:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.4rem 3.2rem rgba(126, 193, 255, 0.4);
}

.contact-modal__btn:active {
  transform: translateY(-0.2rem);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(2rem);
    opacity: 0;
  }

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }

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

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-hero__title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
  }

  .contact-hero__subtitle {
    font-size: 1.4rem;
  }

  .contact-form-container {
    max-width: 100%;
  }

  .contact-form-container label {
    font-size: 1.3rem;
  }

  .contact-form-container input,
  .contact-form-container textarea {
    font-size: 1.3rem;
    padding: 1rem 1.4rem;
  }

  .contact-form-container button {
    width: 100%;
    min-height: 4.8rem;
    font-size: 1.4rem;
  }

  .contact-modal__content {
    max-width: 90%;
  }

  .contact-modal__header {
    padding: 2rem 2rem 1.4rem 2rem;
  }

  .contact-modal__title {
    font-size: 2rem;
  }

  .contact-modal__close {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.6rem;
  }

  .contact-modal__body {
    padding: 1.8rem;
  }

  .contact-modal__message {
    font-size: 1.6rem;
  }

  .contact-modal__submessage {
    font-size: 1.2rem;
  }

  .contact-modal__footer {
    padding: 0 1.8rem 1.8rem 1.8rem;
  }

  .contact-modal__btn {
    width: 100%;
    min-height: 4.4rem;
    font-size: 1.4rem;
  }
}

.mission-detox-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.8rem 2.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.6rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.mission-detox-card:hover {
  border-color: rgba(126, 193, 255, 0.35);
  transform: translateY(-0.4rem);
}

.mission-detox-card__icon {
  font-size: 3.6rem;
  line-height: 1;
}

.mission-detox-card__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #7EC1FF;
  line-height: 1.3;
}

.mission-detox-card__sub {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #4DE9AB;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mission-detox-card__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ── 스텝바 ── */
.mission-stepbar {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2.4rem;
  border-radius: 1.6rem;
  overflow: hidden;
}

.mission-stepbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.8rem 2.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  position: relative;
}

.mission-stepbar__item:first-child {
  border-radius: 1.6rem 0 0 1.6rem;
}

.mission-stepbar__item:last-child {
  border-radius: 0 1.6rem 1.6rem 0;
}

.mission-stepbar__circle {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mission-stepbar__content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mission-stepbar__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #7EC1FF;
  line-height: 1.2;
}

.mission-stepbar__desc {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* 화살표 구분자 */
.mission-stepbar__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: #7EC1FF;
  background: rgba(126, 193, 255, 0.08);
  border-top: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-bottom: 0.15rem solid rgba(126, 193, 255, 0.15);
  flex-shrink: 0;
  min-width: 3.6rem;
}

/* ── 반응형 ── */
@media (max-width: 900px) {
  .mission-detox-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .mission-stepbar {
    flex-direction: column;
    border-radius: 1.6rem;
  }

  .mission-stepbar__item {
    border-radius: 0 !important;
    border: 0.15rem solid rgba(126, 193, 255, 0.15);
  }

  .mission-stepbar__item:first-child {
    border-radius: 1.6rem 1.6rem 0 0 !important;
  }

  .mission-stepbar__item:last-child {
    border-radius: 0 0 1.6rem 1.6rem !important;
  }

  .mission-stepbar__arrow {
    min-width: auto;
    min-height: 3.2rem;
    padding: 0.4rem 0;
    border: none;
    border-left: 0.15rem solid rgba(132, 204, 22, 0.15);
    border-right: 0.15rem solid rgba(132, 204, 22, 0.15);
    transform: rotate(90deg);
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .scratch-wrap {
    height: 22rem;
  }

  .mission-modal {
    padding: 3.2rem 2.4rem 2.4rem;
  }

  .mission-modal__emoji {
    font-size: 5.2rem;
  }

  .mission-modal__step {
    font-size: 1.5rem;
  }
}

@media (max-width: 400px) {
  .scratch-wrap {
    height: 18rem;
  }
}

/* =========================================
   index.html — 신규 피처 카드 (타로 + 미션)
   ========================================= */

/* 메인 피처 그리드에서 타로·미션 카드 강조 */
.feature-card--tarot {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12) 0%, rgba(79, 70, 229, 0.08) 100%) !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
}

.feature-card--tarot:hover {
  border-color: rgba(167, 139, 250, 0.6) !important;
}

.feature-card--mission {
  background: linear-gradient(160deg, rgba(132, 204, 22, 0.1) 0%, rgba(251, 146, 60, 0.08) 100%) !important;
  border-color: rgba(132, 204, 22, 0.3) !important;
}

.feature-card--mission:hover {
  border-color: rgba(132, 204, 22, 0.6) !important;
}

/* =========================================
   전역 스크롤 리빌 애니메이션 (Reveal on Scroll)
   ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 딜레이 유틸리티 */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── 버튼 전역 hover 인터랙션 강화 ── */
.hero-cta-btn,
.ingredient-btn,
.tool-btn,
.toc__link {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.25s ease;
}

.ingredient-btn:hover {
  transform: translateY(-0.3rem) scale(1.02);
  box-shadow: 0 0.8rem 2.4rem rgba(50, 118, 255, 0.3),
    0 0 1.2rem rgba(126, 193, 255, 0.2);
  filter: brightness(1.08);
}

.feature-card:hover {
  filter: brightness(1.04);
}

/* ── 헤더/히어로는 즉시 표시 (reveal 예외) ── */
.site-header.reveal,
.hero-section .reveal,
.hero-title,
.hero-subtitle,
.hero-cta-btn {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}


/* =========================================
   D-1 타임라인 페이지
   ========================================= */

/* ── 히어로 ── */
.d1-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 45px 45px;
  border-bottom: 0.1rem solid rgba(148, 163, 184, 0.1);
  padding-block: clamp(4rem, 8vw, 8rem);
  text-align: center;
}

.d1-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  max-width: 80rem;
  padding-inline: clamp(2.4rem, 6vw, 10rem);
}

.d1-hero__eyebrow {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.d1-hero__title {
  margin: 0;
  font-size: clamp(3.6rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.d1-hero__sub {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60rem;
}

/* ── 타임라인 섹션 래퍼 ── */
.d1-timeline-section {
  padding-block: clamp(6rem, 10vw, 12rem);
  background-color: var(--bg-primary);
}

.d1-timeline__wrap {
  position: relative;
  max-width: 110rem;
  margin-inline: auto;
  padding-inline: clamp(2.4rem, 6vw, 6rem);
}

/* ── 세로 선 ── */
.d1-timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0.2rem;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(126, 193, 255, 0.25) 5%,
      rgba(126, 193, 255, 0.25) 95%,
      transparent 100%);
}

/* ── 타임라인 아이템 ── */
.d1-timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 8rem;
  width: 100%;
}

/* 좌측 배치 */
.d1-timeline__item[data-side="left"] {
  justify-content: flex-start;
  padding-right: calc(50% + 4rem);
}

/* 우측 배치 */
.d1-timeline__item[data-side="right"] {
  justify-content: flex-end;
  padding-left: calc(50% + 4rem);
}

/* ── 점(Dot) ── */
.d1-timeline__dot {
  position: absolute;
  top: 2.4rem;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #334155;
  border: 0.3rem solid #475569;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
  z-index: 2;
}

/* active 상태 — 글로우 */
.d1-timeline__item.active .d1-timeline__dot {
  background: #7EC1FF;
  border-color: #7EC1FF;
  box-shadow:
    0 0 0.8rem rgba(126, 193, 255, 0.9),
    0 0 2rem rgba(126, 193, 255, 0.6),
    0 0 4rem rgba(126, 193, 255, 0.3);
}

/* ── 카드 ── */
.d1-timeline__card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.8rem 3.2rem;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(1.2rem);
  -webkit-backdrop-filter: blur(1.2rem);
  border: 0.15rem solid rgba(126, 193, 255, 0.12);
  border-radius: 1.6rem;
  max-width: 46rem;
  width: 100%;

  /* 초기 숨김 상태 */
  opacity: 0;
  transform: translateY(3rem);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* active 상태 — 카드 등장 */
.d1-timeline__item.active .d1-timeline__card {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(126, 193, 255, 0.25);
  box-shadow: 0 0.8rem 3.2rem rgba(126, 193, 255, 0.08);
}

/* 우측 카드 딜레이 */
.d1-timeline__item[data-side="right"].active .d1-timeline__card {
  transition-delay: 0.1s;
}

.d1-timeline__time {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.d1-timeline__icon {
  font-size: 3.2rem;
  line-height: 1;
  filter: drop-shadow(0 0 0.8rem rgba(126, 193, 255, 0.3));
}

.d1-timeline__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.d1-timeline__desc {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

.d1-timeline__tips {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.d1-timeline__tips li {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

/* ── SOS 섹션 ── */
.d1-sos-section {
  padding-block: clamp(6rem, 10vw, 10rem);
  background: rgba(15, 23, 42, 0.95);
  border-top: 0.1rem solid rgba(148, 163, 184, 0.1);
}

.d1-sos__inner {
  max-width: 110rem;
  margin-inline: auto;
  padding-inline: clamp(2.4rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.d1-sos__title {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
}

.d1-sos__sub {
  margin: -2rem 0 0;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
}

.d1-sos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2.4rem;
}

.d1-sos__card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.8rem 2.4rem;
  background: rgba(30, 41, 59, 0.6);
  border: 0.15rem solid rgba(126, 193, 255, 0.15);
  border-radius: 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.d1-sos__card:hover {
  transform: translateY(-0.6rem);
  border-color: rgba(126, 193, 255, 0.35);
  box-shadow: 0 1.2rem 3.2rem rgba(126, 193, 255, 0.1);
}

.d1-sos__num {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.d1-sos__card-icon {
  font-size: 3.2rem;
  line-height: 1;
}

.d1-sos__card-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.d1-sos__card-desc {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ── 모바일: 선 좌측, 콘텐츠 우측 ── */
@media (max-width: 768px) {
  .d1-timeline__line {
    left: 2rem;
    transform: none;
  }

  .d1-timeline__item[data-side="left"],
  .d1-timeline__item[data-side="right"] {
    justify-content: flex-end;
    padding-left: 5.6rem;
    padding-right: 0;
  }

  .d1-timeline__dot {
    left: 2rem;
    transform: translate(-50%, -50%);
  }

  .d1-timeline__card {
    max-width: 100%;
  }
}

/* ── 피부 비상 알람 섹션 래퍼 ── */
.ingredient-tool__container {
  max-width: 86rem;
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(2.4rem, 6vw, 6rem);
}

.ingredient-tool__title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
}

.ingredient-tool__subtitle {
  margin: 0 0 3.2rem;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.7;
}


/* =========================================
   Soothing — 쿨링 버튼 & 리플 & 모달
   ========================================= */

/* 버튼 그리드 */
.cooling-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 80rem;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .cooling-btn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 둥근 버튼 */
.cooling-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2.8rem 1.6rem;
  background: rgba(30, 41, 59, 0.7);
  border: 0.15rem solid rgba(126, 193, 255, 0.2);
  border-radius: 5rem;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: 'Paperozi', sans-serif;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.cooling-btn:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(126, 193, 255, 0.5);
  box-shadow: 0 0.8rem 2.4rem rgba(126, 193, 255, 0.2);
}

.cooling-btn:active {
  transform: scale(0.97);
}

.cooling-btn__icon {
  font-size: 3.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 0.6rem rgba(126, 193, 255, 0.4));
}

.cooling-btn__label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  word-break: keep-all;
}

.cooling-btn__time {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

/* 리플 */
.cooling-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(126, 193, 255, 0.35);
  transform: scale(0);
  animation: coolingRipple 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes coolingRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 모달 오버레이 */
.cooling-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 35, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cooling-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* 모달 박스 */
.cooling-modal {
  position: relative;
  width: 100%;
  max-width: 56rem;
  height: auto;
  background: rgba(20, 32, 54, 0.85);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  border: 0.15rem solid rgba(126, 193, 255, 0.25);
  border-radius: 3rem;
  padding: 4rem 3.6rem;
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 0 4rem rgba(126, 193, 255, 0.15),
    0 2rem 6rem rgba(0, 0, 0, 0.5);
}

.cooling-modal-overlay.is-open .cooling-modal {
  transform: scale(1);
}

/* 닫기 버튼 */
.cooling-modal__close {
  position: absolute;
  top: 1.6rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0.4rem;
  transition: color 0.2s ease;
}

.cooling-modal__close:hover {
  color: var(--text-primary);
}

/* 모달 내부 콘텐츠 */
.cooling-modal__body {
  height: auto;
  word-break: keep-all;
  line-height: 1.6;
}

.cooling-modal__step-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.4rem 1.6rem;
  background: linear-gradient(135deg, #7EC1FF 0%, #4DE9AB 100%);
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}

.cooling-modal__icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1.2rem;
  display: block;
}

.cooling-modal__title {
  margin: 0 0 1.6rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: keep-all;
  line-height: 1.4;
}

.cooling-modal__desc {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  word-break: keep-all;
}

.cooling-modal__desc strong {
  color: var(--color-accent);
  font-weight: 600;
}

@media (max-width: 480px) {
  .cooling-modal {
    padding: 3.2rem 2.4rem;
    border-radius: 2.4rem;
  }

  .cooling-modal__title {
    font-size: 1.9rem;
  }

  .cooling-modal__desc {
    font-size: 1.45rem;
  }
}


/* =========================================
   Trace — 스포트라이트 마스킹 섹션
   ========================================= */

.trace-spotlight-section {
  position: relative;
  width: 100%;
  height: 52rem;
  overflow: hidden;
  cursor: none;
  user-select: none;
}

/* 어두운 오버레이 — 마스킹 적용 대상 */
.trace-spotlight__dark {
  position: absolute;
  inset: 0;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /* mask-image는 JS에서 동적으로 설정 */
  mask-image: radial-gradient(circle at -999px -999px, transparent 0%, black 0%);
  -webkit-mask-image: radial-gradient(circle at -999px -999px, transparent 0%, black 0%);
  transition: mask-image 0.05s linear, -webkit-mask-image 0.05s linear;
}

.trace-spotlight__hint {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(148, 163, 184, 0.35);
  letter-spacing: 0.12em;
  text-align: center;
  word-break: keep-all;
  line-height: 1.6;
  pointer-events: none;
}

/* 밝은 콘텐츠 레이어 — 항상 아래에 깔림 */
.trace-spotlight__bright {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.trace-spotlight__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding-inline: clamp(2.4rem, 6vw, 8rem);
  max-width: 72rem;
}

.trace-spotlight__eyebrow {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  word-break: keep-all;
  line-height: 1.6;
}

.trace-spotlight__title {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  text-shadow: 0 0 3rem rgba(126, 193, 255, 0.4);
  word-break: keep-all;
}

.trace-spotlight__desc {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  word-break: keep-all;
}

.trace-spotlight__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.trace-chip {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border-radius: 10rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  word-break: keep-all;
  line-height: 1.6;
}

.trace-chip--red {
  background: rgba(239, 68, 68, 0.15);
  border: 0.15rem solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.trace-chip--brown {
  background: rgba(180, 120, 60, 0.15);
  border: 0.15rem solid rgba(180, 120, 60, 0.4);
  color: #D4A574;
}

.trace-chip--glow {
  background: rgba(126, 193, 255, 0.12);
  border: 0.15rem solid rgba(126, 193, 255, 0.35);
  color: var(--color-accent);
}

/* 모바일 안내 텍스트 */
.trace-spotlight__mobile-hint {
  display: none;
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: rgba(148, 163, 184, 0.5);
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
  word-break: keep-all;
  line-height: 1.6;
}

/* 전체 보기 버튼 */
.trace-reveal-btn {
  position: absolute;
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 1rem 2.8rem;
  background: transparent;
  border: 0.15rem solid rgba(126, 193, 255, 0.55);
  border-radius: 10rem;
  color: rgba(126, 193, 255, 0.85);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.6;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.trace-reveal-btn:hover,
.trace-reveal-btn:focus-visible {
  background: rgba(126, 193, 255, 0.1);
  border-color: rgba(126, 193, 255, 0.9);
  color: #7EC1FF;
  outline: none;
}

/* is-all-revealed: 마스킹 해제 상태 */
.trace-spotlight-section.is-all-revealed .trace-spotlight__dark {
  mask-image: none !important;
  -webkit-mask-image: none !important;
  background: transparent !important;
  transition: background 0.4s ease;
}

.trace-spotlight-section.is-all-revealed .trace-spotlight__hint,
.trace-spotlight-section.is-all-revealed .trace-spotlight__mobile-hint {
  display: none;
}

.trace-spotlight-section.is-all-revealed .trace-reveal-btn {
  border-color: rgba(148, 163, 184, 0.5);
  color: rgba(148, 163, 184, 0.8);
}

@media (hover: none) and (pointer: coarse) {
  .trace-spotlight-section {
    cursor: default;
  }

  .trace-spotlight__hint {
    display: none;
  }

  .trace-spotlight__mobile-hint {
    display: block;
  }

  /* 모바일 초기 상태: 스포트라이트 중앙에 살짝 보이게 */
  .trace-spotlight__dark {
    mask-image: radial-gradient(circle at 50% 50%, transparent 0%, black 14rem);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0%, black 14rem);
  }
}

@media (max-width: 480px) {
  .trace-spotlight-section {
    height: 44rem;
  }
}