:root {
  /* Surface & Canvas Tokens */
  --bg: #090d13;
  --bg-surface: #0d1219;
  --bg-card: #131923;
  --bg-card-hover: #18202d;
  --bg-subtle: rgba(255, 255, 255, 0.04);
  --bg-muted: rgba(255, 255, 255, 0.08);
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-focus: #58a6ff;
  
  /* Brand & Accents */
  --accent: #ffd166;
  --accent-hover: #ffe08a;
  --accent-blue: #58a6ff;
  --accent-cyan: #38d9a9;
  --accent-rust: #f75229;
  --accent-purple: #a06eff;
  --accent-orange: #f09628;
  
  /* Typography Colors */
  --text: #f0f6fc;
  --text-secondary: #c9d1d9;
  --text-muted: #8b949e;
  --text-disabled: #484f58;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows & Glows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
  
  /* Fonts */
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  
  /* Container */
  --max-w: 860px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .hero-desc,
.project-title, .project-desc,
.section-title, .guide-title, .guide-desc {
  word-break: keep-all;
  overflow-wrap: break-word;
}

code, pre, .mono {
  word-break: break-all;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 12px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-divider {
  color: var(--border);
}

.header-back {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.header-back:hover {
  color: var(--text);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.15s ease;
  white-space: nowrap;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0d1117;
}

.btn-primary:hover {
  background: #ffe08a;
}

.btn-outline {
  background: var(--bg-subtle);
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: #8b949e;
}

.btn-lg {
  padding: 11px 20px;
  font-size: 0.98rem;
}

/* Hero */
.hero {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}

.badge-rust {
  border-color: rgba(247, 82, 41, 0.4);
  color: #ff8c69;
}

.badge-game {
  border-color: rgba(88, 166, 255, 0.4);
  color: var(--accent-blue);
}

/* In-game HUD Reason Badges (Overmax v0.4.0) */
.badge-reco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 20px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  border: none;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

.badge-reco-top  { background: #a06eff; } /* 보라 - Top-50 돌파 */
.badge-reco-def  { background: #f09628; } /* 골드/오렌지 - Top-50 수성 */
.badge-reco-up   { background: #32b4ff; } /* 스카이블루 - 상승 모멘텀 */
.badge-reco-rest { background: #28be82; } /* 에메랄드 - 회복/손풀기 */
.badge-reco-try  { background: #ff5f5f; } /* 코랄레드 - 재도전 */
.badge-reco-clr  { background: #1ec8a0; } /* 민트/청록 - 미플레이 첫 클리어 */

.badge-reco-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.badge-reco-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.badge-reco-desc {
  flex: 1;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Media / Screenshot Preview Frame */
/* Media / Screenshot Preview Frame & Carousel */
.hero-media {
  margin-top: 40px;
}

.preview-frame {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: #090d12;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  gap: 10px;
}

.preview-bar-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.preview-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-secondary);
}

.dots {
  display: flex;
  gap: 5px;
  margin-right: 12px;
  flex-shrink: 0;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #30363d;
}

/* Carousel Container & Slides */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
}

.placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 180px;
  background: #090d12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.placeholder-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  background: #090d12;
}

.placeholder-box.has-image img {
  display: block;
}

.placeholder-box.has-image .placeholder-text {
  display: none;
}

.placeholder-text {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.placeholder-text code {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(9, 13, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  user-select: none;
  opacity: 0.85;
}

.carousel-nav-btn:hover {
  background: rgba(88, 166, 255, 0.25);
  border-color: var(--accent-blue);
  color: #ffffff;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

/* Carousel Tabs in Header Bar */
.carousel-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.carousel-tab-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.carousel-tab-btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.carousel-tab-btn.active {
  background: rgba(88, 166, 255, 0.16);
  border-color: rgba(88, 166, 255, 0.5);
  color: var(--accent-blue);
}

/* Carousel Pagination Dots */
.carousel-pagination {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
  padding: 4px 10px;
  background: rgba(9, 13, 18, 0.7);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--accent-blue);
}

/* Sections */
.section {
  padding: 50px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

/* Projects Cards (Orphera Home) */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.15s ease;
}

.project-card:hover {
  border-color: #8b949e;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.value-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.value-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Feature Grid (Overmax Page) */
.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Guide (Overmax Page) */
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.step-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.step-box h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.step-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.notice-box {
  background: rgba(255, 209, 102, 0.05);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.notice-box strong {
  color: var(--accent);
}

/* Guide Documentation Layout */
.guide-header {
  padding: 30px 0 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.guide-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.guide-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Enhanced Table of Contents */
.guide-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.guide-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-left: 0;
  margin-bottom: 0;
}

.guide-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  text-decoration: none;
}

.guide-toc-link:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: #8b949e;
  transform: translateX(2px);
  text-decoration: none;
}

.guide-toc-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(88, 166, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.2;
}

.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.guide-section ul, .guide-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.guide-section li {
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.guide-section code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

/* Callout Box Variants */
.callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.callout-title {
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.callout-tip {
  background: rgba(88, 166, 255, 0.06);
  border: 1px solid rgba(88, 166, 255, 0.3);
  color: var(--text-secondary);
}

.callout-tip .callout-title {
  color: var(--accent-blue);
}

.callout-warning {
  background: rgba(255, 209, 102, 0.06);
  border: 1px solid rgba(255, 209, 102, 0.3);
  color: var(--text-secondary);
}

.callout-warning .callout-title {
  color: var(--accent);
}

.callout-success {
  background: rgba(56, 217, 169, 0.06);
  border: 1px solid rgba(56, 217, 169, 0.3);
  color: var(--text-secondary);
}

.callout-success .callout-title {
  color: #38d9a9;
}

/* Mini HUD Preview Widget (for Guide) */
.hud-preview-widget {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hud-preview-left {
  font-weight: 700;
  color: #ff8c69;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-preview-right {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Guide Cards Grids */
.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 24px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.guide-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.guide-card li {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-blue);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 14px;
}

.faq-q {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Download Section (Overmax Page) */
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.download-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Desktop & Mobile Platform Helpers */
.mobile-only {
  display: none !important;
}

.mobile-platform-notice {
  display: none;
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid rgba(88, 166, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 14px 0 20px;
  line-height: 1.55;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

/* Desktop line break helper (hidden on mobile to prevent excessive wraps) */
.break-desktop {
  display: inline;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .break-desktop {
    display: none;
  }

  .desktop-only,
  .btn-desktop-only,
  .btn-download-desktop {
    display: none !important;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  .mobile-platform-notice {
    display: block !important;
  }

  .features-list,
  .steps-list,
  .values-grid,
  .guide-toc-list,
  .guide-cards-grid,
  .guide-toc ul {
    grid-template-columns: 1fr;
  }

  .nav-link-desktop {
    display: none !important;
  }

  .download-card {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
  }

  .download-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .download-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }

  .container {
    padding: 0 16px;
  }

  /* Header */
  .header-inner {
    height: 54px;
    gap: 8px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .nav {
    gap: 8px;
  }

  .nav-link {
    font-size: 0.82rem;
  }

  /* Hero */
  .hero {
    padding: 42px 0 28px;
  }

  .hero-title {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-badges {
    gap: 6px;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    margin-top: 24px;
  }

  .carousel-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .carousel-tab-btn {
    padding: 2px 7px;
    font-size: 0.7rem;
  }

  /* Sections */
  .section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  /* Cards */
  .project-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .project-title {
    font-size: 1.15rem;
  }

  .project-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .project-actions .btn {
    width: 100%;
  }

  .feature-item,
  .step-box,
  .value-item {
    padding: 16px;
  }

  .notice-box {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  /* Guide Page */
  .guide-header {
    padding: 24px 0 20px;
    margin-bottom: 24px;
  }

  .guide-title {
    font-size: 1.55rem;
  }

  .guide-desc {
    font-size: 0.9rem;
  }

  .guide-toc {
    padding: 14px 16px;
    margin-bottom: 28px;
  }

  .guide-toc ul {
    gap: 8px;
  }

  .guide-section {
    margin-bottom: 32px;
  }

  .guide-section h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .guide-section h3 {
    font-size: 1.02rem;
    margin: 16px 0 8px;
  }

  .guide-section p,
  .guide-section li {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .faq-item {
    padding: 14px 16px;
  }

  /* Footer */
  .footer {
    padding: 30px 0;
  }

  .footer-links {
    gap: 8px 12px;
  }

  .footer-links span {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 50px;
    gap: 6px;
  }

  .header-brand {
    gap: 6px;
  }

  .header-divider {
    display: none;
  }

  .header-back {
    font-size: 0.8rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-badge {
    display: none;
  }

  .nav {
    gap: 6px;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .nav-link-tablet {
    display: none !important;
  }

  .header .btn {
    padding: 4px 8px;
    font-size: 0.76rem;
  }
}
