/* ============================================
   서성미 강사 랜딩페이지 — Style System
   Theme: "Warm Empathy meets Bold Execution"
   Personal Color: Warm Coral Terracotta 기반
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Colors — 딥 차콜 블루 (신뢰 & 전문성) */
  --navy: #1F2933;
  --navy-dark: #1A232D;
  --navy-light: #2D3A46;
  --navy-soft: #3E4C59;

  /* Accent Colors — 웜 코럴 테라코타 (열정 & 실행력) */
  --orange: #D96C4F;
  --orange-light: #E08A72;
  --yellow: #F2B36B;
  --yellow-light: #F5C78A;

  /* CTA — 번트 오렌지 레드 (강력한 액션) */
  --cta-primary: #B84D3A;
  --cta-hover: #A3412F;

  /* Neutral Colors — 따뜻한 아이보리 톤 */
  --white: #FFFFFF;
  --gray-50: #F7F4EF;
  --gray-100: #EDE8E0;
  --gray-200: #E9DDD2;
  --gray-300: #CABFB3;
  --gray-500: #7A6E63;
  --gray-700: #4A3F36;
  --gray-900: #1F2933;

  /* Kakao */
  --kakao-yellow: #FEE500;
  --kakao-brown: #3C1E1E;

  /* Naver */
  --naver-green: #03C75A;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  --gradient-navy: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  --gradient-hero: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-soft) 100%);

  /* Shadows — 따뜻한 톤의 그림자 */
  --shadow-sm: 0 1px 3px rgba(31, 41, 51, 0.06);
  --shadow-md: 0 4px 16px rgba(31, 41, 51, 0.08);
  --shadow-lg: 0 8px 32px rgba(31, 41, 51, 0.1);
  --shadow-xl: 0 16px 48px rgba(31, 41, 51, 0.14);
  --shadow-card: 0 4px 24px rgba(74, 63, 54, 0.07);
  --shadow-card-hover: 0 12px 40px rgba(74, 63, 54, 0.14);

  /* Typography */
  --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

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

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: inline;
  }
}

/* --- Utility --- */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Fade Up Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 35, 102, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--orange);
  font-weight: 900;
  font-size: 1.4em;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--navy-dark);
  padding: 100px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right 0.35s ease;
  z-index: 999;
}

.nav-menu.open {
  right: 0;
}

.nav-link {
  display: block;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta-btn {
  margin-top: 16px;
  background: var(--gradient-accent) !important;
  color: var(--white) !important;
  text-align: center;
  font-weight: 600;
  border-radius: var(--radius-md) !important;
}

.nav-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(255, 107, 43, 0.4);
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .nav-cta-btn {
    margin-top: 0;
    padding: 10px 24px !important;
  }
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 43, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255, 107, 43, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yellow-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  font-size: 0.85rem;
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-name {
  position: relative;
  display: inline-block;
}

.hero-name::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gradient-accent);
  opacity: 0.4;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  align-items: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  display: inline;
}

.stat-suffix {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-image-decoration {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.card-ai {
  top: 20%;
  right: -20px;
  background: rgba(255, 107, 43, 0.9);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.35);
  animation-delay: 0s;
}

.card-lego {
  bottom: 20%;
  left: -20px;
  background: rgba(255, 184, 0, 0.92);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.35);
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@media (min-width: 768px) {
  .hero { padding: 0; }

  .hero-container {
    flex-direction: row;
    gap: 64px;
    min-height: 100vh;
  }

  .hero-content {
    text-align: left;
    flex: 1;
  }

  .hero-cta-group {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-image-wrapper {
    width: 340px;
  }

  .card-ai { right: -40px; }
  .card-lego { left: -40px; }
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    width: 380px;
  }
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(217, 108, 79, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 108, 79, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-kakao {
  background: var(--kakao-yellow);
  color: var(--kakao-brown);
  box-shadow: 0 4px 16px rgba(254, 229, 0, 0.3);
}

.btn-kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 229, 0, 0.45);
}


/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 107, 43, 0.08);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  gap: 48px;
}

.about-story {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* About Profile Row */
.about-profile-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.about-profile-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--orange-light);
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-profile-text {
  flex: 1;
}

@media (min-width: 640px) {
  .about-profile-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-profile-img {
    width: 140px;
    height: 140px;
  }
}

/* About Gallery */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(31, 41, 51, 0.85), transparent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-caption i {
  color: var(--yellow-light);
  font-size: 0.68rem;
}

@media (min-width: 768px) {
  .gallery-img {
    height: 180px;
  }
}

.about-icon-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.about-icon-box .fa-flask {
  color: var(--navy);
}

.about-icon-box .fa-arrow-right {
  color: var(--gray-300);
  font-size: 1rem;
}

.about-icon-box .fa-robot {
  color: var(--orange);
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--navy);
}

.about-text em {
  color: var(--orange);
  font-style: normal;
  font-weight: 600;
}

/* Timeline */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 3px solid var(--gray-50);
  z-index: 1;
}

.timeline-dot.active {
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 35, 102, 0.15);
}

.timeline-dot.accent {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.15);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}

.card-ai-theme::before {
  background: var(--gradient-accent);
}

.card-lego-theme::before {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
}

.card-coaching-theme::before {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.card-ai-theme .service-icon {
  background: rgba(255, 107, 43, 0.1);
  color: var(--orange);
}

.card-lego-theme .service-icon {
  background: rgba(255, 184, 0, 0.12);
  color: var(--yellow);
}

.card-coaching-theme .service-icon {
  background: rgba(0, 35, 102, 0.08);
  color: var(--navy);
}

.service-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}

.service-desc strong {
  color: var(--gray-700);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.service-tags li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gray-50);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
}

.service-tags li i {
  font-size: 0.65rem;
  color: var(--orange);
}

.service-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--orange);
  gap: 10px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================
   TRACK RECORD SECTION
   ============================================ */
.track-record {
  background: var(--gradient-hero);
  color: var(--white);
}

.track-record .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--yellow-light);
}

.track-record .section-title {
  color: var(--white);
}

.track-record .text-accent {
  color: var(--yellow);
}

.track-grid {
  display: grid;
  gap: 24px;
}

.track-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.track-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.track-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--yellow);
  background: rgba(255, 184, 0, 0.12);
  border-radius: var(--radius-md);
}

.track-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.track-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.track-card p strong {
  color: var(--yellow);
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.client-badge {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.cert-list {
  text-align: left;
  display: inline-block;
}

.cert-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.cert-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-size: 0.7rem;
  top: 3px;
}

@media (min-width: 768px) {
  .track-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================
   BOOKS SECTION
   ============================================ */
.books {
  background: var(--gray-50);
}

/* Featured Book */
.books-featured {
  margin-bottom: 48px;
}

.book-featured-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.book-cover {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.book-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.bestseller-badge {
  position: absolute;
  top: 12px;
  right: -4px;
  padding: 5px 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px 0 0 4px;
  box-shadow: 2px 2px 8px rgba(217, 108, 79, 0.4);
  z-index: 3;
}

.bestseller-badge::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0;
  height: 0;
  border-left: 4px solid var(--cta-primary);
  border-bottom: 5px solid transparent;
}

.book-featured-info {
  text-align: center;
}

.book-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.book-featured-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.book-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.book-featured-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.8;
  max-width: 480px;
}

@media (min-width: 768px) {
  .book-featured-card {
    flex-direction: row;
    padding: 48px;
    gap: 48px;
  }

  .book-cover {
    width: 200px;
  }

  .book-featured-info {
    text-align: left;
  }
}

/* Books Grid */
.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.book-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--orange-light);
}

.book-cover-sm {
  width: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.book-cover-sm .book-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.book-card-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.3;
}

.book-subtitle {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 4px;
  line-height: 1.4;
}

.book-meta-sm {
  font-size: 0.72rem;
  color: var(--gray-300);
  font-weight: 500;
}

@media (min-width: 640px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--white);
  padding-bottom: 60px;
}

.contact-card {
  position: relative;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  text-align: center;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.c1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
}

.c2 {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -30px;
}

.c3 {
  width: 120px;
  height: 120px;
  top: 50%;
  left: 20%;
  background: rgba(255, 184, 0, 0.04);
}

@media (min-width: 768px) {
  .contact-card {
    padding: 80px 60px;
  }

  .contact-buttons {
    flex-direction: row;
    justify-content: center;
  }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.social-btn.naver {
  background: rgba(3, 199, 90, 0.12);
  color: var(--naver-green);
}

.social-btn.naver:hover {
  background: var(--naver-green);
  color: var(--white);
}

.social-btn.kakao {
  background: rgba(254, 229, 0, 0.12);
  color: var(--kakao-yellow);
}

.social-btn.kakao:hover {
  background: var(--kakao-yellow);
  color: var(--kakao-brown);
}

.social-btn.themarkworld {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.social-btn.themarkworld:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.trademark-notice {
  margin-top: 8px;
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.22) !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}


/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */
@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .about-story {
    padding: 28px 24px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .track-card {
    padding: 28px 24px;
  }
}

@media (min-width: 1200px) {
  .hero-container {
    padding: 0 48px;
  }
}


/* ============================================
   ACCESSIBILITY: Focus Styles
   ============================================ */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}


/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .nav,
  .hero-scroll-indicator,
  .hero-floating-card,
  .contact,
  .nav-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
    background: var(--white) !important;
    color: var(--gray-900) !important;
  }
}
