/* ========================================================
   자격패스 (CertiPass) - Modern SaaS Design System
   Inspired by Linear.app, Toss, Raycast & Vercel
   ======================================================== */

:root {
  /* Rich Brand & Neutral Palette (Toss Blue + Slate) */
  --primary: #3182f6;
  --primary-hover: #1b64da;
  --primary-gradient: linear-gradient(135deg, #3182f6 0%, #1e40af 100%);
  --primary-light: #eff6ff;
  --primary-glow: rgba(49, 130, 246, 0.25);
  
  --accent-teal: #059669;
  --accent-teal-light: #ecfdf5;
  --accent-orange: #d97706;
  --accent-orange-light: #fffbeb;
  --accent-rose: #e11d48;
  --accent-rose-light: #fff1f2;
  --accent-coral: #ff7f50;
  --accent-coral-glow: rgba(255, 127, 80, 0.35);

  --canvas: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --surface-muted: #f8fafc;

  --text-main: #0f172a;   /* Level 1: 핵심 대제목, 딥 블랙, 압도적 볼드 */
  --text-sub: #334155;    /* Level 2: 소제목, 카드 타이틀, 다크 슬레이트 */
  --text-body: #64748b;   /* Level 3: 본문 설명문, 안내 텍스트, 슬레이트 그레이 */
  --text-muted: #94a3b8;  /* Level 4: 캡션, 부가 메타, 보조 힌트, 날짜, 쿨 그레이 */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(49, 130, 246, 0.4);

  /* Geometry & Elevation Tokens */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.05);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", sans-serif;
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--canvas);
  color: var(--text-main);
  line-height: 1.6;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  word-break: keep-all;
  overflow-x: hidden;
}

/* 3단계 시각적 계층 분리 기본 태그 스타일 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  letter-spacing: -0.025em;
  font-weight: 850;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 1.7rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

h3 {
  font-size: 1.22rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-sub);
}

h4 {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-sub);
}

p {
  color: var(--text-body);
  line-height: 1.68;
  font-size: 0.95rem;
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   1. Header (Glassmorphism & Crisp Micro-Border)
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(49, 130, 246, 0.1);
  border-radius: var(--radius-sm);
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.logo-badge {
  background: rgba(255, 127, 80, 0.12);
  color: #ff7f50;
  border: 1px solid rgba(255, 127, 80, 0.25);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: -0.01em;
}

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

/* 4대 대분류 드롭다운 (Toss & Linear Modern Style) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-btn:hover,
.nav-dropdown.active .nav-dropdown-btn {
  color: var(--primary);
  background: rgba(49, 130, 246, 0.08);
}

.nav-arrow {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s;
  display: inline-block;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown.active .nav-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* 드롭다운 플로팅 카드 (Glassmorphism & Crisp Elevation) */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 275px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 6px 14px -3px rgba(15, 23, 42, 0.07);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 250;
}

/* 마우스 호버 및 active 상태 시 오픈 */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 드롭다운 아이템 */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.nav-item-icon {
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 130, 246, 0.06);
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-item-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nav-item-text strong {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-main);
  line-height: 1.3;
}

.nav-dropdown-item:hover .nav-item-text strong {
  color: var(--primary);
}

.nav-item-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}


/* ========================================================
   2. Hero Section (Linear & Toss Modern Aesthetic)
   ======================================================== */
.hero {
  padding: 60px 0 35px;
  text-align: center;
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(49, 130, 246, 0.08);
  border: 1px solid rgba(49, 130, 246, 0.15);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(49, 130, 246, 0.08);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #ff7f50 20%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.75;
  font-weight: 400;
}

/* Stats Pill Bar (레이캐스트/리니어 감성) */
.stats-pills-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  color: var(--text-sub);
}

.stat-icon {
  font-size: 1rem;
}

.stat-text strong {
  color: var(--text-main);
  font-weight: 700;
}

/* ========================================================
   Ad Slot Wrapper (안전 규격 분리)
   ======================================================== */
.ad-slot-wrapper {
  margin: 32px auto 40px;
  text-align: center;
  max-width: 970px;
}

.ad-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ad-placeholder {
  min-height: 90px;
  background: var(--surface);
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ========================================================
   3. 3-Sec Calculator (Toss Style Fluid Fin-tech Card)
   ======================================================== */
.calculator-section {
  margin-bottom: 50px;
}

.calc-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.calc-header {
  margin-bottom: 28px;
}

.calc-header h2 {
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.calc-header p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.input-group select,
.input-group input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-color: var(--surface);
  font-size: 16px; /* iOS 자동 줌 방지 */
  font-family: inherit;
  color: var(--text-main);
  font-weight: 500;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  -webkit-appearance: none;
  appearance: none;
}

.input-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.input-group select:focus,
.input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.calc-btn-wrap {
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 15px 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 16px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 130, 246, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Result Box (토스 스타일 환급 리포트) */
.calc-result-box {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(180deg, #f0f7ff 0%, #e0effe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-result-box.active {
  display: block;
}

.result-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(49, 130, 246, 0.2);
}

.result-summary .title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.result-summary .price-tag {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.result-details {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.benefit-card {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(49, 130, 246, 0.15);
  box-shadow: var(--shadow-sm);
}

.benefit-card h4 {
  font-size: 1rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

.result-share-wrap {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-share-main {
  background: var(--text-main);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.btn-share-main:hover {
  background: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-share-subtle {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-share-subtle:hover {
  background: var(--surface-alt);
}

/* 찜하기(Bookmark) 버튼 스타일 */
.btn-bookmark {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  color: #cbd5e1;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-bookmark:hover {
  transform: scale(1.15);
  color: #f59e0b;
}

.btn-bookmark.active {
  color: #f59e0b;
  animation: starPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================================
   Career Roadmaps Section (Theme-based Curation)
   ======================================================== */
.roadmaps-section {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.roadmaps-header {
  margin-bottom: 24px;
}

.roadmaps-header h2 {
  font-size: 1.7rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.35;
}

.roadmaps-header p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.roadmaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.roadmap-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.roadmap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 130, 246, 0.35);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.roadmap-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.roadmap-icon {
  font-size: 1.6rem;
}

.roadmap-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(49, 130, 246, 0.1);
  color: var(--primary);
}

.roadmap-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.roadmap-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 14px;
}

.roadmap-benefit {
  background: #ffffff;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-teal);
  border: 1px solid rgba(5, 150, 105, 0.15);
  margin-bottom: 16px;
}

.btn-roadmap-view {
  width: 100%;
  padding: 10px;
  background: var(--text-main);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-roadmap-view:hover {
  background: var(--primary);
}

/* Safe Zone Spacer */
.safe-zone-spacer {
  height: 40px;
}

/* ========================================================
   4. Search & Filter Section (Raycast Style Minimal Search)
   ======================================================== */
.search-filter-section {
  margin-bottom: 32px;
}

/* ========================================================
   실시간 접수 마감 임박 알림 티커 바
   ======================================================== */
.urgent-deadline-wrap {
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fdba74;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.08);
}

.urgent-deadline-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.urgent-deadline-inner::-webkit-scrollbar {
  display: none;
}

.urgent-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.urgent-icon {
  font-size: 1.1rem;
}

.urgent-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #c2410c;
  letter-spacing: -0.02em;
}

.urgent-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.urgent-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #9a3412;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.urgent-pill:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  transform: translateY(-1px);
}

.urgent-dday {
  background: #ea580c;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.urgent-pill:hover .urgent-dday {
  background: #ffffff;
  color: #ea580c;
}

.search-bar-wrap {
  position: relative;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 20px 14px 52px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-main);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  pointer-events: none;
}

/* Filter Chips (Toss Style Segmented Pills) */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  color: var(--accent-coral);
  border-color: rgba(255, 127, 80, 0.4);
}

.tab-btn.active {
  background: var(--accent-coral);
  color: #ffffff;
  border-color: var(--accent-coral);
  box-shadow: 0 3px 12px var(--accent-coral-glow);
}

/* ========================================================
   월별 검색 기준 세그먼트 토글 스위치 (시험일 vs 원서접수)
   ======================================================== */
.date-mode-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 2px;
}

.date-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mode-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.86rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

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

.mode-toggle-btn.active {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(49, 130, 246, 0.2);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.mode-toggle-btn.active .mode-icon {
  transform: scale(1.1);
}

.mode-icon {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.mode-tag {
  font-size: 10px;
  font-weight: 800;
  background: rgba(49, 130, 246, 0.12);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.mode-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mode-desc strong {
  color: var(--text-main);
  font-weight: 700;
}

/* 2026 월별 원서접수 타임라인 바 */
.month-filter-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.month-filter-wrap::-webkit-scrollbar {
  display: none;
}

.month-label {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-main);
  white-space: nowrap;
}

.month-pills {
  display: flex;
  gap: 6px;
}

.month-btn {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.month-btn:hover {
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--text-main);
}

.month-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* ========================================================
   5. Cert Grid & Sleek Cards (Linear Style Polish)
   ======================================================== */
.cert-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px;
  margin-bottom: 50px;
}

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  min-width: 0;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 130, 246, 0.3);
  box-shadow: var(--shadow-lg);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.category-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: -0.01em;
}

.category-badge.tech {
  background: rgba(49, 130, 246, 0.1);
  color: #1e40af;
}

.category-badge.prof {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

.category-badge.lang {
  background: var(--accent-teal-light);
  color: var(--accent-teal);
}

.dday-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  background: var(--accent-rose-light);
  color: var(--accent-rose);
  letter-spacing: 0.02em;
}

.cert-name {
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--accent-coral);
  margin-bottom: 4px;
}

.cert-issuer {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.fee-wrap {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fee-wrap .label {
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 600;
}

.fee-wrap .amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.discount-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.d-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  background: rgba(49, 130, 246, 0.08);
  color: #2563eb;
}

.d-tag.highlight {
  background: var(--accent-teal-light);
  color: var(--accent-teal);
}

.d-tag.legal-tag {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-weight: 800;
}

.card-schedule {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 18px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  padding-top: 14px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sched-round-title {
  margin-bottom: 2px;
}

.sched-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: -0.01em;
}

.sched-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
}

.sched-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
}

.sched-tag.exam {
  color: #b45309;
}

.sched-date {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
  letter-spacing: -0.01em;
}

.sched-date.exam {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.sched-row.highlight-exam {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin: 1px 0;
}

.sched-row.highlight-apply {
  background: rgba(49, 130, 246, 0.06);
  border: 1px solid rgba(49, 130, 246, 0.2);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin: 1px 0;
}

.btn-detail {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-detail:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ========================================================
   6. Modal (Bottom Sheet on Mobile, Dialog on Desktop)
   ======================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-drag-bar {
  display: none;
  width: 44px;
  height: 5px;
  background: rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-subtle);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-sub);
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 24px;
  padding-right: 40px;
}

#modal-cert-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--accent-coral) !important;
  letter-spacing: -0.03em;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.schedule-table th,
.schedule-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.schedule-table th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--text-sub);
}

.btn-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px;
  background: var(--text-main);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  margin-top: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.btn-official:hover {
  background: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* ========================================================
   Guide & FAQ Section (E-E-A-T Rich Static Content)
   ======================================================== */
.guide-section {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.guide-header {
  margin-bottom: 30px;
}

.guide-badge {
  display: inline-block;
  background: rgba(49, 130, 246, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.guide-header h2 {
  font-size: 1.7rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.35;
}

.guide-header p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(49, 130, 246, 0.3);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================================
   Regional Portal Hub Grid
   ======================================================== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.hub-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 130, 246, 0.3);
  box-shadow: var(--shadow-sm);
}

.hub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hub-name {
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hub-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--accent-teal-light);
  color: var(--accent-teal);
}

.hub-limit {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.hub-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.55;
}

.hub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hub-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Google Calendar Add Button */
.btn-cal-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  padding: 11px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cal-add:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
}

.toast.show {
  bottom: 30px;
  opacity: 1;
}

/* ========================================================
   Checklist Progress & Interactive Items
   ======================================================== */
.checklist-progress-wrap {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.check-item:hover {
  border-color: rgba(49, 130, 246, 0.3);
  background: #ffffff;
}

.check-item input[type="checkbox"] {
  display: none;
}

.check-box-custom {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(15, 23, 42, 0.2);
  border-radius: 6px;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #ffffff;
}

.check-item input[type="checkbox"]:checked + .check-box-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.check-item input[type="checkbox"]:checked + .check-box-custom::after {
  content: "✓";
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.check-item input[type="checkbox"]:checked ~ .check-text strong {
  text-decoration: line-through;
  color: var(--text-muted);
}

.check-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  transition: color 0.2s;
}

.check-text span {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ========================================================
   7. Footer
   ======================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 60px;
  margin-top: 60px;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ========================================================
   8. Responsive & Mobile Optimization (Max 768px)
   ======================================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 58px;
  }

  /* 모바일 네비게이션 가로 스크롤 & 고정 팝오버 */
  .site-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 4px;
    padding: 4px 0;
    max-width: 65%;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-dropdown-btn {
    padding: 6px 9px;
    font-size: 0.82rem;
    gap: 3px;
  }

  .nav-dropdown-menu {
    position: fixed;
    top: 62px;
    left: 12px;
    right: 12px;
    transform: translateY(8px);
    min-width: unset;
    width: auto;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.active .nav-dropdown-menu {
    transform: translateY(0);
  }

  .hero {
    padding: 36px 0 24px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .pc-only {
    display: none;
  }

  .stats-pills-wrap {
    gap: 8px;
  }

  .stat-pill {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .calc-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .calc-header h2 {
    font-size: 1.3rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .btn-primary {
    width: 100%;
    min-height: 52px;
  }

  .search-input {
    min-height: 50px;
    padding: 12px 18px 12px 46px;
  }

  .search-icon {
    left: 16px;
  }

  .date-mode-container {
    margin-top: 14px;
    gap: 8px;
  }

  .mode-toggle-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* 태블릿 및 가로 분할 화면(601px~768px): 2열 유지 */
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }

  .cert-card {
    padding: 20px;
    min-width: 0;
  }

  /* Bottom Sheet Modal on Mobile */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-drag-bar {
    display: block;
  }

  .modal-content {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
    animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .modal-close {
    top: 16px;
    right: 18px;
  }

  .modal-header h3 {
    font-size: 1.3rem !important;
  }

  .site-footer {
    padding: 36px 0 calc(40px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .logo-title {
    font-size: 1.1rem;
  }
  .site-nav a:last-child {
    display: none;
  }
  .hero-title {
    font-size: 1.55rem;
  }
}

/* 스마트폰 모바일 화면 (600px 이하): 1열 레이아웃 & 콤팩트 패딩 */
@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .cert-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .fee-wrap {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .card-schedule {
    margin-bottom: 14px;
    padding-top: 12px;
  }
}

/* ========================================================
   Expert Editorial Articles Section
   ======================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 130, 246, 0.3);
  box-shadow: var(--shadow-md);
}

.article-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.article-summary {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
}

.step-item p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

/* ========================================================
   Public Corporation Points Grid & Cards
   ======================================================== */
.public-corp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.corp-point-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.corp-point-card:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 130, 246, 0.35);
  box-shadow: var(--shadow-md);
}

.corp-point-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.corp-point-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ========================================================
   Gov Support Combo Guide Section
   ======================================================== */
.gov-combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.gov-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.gov-card:hover {
  border-color: rgba(49, 130, 246, 0.3);
  box-shadow: var(--shadow-md);
}

.gov-card-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.gov-card-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 16px;
}

.gov-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.combo-summary-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.combo-steps-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.flow-box {
  flex: 1;
  min-width: 180px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  position: relative;
}

.flow-box.highlight {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.flow-step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(49, 130, 246, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.flow-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.flow-box p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.45;
  margin: 0;
}

.flow-arrow {
  color: var(--text-muted);
  font-weight: 900;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .combo-steps-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-arrow {
    text-align: center;
    transform: rotate(90deg);
    margin: -4px 0;
  }
}

/* ========================================================
   9. Planner Print & Calculator Checker UI Styles
   ======================================================== */
.cert-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn-print-planner {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-print-planner:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
  transform: translateY(-1px);
}

.quick-calc-tag {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.quick-calc-tag:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ========================================================
   A4 수험 플래너 인쇄 전용 스타일 (@media print)
   ======================================================== */
.print-planner-area {
  display: none;
}

@media print {
  body * {
    visibility: hidden;
  }
  #print-planner-area, #print-planner-area * {
    visibility: visible;
  }
  #print-planner-area {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 24px;
    background: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  .print-header {
    border-bottom: 2px solid #000000;
    padding-bottom: 12px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .print-header h1 {
    font-size: 20pt;
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.03em;
  }
  .print-planner-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: 10pt;
  }
  .print-planner-table th, .print-planner-table td {
    border: 1px solid #333333;
    padding: 8px 10px;
    text-align: left;
  }
  .print-planner-table th {
    background-color: #f3f4f6 !important;
    font-weight: bold;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-notes {
    margin-top: 24px;
    border: 1px dashed #666666;
    padding: 12px 16px;
    font-size: 9.5pt;
    line-height: 1.6;
  }
}

/* ========================================================
   수험 기간 & 합격자 골든 루틴 전용 스타일
   ======================================================== */
.routine-cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.routine-cert-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.routine-cert-icon {
  font-size: 1.8rem;
}

.routine-cert-name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.routine-cert-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.routine-meta-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.routine-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.routine-track-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.routine-track-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(49, 130, 246, 0.3);
}

.routine-track-card.major {
  border-left: 4px solid #2563eb;
}

.routine-track-card.non-major {
  border-left: 4px solid #8b5cf6;
}

.routine-track-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}

.routine-track-badge.major {
  background: #eff6ff;
  color: #1d4ed8;
}

.routine-track-badge.non-major {
  background: #f5f3ff;
  color: #6d28d9;
}

.routine-metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 16px 0;
}

.routine-metric-box {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.routine-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.routine-metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.routine-track-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-subtle);
}

.routine-tip-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.routine-phases-wrap {
  margin-top: 20px;
}

.routine-phases-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.routine-phase-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.routine-phase-step-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.routine-phase-step-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 4px;
}

.routine-phase-step-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.routine-phase-step-detail {
  font-size: 0.83rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* 타임테이블 카드 스타일 */
.routine-mode-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.routine-mode-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.routine-mode-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #2563eb;
  margin-bottom: 6px;
}

.routine-mode-title {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.routine-mode-subtitle {
  font-size: 0.88rem;
  color: var(--text-body);
}

.routine-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.routine-timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  align-items: center;
}

@media (max-width: 640px) {
  .routine-timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.routine-time-col {
  display: flex;
  flex-direction: column;
}

.routine-time-range {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}

.routine-time-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.routine-time-action {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

.routine-secret-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.86rem;
  color: #854d0e;
  line-height: 1.6;
}

/* ========================================================
   4대 전문관 뷰(View) 라우팅 & 홈 퀵 카드 모던 스타일
   ======================================================== */
.view-tab-bar-wrap {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 64px;
  z-index: 95;
  transition: all 0.2s ease;
}

.view-tab-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.view-tab-bar::-webkit-scrollbar {
  display: none;
}

.view-tab-btn {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--text-sub);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-tab-btn:hover {
  color: var(--primary);
  border-color: rgba(49, 130, 246, 0.4);
  background: #ffffff;
  transform: translateY(-1px);
}

.view-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(49, 130, 246, 0.28);
}

/* 홈 4대 전문관 퀵 카드 그리드 */
.portal-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.portal-quick-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.portal-quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 130, 246, 0.4);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
}

.portal-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.portal-card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.portal-card-title {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.portal-card-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.portal-card-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 전문관 상단 헤더 배너 */
.view-banner-area {
  margin: 24px 0 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  animation: viewFadeIn 0.25s ease-out;
}

.view-banner-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
}

.view-banner-title {
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.view-banner-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin: 0;
}

/* 뷰 전환 시 섹션 노출/숨김 */
.view-section-hidden {
  display: none !important;
}

.view-section-visible {
  display: block;
  animation: viewFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 768px) {
  .view-tab-bar-wrap {
    top: 58px;
  }
  .view-tab-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .portal-quick-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .view-banner-area {
    padding: 18px 20px;
  }
  .view-banner-title {
    font-size: 1.25rem;
  }
}

/* ========================================================
   [v2.6.0] 상단 헤더 빠른 검색(Ctrl+K) & 찜 퀵 액션 버튼
   ======================================================== */
.nav-quick-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-sub);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-quick-search-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.nav-search-kbd {
  display: inline-block;
  padding: 2px 5px;
  font-size: 10px;
  font-family: inherit;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 4px;
}

.nav-bookmark-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-bookmark-quick-btn:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.nav-bookmark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d97706;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

/* ========================================================
   [v2.6.0] Linear/Toss Style 퀵 검색(Command-K) 팝업 모달
   ======================================================== */
.quick-search-dialog {
  position: relative;
  width: 92%;
  max-width: 620px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  animation: quickSearchPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes quickSearchPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.quick-search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
}

.quick-search-icon {
  font-size: 1.25rem;
  opacity: 0.7;
}

#quick-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
}

#quick-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.quick-search-close-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.quick-search-close-btn:hover {
  background: var(--surface-alt);
  color: var(--text-main);
}

.quick-search-body {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px 12px;
}

.quick-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 4px;
}

.quick-search-item:hover,
.quick-search-item.selected {
  background: #f1f5f9;
}

.quick-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.quick-item-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
}

.quick-item-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quick-item-status {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.quick-search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quick-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.quick-search-hint {
  display: flex;
  gap: 12px;
}

.quick-search-hint kbd {
  padding: 2px 4px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

/* ========================================================
   [v2.6.0] 2027년 상반기 1회차 대비 골든타임 특설 안내 배너
   ======================================================== */
.next-year-prep-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.25);
}

.prep-banner-icon {
  font-size: 2rem;
  line-height: 1;
}

.prep-banner-content {
  flex: 1;
}

.prep-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.prep-banner-title strong {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.prep-banner-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f59e0b;
  color: #78350f;
}

.prep-banner-desc {
  font-size: 0.84rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

.btn-prep-filter {
  padding: 10px 16px;
  background: #3b82f6;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.btn-prep-filter:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.45);
}

@media (max-width: 768px) {
  .nav-search-kbd {
    display: none;
  }
  .nav-quick-search-btn {
    padding: 5px 9px;
    font-size: 0.78rem;
  }
  .nav-bookmark-quick-btn {
    padding: 5px 9px;
    font-size: 0.78rem;
  }
  .next-year-prep-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  .btn-prep-filter {
    width: 100%;
    text-align: center;
  }
}






