/* ============================================
   SHOPIDREAM - Style Sheet
   ============================================ */

/* ============================================
   FONT FACES - SUIT
   ============================================ */
@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SUIT';
  src: url('/assets/font/SUIT-Heavy.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --bg-primary: #070707;
  --bg-secondary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #bbbbbb;
  --text-accent: gray;
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.2);
  --border-tertiary: rgba(255, 255, 255, 0.05);

  /* Extended Theme Variables */
  --nav-bg: rgba(7, 7, 7, 0.8);
  --nav-bg-scrolled: rgba(7, 7, 7, 0.95);
  --nav-bg-mobile: rgba(7, 7, 7, 0.98);
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --bg-plan-btn: rgba(255, 255, 255, 0.10);
  --bg-plan-btn-hover: rgba(255, 255, 255, 0.15);
  --border-card: rgba(255, 255, 255, 0.08);
  --text-tertiary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --glow-white: 0 0 30px rgba(255, 255, 255, 0.05);

  /* Semantic Colors */
  --color-positive: #22c55e;
  --color-highlight: #f59e0b;
  --color-negative: #ef4444;

  /* Accent */
  --accent-primary: #4ade80;
  --accent-hover: #22c55e;
  --accent-text: #070707;

  /* Border Aliases */
  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-primary: 'Bebas Neue', Impact, sans-serif;
  --font-secondary: 'SUIT', Arial, sans-serif;

  /* Font Sizes */
  --h1-size: 12rem;
  --h2-size: 10rem;
  --h3-size: 6rem;
  --h4-size: 4rem;
  --h5-size: 2rem;
  --h6-size: 1rem;

  /* Spacing */
  --spacing-tiny: 0.125rem;
  --spacing-xxsmall: 0.25rem;
  --spacing-xsmall: 0.5rem;
  --spacing-small: 1rem;
  --spacing-medium: 2rem;
  --spacing-large: 3rem;
  --spacing-xlarge: 4rem;
  --spacing-xxlarge: 5rem;
  --spacing-huge: 6rem;
  --spacing-xhuge: 8rem;
  --spacing-xxhuge: 10rem;

  /* Section Spacing */
  --section-small: 3rem;
  --section-medium: 5rem;
  --section-large: 8rem;
  --section-xlarge: 10rem;
  --section-huge: 12rem;

  /* Border Radius */
  --radius-small: 0.5rem;
  --radius-medium: 0.75rem;
  --radius-large: 1rem;
  --radius-xlarge: 1.5rem;
  --radius-full: 100px;

  /* Layout */
  --max-width: 100rem;
  --padding-global: 2.5rem;
}

/* ═══════════════════════════════════════════════════
   LIGHT MODE OVERRIDES
   ═══════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --text-primary: #111827;
  --text-secondary: #1f2937;
  --text-accent: #374151;
  --border-primary: rgba(0, 0, 0, 0.1);
  --border-secondary: rgba(0, 0, 0, 0.2);
  --border-tertiary: rgba(0, 0, 0, 0.05);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.98);
  --nav-bg-mobile: rgba(255, 255, 255, 0.99);
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(0, 0, 0, 0.04);
  --bg-glass: rgba(0, 0, 0, 0.02);
  --bg-glass-hover: rgba(0, 0, 0, 0.04);
  --bg-plan-btn: rgba(0, 0, 0, 0.06);
  --bg-plan-btn-hover: rgba(0, 0, 0, 0.10);
  --border-card: rgba(0, 0, 0, 0.08);
  --text-tertiary: #4b5563;
  --text-muted: #6b7280;
  --glow-white: 0 0 30px rgba(0, 0, 0, 0.08);
  --color-positive: #16a34a;
  --color-highlight: #d97706;
  --color-negative: #dc2626;
  --accent-primary: #16a34a;
  --accent-hover: #15803d;
  --accent-text: #ffffff;
  --border-light: rgba(0, 0, 0, 0.1);
  --border-medium: rgba(0, 0, 0, 0.2);
}

/* ──────────────────────────────────────────
   Light mode: 특수 요소 보정
   ────────────────────────────────────────── */

/* 히어로 슬라이드쇼 그림자 (라이트에서 더 옅게) */
[data-theme="light"] .slide-card {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 추천 카드 글로우 (라이트: 검은 그림자) */
[data-theme="light"] .plan-card.recommended {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

/* creator-cta-btn 호버 (라이트: 회색 배경) */
[data-theme="light"] .creator-cta-btn:hover {
  background: rgba(26, 26, 46, 0.85);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* quiz-result-btn (라이트: 다크 버튼) */
[data-theme="light"] .quiz-result-btn {
  background: var(--text-primary);
  color: var(--bg-primary);
}
[data-theme="light"] .quiz-result-btn:hover {
  background: var(--text-secondary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* quiz-progress-fill (라이트: 다크 그라데이션) */
[data-theme="light"] .quiz-progress-fill {
  background: linear-gradient(90deg, #1a1a2e, #666677);
}

/* 로고 다크/라이트 전환 */
.logo-dark { display: block; }
.logo-light { display: none; }
/* .nav-logo img { display: block } 보다 높은 specificity로 라이트 로고 숨김 */
.nav-logo .logo-light { display: none; }

[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .nav-logo .logo-light { display: block; }
[data-theme="light"] .nav-logo .logo-dark { display: none; }

/* 인라인 아이콘 */
.inline-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.375rem;
  flex-shrink: 0;
}

/* 전환 부드럽게 */
html {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body,
.nav-component,
.problem-card,
.plan-card,
.module-intro-card,
.flow-node,
.partnership-card,
.creator-case,
.result-card,
.result-block,
.case-item,
.service-block,
.module-card,
.quiz-question-card,
.quiz-option-btn,
.countdown-box {
  transition: background-color 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-primary);
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  font-family: var(--font-secondary);
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.padding-global {
  padding-left: var(--padding-global);
  padding-right: var(--padding-global);
}

.container-large {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.padding-section-large {
  padding-top: var(--section-large);
  padding-bottom: var(--section-large);
}

.spacer-tiny { padding-top: var(--spacing-tiny); }
.spacer-xxsmall { padding-top: var(--spacing-xxsmall); }
.spacer-xsmall { padding-top: var(--spacing-xsmall); }
.spacer-small { padding-top: var(--spacing-small); }
.spacer-medium { padding-top: var(--spacing-medium); }
.spacer-large { padding-top: var(--spacing-large); }
.spacer-xlarge { padding-top: var(--spacing-xlarge); }
.spacer-xxlarge { padding-top: var(--spacing-xxlarge); }
.spacer-huge { padding-top: var(--spacing-huge); }
.spacer-xhuge { padding-top: var(--spacing-xhuge); }
.spacer-xxhuge { padding-top: var(--spacing-xxhuge); }

.max-width-large {
  width: 100%;
  max-width: 48rem;
}

.align-center {
  margin-left: auto;
  margin-right: auto;
}

.text-align-center {
  text-align: center;
}

.dividing-line {
  width: 100%;
  height: 1px;
  background-color: var(--border-primary);
  margin-top: var(--section-large);
}

.overflow-wrap {
  overflow: hidden;
  perspective: 1000px;
}

.text-item {
  transform: translate3d(0, 0, 0);
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.text-item.animate-in {
  animation: textSlideIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes textSlideIn {
  from {
    transform: translate3d(0, 110%, 0) rotateX(45deg);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0) rotateX(0);
    opacity: 1;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-component {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-primary);
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.nav-component.scrolled {
  background-color: var(--nav-bg-scrolled);
}

.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.nav-logo a {
  font-family: var(--font-primary);
  font-size: 20px;
  letter-spacing: 0.1rem;
  color: var(--text-primary);
  transition: opacity 0.3s ease;
}

.nav-logo a:hover {
  opacity: 0.7;
}

.nav-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  padding: 0.25rem 0;
  background-color: transparent;
  border-radius: 0;
  color: var(--text-primary);
  font-size: 1rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-cta {
  padding: 0.75rem 1.5rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
}

.nav-link.nav-cta::after {
  display: none;
}

.nav-link.nav-cta:hover {
  background-color: var(--text-secondary);
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
}

.menu-line {
  width: 1.5rem;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(100, 100, 100, 0.1), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(100, 100, 100, 0.05), transparent 40%);
  z-index: 0;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 45vh;
  height: 55vh;
  perspective: none;
  z-index: 1;
  overflow: visible;
  justify-self: end;
  align-self: center;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.slide-card {
  position: absolute;
  height: 100%;
  aspect-ratio: 429 / 930;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.slide-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 429 / 930;
  object-fit: cover;
  border-radius: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: visible;
}

.hero-content {
  max-width: 62rem;
}

.hero-title {
  font-size: var(--h1-size);
  line-height: 0.9;
  color: var(--text-primary);
}

.hero-subtitle {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.hero-subcopy {
  font-size: 20px;
  color: var(--text-secondary);
}

.hero-small-text {
  font-size: 1rem;
  color: var(--text-accent);
  opacity: 0.6;
}

/* ============================================
   MAIN BUTTON
   ============================================ */
.main-button {
  position: relative;
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.main-button.large {
  padding: 1.5rem 3.5rem;
  font-size: 1.25rem;
}

.main-button:hover {
  transform: scale(1.05);
}

.button-text-wrap {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.button-text {
  display: block;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  white-space: nowrap;
}

.main-button:hover .button-text-wrap .button-text {
  transform: translate3d(0, -100%, 0);
}

.button-transition-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}

.button-transition {
  transform: translate3d(0, 100%, 0);
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  white-space: nowrap;
}

.main-button:hover .button-transition {
  transform: translate3d(0, 0, 0);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.section-problem {
  position: relative;
}

.section-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
}

.section-background.subtle {
  opacity: 0.05;
}

.section-title {
  font-size: var(--h2-size);
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
}

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

.problem-card {
  padding: 2.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-large);
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(60px);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
  animation: cardSlideIn 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.problem-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-secondary);
}

.problem-icon {
  font-size: 36px;
  margin-bottom: 1.5rem;
}

.problem-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.problem-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.emphasis-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.5;
}

/* ============================================
   SOLUTION SECTION (D2C 5 Steps)
   ============================================ */
.section-solution {
  position: relative;
}

.accordion-container {
  max-width: 70rem;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-primary);
  transition: all 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--bg-card);
}

.accordion-number {
  font-family: var(--font-primary);
  font-size: 36px;
  color: var(--text-accent);
  line-height: 1;
}

.accordion-title {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
}

.accordion-arrow {
  width: 2rem;
  height: 2rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-arrow svg {
  width: 100%;
  height: 100%;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-inner {
  padding: 0 1rem 2.5rem 1rem;
  margin-left: 6rem;
}

.accordion-inner p {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.accordion-inner ul {
  list-style: none;
  padding: 0;
}

.accordion-inner ul li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
}

.accordion-inner ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--text-accent);
}

.solution-decoration {
  position: absolute;
  right: -10rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30rem;
  height: 30rem;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

.floating-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xlarge);
  filter: blur(20px);
}

.cta-inline-title {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  text-transform: none;
}

.section-cta-inline {
  padding: 4rem 0;
}

/* ============================================
   SERVICES/PLANS SECTION
   ============================================ */
/* 모듈 소개 카드 그리드 */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 90rem;
  margin: 0 auto;
}

.module-intro-card {
  padding: 2rem;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.module-intro-card:hover {
  border-color: var(--border-secondary);
  transform: translateY(-5px);
}

.module-intro-icon {
  margin-bottom: 1.5rem;
}

.module-intro-icon i {
  width: 24px;
  height: 24px;
  color: var(--text-tertiary);
}

.module-intro-name {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.module-intro-description {
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.module-intro-includes {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 90rem;
  margin: 0 auto;
}

.ops-icon svg {
  color: var(--text-tertiary);
}

.os-section-sub {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  padding: 3rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-large);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card.recommended {
  border-color: var(--border-secondary);
  box-shadow: var(--glow-white);
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-secondary);
}

.recommended-badge {
  position: absolute;
  top: -1rem;
  right: 2rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.plan-header {
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.plan-name {
  font-family: var(--font-primary);
  font-size: 36px;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.plan-position {
  font-size: 1.125rem;
  color: var(--text-accent);
}

.plan-body {
  margin-bottom: 2rem;
}

.plan-target {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
}

.plan-features li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 0;
}

.plan-result {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.plan-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border-primary);
}

.plan-button {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--bg-plan-btn);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.plan-button:hover {
  background-color: var(--bg-plan-btn-hover);
  border-color: var(--border-secondary);
}

.plan-button.primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.plan-button.primary:hover {
  background-color: var(--text-secondary);
}

.plan-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.5rem;
}

.plan-features.excluded li {
  color: var(--text-accent);
  opacity: 0.6;
}

/* ============================================
   RESULTS SECTION (Stats + Portfolio)
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: var(--spacing-xxhuge);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 36px;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-plus {
  color: var(--text-accent);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1796 / 1153;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1796 / 1153;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   SYNERGY SECTION
   ============================================ */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 80rem;
  margin: 0 auto;
}

.flow-node {
  flex: 0 0 auto;
  padding: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-large);
  text-align: center;
  min-width: 12rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: scale(0.9);
}

.flow-node.visible {
  opacity: 1;
  transform: scale(1);
  animation: nodeAppear 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes nodeAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.flow-node:hover {
  transform: scale(1.05);
  border-color: var(--border-secondary);
}

.flow-icon {
  font-size: 36px;
  margin-bottom: 1rem;
}

.flow-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.flow-arrow {
  font-size: 36px;
  color: var(--text-accent);
  flex: 0 0 auto;
}

.synergy-decoration {
  position: absolute;
  left: -15rem;
  bottom: 10%;
  width: 35rem;
  height: 35rem;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   EXPORT SUPPORT SECTION — STEP CARDS
   ============================================ */
.export-step-card.flow-node {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  align-self: stretch;
}

.export-step-number {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--border-primary);
  line-height: 1;
}

.export-step-icon {
  color: var(--text-primary);
}

.export-step-title {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.export-step-desc {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  word-break: keep-all;
}

.export-step-result {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-card);
}

.export-result-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.export-result-text {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.4;
  word-break: keep-all;
}

/* Export Support — notice text below subtitle */
.export-notice {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* ============================================
   CREATOR/INFLUENCER SECTION
   ============================================ */
.section-creator {
  position: relative;
  border-top: 1px solid var(--border-tertiary);
}

.creator-title-en {
  font-family: var(--font-primary);
  font-size: 36px;
  letter-spacing: 0.125rem;
  color: var(--text-primary);
  text-align: center;
  line-height: 1;
}

.creator-title-ko {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 1rem;
}

.creator-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.8;
  max-width: 700px;
  margin: 2rem auto;
}

.creator-subtitle p {
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.creator-subtitle p:last-child {
  margin-bottom: 0;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 4rem auto;
  max-width: 1000px;
}

.partnership-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  background: var(--bg-card);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.partnership-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
}

.partnership-card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.partnership-card-icon {
  width: 32px;
  height: 32px;
  color: var(--text-tertiary);
  stroke-width: 1.5;
}

.partnership-card-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

.partnership-card-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.partnership-card-list li {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 2;
  padding-left: 1rem;
  position: relative;
}

.partnership-card-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: bold;
}

.creator-case {
  max-width: 700px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  background: var(--bg-card);
  align-items: center;
}

.creator-case-image {
  border-radius: 8px;
  overflow: hidden;
}

.creator-case-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.creator-case-image a:hover img {
  transform: scale(1.05);
}

.creator-case-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.creator-case-desc {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 1.8;
}

.creator-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.creator-cta-text {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.creator-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1.125rem 2.5rem;
  background: var(--text-primary);
  border: none;
  border-radius: 6px;
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bg-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.creator-cta-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
  background: radial-gradient(circle at 50% 50%, rgba(100, 100, 100, 0.1), transparent 70%);
}

.cta-content {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--h2-size);
  line-height: 1;
}

.cta-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-primary);
  font-size: 36px;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon-link {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.social-icon-link:hover {
  border-color: var(--border-secondary);
  color: var(--text-primary);
}

.social-icon-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-primary);
}

.copyright {
  font-size: 1rem;
  color: var(--text-accent);
}

/* ============================================
   RESPONSIVE - 1440px
   ============================================ */
@media (max-width: 1440px) {
  :root {
    --h1-size: 10rem;
    --h2-size: 8rem;
    --h3-size: 5rem;
    --h4-size: 3.5rem;
  }
}

/* ============================================
   RESPONSIVE - 1200px
   ============================================ */
@media (max-width: 1200px) {
  :root {
    --h1-size: 8rem;
    --h2-size: 6rem;
    --h3-size: 4rem;
    --h4-size: 3rem;
  }

  .section-hero {
    gap: 3rem;
  }

  .slideshow-container {
    max-width: 40vh;
    height: 50vh;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE - 992px
   ============================================ */
@media (max-width: 992px) {
  :root {
    --h1-size: 6rem;
    --h2-size: 5rem;
    --h3-size: 3rem;
    --h4-size: 2.5rem;
  }

  .section-hero {
    gap: 2rem;
  }

  .slideshow-container {
    max-width: 35vh;
    height: 45vh;
  }

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

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

  .plans-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .partnership-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
  :root {
    --h1-size: 4rem;
    --h2-size: 3.5rem;
    --h3-size: 2.5rem;
    --h4-size: 2rem;
    --padding-global: 1.5rem;
  }

  /* Prevent horizontal scroll on mobile */
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Hide decorative elements that overflow on mobile */
  .solution-decoration,
  .synergy-decoration {
    display: none;
  }

  /* Constrain navigation to viewport width */
  .nav-component {
    width: 100%;
    max-width: 100vw;
  }

  .padding-global {
    max-width: 100%;
  }

  .container-large {
    max-width: 100%;
  }

  .nav-grid {
    max-width: 100%;
  }

  .nav-logo,
  .nav-logo a {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-menu {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--nav-bg-mobile);
    padding: 2rem;
    border-top: 1px solid var(--border-primary);
  }

  .section-hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .slideshow-container {
    width: 70%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 429 / 930;
    align-self: center;
    justify-self: center;
    order: -1;
    margin: 0 auto 2rem auto;
  }

  .slideshow-wrapper {
    width: 100%;
    height: 100%;
  }

  .hero-content-wrapper {
    order: 1;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-subcopy {
    font-size: 1rem;
  }

  .hero-small-text {
    font-size: 1rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

  .emphasis-text {
    font-size: 1.25rem;
  }


  .accordion-inner {
    margin-left: 0;
  }

  .accordion-header {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .accordion-number {
    font-size: 36px;
  }

  .accordion-title {
    font-size: 1.25rem;
  }

  .accordion-arrow {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ops-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .creator-title-en {
    font-size: 36px;
  }

  .creator-title-ko {
    font-size: 20px;
  }

  .creator-subtitle {
    font-size: 1rem;
  }

  .creator-case {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

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

/* ============================================
   RESPONSIVE - 576px
   ============================================ */
@media (max-width: 576px) {
  :root {
    --h1-size: 3rem;
    --h2-size: 2.5rem;
    --h3-size: 2rem;
    --h4-size: 1.5rem;
  }

  .slideshow-container {
    width: 60%;
    max-width: 250px;
  }

  .stat-number {
    font-size: 36px;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .creator-title-en {
    font-size: 36px;
  }

  .creator-title-ko {
    font-size: 1.25rem;
  }

  .creator-subtitle {
    font-size: 1rem;
  }

  .partnership-card {
    padding: 2rem 1.5rem;
  }

  .creator-case {
    padding: 1.5rem;
  }
}

/* ============================================
   RESPONSIVE - 480px
   ============================================ */
@media (max-width: 480px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.75rem;
    --h4-size: 1.25rem;
    --padding-global: 1rem;
  }

  .slideshow-container {
    width: 55%;
    max-width: 200px;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .main-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .main-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
  }

  .creator-cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* ============================================
   LUCIDE ICONS
   ============================================ */
.icon,
[data-lucide] {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}

/* 문제인식 카드 대형 아이콘 */
.problem-icon {
  font-size: 36px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.problem-icon [data-lucide] {
  width: 48px;
  height: 48px;
  stroke: var(--text-primary);
}

/* 플로우 다이어그램 아이콘 */
.flow-icon {
  font-size: 36px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon [data-lucide] {
  width: 40px;
  height: 40px;
  stroke: var(--text-primary);
}

/* 플로우 화살표 */
.flow-arrow {
  font-size: 36px;
  color: var(--text-accent);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow [data-lucide] {
  width: 32px;
  height: 32px;
  stroke: var(--text-accent);
}

/* 플랜 체크마크/X 아이콘 */
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex-shrink: 0;
}

.plan-features li [data-lucide="check"] {
  stroke: #4ade80;
}

.plan-features li [data-lucide="x"] {
  stroke: #f87171;
}

/* ========================================
   Mobile Font Size 3-Tier System (phase5-17c)
   ======================================== */
@media (max-width: 768px) {
  /* 소 (본문, 설명, 버튼, 폼): 17px */
  body {
    font-size: 17px;
  }

  p, span, li, td, th, label, input, textarea, select, button, a,
  .nav-link,
  .hero-small-text,
  .module-intro-description,
  .module-intro-includes,
  .portfolio-name,
  .flow-text,
  .os-section-sub {
    font-size: 17px;
  }

  /* 중 (소제목, 강조): 19px */
  .nav-logo a,
  .hero-subtitle,
  .hero-subcopy {
    font-size: 19px;
  }

  /* 대 (제목, 헤더): 30px */
  h1, h2, h3,
  .hero-title,
  .section-title,
  .plan-name {
    font-size: 30px;
  }
}

/* ============================================
   DROPSHIPPING COUNTDOWN
   ============================================ */
.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.countdown-btn-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.countdown-container {
  text-align: center;
  margin-top: 2rem;
}

.countdown-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  min-width: 70px;
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.countdown-open-date {
  font-size: 1rem;
  color: var(--text-tertiary);
  margin-top: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .countdown-box {
    padding: 0.75rem 1rem;
    min-width: 60px;
  }
  .countdown-number {
    font-size: 1.5rem;
  }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

/* ========================================
   Footer Legal Links
   ======================================== */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-legal-divider {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ========================================
   정책 페이지 공통 스타일
   ======================================== */
.policy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  color: var(--text-primary);
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: 'SUIT', sans-serif;
}

.policy-page .policy-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.policy-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: 'SUIT', sans-serif;
}

.policy-page p,
.policy-page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: 'SUIT', sans-serif;
}

.policy-page ul,
.policy-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ========================================
   문의하기 페이지 스타일
   ======================================== */
.contact-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.contact-page h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: 'SUIT', sans-serif;
}

.contact-page .contact-intro {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-family: 'SUIT', sans-serif;
}

.contact-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'SUIT', sans-serif;
}

.contact-form .form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'SUIT', sans-serif;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-form .submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent-primary);
  color: var(--accent-text);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  margin-top: 0.5rem;
  font-family: 'SUIT', sans-serif;
}

.contact-form .submit-btn:hover:not(:disabled) {
  background: var(--accent-hover);
}

.contact-form .submit-btn:active {
  transform: scale(0.98);
}

.contact-form .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-success {
  padding: 1rem;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 8px;
  color: var(--color-positive);
  text-align: center;
  margin-top: 1rem;
  font-family: 'SUIT', sans-serif;
  line-height: 1.6;
}

.contact-error {
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  text-align: center;
  margin-top: 1rem;
  font-family: 'SUIT', sans-serif;
  line-height: 1.6;
}

.contact-bottom-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'SUIT', sans-serif;
}

.contact-bottom-note a {
  color: var(--accent-primary);
  text-decoration: underline;
}
