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

:root {
  --bg: #0a0a0a;
  --bg-section: #111111;
  --text: #f0f0f0;
  --text-dim: #888888;
  --accent: #2DD4A8;
  --accent-warm: #FFD700;
  --accent-hot: #1ABE8E;
  --accent-glow: rgba(45, 212, 168, 0.3);
  --gold: #FFD700;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', sans-serif;
  overflow-x: hidden;
  cursor: default;
}

/* === CURSOR GLOW === */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,168,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,212,168,0.1);
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 16px 48px;
  background: rgba(10,10,10,0.95);
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--accent); }

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

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

/* === PAGE HERO (서브 페이지용) === */
.page-hero {
  padding: 180px 48px 100px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45,212,168,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255,215,0,0.07) 0%, transparent 50%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,212,168,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,168,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 10;
}

.page-hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 140px);
  line-height: 0.9;
  margin-bottom: 24px;
}

.page-hero-title .outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}

.page-hero-title .accent { color: var(--accent); }

.page-hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.8;
}

/* === SECTION === */
.section {
  position: relative;
  padding: 120px 48px;
  overflow: hidden;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px;
  color: rgba(45,212,168,0.08);
  position: absolute;
  top: 80px;
  right: 48px;
  line-height: 1;
}

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

/* === FOOTER === */
footer {
  padding: 40px 48px;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-company {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 2;
}

.footer-info span { white-space: nowrap; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.footer-copyright {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.footer-sns {
  display: flex;
  gap: 16px;
}

.footer-sns a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-sns a:hover { color: var(--accent); }

.footer-sns svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  footer { padding: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 50px var(--accent-glow), 0 0 80px rgba(45,212,168,0.15); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
  nav { padding: 16px 24px; }
  .section { padding: 80px 24px; }
  .page-hero { padding: 140px 24px 80px; }
  .section-number { display: none; }
}

@media (max-width: 600px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; letter-spacing: 2px; }
}
