/* ═══════════════════════════════════════════
   PRISMA MINT — 공통 스타일
   ═══════════════════════════════════════════ */

:root {
  --mint-50: #f0fdfa; --mint-100: #ccfbf1; --mint-200: #99f6e4; --mint-300: #5eead4;
  --mint-400: #2dd4bf; --mint-500: #14b8a6; --mint-600: #0d9488; --mint-700: #0f766e;
  --mint-800: #115e59; --mint-900: #134e4a;
  --navy-900: #0c1e32; --navy-800: #122a42; --navy-700: #1a3a58;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1;
  --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155;
  --slate-800: #1e293b; --slate-900: #0f172a;
}

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-800); background: #fff; overflow-x: hidden;
}

/* TOP BAR */
.top-bar {
  background: var(--navy-900); padding: 0 32px;
  display: flex; justify-content: flex-end; align-items: center; height: 36px; gap: 4px;
}
.top-bar a { color: var(--slate-400); font-size: 0.75rem; text-decoration: none; padding: 4px 12px; transition: color 0.2s; }
.top-bar a:hover { color: var(--mint-300); }
.top-bar .divider { color: var(--slate-700); font-size: 0.7rem; }

/* NAV */
nav {
  position: sticky; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06); transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand .logo-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--mint-500), var(--mint-600));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px; font-family: 'Outfit', sans-serif;
}
.nav-brand .logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--navy-900); }
.nav-brand .logo-text span { color: var(--mint-600); }
.nav-menu { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  text-decoration: none; color: var(--slate-700); font-size: 0.92rem; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; gap: 4px;
}
.nav-menu > li > a:hover { color: var(--mint-700); background: var(--mint-50); }
.nav-menu > li > a.active-nav { color: var(--mint-700); background: var(--mint-50); }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: 12px; padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); border: 1px solid var(--slate-100); min-width: 220px; z-index: 100;
}
.nav-menu > li:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 16px; border-radius: 8px;
  color: var(--slate-600); font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: all 0.15s;
}
.dropdown a:hover { background: var(--mint-50); color: var(--mint-700); }
.dropdown .desc { font-size: 0.73rem; color: var(--slate-400); margin-top: 2px; }
.btn-nav-contact { background: var(--mint-600) !important; color: #fff !important; font-weight: 600 !important; border-radius: 8px !important; }
.btn-nav-contact:hover { background: var(--mint-700) !important; }

/* PAGE HEADER */
.page-header {
  background: var(--navy-900); padding: 56px 32px 48px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -40%; right: -15%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20,184,166,0.1) 0%, transparent 70%); pointer-events: none;
}
.page-header-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-header .breadcrumb { font-size: 0.8rem; color: var(--slate-500); margin-bottom: 12px; }
.page-header .breadcrumb a { color: var(--slate-400); text-decoration: none; }
.page-header .breadcrumb a:hover { color: var(--mint-400); }
.page-header h1 {
  font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.02em;
}
.page-header h1 em {
  font-style: normal; background: linear-gradient(135deg, var(--mint-300), var(--mint-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-header p { color: var(--slate-400); font-size: 1rem; line-height: 1.6; max-width: 560px; }

/* SECTION */
.section { padding: 80px 32px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--navy-900); }
.section-tag {
  font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 600;
  color: var(--mint-600); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.section-title { font-size: 1.8rem; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; letter-spacing: -0.02em; }
.section-desc { color: var(--slate-500); font-size: 0.95rem; max-width: 560px; line-height: 1.7; margin-bottom: 48px; }

/* FOOTER */
footer { background: var(--navy-900); padding: 48px 32px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 10px; }
.footer-brand .logo-text span { color: var(--mint-400); }
.footer-brand p { color: var(--slate-500); font-size: 0.8rem; line-height: 1.7; }
.footer-col h4 { color: var(--slate-300); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--slate-500); font-size: 0.82rem; text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--mint-400); }
.footer-bottom { max-width: 1280px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; }
.footer-bottom p { color: var(--slate-600); font-size: 0.75rem; }
.footer-bottom a { color: var(--mint-500); text-decoration: none; }

/* TOAST ANIMATION */
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* UTILITY */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .top-bar { display: none; }
  .page-header h1 { font-size: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
