@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

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

:root {
  --ocean-dark: #0d2137;
  --ocean-main: #1565c0;
  --ocean-light: #1e88e5;
  --ocean-pale: #42a5f5;
  --sand: #fff8e1;
  --sand-light: #fffde7;
  --coral: #e53935;
  --sunset-orange: #ef6c00;
  --sunset-pink: #d81b60;
  --sky-top: #1e88e5;
  --sky-bottom: #e3f2fd;
  --bg-dark: #e3f2fd;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f9ff;
  --text-primary: #1a2a3a;
  --text-secondary: #455a64;
  --text-muted: #78909c;
  --border: #bbdefb;
  --gradient-ocean: linear-gradient(135deg, #1565c0, #42a5f5);
  --gradient-sunset: linear-gradient(135deg, #e53935, #ef6c00, #fdd835);
  --gradient-warm: linear-gradient(135deg, #d81b60, #ef6c00);
  --gradient-rainbow: linear-gradient(135deg, #e53935, #ef6c00, #fdd835, #42a5f5, #1565c0, #d81b60);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 40%, #90caf9 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(66, 165, 245, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(100, 181, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(144, 202, 249, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.2rem;
}

.nav-brand img {
  height: 40px;
  border-radius: 8px;
}

.nav-brand span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(21, 101, 192, 0.1);
  color: var(--ocean-main);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(30, 136, 229, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(66, 165, 245, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 32px;
  display: block;
  box-shadow: 0 0 40px rgba(30, 136, 229, 0.2), 0 0 80px rgba(66, 165, 245, 0.1);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gradient-warm);
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.95rem;
}

/* ─── SECTION ─── */
.section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-header h2 .accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-rainbow);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ─── CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-rainbow);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── JOB / DETAIL CARDS ─── */
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.detail-card:hover {
  border-color: var(--ocean-main);
  box-shadow: var(--shadow-md);
}

.detail-card .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(21, 101, 192, 0.1);
  color: var(--ocean-main);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.detail-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── STEP LIST ─── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-warm);
  color: #1a1a1a;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-body code {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--ocean-main);
  font-family: 'Noto Sans KR', monospace;
}

/* ─── TABLE ─── */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

th {
  background: rgba(21, 101, 192, 0.06);
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ocean-main);
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(30, 58, 95, 0.3);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(0, 119, 182, 0.04);
}

/* ─── CTA ─── */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

.cta-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.cta-box h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--gradient-warm);
  color: #1a1a1a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.2);
}

.btn-outline {
  border: 2px solid var(--ocean-main);
  color: var(--ocean-main);
  margin-left: 12px;
}

.btn-outline:hover {
  background: rgba(21, 101, 192, 0.1);
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--ocean-main);
}

/* ─── PAGE HEADER (서브 페이지용) ─── */
.page-header {
  padding: 110px 24px 50px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  background: var(--gradient-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ─── MISC ─── */
.highlight-box {
  background: rgba(21, 101, 192, 0.06);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.highlight-box h4 {
  color: var(--ocean-main);
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(21, 101, 192, 0.1);
  color: var(--ocean-main);
}

.badge-orange {
  background: rgba(239, 108, 0, 0.1);
  color: var(--sunset-orange);
}

.badge-red {
  background: rgba(216, 27, 96, 0.1);
  color: var(--sunset-pink);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .section {
    padding: 50px 16px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .step-item {
    flex-direction: column;
    gap: 12px;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}
