/* ==========================================================================
   Design Tokens & Modern Styling for [심리 수사반장 김범일]
   Designed by 디자인실장 영자 🎨 & Developed with 코다리 개발부장 🐟
   ========================================================================== */

:root {
  /* Investigator Dark & Tactical Colors */
  --bg-deep: #070d18;             /* Deepest midnight obsidian */
  --bg-navy: #0b1528;             /* Police precinct midnight navy */
  --bg-card: #111e38;             /* Tactical dossier card surface */
  --bg-card-hover: #162646;
  --bg-subtle: #1c2c4c;

  /* Accents */
  --accent-amber: #f59e0b;        /* Investigation Warning Amber */
  --accent-amber-light: #fbbf24;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  
  --accent-cyan: #06b6d4;         /* Forensic Lab Cyan */
  --accent-cyan-glow: rgba(6, 182, 212, 0.25);

  --accent-danger: #ef4444;       /* Urgent Crime Ribbon */
  --accent-emerald: #10b981;      /* Certified Green */

  /* Text Colors */
  --text-white: #ffffff;
  --text-main: #f1f5f9;           /* Slate 100 */
  --text-muted: #94a3b8;          /* Slate 400 */
  --text-dim: #64748b;            /* Slate 500 */

  /* Borders & Shadows */
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(245, 158, 11, 0.4);
  --border-cyan: rgba(6, 182, 212, 0.4);

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow-amber: 0 0 25px rgba(245, 158, 11, 0.2);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.2);

  /* Fonts */
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: 'Noto Serif KR', serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body.theme-investigator {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(245, 158, 11, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

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

ul {
  list-style: none;
}

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

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

.highlight-accent {
  color: var(--accent-amber);
  text-shadow: 0 0 20px var(--accent-amber-glow);
}

/* ==========================================================================
   Top Banner
   ========================================================================== */
.top-banner {
  background: #040810;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 0;
  font-size: 0.85rem;
}

.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.banner-text {
  color: var(--text-muted);
}
.banner-text strong {
  color: #fff;
}

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

.hotline-link {
  color: var(--accent-amber);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-cta {
  background: var(--accent-amber);
  color: #000;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  transition: all 0.2s ease;
}
.banner-cta:hover {
  background: var(--accent-amber-light);
  box-shadow: 0 0 10px var(--accent-amber-glow);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 21, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: var(--shadow-card);
}

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

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

.badge-insignia {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1e3a8a, #0b1528);
  border: 1px solid var(--accent-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-amber);
  box-shadow: 0 0 14px var(--accent-amber-glow);
}

.badge-star {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.65rem;
  color: #fff;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  font-size: 0.75rem;
  background: var(--accent-amber);
  color: #000;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

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

.nav-link.highlight {
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  color: #000;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--accent-amber-glow);
}

.nav-link.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 110px;
  background: radial-gradient(circle at 65% 35%, #132448 0%, #070d18 75%);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.investigation-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-container-integrated {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Top Epic Headline Area */
.hero-headline-area {
  max-width: 1040px;
  margin: 0 auto 50px;
}

.hero-title-epic {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.28;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  word-break: keep-all;
}

.hero-desc-epic {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 880px;
  margin: 0 auto;
  word-break: keep-all;
}

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

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
}

.btn-outline-gold:hover {
  background: var(--accent-amber);
  color: #000;
  box-shadow: 0 0 20px var(--accent-amber-glow);
}

/* Hero Photo Only Showcase (프로파일은 뒤에 있으므로 사진만 당당하고 시원하게 제시) */
.hero-photo-showcase {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.hero-portrait-frame {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--accent-amber);
  box-shadow: var(--shadow-card), 0 0 40px rgba(245, 158, 11, 0.25);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-portrait-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 50px rgba(245, 158, 11, 0.35);
}

.hero-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.portrait-nameplate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 24, 0.95) 40%, #070d18 100%);
  padding: 30px 20px 18px;
  text-align: center;
}

.nameplate-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.badge-gold {
  font-size: 0.8rem;
  background: var(--accent-amber);
  color: #000;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.nameplate-sub {
  font-size: 0.825rem;
  color: var(--accent-cyan);
  font-weight: 600;
  line-height: 1.4;
}

/* 뒤쪽 Section: 이문국 소장 상세 프로필 스타일 */
.profile-section {
  background: #091322;
  border-bottom: 1px solid var(--border-dark);
}

.profile-layout-clean {
  max-width: 960px;
  margin: 0 auto;
}

.profile-card-detailed {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
}

.bio-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 16px;
  font-style: italic;
  border-left: 3px solid var(--accent-amber);
  padding-left: 14px;
}

.bio-desc {
  font-size: 1.025rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 34px;
}

.bio-desc strong {
  color: #fff;
}

.profile-history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  border-top: 1px solid var(--border-dark);
  padding-top: 28px;
}

.history-item {
  font-size: 0.925rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-item i {
  color: var(--accent-amber);
  font-size: 1.1rem;
}

.history-item strong {
  color: #fff;
}

@media (max-width: 768px) {
  .hero-actions-center { flex-direction: column; }
  .profile-history-grid { grid-template-columns: 1fr; }
  .profile-card-detailed { padding: 28px 20px; }
}

.hotline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--accent-amber);
  border-radius: var(--radius-md);
  color: var(--accent-amber);
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.hotline-btn:hover {
  background: var(--accent-amber);
  color: #000;
  box-shadow: 0 0 15px var(--accent-amber-glow);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 95px 0;
  border-bottom: 1px solid var(--border-dark);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-amber);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  font-family: var(--font-serif);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Case Files Section
   ========================================================================== */
.case-section {
  background: #091322;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition-smooth);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.case-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.ribbon-red { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid #ef4444; }
.ribbon-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid #3b82f6; }
.ribbon-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.ribbon-teal { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; border: 1px solid #14b8a6; }

.case-type {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-summary {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.investigator-note {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.investigator-note i {
  color: var(--accent-cyan);
  margin-top: 3px;
}

/* ==========================================================================
   4 Solutions Section
   ========================================================================== */
.solutions-section {
  background: var(--bg-deep);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-amber);
  box-shadow: var(--shadow-card), var(--shadow-glow-amber);
}

.solution-card.highlight-sol {
  border: 2px solid var(--accent-amber);
  background: linear-gradient(180deg, #162646 0%, #111e38 100%);
}

.sol-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.sol-badge.top-pick {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.15);
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.sol-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--accent-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.solution-card.highlight-sol .sol-icon {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
}

.sol-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.sol-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.sol-features {
  border-top: 1px solid var(--border-dark);
  padding-top: 14px;
}

.sol-features li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.sol-features li i {
  color: var(--accent-emerald);
  margin-top: 2px;
}

/* ==========================================================================
   Protocol Section (5-Step)
   ========================================================================== */
.protocol-section {
  background: #091322;
}

.protocol-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  gap: 10px;
}

.protocol-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.protocol-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.protocol-card.highlight-proto {
  background: linear-gradient(135deg, #1a2f58, #0e1b34);
  border: 1px solid var(--accent-amber);
  box-shadow: 0 0 20px var(--accent-amber-glow);
}

.proto-step {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--accent-amber);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.proto-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 14px;
}

.protocol-card.highlight-proto .proto-icon {
  color: var(--accent-amber);
}

.proto-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.proto-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.proto-arrow {
  color: var(--text-dim);
  font-size: 1.25rem;
}

/* ==========================================================================
   Profile & Books Section
   ========================================================================== */
.profile-section {
  background: var(--bg-deep);
}

.profile-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.profile-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.profile-hero-name {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.profile-hero-name span {
  font-size: 1.2rem;
  color: var(--accent-amber);
  font-weight: 600;
}

.profile-motto {
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 18px;
}

.profile-story {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.credentials-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cred-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-pill i {
  color: var(--accent-amber);
}

.books-dossier-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.books-dossier-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.book-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
}
.book-item:last-child { border-bottom: none; }

.book-badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.book-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.book-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Network / Triple Synergy
   ========================================================================== */
.network-section {
  background: #091322;
}

.network-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.net-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.net-box:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
}

.net-box.highlight-net {
  border: 1px solid var(--accent-amber);
  box-shadow: 0 0 20px var(--accent-amber-glow);
}

.net-icon {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.net-box.highlight-net .net-icon {
  color: var(--accent-amber);
}

.net-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.net-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

.net-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Inquiry Form Section
   ========================================================================== */
.inquiry-section {
  background: var(--bg-deep);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  background: var(--bg-navy);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.inquiry-headline {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
  font-family: var(--font-serif);
}

.inquiry-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
}

.brief-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.b-contact i {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.b-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

.b-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.inquiry-card {
  background: var(--bg-card);
  padding: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.card-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.req { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber-glow);
}

.form-group select option {
  background: var(--bg-card);
  color: #fff;
}

.btn-submit {
  padding: 15px;
  font-size: 1.05rem;
  margin-top: 10px;
  font-weight: 800;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #040810;
  color: var(--text-dim);
  padding: 55px 0 30px;
  font-size: 0.85rem;
  border-top: 1px solid var(--border-dark);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.footer-logo i { color: var(--accent-amber); }

.footer-tagline {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 600;
}
.footer-links a:hover { color: var(--accent-amber); }

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.7;
}

.copyright {
  margin-top: 16px;
  color: var(--text-dim);
}

/* ==========================================================================
   Toast Modal
   ========================================================================== */
.toast-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

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

.toast-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-amber);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 440px;
  box-shadow: var(--shadow-card), var(--shadow-glow-amber);
}

.toast-icon {
  font-size: 3rem;
  color: var(--accent-emerald);
  margin-bottom: 14px;
}

.toast-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.toast-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-container { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .network-cards { grid-template-columns: 1fr; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .protocol-grid { flex-direction: column; }
  .proto-arrow { transform: rotate(90deg); margin: 6px 0; }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .solutions-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* 추가 프로그램 그리드 스타일 */
.programs-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.prog-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  transition: all var(--transition-smooth);
}

.prog-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.prog-item.highlight-item {
  border: 1px solid var(--accent-amber);
  background: linear-gradient(180deg, #162646 0%, #111e38 100%);
  box-shadow: 0 0 20px var(--accent-amber-glow);
}

.prog-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--accent-amber);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.prog-item.highlight-item .prog-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border-color: var(--accent-amber);
}

.prog-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.prog-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .programs-grid-modern { grid-template-columns: repeat(2, 1fr); }
}

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

/* Principles Grid Style */
.principles-section {
  background: var(--bg-deep);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-smooth);
}

.principle-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.principle-card.highlight-principle {
  border: 1px solid var(--accent-amber);
  background: linear-gradient(135deg, #172a4d, #0d182e);
  box-shadow: 0 0 25px var(--accent-amber-glow);
}

.principle-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-amber);
  margin-bottom: 12px;
  line-height: 1;
}

.principle-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.principle-card.highlight-principle .principle-icon {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
}

.principle-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.principle-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* ==========================================================================
   Epic Integrated Hero & Showcase
   ========================================================================== */
.hero-container-integrated {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 0 30px;
}

.hero-headline-area {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title-epic {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 20px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-desc-epic {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 30px;
}

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

.hero-photo-showcase,
.hero-video-showcase {
  width: 100%;
  max-width: 860px;
  margin: 10px auto 0;
}

.hero-portrait-frame,
.hero-video-frame {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 30, 48, 0.9), rgba(10, 16, 26, 0.95));
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.2);
  overflow: hidden;
}

.video-header-bar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 16px 22px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: left;
}

.hero-video-player {
  width: 100%;
  max-height: 480px;
  border-radius: 12px;
  display: block;
  background: #000;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.badge-video {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.hero-portrait-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  display: block;
  filter: contrast(1.05) brightness(1.02);
}

.portrait-nameplate {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(10, 16, 26, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nameplate-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.badge-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b1120;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.nameplate-sub {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ==========================================================================
   Section 2: 타 강사 대비 압도적 차별화 포인트 3선 (참고 이미지 1 반영)
   ========================================================================== */
.differentiator-section {
  background: #080d1a;
  position: relative;
}

.diff-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.diff-card {
  background: #0e1726;
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 32px 26px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.diff-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.diff-card.highlight-diff {
  background: linear-gradient(160deg, #132238 0%, #0c1524 100%);
  border: 1.5px solid #f59e0b;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2);
}

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

.diff-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.diff-badge.top {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}

.diff-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 1.25rem;
}

.diff-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
  line-height: 1.4;
}

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

.diff-list li {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.diff-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.diff-list li strong {
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   Section 3: 4대 통합 솔루션 그리드
   ========================================================================== */
.solutions-section {
  background: #0b1120;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 45px;
}

.solution-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.solution-card.highlight-sol {
  border-color: #f59e0b;
  background: linear-gradient(165deg, #162438 0%, #0d1727 100%);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

.sol-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.sol-badge.top-pick {
  color: #f59e0b;
}

.sol-icon {
  width: 50px;
  height: 50px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.sol-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.sol-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.sol-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-features li {
  font-size: 0.85rem;
  color: #cbd5e1;
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.sol-features li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: #38bdf8;
  font-size: 0.8rem;
}

.sol-features li strong {
  color: #fff;
}

/* ==========================================================================
   Section 4: 프로필 쇼케이스 (참고 이미지 2 형식 반영: 좌측 사진 + 우측 2단 박스)
   ========================================================================== */
.profile-showcase-section {
  background: #080d1a;
  padding: 90px 0;
}

.profile-hero-panel {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  background: #0b1526;
  border: 1px solid #1e2e4a;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  align-items: center;
}

.panel-photo-side {
  width: 100%;
}

.panel-img-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  background: #080e1a;
}

.panel-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.panel-photo-tagline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  border-top: 2px solid #f59e0b;
  padding: 12px 14px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.3px;
}

.panel-content-side {
  display: flex;
  flex-direction: column;
}

.instructor-subtag {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.panel-main-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.panel-desc {
  font-size: 1.025rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 28px;
}

.panel-credentials-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cred-box {
  background: #08101e;
  border: 1px solid #1e2c44;
  border-top: 3px solid #f59e0b;
  border-radius: 12px;
  padding: 22px 16px;
  overflow: hidden;
}

.cred-box-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cred-box-title i {
  color: #f59e0b;
  font-size: 1rem;
}

.cred-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.cred-bullets li {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  letter-spacing: -0.4px;
}

.bullet-sq {
  width: 6px;
  height: 6px;
  background-color: #f59e0b;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 1px;
}

/* ==========================================================================
   Responsive Breakpoints for New Components
   ========================================================================== */
@media (max-width: 1200px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid-3 { grid-template-columns: 1fr; }
  .profile-hero-panel { grid-template-columns: 320px 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero-title-epic { font-size: 2.3rem; }
  .hero-portrait-img { height: 380px; }
  .profile-hero-panel { grid-template-columns: 1fr; padding: 24px; }
  .panel-credentials-row { grid-template-columns: 1fr; }
  .panel-img { height: 380px; }
}

@media (max-width: 600px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .hero-title-epic { font-size: 1.85rem; }
  .portrait-nameplate { left: 14px; right: 14px; bottom: 14px; padding: 14px; }
  .hero-portrait-img { height: 280px; }
}
