/* ============================================
   ATS GROUP - Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a1f36;
  --navy-dark: #0f1225;
  --navy-light: #2a3050;
  --gold: #c9a96e;
  --gold-light: #dfc89e;
  --cream: #faf8f5;
  --cream-dark: #f0ede7;
  --white: #ffffff;
  --text-dark: #1a1f36;
  --text-mid: #5a5f72;
  --text-light: #8a8f9f;
  --positive: #e85d5d;
  --negative: #4a90d9;
  --border: #e5e2dc;
  --shadow: 0 4px 24px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 31, 54, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(43, 50, 84, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-link i {
  font-size: 10px;
  opacity: 0.6;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1000;
  list-style: none;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--gold);
}

.nav-link.active {
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  display: none;
}

.btn-primary {
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy-dark);
  background: var(--gold);
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.35);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 180px 24px 80px;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center top, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
}

.hero-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.hero-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 32px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 300;
}

/* --- AI Record Section --- */
.ai-record {
  padding: 0 24px 100px;
  background: var(--cream);
  position: relative;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--text-mid);
  font-size: 14px;
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.carousel-track {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.record-card {
  display: none;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.4s ease;
}

.record-card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 36px 20px;
}

.card-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.card-meta {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.card-stats {
  text-align: right;
}

.stats-label {
  display: block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.stats-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}

.stats-value.positive {
  color: var(--positive);
}

.stats-value.negative {
  color: var(--negative);
}

.btn-detail {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
}

.btn-detail:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.card-chart {
  padding: 0 36px 32px;
}

.chart-placeholder {
  background: var(--navy-dark);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.chart-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.chart-code {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.chart-ohlc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.chart-placeholder canvas {
  width: 100% !important;
  height: 280px !important;
}

/* --- Floating Actions --- */
.floating-actions {
  position: fixed;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
  font-size: 18px;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--gold);
}

/* --- Services Section --- */
.services {
  padding: 120px 24px;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: var(--gold);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--white);
}

.service-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Stats Section --- */
.stats {
  padding: 80px 24px;
  background: #2b3254;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* --- About Section --- */
.about {
  padding: 120px 24px;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.btn-learn-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  padding: 14px 36px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-learn-more:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 18, 37, 0.3);
}

.about-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.ai-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-core {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.25);
  animation: aiPulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ai-core-ring.ring-2 {
  inset: -20px;
  border-color: rgba(201, 169, 110, 0.15);
  animation-delay: 0.4s;
}

.ai-core-ring.ring-3 {
  inset: -44px;
  border-color: rgba(201, 169, 110, 0.08);
  animation-delay: 0.8s;
}

.ai-core-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(201, 169, 110, 0.6), 0 0 60px rgba(201, 169, 110, 0.3);
  animation: aiDotPulse 1.6s ease-in-out infinite;
}

.ai-label {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(201, 169, 110, 0.5);
}

@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes aiDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 24px rgba(201, 169, 110, 0.6), 0 0 60px rgba(201, 169, 110, 0.3); }
  50% { transform: scale(1.3); box-shadow: 0 0 36px rgba(201, 169, 110, 0.8), 0 0 90px rgba(201, 169, 110, 0.4); }
}

/* --- CTA Section --- */
.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
}

.cta h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-cta-primary {
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-dark);
  background: var(--gold);
  border-radius: 8px;
}

.btn-cta-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.btn-cta-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* --- Contest Section --- */
.contest-section {
  padding: 100px 0;
  background: var(--bg-light);
  overflow: hidden;
}

.contest-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contest-text .section-tag {
  margin-bottom: 16px;
}

.contest-text .section-title {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contest-percent {
  background: linear-gradient(135deg, #e8443a, #ff6b35, #c9a96e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.contest-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.contest-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.contest-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .contest-section {
    padding: 60px 0;
  }
  .contest-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .contest-text .section-title {
    font-size: 34px;
  }
  .contest-image {
    max-width: 100%;
    margin: 0 auto;
  }
  .contest-image img {
    border-radius: 8px;
  }
}

/* --- Verified Records Section --- */
.records-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.records-hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.records-hero-image img {
  width: 100%;
  display: block;
}

.records-highlight {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.records-rank-label {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-dark);
}

.records-rank {
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, #e8443a, #ff6b35, #c9a96e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1;
  letter-spacing: -1px;
}

.records-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  width: 100%;
}

.records-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.records-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.records-list li i {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.records-list li strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.records-list li p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.records-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: var(--white);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  backdrop-filter: blur(8px);
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-prev {
  left: 24px;
}

.gallery-lightbox-next {
  right: 24px;
}

@media (max-width: 768px) {
  .records-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .records-rank-label {
    font-size: 34px;
  }
  .records-rank {
    font-size: 34px;
  }
  .records-highlight {
    margin-bottom: 24px;
  }
  .records-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* --- Compliance Section --- */
.compliance {
  padding: 100px 24px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.compliance::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.compliance-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.compliance-header .section-tag {
  color: var(--gold);
}

.compliance-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.compliance-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
}

.compliance-card {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: var(--transition);
}

.compliance-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 169, 110, 0.2);
}

.compliance-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
}

.compliance-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.compliance-card > p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 16px;
}

.compliance-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compliance-card ul li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.compliance-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 768px) {
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .compliance-title {
    font-size: 24px;
  }

  .compliance-card {
    padding: 24px 20px;
  }
}

/* --- Footer --- */
.footer {
  padding: 32px 24px;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 32px !important;
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.footer-logo .logo-text {
  font-size: 14px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact p i {
  color: var(--gold);
  width: 14px;
}

.footer-bottom {
  text-align: center;
}

/* --- Scroll to Top Button --- */
/* --- Mobile Overlay Menu --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #1e2235;
  z-index: 99999;
  display: none;
  flex-direction: column;
}

.mobile-overlay.open {
  display: flex;
}

.mobile-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.mobile-overlay-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-overlay-header .logo-img {
  height: 32px;
  width: auto;
}

.mobile-overlay-header .logo-text {
  color: var(--white);
}

.mobile-overlay-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-overlay-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 24px;
  list-style: none;
}

.mobile-overlay-nav li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  list-style: none;
}

.mobile-overlay-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  width: 100%;
  text-decoration: none;
}

.mobile-overlay-nav .nav-link i {
  font-size: 13px;
  opacity: 0.4;
  transition: transform 0.3s ease;
}

.mobile-overlay-nav .has-dropdown.open > .nav-link i {
  transform: rotate(180deg);
}

.mobile-overlay-nav .dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 12px 16px;
  margin: 0;
  display: none;
  min-width: unset;
  list-style: none;
}

.mobile-overlay-nav .has-dropdown.open .dropdown-menu {
  display: block;
}

.mobile-overlay-nav .dropdown-menu li {
  border-bottom: none;
}

.mobile-overlay-nav .dropdown-menu li a {
  display: block;
  color: rgba(255,255,255,0.5);
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

.mobile-overlay-nav .dropdown-menu li a:hover {
  color: var(--gold);
}

.mobile-overlay-actions {
  padding: 16px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-overlay-actions .btn-primary,
.mobile-overlay-actions .btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
}

.mobile-overlay-actions .btn-outline {
  display: none;
}

.floating-btns {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.floating-kakao {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.floating-kakao img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.floating-kakao:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.floating-label {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #3C1E1E;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.floating-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #3C1E1E;
  border-right: none;
}

.floating-kakao:hover .floating-label {
  opacity: 1;
}

.scroll-top {
  position: relative;
  right: auto;
  bottom: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.footer-company {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.footer-address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Scroll Spread Animations
   ============================================ */

/* --- Character spread (hero title) --- */
.anim-word-spread .anim-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.5s ease, filter 0.6s ease, transform 0.5s ease;
  transition-delay: calc(var(--char-i) * 0.03s);
}

.anim-word-spread.in-view .anim-char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* --- Section title spread --- */
.anim-spread {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-spread.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* --- Fade up (subtitles, descriptions) --- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.15s;
}

.anim-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stagger cards --- */
.anim-stagger {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  filter: blur(4px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger) * 0.12s);
}

.anim-stagger.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* --- Scale pop (stats) --- */
.anim-scale {
  opacity: 0;
  transform: scale(0.7);
  filter: blur(6px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger) * 0.1s);
}

.anim-scale.in-view {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Legacy support */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar scroll effect --- */
.navbar.scrolled {
  background: rgba(30, 34, 53, 0.75);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* We use .mobile-overlay instead */

  .hero {
    padding: 140px 20px 60px;
  }

  .hero-title {
    font-size: 38px;
  }

  .ai-record {
    padding: 0 8px 80px;
  }

  .carousel-wrapper {
    position: relative;
    gap: 0;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    opacity: 0.8;
    background: rgba(255,255,255,0.9);
  }

  .carousel-btn.prev {
    left: 6px;
  }

  .carousel-btn.next {
    right: 6px;
  }

  .carousel-track {
    width: 100%;
  }

  .card-header {
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px 12px;
  }

  .card-stats {
    text-align: left;
  }

  .card-chart {
    padding: 0 10px 16px;
  }

  .chart-placeholder {
    padding: 12px;
    min-height: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .stats-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .ai-record {
    padding: 0 4px 60px;
  }

  .card-header {
    padding: 16px 12px 10px;
  }

  .card-chart {
    padding: 0 6px 12px;
  }

  .chart-placeholder {
    padding: 10px;
    min-height: 260px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-desc {
    font-size: 12px;
  }
}

/* ============================================
   Sub Pages - Shared Styles
   ============================================ */

/* --- Page Header --- */
.page-header {
  padding: 160px 24px 64px;
  text-align: center;
  background: linear-gradient(180deg, #f0ece6 0%, #f5f2ed 50%, #faf8f5 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0, 0, 0, 0.1) 50%, transparent 90%);
}

.page-header + .content-section {
  border-top: 1px solid var(--border);
  box-shadow: 0 -1px 0 rgba(0,0,0,0.02);
}

.page-header .section-tag {
  position: relative;
}

.page-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 60px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  letter-spacing: -1px;
}

.page-desc {
  font-size: 20px;
  color: var(--text-light);
  font-weight: 300;
  position: relative;
}

/* --- Content Section --- */
.content-section {
  padding: 80px 24px;
}

.content-section.bg-white {
  background: var(--white);
}

/* --- Values Grid (About) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}

.value-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.value-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Timeline (About) --- */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
  padding-left: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
}

.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-light);
}

/* --- Service Detail (Services) --- */
.service-detail {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  flex-direction: row-reverse;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
  flex-shrink: 0;
}

.service-detail-content h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-detail-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}

.feature-list li i {
  color: var(--gold);
  font-size: 12px;
}

/* --- Briefing Cards (Market) --- */
.briefing-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.briefing-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.briefing-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.briefing-date {
  text-align: center;
  flex-shrink: 0;
  width: 60px;
}

.date-day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-top: 4px;
}

.briefing-content {
  flex: 1;
}

.briefing-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  border-radius: 4px;
  margin-bottom: 8px;
}

.briefing-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.briefing-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.briefing-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-light);
  transition: var(--transition);
}

.briefing-card:hover .briefing-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* --- Briefing Month Groups --- */
.bri-month-group {
  margin-bottom: 56px;
}

.bri-month-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text-dark);
}

.bri-month-tag {
  display: block;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
}

.bri-timeline {
  position: relative;
  padding-left: 80px;
}

.bri-timeline::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.bri-entry {
  position: relative;
  margin-bottom: 32px;
}

.bri-entry::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-light);
  box-shadow: 0 0 0 2px var(--gold);
}

.bri-entry-date {
  position: absolute;
  left: -80px;
  top: 2px;
  width: 40px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  text-align: right;
}

.bri-entry-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  transition: var(--transition);
}

.bri-entry-body:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-color: rgba(201, 169, 110, 0.3);
}

.bri-entry-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.bri-preview {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 12px;
}

.bri-full {
  display: none;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.bri-full.open {
  display: block;
}

.bri-toggle {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.bri-toggle:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .bri-timeline { padding-left: 48px; }
  .bri-timeline::before { left: 24px; }
  .bri-entry-date { left: -48px; width: 32px; font-size: 13px; }
  .bri-entry::before { left: -28px; }
  .bri-entry-body { padding: 18px 20px; }
  .bri-entry-body h4 { font-size: 15px; }
  .bri-month-header h3 { font-size: 18px; }
}

@media (max-width: 480px) {
  .bri-timeline { padding-left: 36px; }
  .bri-timeline::before { left: 12px; }
  .bri-entry-date { left: -36px; width: 24px; font-size: 12px; }
  .bri-entry::before { left: -22px; width: 6px; height: 6px; }
}

/* --- Course Grid (Education) --- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.course-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: var(--transition);
}

.course-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-level {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
}

.course-level.beginner {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.course-level.intermediate {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}

.course-level.advanced {
  background: rgba(232, 93, 93, 0.1);
  color: var(--positive);
}

.course-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.course-card > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.course-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.course-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
}

.course-info li i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}

/* --- Notice List --- */
.notice-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.notice-tab {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.notice-tab:hover {
  color: var(--text-dark);
}

.notice-tab.active {
  color: var(--navy-dark);
  background: var(--cream);
  border-color: var(--border);
  font-weight: 600;
}

.notice-list {
  display: flex;
  flex-direction: column;
}

.notice-item {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.notice-item.hidden {
  display: none;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  transition: var(--transition);
}

.notice-header:hover {
  padding-left: 8px;
}

.notice-arrow {
  font-size: 12px;
  color: var(--text-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.notice-item.open .notice-arrow {
  transform: rotate(180deg);
}

.notice-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 76px;
  background: var(--cream);
  border-radius: 8px;
  margin-bottom: 0;
}

.notice-item.open .notice-detail {
  max-height: 600px;
  padding: 24px 28px 24px 76px;
  margin-bottom: 12px;
}

.notice-detail p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
}

.notice-detail ul {
  padding-left: 20px;
  margin: 4px 0;
}

.notice-detail ul li {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
}

.notice-detail strong {
  color: var(--navy);
}

.notice-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 48px;
  text-align: center;
}

.badge-notice {
  background: rgba(26, 31, 54, 0.08);
  color: var(--navy);
}

.badge-press {
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
}

.badge-event {
  background: rgba(232, 93, 93, 0.08);
  color: var(--positive);
}

.notice-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.notice-date {
  font-size: 13px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* --- Site Preview Card --- */
.site-preview-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.site-preview-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.site-preview-browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-url i {
  font-size: 10px;
  color: #28c840;
}

.site-preview-body {
  position: relative;
  max-height: 400px;
  overflow: hidden;
  background: #f8f8fa;
}

.site-preview-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.site-preview-info {
  padding: 28px 32px;
  background: var(--white);
}

.site-preview-text h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-preview-text h3 i {
  font-size: 14px;
  color: var(--gold);
}

.site-preview-text p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.site-preview-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-preview-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.site-preview-features span i {
  color: var(--gold);
  font-size: 11px;
}

@media (max-width: 768px) {
  .site-preview-body {
    max-height: 260px;
  }

  .site-preview-info {
    padding: 20px 16px;
  }

  .site-preview-text h3 {
    font-size: 17px;
  }

  .site-preview-features span {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* --- AI Signal Features Row --- */
.service-ai-section {
  padding: 80px 24px 100px;
}

.service-ai-section .section-header {
  margin-bottom: 40px;
}

.signal-features-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.signal-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.signal-feature-item i {
  color: var(--gold);
  font-size: 16px;
}

.signal-feature-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .signal-features-row {
    gap: 12px;
  }

  .signal-feature-item {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* --- E-Book Section --- */
.ebook-section {
  background: var(--white);
}

.ebook-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ebook-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: pointer;
  display: block;
  background: none;
  padding: 0;
}

.ebook-image img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.ebook-image:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.ebook-tooltip {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(43, 50, 84, 0.92);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ebook-tooltip i {
  font-size: 14px;
  color: var(--gold);
}

.ebook-tooltip::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(43, 50, 84, 0.92);
}

.ebook-image:hover .ebook-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ebook-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ebook-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: var(--transition);
}

.ebook-card:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.ebook-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.ebook-card h4 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.ebook-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

.ebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 8px;
  width: fit-content;
  background: #2b3254;
  color: var(--white);
  border: none;
}

.ebook-btn:hover {
  background: #363d66;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 50, 84, 0.3);
  color: var(--white);
}

.ebook-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.ebook-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .ebook-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ebook-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* --- Membership Section --- */
.membership-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #f5f2ed 0%, var(--cream) 100%);
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  perspective: 1200px;
}

.membership-side {
  text-align: center;
}

.membership-side-tag {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.membership-side-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.membership-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.membership-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.membership-feature:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
}

.membership-feature span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.membership-center {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.membership-center:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.membership-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 20px;
}

.membership-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.membership-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 28px;
}

.membership-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

.membership-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.membership-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .membership-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .membership-center {
    order: -1;
  }

  .membership-features {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .membership-side-title {
    font-size: 19px;
  }

  .membership-title {
    font-size: 28px;
  }

  .membership-center {
    padding: 32px 20px;
  }
}

/* --- Sub Page Responsive --- */
@media (max-width: 768px) {
  .page-header {
    padding: 130px 20px 48px;
  }

  .page-title {
    font-size: 38px;
  }

  .values-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .service-detail,
  .service-detail.reverse {
    flex-direction: column;
  }

  .briefing-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .briefing-date {
    display: flex;
    align-items: baseline;
    gap: 6px;
    width: auto;
  }

  .briefing-arrow {
    display: none;
  }

  .notice-tabs {
    flex-wrap: wrap;
  }

  .notice-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .notice-detail,
  .notice-item.open .notice-detail {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .notice-date {
    width: 100%;
  }
}

/* ============================================
   Consultation Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  transform: translate3d(0, 24px, 0);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

.modal-overlay.active .modal-box {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--white);
  font-size: 18px;
}

.modal-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.required {
  color: #6366f1;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  background: #f8f8fa;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder {
  color: #b0b3c0;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #6366f1;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-consent {
  background: #f8f8fa;
  border-radius: 10px;
  padding: 12px;
  max-height: 120px;
  overflow-y: auto;
}

.form-consent h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.consent-text {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 11px;
  color: var(--text-mid);
  line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #6366f1;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2b3254;
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 50, 84, 0.3);
  background: #363d66;
}

@media (max-width: 480px) {
  .modal-box {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
