*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #1400FF;
  --yellow: #FFD000;
  --pink:   #FF3D8A;
  --purple: #9B27D8;
  --white:  #FFFFFF;
  --black:  #111111;
  --gray:   #F5F5F5;
  --text:   #222222;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--white);
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
}

.nav-logo {
  color: var(--yellow);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-blog {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white) !important;
  background: #03C75A;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  transition: filter 0.2s, transform 0.2s !important;
  white-space: nowrap;
}

.nav-blog:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  opacity: 1 !important;
}

.nav-blog i { font-size: 0.85rem; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.3rem;
  padding: 4px;
  line-height: 1;
}

/* ── HERO ────────────────────────────────── */
#hero {
  background: var(--blue);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero-label {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-company {
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 32px;
}

.hero-display {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-weight: 900;
  line-height: 0.9;
  pointer-events: none;
  user-select: none;
}

.hero-we-care {
  color: var(--white);
  font-size: clamp(100px, 20vw, 220px);
  display: block;
}

.hero-exclaim {
  position: absolute;
  top: 80px;
  right: 40px;
  color: var(--white);
  font-size: clamp(120px, 22vw, 260px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.hero-budding {
  color: var(--yellow);
  font-size: clamp(60px, 11vw, 130px);
  display: block;
}

.hero-scientists {
  color: var(--yellow);
  font-size: clamp(48px, 9vw, 108px);
  display: block;
}

.hero-cta {
  margin-top: 56px;
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 1rem;
  padding: 16px 40px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s;
}

.hero-cta:hover { transform: translateY(-2px); }

/* ── HERO LECTURE BUTTON ─────────────────── */
@keyframes heroBtnPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0.15); }
  50%       { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 8px rgba(255,255,255,0); }
}

.hero-lecture-btn {
  position: absolute;
  right: 40px;
  bottom: 120px;
  top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  animation: heroBtnPulse 2.8s ease-in-out infinite, heroFadeUp 0.65s ease both;
  animation-delay: 0s, 1.3s;
  transition: transform 0.22s, background 0.22s;
  z-index: 10;
}

.hero-lecture-btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255,255,255,0.18);
}

.hero-lecture-btn > .fa-microchip {
  font-size: 1.6rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.hero-lecture-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-lecture-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

.hero-lecture-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-lecture-arrow {
  font-size: 0.85rem;
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-lecture-btn:hover .hero-lecture-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ── HERO ANIMATIONS ─────────────────────── */
@keyframes heroSlideUp {
  from { transform: translateY(115%); }
  to   { transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroPop {
  0%   { transform: scale(0.5) rotate(-14deg); opacity: 0; }
  65%  { transform: scale(1.1) rotate(4deg);   opacity: 1; }
  85%  { transform: scale(0.97) rotate(-1deg); }
  100% { transform: scale(1)   rotate(0deg);   opacity: 1; }
}

.hero-label   { animation: heroFadeUp 0.65s ease both; }
.hero-company { animation: heroFadeUp 0.65s ease both; animation-delay: 0.15s; }
.hero-exclaim { animation: heroPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: 0.82s; }
.hero-cta     { animation: heroFadeUp 0.65s ease both; animation-delay: 1.1s; }

.line-wrap {
  display: block;
  overflow: hidden;
  line-height: 1;
}

.hero-word {
  display: block;
  animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 0.13s + 0.35s);
}

/* ── SECTION COMMONS ─────────────────────── */
section { padding: 100px 60px; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  max-width: 600px;
}

/* ── ABOUT ───────────────────────────────── */
#about { background: var(--white); }

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-intro { margin-bottom: 64px; }

.about-intro .highlight-blue  { color: var(--blue); font-weight: 900; }
.about-intro .highlight-blue2 { color: #0066FF; font-weight: 900; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.stat-card {
  background: var(--yellow);
  border-radius: 20px;
  padding: 36px 28px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.75;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.partners-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.partners-note {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-badge {
  background: var(--gray);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

/* ── PROGRAMS ────────────────────────────── */
#programs {
  background: var(--black);
  color: var(--white);
}

.programs-inner { max-width: 1100px; margin: 0 auto; }

.prog-category { margin-bottom: 80px; }
.prog-category:last-child { margin-bottom: 0; }

.cat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.cat-badge {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 4px;
}

.cat-badge.blue   { background: var(--blue);   color: var(--white); }
.cat-badge.purple { background: var(--purple); color: var(--white); }
.cat-badge.yellow { background: var(--yellow); color: var(--black); }
.cat-badge.pink   { background: var(--pink);   color: var(--white); }

.cat-title {
  font-size: 1.5rem;
  font-weight: 900;
}

.prog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.prog-card {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, transform 0.2s;
}

.prog-card-img {
  width: 100%;
  height: 200px;
  background: #222;
  display: block;
}

.prog-card-body {
  padding: 24px 28px 28px;
}

.prog-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.prog-card-title {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
}

.prog-card-title .accent-blue   { color: #5B8FFF; }
.prog-card-title .accent-purple { color: #C580FF; }
.prog-card-title .accent-yellow { color: var(--yellow); }
.prog-card-title .accent-pink   { color: #FF80B0; }

.prog-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prog-card ul li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.prog-card ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: rgba(255,255,255,0.3);
}

.prog-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-price,
.tag-hours {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* ── LECTURES ────────────────────────────── */
#lectures {
  background: var(--gray);
}

.lectures-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.lecture-list {
  list-style: none;
  margin-top: 48px;
  border-top: 2px solid var(--black);
}

.lecture-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: background 0.15s;
}

.lecture-item:hover {
  background: rgba(20, 0, 255, 0.04);
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}

.lecture-item.upcoming .lecture-org,
.lecture-item.upcoming .lecture-desc {
  opacity: 0.5;
}

.lecture-org {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--blue);
  flex-shrink: 0;
  width: 300px;
  line-height: 1.5;
}

.lecture-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.lecture-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--black);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.lecture-item.upcoming .lecture-year {
  background: #999;
}

/* ── CONTACT ─────────────────────────────── */
#contact {
  background: var(--blue);
  color: var(--white);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-left .section-title { color: var(--white); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
  font-size: 1.1rem;
}

.contact-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-text a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
}

.contact-text a:hover { opacity: 1; text-decoration: underline; }

.copy-btn,
.share-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  padding: 0 0 0 8px;
  vertical-align: middle;
  transition: color 0.2s;
  line-height: 1;
}

.copy-btn:hover,
.share-btn:hover  { color: var(--yellow); }
.copy-btn.copied  { color: #4ade80; }
.share-btn.shared { color: #4ade80; }

.contact-right {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
}

.map-address {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-top: 24px;
}

.map-address strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
  opacity: 1;
}

.women-cert {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 14px 20px;
}

.women-cert-icon {
  font-size: 1.4rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.women-cert-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.women-cert-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.women-cert-num {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ── SCROLL TO TOP ───────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  pointer-events: none;
}

#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scrollTop:hover { background: #0500cc; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 28px 40px;
  font-size: 0.78rem;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  section { padding: 72px 24px; }

  #hero { padding: 80px 24px 48px; }

  .hero-exclaim {
    right: 16px;
    top: 70px;
  }

  .stats-grid { grid-template-columns: 1fr; }

  .hero-lecture-btn {
    display: flex;
    right: 24px;
    bottom: 24px;
    top: auto;
    padding: 12px 16px;
    gap: 10px;
    border-radius: 12px;
  }

  .hero-lecture-title { font-size: 0.85rem; }
  .hero-lecture-sub   { display: none; }
  .hero-lecture-arrow { display: none; }

@media (max-height: 700px) and (min-width: 769px) {
  .hero-lecture-btn {
    bottom: auto;
    top: calc(80px + clamp(120px, 22vw, 260px) + 20px);
  }
}

  .lecture-item {
    flex-direction: column;
    gap: 6px;
  }

  .lecture-org {
    width: auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  nav { padding: 0 20px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,10,0.97);
    padding: 8px 0 20px;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 15px 24px;
    font-size: 0.95rem;
    opacity: 1;
  }

  .nav-blog {
    margin: 12px 24px 0;
    justify-content: center;
  }
}
