/*
# Copyright (c) 2025 WONJUN CHOI
# All rights reserved.
# This file is part of the [Ai manual QnA] project.
# Unauthorized copying of this file, via any medium is strictly prohibited.
# Written by WONJUN CHOI <choijjune@naver.com>
*/

/* ===== 미래지향적 스타트업 테마 ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-glow: #c6a75e;
  --secondary-glow: #a68b4d;
  --accent-glow: #e7d6a8;
  --bg-light: #ffffff;
  --bg-gray: #f8faff;
  --bg-dark-gray: #e8f2ff;
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --border-color: #d1e7ff;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #ffffff, #f8faff, #e8f2ff, #f0f8ff, #f8faff);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== 헤더 & 네비게이션 ===== */
header {
  background: rgba(248, 250, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

@keyframes pulseGlow {
  from { text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow); }
  to { text-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary-glow);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

  .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--brand-charcoal);
    margin: 3px 0;
    transition: 0.3s;
  }

/* ===== 섹션 공통 스타일 ===== */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 50px;
  position: relative;
}

/* ===== 홈 섹션 ===== */
#home.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(198, 167, 94, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--brand-navy);
  text-shadow: none;
  position: static;
  overflow: visible;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  animation: none !important;
}

.hero h1::before,
.hero h1::after {
  display: none !important;
}

.hero h1::before {
  display: none !important;
}

.hero h1::after {
  display: none !important;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes tvGlitch {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    filter: blur(3px) brightness(0.3);
  }
  20% {
    opacity: 0.3;
    transform: translateY(15px) scale(0.85);
    filter: blur(2px) brightness(0.5);
  }
  40% {
    opacity: 0.6;
    transform: translateY(10px) scale(0.9);
    filter: blur(1px) brightness(0.7);
  }
  60% {
    opacity: 0.8;
    transform: translateY(5px) scale(0.95);
    filter: blur(0.5px) brightness(0.9);
  }
  80% {
    opacity: 0.9;
    transform: translateY(2px) scale(0.98);
    filter: blur(0.2px) brightness(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes tvGlitchBefore {
  0% {
    opacity: 0;
    transform: translate(-2px, -2px) translateY(20px) scale(0.8);
    filter: blur(3px) brightness(0.3);
  }
  20% {
    opacity: 0.3;
    transform: translate(-2px, -2px) translateY(15px) scale(0.85);
    filter: blur(2px) brightness(0.5);
  }
  40% {
    opacity: 0.6;
    transform: translate(-2px, -2px) translateY(10px) scale(0.9);
    filter: blur(1px) brightness(0.7);
  }
  60% {
    opacity: 0.8;
    transform: translate(-2px, -2px) translateY(5px) scale(0.95);
    filter: blur(0.5px) brightness(0.9);
  }
  80% {
    opacity: 0.9;
    transform: translate(-2px, -2px) translateY(2px) scale(0.98);
    filter: blur(0.2px) brightness(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-2px, -2px) translateY(0) scale(1);
    filter: blur(0.5px) brightness(1);
  }
}

@keyframes tvGlitchAfter {
  0% {
    opacity: 0;
    transform: translate(2px, 2px) translateY(20px) scale(0.8);
    filter: blur(3px) brightness(0.3);
  }
  20% {
    opacity: 0.3;
    transform: translate(2px, 2px) translateY(15px) scale(0.85);
    filter: blur(2px) brightness(0.5);
  }
  40% {
    opacity: 0.6;
    transform: translate(2px, 2px) translateY(10px) scale(0.9);
    filter: blur(1px) brightness(0.7);
  }
  60% {
    opacity: 0.8;
    transform: translate(2px, 2px) translateY(5px) scale(0.95);
    filter: blur(0.5px) brightness(0.9);
  }
  80% {
    opacity: 0.9;
    transform: translate(2px, 2px) translateY(2px) scale(0.98);
    filter: blur(0.2px) brightness(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(2px, 2px) translateY(0) scale(1);
    filter: blur(0.5px) brightness(1);
  }
}

@keyframes tvNoise {
  0% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-1px, -1px);
  }
  20% {
    transform: translate(1px, -1px);
  }
  30% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(1px, 1px);
  }
  50% {
    transform: translate(0, 0);
  }
  60% {
    transform: translate(-0.5px, -0.5px);
  }
  70% {
    transform: translate(0.5px, -0.5px);
  }
  80% {
    transform: translate(-0.5px, 0.5px);
  }
  90% {
    transform: translate(0.5px, 0.5px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
  color: var(--bg-dark);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.6), 0 0 40px rgba(166, 139, 77, 0.4);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 30px rgba(198, 167, 94, 0.8), 0 0 60px rgba(166, 139, 77, 0.6);
}

/* ===== 회사 상세 소개 섹션 ===== */
.about-company {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  color: var(--text-primary);
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-company .about-container {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-company h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 15px var(--primary-glow);
  background: linear-gradient(45deg, var(--text-primary), var(--primary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-company h2 span {
  color: var(--primary-glow);
  -webkit-text-fill-color: var(--primary-glow);
  text-shadow: 0 0 20px var(--primary-glow);
}

.about-company .intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
  color: var(--text-secondary);
}

.industry-sectors {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.industry-sectors .sector {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0,230,255,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.industry-sectors .sector:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255,0,255,0.9), 0 0 40px rgba(0,230,255,0.6);
}

.about-company .vision {
  font-size: 1.3rem;
  margin: 50px 0;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.about-company .vision span {
  color: var(--primary-glow);
  font-weight: bold;
  text-shadow: 0 0 10px var(--primary-glow);
}

.graph-box {
  max-width: 600px;
  height: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(198, 167, 94, 0.3), 0 0 60px rgba(166, 139, 77, 0.2);
  backdrop-filter: blur(10px);
}

/* ===== 회사소개 섹션 ===== */
#about.about-section {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.about-container h1,
.about-container h2 {
  background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(198, 167, 94, 0.5);
}

.about-container h1 {
  font-size: 3rem;
  text-align: center;
  font-weight: 800;
}

 .about-container h2 {
   font-size: 2.2rem;
   margin-top: 3rem;
   font-weight: 700;
 }

 .association {
   margin-top: 3rem;
 }

 .association h2 {
   font-size: 2.2rem;
   margin-bottom: 1.5rem;
   font-weight: 700;
 }

 .association p {
   color: var(--text-secondary);
   line-height: 1.8;
   margin-bottom: 2rem;
   font-size: 1.1rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
 }

 .association-bar {
  width: 100%;
  height: 4.4rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(198, 167, 94, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  cursor: grab;
}

 .association-bar:active {
   cursor: grabbing;
 }

 .banner-container {
   width: 100%;
   height: 100%;
   overflow: hidden;
   position: relative;
 }

 .banner-track {
   display: flex;
   align-items: center;
   height: 100%;
   animation: scrollBanner 30s linear infinite;
   gap: 2rem;
   padding: 0 1rem;
 }

 .banner-track.paused {
   animation-play-state: paused;
 }

 .banner-item {
   display: flex;
   align-items: center;
   justify-content: center;
   min-width: 120px;
   height: 1.8rem;
   background: rgba(255, 255, 255, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.2);
   border-radius: 6px;
   text-decoration: none;
   color: var(--text-primary);
   font-size: 0.8rem;
   font-weight: 500;
   transition: all 0.3s ease;
   backdrop-filter: blur(5px);
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
   white-space: nowrap;
   flex-shrink: 0;
 }

 .banner-item:hover {
  background: rgba(198, 167, 94, 0.2);
  border-color: rgba(198, 167, 94, 0.5);
  box-shadow: 0 0 15px rgba(198, 167, 94, 0.4);
  transform: translateY(-1px);
}

 .banner-item span {
  color: var(--text-primary);
  font-weight: 500;
  text-shadow: 0 0 5px rgba(198, 167, 94, 0.3);
}

 .banner-item:hover span {
   color: var(--primary-glow);
   text-shadow: 0 0 8px var(--primary-glow);
 }

 @keyframes scrollBanner {
   0% {
     transform: translateX(0);
   }
   100% {
     transform: translateX(-50%);
   }
 }

.about-container p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(198, 167, 94, 0.3), 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(198, 167, 94, 0.3);
}

.team-card img {
  border-radius: 50%;
  margin-bottom: 1.5rem;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 3px solid var(--primary-glow);
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.5);
}

 .team-card h3 {
   color: var(--primary-glow);
   margin-bottom: 1rem;
   font-size: 1.5rem;
   font-weight: 700;
   text-shadow: 0 0 10px var(--primary-glow);
 }

             

/* ===== 서비스 섹션 ===== */
#services.services-section {
  background: rgba(0, 0, 0, 0.1);
}

.services-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-container h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(198, 167, 94, 0.5);
}

.services-container .intro {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(198, 167, 94, 0.3), 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(198, 167, 94, 0.3);
}

.service-card h2 {
  color: var(--primary-glow);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 0 10px var(--primary-glow);
}

.service-card p {
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  margin: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-primary);
  font-weight: 500;
}

.service-card ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary-glow);
  font-weight: bold;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* ===== 연락처 섹션 ===== */
#contact.contact-section {
  background: rgba(0, 0, 0, 0.3);
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-container h1 {
  text-align: center;
  background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(198, 167, 94, 0.5);
}

.contact-container > p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.flash-messages {
  background: rgba(198, 167, 94, 0.1);
  color: var(--primary-glow);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
  border: 1px solid rgba(198, 167, 94, 0.3);
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h2,
.contact-form h2 {
  color: var(--primary-glow);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px var(--primary-glow);
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.3);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

 .contact-form button {
  padding: 0.6rem 1.25rem;
  background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
  color: var(--bg-dark);
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.6);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(198, 167, 94, 0.8), 0 0 60px rgba(166, 139, 77, 0.4);
}

/* ===== 대표회계사 섹션 ===== */
#ceo.ceo-section {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(15px);
}

.ceo-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ceo-header {
  text-align: center;
  margin-bottom: 4rem;
}

.ceo-header h1 {
  color: #000000;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ceo-profile {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ceo-photo {
  flex-shrink: 0;
}

.photo-container {
  width: 200px;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 
    0 0 30px rgba(198, 167, 94, 0.3),
    0 0 60px rgba(166, 139, 77, 0.2),
    inset 0 0 20px rgba(198, 167, 94, 0.1);
  transition: all 0.4s ease;
}

.photo-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(198, 167, 94, 0.6), 
    rgba(166, 139, 77, 0.4), 
    rgba(198, 167, 94, 0.6));
  border-radius: 17px;
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite alternate;
}

.ceo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.photo-container:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 40px rgba(198, 167, 94, 0.5),
    0 0 80px rgba(166, 139, 77, 0.3),
    inset 0 0 30px rgba(198, 167, 94, 0.2);
}

.photo-container:hover::before {
  animation: glowPulse 1.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.ceo-info {
  flex: 1;
}

.ceo-info h2 {
  color: #000000;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ceo-title {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ceo-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.ceo-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-label {
  color: var(--primary-glow);
  font-weight: 700;
  min-width: 30px;
  text-shadow: 0 0 10px var(--primary-glow);
}

.contact-value {
  color: var(--text-primary);
  font-weight: 500;
}

.ceo-content {
  display: grid;
  gap: 2.5rem;
}

.ceo-section-block {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.ceo-section-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(198, 167, 94, 0.2), 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(198, 167, 94, 0.2);
}

.ceo-section-block h3 {
  color: #000000;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0.5rem;
}

.ceo-section-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.ceo-section-block ul {
  list-style: none;
  padding-left: 0;
}

.ceo-section-block ul li {
  margin: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

.ceo-section-block ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary-glow);
  font-weight: bold;
  text-shadow: 0 0 10px var(--primary-glow);
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--brand-charcoal) !important;
    font-weight: 600 !important;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--brand-navy) !important;
    border-bottom: 1px solid var(--brand-gold);
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background: var(--brand-charcoal);
  }

  section {
    min-height: auto;
    padding: 60px 0 30px;
    width: 100%;
    overflow-x: hidden;
  }

  .hero {
    padding: 0 1.5rem;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .services-container,
  .about-container,
  .contact-container,
  .ceo-container,
  .about-company .about-container {
    padding: 0 1.5rem;
    max-width: 100%;
    width: 100%;
  }

  .about-container h1,
  .services-container h1,
  .contact-container h1 {
    font-size: 2.5rem;
  }

  .about-container h2,
  .services-container h2 {
    font-size: 1.8rem;
  }

  .about-container p,
  .services-container p,
  .contact-container p {
    font-size: 1rem;
  }

  .ceo-profile {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .ceo-header h1 {
    font-size: 2.5rem;
  }

  .ceo-info h2 {
    font-size: 2rem;
  }

  .ceo-title {
    font-size: 1.1rem;
  }

  .ceo-subtitle {
    font-size: 1rem;
  }

  .ceo-section-block h3 {
    font-size: 1.5rem;
  }

  .ceo-section-block p,
  .ceo-section-block ul li {
    font-size: 1rem;
  }

  .photo-container {
    width: 180px;
    height: 220px;
  }

  .service-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .service-card h2 {
    font-size: 1.6rem;
  }

  .service-card p {
    font-size: 1rem;
  }

  .service-card ul li {
    font-size: 0.95rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.5rem;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .association-bar {
    height: 3.5rem;
  }

  .association h2 {
    font-size: 1.8rem;
  }

  .association p {
    font-size: 1rem;
  }

  .banner-item {
    min-width: 100px;
    height: 1.6rem;
    font-size: 0.7rem;
  }

  .graph-box {
    max-width: 100%;
    height: 400px;
    padding: 20px;
  }

  .industry-sectors {
    gap: 15px;
  }

  .industry-sectors .sector {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .about-company h2 {
    font-size: 2rem;
  }

  .about-company .intro {
    font-size: 1rem;
  }

  .about-company .vision {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.8rem;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }

  .about-container h1,
  .services-container h1,
  .contact-container h1 {
    font-size: 2rem;
  }

  .about-container h2,
  .services-container h2 {
    font-size: 1.5rem;
  }

  .about-container p,
  .services-container p,
  .contact-container p {
    font-size: 0.9rem;
  }

  .service-card,
  .team-card,
  .ceo-section-block {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-card h2 {
    font-size: 1.4rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .service-card ul li {
    font-size: 0.85rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.3rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .ceo-header h1 {
    font-size: 1.8rem;
  }

  .ceo-info h2 {
    font-size: 1.6rem;
  }

  .ceo-title {
    font-size: 1rem;
  }

  .ceo-subtitle {
    font-size: 0.9rem;
  }

  .ceo-section-block h3 {
    font-size: 1.3rem;
  }

  .ceo-section-block p,
  .ceo-section-block ul li {
    font-size: 0.9rem;
  }

  .photo-container {
    width: 160px;
    height: 200px;
  }

  .association h2 {
    font-size: 1.5rem;
  }

  .association p {
    font-size: 0.9rem;
  }

  .association-bar {
    height: 3rem;
  }

  .banner-item {
    min-width: 90px;
    height: 1.4rem;
    font-size: 0.65rem;
  }

  .graph-box {
    height: 350px;
    padding: 15px;
  }

  .about-company h2 {
    font-size: 1.6rem;
  }

  .about-company .intro {
    font-size: 0.9rem;
  }

  .about-company .vision {
    font-size: 1rem;
  }

  .industry-sectors .sector {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .about-container h1,
  .services-container h1,
  .contact-container h1 {
    font-size: 1.8rem;
  }

  .about-container h2,
  .services-container h2 {
    font-size: 1.3rem;
  }

  .about-container p,
  .services-container p,
  .contact-container p {
    font-size: 0.85rem;
  }

  .service-card,
  .team-card,
  .ceo-section-block {
    padding: 1.2rem;
  }

  .service-card h2 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .service-card ul li {
    font-size: 0.8rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.85rem;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.2rem;
  }

  .contact-info p {
    font-size: 0.85rem;
  }

  .ceo-header h1 {
    font-size: 1.6rem;
  }

  .ceo-info h2 {
    font-size: 1.4rem;
  }

  .ceo-title {
    font-size: 0.9rem;
  }

  .ceo-subtitle {
    font-size: 0.8rem;
  }

  .ceo-section-block h3 {
    font-size: 1.1rem;
  }

  .ceo-section-block p,
  .ceo-section-block ul li {
    font-size: 0.85rem;
  }

  .photo-container {
    width: 140px;
    height: 180px;
  }

  .association h2 {
    font-size: 1.3rem;
  }

  .association p {
    font-size: 0.85rem;
  }

  .association-bar {
    height: 2.8rem;
  }

  .banner-item {
    min-width: 80px;
    height: 1.3rem;
    font-size: 0.6rem;
  }

  .about-company h2 {
    font-size: 1.4rem;
  }

  .about-company .intro {
    font-size: 0.85rem;
  }

  .about-company .vision {
    font-size: 0.9rem;
  }

  .industry-sectors .sector {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* ===== 애니메이션 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.team-card {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== 접근성 ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 포커스 스타일 ===== */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-glow);
  outline-offset: 2px;
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.5);
}

/***** ─────────────────────────────────────────────────────────
  Law-firm Premium White Theme Overrides
  (append this block at the very end of style.css)
────────────────────────────────────────────────────────── *****/
:root {
  /* New, restrained palette */
  --brand-navy: #1b2a41;
  --brand-charcoal: #2a2f36;
  --brand-gold: #c6a75e;       /* champagne gold */
  --brand-gold-ink: #a68b4d;   /* subtle text gold */
  --ink-strong: #222;
  --ink: #444;
  --ink-soft: #6b7280;
  --bg-page: #ffffff;
  --bg-subtle: #f7f8fa;
  --line: #e5e7eb;
  --shadow-soft: 0 6px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 30px rgba(0,0,0,0.08);
}

/* wipe neon gradient animation background */
body {
  background: var(--bg-page) !important;
  animation: none !important;
  color: var(--ink) !important;
  line-height: 1.7 !important;
}

/* header: frosted white, subtle shadow */
header {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.04) !important;
}

/* logo: navy text, no glow */
.logo {
  color: var(--brand-navy) !important;
  text-shadow: none !important;
  letter-spacing: 0.2px;
}

/* nav links: refined underline on hover */
.nav-links a {
  color: var(--brand-charcoal) !important;
  font-weight: 600 !important;
}
.nav-links a::before {
  height: 2px !important;
  background: var(--brand-gold) !important;
  box-shadow: none !important;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-navy) !important;
}

/* sections: plain white / subtle breaks */
section {
  min-height: auto !important;
  padding: 100px 0 64px !important;
  background: var(--bg-page) !important;
}
#about.about-section,
#services.services-section,
#contact.contact-section,
#ceo.ceo-section {
  background: var(--bg-subtle) !important;
}

/* typographic hierarchy */
h1, h2, h3 {
  color: var(--brand-navy) !important;
  text-shadow: none !important;
  -webkit-text-fill-color: initial !important;
  background: none !important;
}
h1 { letter-spacing: 0.2px; }
h2 { letter-spacing: 0.15px; }
h3 { letter-spacing: 0.1px; }

p, li {
  color: var(--ink) !important;
}

/* hero: remove all effects, keep simple text */
#home.hero .hero-content h1,
.hero h1,
.hero h1::before,
.hero h1::after {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
  animation: none !important;
  color: var(--brand-navy) !important;
  position: static !important;
  overflow: visible !important;
}
.hero p {
  color: var(--ink-soft) !important;
}

/* buttons: navy pill + gold outline on hover */
.btn,
.contact-form button {
  background: var(--brand-navy) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 1px solid var(--brand-navy) !important;
  box-shadow: var(--shadow-soft) !important;
  letter-spacing: 0.2px;
}
.btn::before { display: none !important; }
.btn:hover,
.contact-form button:hover {
  background: #20324d !important;
  border-color: var(--brand-gold) !important;
  box-shadow: var(--shadow-hover) !important;
  transform: translateY(-1px) !important;
}

/* cards: white surface, soft shadow, gold accent bars */
.service-card,
.team-card,
.ceo-profile,
.flash-messages {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: none !important;
  border-radius: 16px !important;
}
.service-card::before { 
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent) !important;
}
.service-card:hover,
.team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: #e9dcc2 !important; /* pale gold line */
}
.service-card h2,
.contact-info h2,
.contact-form h2,
.team-card h3 {
  color: var(--brand-navy) !important;
  text-shadow: none !important;
}
.service-card ul li::before {
  content: "•" !important;
  color: var(--brand-gold) !important;
  text-shadow: none !important;
  font-weight: 700;
}

/* association banner: quiet chrome look */
.association-bar {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-soft) !important;
  cursor: default !important;
}
.banner-item {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}
.banner-item:hover {
  background: #fafafa !important;
  border-color: #e3e3e3 !important;
  transform: translateY(0) !important;
}
.banner-item span {
  color: var(--brand-charcoal) !important;
  text-shadow: none !important;
}

/* about-company block */
.about-company {
  background: var(--bg-subtle) !important;
}
.about-company .about-container {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-soft) !important;
}
.about-company h2 span {
  color: var(--brand-gold) !important;
  text-shadow: none !important;
}
.about-company .vision span {
  color: var(--brand-gold) !important;
  text-shadow: none !important;
}
.industry-sectors .sector {
  background: #fff !important;
  color: var(--brand-charcoal) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}
.industry-sectors .sector:hover {
  transform: none !important;
  box-shadow: var(--shadow-soft) !important;
}

/* forms */
.contact-form input,
.contact-form textarea {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink-strong) !important;
  box-shadow: none !important;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d6c49a !important; /* pale gold */
  box-shadow: 0 0 0 4px rgba(198,167,94,0.12) !important;
}

/* progress bar (JS-injected) */
body > div[style*="position: fixed"][style*="top: 0"][style*="height: 3px"] {
  background: linear-gradient(90deg, var(--brand-gold), #e7d6a8) !important;
}

/* remove neon/glow artifacts globally */
[class*="glow"],
[class*="neon"] {
  text-shadow: none !important;
  box-shadow: none !important;
}

/* smooth transitions */
a, .btn, .service-card, .team-card, input, textarea {
  transition: all .25s ease !important;
}

@media (max-width: 360px) {
  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0.3rem 0;
  }

  .logo {
    font-size: 1.1rem;
  }
}
