/* Aeternum Corporate Page Theme Variables */
:root {
  --bg-primary: #0A192F;
  --bg-secondary: #112240;
  --bg-tertiary: #1B305B;
  --color-primary: #64FFDA;      /* Tech Cyan */
  --color-primary-rgb: 100, 255, 218;
  --color-secondary: #00B4D8;    /* Ocean Blue */
  --color-text-main: #CCD6F6;
  --color-text-muted: #8892B0;
  --color-text-white: #F8FAFC;
  --color-border: rgba(100, 255, 218, 0.15);
  --color-border-hover: rgba(100, 255, 218, 0.4);
  --box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
  --font-title: 'Outfit', 'Noto Sans KR', sans-serif;
}

body.theme-corp {
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
}

/* Scrollbar Customization */
body.theme-corp::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
body.theme-corp::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
body.theme-corp::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Glassmorphic Header */
.corp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100, 255, 218, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: all 0.3s ease;
}
.corp-header.scrolled {
  height: 70px;
  box-shadow: var(--box-shadow);
  background-color: rgba(10, 25, 47, 0.95);
}

/* Logo SVG Styling */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-svg {
  width: 42px;
  height: 42px;
}
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--color-text-white);
  background: linear-gradient(135deg, var(--color-text-white) 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Navigation Links */
.corp-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.corp-nav a {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}
.corp-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.corp-nav a:hover {
  color: var(--color-primary);
}
.corp-nav a:hover::after {
  width: 100%;
}
.nav-btn {
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius-sm);
  padding: 8px 18px !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}
.nav-btn::after {
  display: none !important;
}
.nav-btn:hover {
  background-color: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
}

/* Mobile Nav Overlay */
@media (max-width: 768px) {
  .corp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(2, 12, 27, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .corp-nav.active {
    right: 0;
  }
  .menu-toggle span {
    background-color: var(--color-primary);
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 5% 50px 5%;
  position: relative;
  overflow: hidden;
}
.hero-section > * {
  width: 100%;
  max-width: 1200px;
}
/* Cyberpunk ambient light */
.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-pretitle {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-white);
  margin-bottom: 24px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 650px;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #020C1B;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 20px rgba(100, 255, 218, 0.25);
  font-size: 0.95rem;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(100, 255, 218, 0.4);
}
.btn-secondary {
  border: 1px solid var(--color-text-muted);
  color: var(--color-text-white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(100, 255, 218, 0.05);
  transform: translateY(-3px);
}

/* Sections General */
.creative-section {
  padding: 100px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.creative-section > * {
  width: 100%;
  max-width: 1200px;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.section-title::after {
  content: '';
  display: block;
  height: 1px;
  flex-grow: 1;
  max-width: 300px;
  background-color: var(--color-border);
}
.section-subtitle {
  color: var(--color-primary);
  font-family: var(--font-title);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Founders Section */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}
.founder-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.founder-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 40px -15px rgba(2, 12, 27, 0.8), 0 0 15px rgba(100, 255, 218, 0.05);
}
.founder-card:hover::before {
  opacity: 1;
}
.founder-img-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px auto;
  border: 3px solid var(--color-border);
  transition: all 0.4s ease;
  background-color: var(--bg-tertiary);
}
.founder-card:hover .founder-img-wrapper {
  border-color: var(--color-primary);
  transform: scale(1.05);
}
.founder-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: filter 0.4s ease;
}
.founder-card:hover .founder-img-wrapper img {
  filter: grayscale(0%);
}
.founder-info {
  text-align: center;
  margin-bottom: 20px;
}
.founder-name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--color-text-white);
  font-weight: 700;
}
.founder-role {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 4px;
}
.founder-bio {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
}
.founder-bio-item {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.founder-bio-item::before {
  content: '⚡';
  font-size: 0.75rem;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Timeline / History Section */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0 auto;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-border);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px 40px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.timeline-badge {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 3px solid var(--color-primary);
  z-index: 10;
  transition: all 0.3s ease;
}
.timeline-item:nth-child(odd) .timeline-badge {
  right: -8px;
}
.timeline-item:nth-child(even) .timeline-badge {
  left: -8px;
}
.timeline-item:hover .timeline-badge {
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  transform: scale(1.2);
}
.timeline-year {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.timeline-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--box-shadow);
  transition: border-color 0.3s ease;
}
.timeline-item:hover .timeline-content {
  border-color: var(--color-border-hover);
}
.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--color-text-white);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding: 0 20px 30px 40px;
    left: 0 !important;
    text-align: left !important;
  }
  .timeline-badge {
    left: 12px !important;
  }
}

/* Division/Services Section */
.div-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.div-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  transition: all 0.3s ease;
}
.div-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
}
.div-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.div-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--color-text-white);
  font-weight: 600;
  margin-bottom: 12px;
}
.div-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Creative Banner (Concept 3 promotion block) */
.creative-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(27, 48, 91, 0.4) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 50px 8%;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}
.creative-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.05) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.creative-banner-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.creative-banner-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.creative-banner-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.creative-banner-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.creative-banner-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .creative-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  .creative-banner-content {
    max-width: 100%;
  }
}

/* Footer */
.corp-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #020C1B;
  padding: 60px 8% 40px 8%;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-info-block {
  max-width: 450px;
}
.footer-links {
  display: flex;
  gap: 50px;
}
.footer-link-group h5 {
  font-family: var(--font-title);
  color: var(--color-text-white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer-link-group ul li {
  margin-bottom: 10px;
}
.footer-link-group a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
}

/* Navigation Highlight for Growth Report (성장리포트) */
.nav-highlight {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
  background: rgba(100, 255, 218, 0.08);
  border: 1px dashed var(--color-primary);
  border-radius: 20px;
  padding: 6px 14px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.nav-highlight::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-cyan 1.8s infinite;
}
.nav-highlight::after {
  display: none !important; /* 기본 밑줄 애니메이션 제거 */
}
.nav-highlight:hover {
  background: rgba(100, 255, 218, 0.15);
  border-style: solid;
  transform: translateY(-1px);
}

@keyframes pulse-cyan {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 4px var(--color-primary); }
  50% { transform: scale(1.4); opacity: 0.6; box-shadow: 0 0 10px var(--color-primary); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 4px var(--color-primary); }
}
