/* ============================================= 
   Components Styles - Dark Mode Edition
   Last Updated: 2025-01-19 18:45:00
   ============================================= */

/* Header Component */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 0 rgba(96, 165, 250, 0.1);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  overflow: hidden;
}

.header.scrolled {
  background-color: rgba(15, 23, 42, 0.98);
  box-shadow: 0 1px 0 0 rgba(96, 165, 250, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) 0;
}

.logo {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.logo a {
  display: flex;
  align-items: center;
}

/* Navigation Component */
.nav-list {
  display: flex;
  gap: var(--spacing-2xl);
  align-items: center;
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Desktop Navigation */
.desktop-nav {
  display: block;
}

/* Mobile Menu Overlay - 새로운 구현 */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
}

.mobile-menu-close {
  position: absolute;
  top: var(--spacing-2xl);
  right: var(--spacing-2xl);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.mobile-nav-list {
  list-style: none;
  text-align: center;
}

.mobile-nav-link {
  display: block;
  padding: var(--spacing-lg) var(--spacing-xl);
  font-size: var(--font-size-2xl);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
  width: 80%;
}

.mobile-nav-link:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Hamburger Menu Component */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section - 이상한마케팅 스타일 */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #000000;
  position: relative;
  overflow: hidden;
}

/* 코드 에디터 비주얼 */
.code-editor-visual {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 500px;
  max-width: 90%;
  opacity: 0.9;
  animation: floatEditor 6s ease-in-out infinite;
  z-index: 2;
}

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

.editor-window {
  background: rgba(30, 30, 40, 0.95);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.editor-header {
  background: rgba(40, 40, 50, 0.95);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: #27c93f;
}

.editor-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Inter", monospace;
}

.editor-body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
}

.code-content {
  font-family: "Fira Code", "Consolas", monospace;
  color: #abb2bf;
}

.line-number {
  color: #636d83;
  margin-right: 16px;
  user-select: none;
}

.keyword {
  color: #c678dd;
}
.variable {
  color: #e06c75;
}
.property {
  color: #d19a66;
}
.number {
  color: #98c379;
}
.string {
  color: #98c379;
}
.function {
  color: #61afef;
}
.method {
  color: #61afef;
}
.parameter {
  color: #e5c07b;
}
.comment {
  color: #5c6370;
  font-style: italic;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .code-editor-visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin-top: 2rem;
    animation: none;
  }
}

/* Hero Visual Image */
.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
}

@media (max-width: 768px) {
  .hero-visual {
    width: 100%;
    opacity: 0.05;
  }
}

/* 코드 배경 효과 */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  overflow: hidden;
  pointer-events: none;
}

.code-bg::before,
.code-bg::after {
  position: absolute;
  font-family: "Courier New", monospace;
  font-size: 18px;
  line-height: 1.4;
  color: #3b82f6;
  white-space: pre;
}

.code-bg::before {
  content: 'const methodlab = {\n  experience: 14,\n  projects: 20+,\n  users: 7000000,\n  traffic: 2000000,\n  confidence: "100%"\n};\n\nfunction buildYourIdea() {\n  return success;\n}\n\nif (needDeveloper) {\n  contact(methodlab);\n}\n\n// 14년 동안 코드만 팠습니다\n// 700만 회원 서비스 구축\n// 200만 일일 트래픽 처리\n\nclass Developer {\n  constructor() {\n    this.name = "박덕근";\n    this.company = "메서드랩";\n    this.skills = ["React", "Spring", "AWS"];\n  }\n}';
  top: -10%;
  left: -5%;
  transform: rotate(-10deg);
  animation: codeScroll 40s linear infinite;
}

.code-bg::after {
  content: '// 빽다방 트래픽 장애 해결\nfixTraffic({\n  time: "1hour",\n  result: "success"\n});\n\n// NPL 채권관리 시스템\nconst performance = {\n  before: "3hours",\n  after: "15minutes",\n  improvement: "12x"\n};\n\n// 신내린마을 MAU\nusers.monthly = 100000;\n\n// 이디야커피 멤버십\nmembership.active = 150000;\n\n// 성공시킬 수 없는\n// 프로젝트는 받지 않습니다\nif (!canSuccess) {\n  return reject();\n}';
  bottom: -10%;
  right: -5%;
  transform: rotate(10deg);
  animation: codeScroll 35s linear infinite reverse;
}

@keyframes codeScroll {
  from {
    transform: translateY(0) rotate(-15deg);
  }
  to {
    transform: translateY(-100%) rotate(-15deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: var(--spacing-2xl);
}

.hero-question {
  display: block;
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  color: #666666;
  margin-bottom: var(--spacing-md);
  animation: fadeIn 0.8s ease-out;
}

.hero-answer {
  display: block;
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  color: #000000;
  font-weight: var(--font-weight-bold);
  animation: fadeInUp 1s ease-out 0.3s backwards;
  min-height: 1.2em; /* 타이핑 애니메이션을 위한 높이 고정 */
}

.hero-subtitle {
  font-size: clamp(var(--font-size-xl), 2.5vw, var(--font-size-2xl));
  color: #333333;
  margin-bottom: var(--spacing-3xl);
  animation: fadeIn 1.2s ease-out 0.6s backwards;
}

.hero-subtitle .highlight {
  color: #3b82f6;
  font-weight: var(--font-weight-semibold);
}

/* 스크롤 인디케이터 */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-3xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: var(--font-size-sm);
  color: #666666;
  margin-bottom: var(--spacing-sm);
}

.arrow-down {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  transform: rotate(45deg);
  border-right: 2px solid #3b82f6;
  border-bottom: 2px solid #3b82f6;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Stats Section */
.stats-section {
  background-color: var(--color-bg);
  padding: var(--spacing-5xl) 0;
}

.stats-section .section-title {
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-3xl);
}

/* Hero Stats Component */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
  margin: 0 auto var(--spacing-2xl);
  max-width: 800px;
}

.stats-caption {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-top: var(--spacing-2xl);
}

.stat-item {
  text-align: center;
  animation: scaleIn 0.8s ease-out backwards;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

.stat-number {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
}

/* Career Grid Component - DARK BACKGROUND */
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.career-card {
  padding: var(--spacing-2xl);
  background-color: var(--color-bg-dark) !important; /* Force dark background */
  background: var(--color-bg-dark) !important; /* Double ensure */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    var(--color-accent-light) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.career-card:hover::before {
  transform: scaleX(1);
}

.career-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.career-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: var(--color-primary);
  background-color: rgba(20, 30, 48, 0.9) !important; /* Even darker on hover */
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.career-info {
  flex: 1;
}

.career-period {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-xs);
}

.career-company {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-tight);
}

.career-role {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.career-type {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: rgba(96, 165, 250, 0.2);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.5);
}

.career-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
}

.career-achievements {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.career-achievements li {
  position: relative;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
  line-height: var(--line-height-relaxed);
}

.career-achievements li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.career-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.tech-badge {
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: rgba(96, 165, 250, 0.1);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  border: 1px solid rgba(96, 165, 250, 0.3);
  transition: all var(--transition-fast);
}

.tech-badge:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

/* Services Grid Component - DARK BACKGROUND */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.service-card {
  padding: var(--spacing-2xl);
  background-color: var(--color-bg-dark) !important; /* Force dark background */
  background: var(--color-bg-dark) !important; /* Double ensure */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
  background-color: rgba(20, 30, 48, 0.9) !important; /* Even darker on hover */
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background-color: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  color: var(--color-accent);
  position: relative;
  overflow: hidden;
}

.service-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: invert(1) brightness(2);
  opacity: 0.8;
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.service-description {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* About Section - 이상한마케팅 스타일 */
.about {
  background-color: #ffffff !important;
  color: #000000;
  /* padding: var(--spacing-xl); */
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

.about-header {
  text-align: left;
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}

.about-date {
  display: inline-block;
  font-size: var(--font-size-sm);
  color: #666666;
  margin-bottom: var(--spacing-lg);
}

.about-title {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  color: #000000;
  margin-bottom: 0;
}

.about-title .highlight {
  color: #3b82f6;
}

.about-points {
  max-width: 800px;
  margin: 0 0 var(--spacing-2xl) 0;
  border-radius: 16px;
  /* padding: var(--spacing-3xl); */
}

.point-item {
  display: flex;
  gap: var(--spacing-lg);
  /* margin-bottom: var(--spacing-2xl); */
  align-items: flex-start;
}

.point-item:last-child {
  margin-bottom: 0;
}

.point-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: #000000;
  min-width: 30px;
}

.point-text {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  color: #333333;
  margin: 0;
}

.about-bottom {
  text-align: left;
  background-color: transparent;
  max-width: 800px;
  margin: 0;
}

.bottom-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: #666666;
  margin-bottom: var(--spacing-3xl);
  line-height: 1.5;
}

/* 기존 about-content 클래스 숨김 */
.about-content {
  display: none;
}

/* Special layout for about cards */
.about-content > div {
  padding: var(--spacing-2xl);
  background-color: var(--color-bg-dark) !important; /* Force dark background */
  background: var(--color-bg-dark) !important; /* Double ensure */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Alternating animation from left and right */
.about-content > div:nth-child(even) {
  transform: translateX(30px);
}

/* Different sizes for visual interest */
.about-mission {
  grid-column: 1;
  background: linear-gradient(
    135deg,
    var(--color-bg-dark) 0%,
    rgba(96, 165, 250, 0.05) 100%
  ) !important;
}

.about-approach {
  margin-left: var(--spacing-2xl);
  border-left: 4px solid var(--color-accent);
}

.about-values {
  margin-right: var(--spacing-2xl);
  text-align: right;
  border-right: 4px solid var(--color-primary);
}

.about-values h3,
.about-values p {
  text-align: right;
}

.about-strengths {
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.05) 0%,
    var(--color-bg-dark) 100%
  ) !important;
}

/* Decorative elements */
.about-content > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-accent) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.about-content > div:hover::before {
  opacity: 1;
}

.about-content > div:hover {
  background-color: rgba(20, 30, 48, 0.9) !important; /* Darker on hover */
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
  transform: translateX(0) scale(1.02);
}

.about-content > div.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-content h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.about-strengths ul {
  list-style: none;
}

.about-strengths li {
  position: relative;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
}

.about-strengths li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
}

/* Contact Form Component */
.contact-form {
  max-width: 600px;
  margin: 0 auto var(--spacing-3xl);
}

.contact-info {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
}

.contact-info p {
  color: var(--color-text-primary);
}

.contact-info a {
  color: var(--color-accent);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
}

.contact-info a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Footer Component - Enhanced Design */
.footer {
  background-color: #0a0a0a;
  color: var(--color-text-primary);
  padding: var(--spacing-4xl) 0 var(--spacing-2xl);
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  position: relative;
  overflow: hidden;
}

/* Footer 배경 패턴 */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(96, 165, 250, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
  position: relative;
  z-index: 1;
}

/* Footer 브랜드 섹션 */
.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.footer-tagline {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-lg);
}

/* 소셜 링크 */
.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(96, 165, 250, 0.4);
}

/* Footer 섹션 타이틀 */
.footer-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}

/* Footer 리스트 */
.footer-list {
  list-style: none;
}

.footer-list li {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
  transition: color var(--transition-fast);
}

.footer-list li:hover {
  color: var(--color-text-primary);
}

.footer-highlight {
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  margin-left: var(--spacing-xs);
}

/* Footer 하단 */
.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-copyright {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
}

.footer-slogan {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  font-style: italic;
  opacity: 0.8;
}

/* Footer 코드 패턴 */
.footer::after {
  content: '// Success starts here\A// const success = methodlab.transform(yourIdea);\A// return { satisfaction: "100%" };';
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: "Consolas", monospace;
  font-size: 12px;
  color: rgba(96, 165, 250, 0.1);
  white-space: pre;
  line-height: 1.6;
  pointer-events: none;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* 모바일 반응형 */
@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer::after {
    display: none;
  }
}

/* Override any potential white backgrounds */
[class*="card"] {
  background-color: var(--color-bg-dark) !important;
}

/* Additional dark mode enforcements */
.service-card,
.career-card,
.about-content > div {
  background-color: var(--color-bg-dark) !important;
  background: var(--color-bg-dark) !important;
}

/* Prevent any white background inheritance */
* {
  background-color: inherit;
}

body * {
  background-color: transparent;
}

/* Specific overrides for cards */
body .service-card,
body .career-card,
body .about-content > div {
  background-color: var(--color-bg-dark) !important;
}

/* Mobile responsiveness for about section */
@media (max-width: 768px) {
  .about-content {
    gap: var(--spacing-lg);
  }

  .about-content > div {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 4px solid var(--color-accent);
  }

  .about-values h3,
  .about-values p {
    text-align: left !important;
  }
}

/* Large screen optimization */
@media (min-width: 1200px) {
  .about-content {
    gap: var(--spacing-2xl);
  }

  .about-approach {
    margin-left: var(--spacing-4xl);
  }

  .about-values {
    margin-right: var(--spacing-4xl);
  }
}

/* Stats Section Coding Background */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><text x="50" y="50" font-family="monospace" font-size="14" fill="%2360a5fa">function analyzeData() {%0A  const users = 7000000;%0A  const traffic = 2000000;%0A  const experience = 14;%0A  return success;%0A}%0A%0Aclass Statistics {%0A  constructor() {%0A    this.projects = 20;%0A    this.satisfaction = 100;%0A  }%0A}</text></svg>');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

/* Career Section Pattern Background */
.career {
  position: relative;
  overflow: hidden;
}

.career-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.02;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(96, 165, 250, 0.1) 2px,
      rgba(96, 165, 250, 0.1) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(96, 165, 250, 0.1) 2px,
      rgba(96, 165, 250, 0.1) 4px
    );
  background-size: 100px 100px;
  pointer-events: none;
}

/* Services Section Code Background */
.services {
  position: relative;
  overflow: hidden;
}

.services-bg-code {
  position: absolute;
  top: 50%;
  right: 0;
  width: 400px;
  height: 300px;
  transform: translateY(-50%) translateX(20%) rotate(15deg);
  opacity: 0.03;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><text x="20" y="30" font-family="monospace" font-size="12" fill="%233b82f6">// Backend Architecture%0Aconst server = express();%0Aserver.use(cors());%0Aserver.use(bodyParser.json());%0A%0A// React Frontend%0Afunction App() {%0A  return <%0A    <Router>%0A      <Routes />%0A    </Router>%0A  >;%0A}%0A%0A// Cloud Deploy%0Aaws s3 sync ./build s3://bucket%0Aaws cloudfront create-invalidation</text></svg>');
  background-repeat: no-repeat;
  pointer-events: none;
  filter: blur(1px);
}

/* Contact Section Terminal Background */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-bg-terminal {
  position: absolute;
  top: 10%;
  left: 0;
  width: 300px;
  height: 200px;
  transform: translateX(-10%) rotate(-15deg);
  opacity: 0.05;
  background: #000;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.contact-bg-terminal::before {
  content: "$ npm run build\A> methodlab@1.0.0 build\A> webpack --mode production\A\A✓ Build successful\A✓ 2.1MB → 412KB (gzipped)\A\A$ git push origin main\A✓ Deploy completed";
  white-space: pre;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #4ade80;
  line-height: 1.6;
}

/* Career Card Code Snippets */
.career-card {
  position: relative;
  overflow: visible;
}

.career-card::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><text x="5" y="15" font-family="monospace" font-size="10" fill="%2360a5fa" opacity="0.3">{%0A  api:%0A  true%0A}</text></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.career-card:hover::after {
  opacity: 1;
}

/* Service Card Icons Enhancement */
.service-card {
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(96, 165, 250, 0.1) 100%
  );
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

/* Add tech stack visual to hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 150px;
  height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 150"><circle cx="75" cy="75" r="70" fill="none" stroke="%233b82f6" stroke-width="1" opacity="0.1"/><text x="75" y="75" font-family="monospace" font-size="14" fill="%233b82f6" text-anchor="middle" opacity="0.2">React</text><text x="75" y="95" font-family="monospace" font-size="14" fill="%233b82f6" text-anchor="middle" opacity="0.2">Spring</text><text x="75" y="115" font-family="monospace" font-size="14" fill="%233b82f6" text-anchor="middle" opacity="0.2">AWS</text></svg>');
  background-size: contain;
  opacity: 0.5;
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

/* Floating code elements for about section */
.about {
  position: relative;
  overflow: hidden;
}

.about::before,
.about::after {
  position: absolute;
  font-family: "Courier New", monospace;
  color: #000;
  opacity: 0.05;
  font-size: 12px;
  pointer-events: none;
}

.about::before {
  content: '// 14년 동안\A// 단 한 가지만\A// 생각했습니다\A// "성공"';
  white-space: pre;
  top: 20%;
  left: 5%;
  transform: rotate(-5deg);
}

.about::after {
  content: "if (project.success) {\A  client.satisfied = true;\A  contract.renew();\A}";
  white-space: pre;
  bottom: 20%;
  right: 5%;
  transform: rotate(5deg);
}

/* Visual improvements for section titles */
.section-title {
  position: relative;
  display: inline-block;
}

.stats-section .section-title::after,
.career .section-title::after,
.contact .section-title::after,
.services .section-title::after {
  content: "_";
  animation: blink 1s infinite;
  color: var(--color-accent);
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Timestamp: 2025-01-19 18:50:00 - Cache buster update with new about layout */

/* Mobile Menu Overlay - 새로운 구현 */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

.mobile-menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
}

.mobile-menu-close {
  position: absolute;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  transform: rotate(90deg);
}

.mobile-nav {
  width: 100%;
  max-width: 400px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.mobile-nav-link {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  text-align: center;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 165, 250, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.mobile-nav-link:hover {
  color: var(--color-accent);
  background-color: rgba(96, 165, 250, 0.05);
}

.mobile-nav-link:hover::before {
  left: 100%;
}

/* 모바일에서만 표시 */
@media screen and (min-width: 769px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}
