/* ═══════════════════════════════════════════
   AIRBRIDGE — Global Stylesheet
   에어브리지 국제특송
═══════════════════════════════════════════ */

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

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d1117;
  --bg2:       #111827;
  --surface:   #161b27;
  --surface2:  #1e2535;
  --border:    #2a3347;
  --border2:   #374460;
  --text:      #e2e8f0;
  --text2:     #94a3b8;
  --muted:     #7a8ba8;
  --muted2:    #4a5a78;
  --cyan:      #22d3ee;
  --cyan-dim:  #0e7490;
  --cyan-pale: rgba(34,211,238,0.08);
  --purple:    #a78bfa;
  --amber:     #fbbf24;
  --red:       #f87171;
  --green:     #34d399;
  --sans:      'Noto Sans KR', sans-serif;
  --mono:      'IBM Plex Mono', monospace;
  --display:   'Bebas Neue', sans-serif;
  --nav-h:     64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted2); }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--cyan) 0%, #6366f1 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 17px;
  color: #fff;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-ko   { font-size: 14px; font-weight: 700; }
.nav-logo-en   { font-size: 10px; color: var(--muted); font-family: var(--mono); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface2);
}
.nav-links a.active { color: var(--cyan); }

.nav-cta {
  margin-left: 16px;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--cyan-dim);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; background: var(--cyan-dim) !important; }

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-ham span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--cyan); background: var(--cyan-pale); }
.nav-mobile .nav-cta {
  margin-left: 0; margin-top: 8px;
  justify-content: center;
  height: 44px;
}

/* ════════════════════════════════════════
   PAGE WRAPPER
════════════════════════════════════════ */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 40px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .fb-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--cyan) 0%, #6366f1 100%);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 15px;
  color: #fff;
}
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-col h4 {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-info dt { font-size: 11px; color: var(--muted2); }
.footer-info dd { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted2);
  font-family: var(--mono);
}

/* ════════════════════════════════════════
   COMMON COMPONENTS
════════════════════════════════════════ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--cyan);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.highlight { color: var(--cyan); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.card:hover { border-color: var(--border2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--cyan-dim);
  color: #fff;
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-pale); }
.btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 10px; }

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 60px 0;
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
}

.anim-fadeup { animation: fadeUp 0.6s ease both; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; }
.anim-d3 { animation-delay: 0.3s; }
.anim-d4 { animation-delay: 0.4s; }
.anim-d5 { animation-delay: 0.5s; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-ham { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
