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

:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #dbeafe;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --surface: #f1f5f9;
  --border: #e2e8f0;
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.09);
}
[data-theme="dark"] {
  --bg: #0f172a;
  --bg-2: #1e293b;
  --surface: #334155;
  --border: #334155;
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --accent-soft: #1e3a8a;
  --shadow: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,.35);
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  font-size: 15px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 24px;
}
.site-nav { display: flex; gap: 2px; flex: 1; }
.site-nav a {
  padding: 6px 14px;
  border-radius: 7px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all .15s;
}
.lang-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.theme-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.theme-btn:hover { border-color: var(--accent); }
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 0;
  color: var(--text-1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav hr { border: none; border-top: 2px solid var(--border); margin: 4px 0; }

/* ── MAIN ── */
main { min-height: calc(100vh - 60px - 100px); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);
  color: white;
  padding: 88px 24px 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
.hero p {
  font-size: clamp(15px, 2vw, 18px);
  opacity: .9;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 13px 30px;
  background: white;
  color: #2563eb;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.btn-secondary {
  padding: 13px 30px;
  background: rgba(255,255,255,.15);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,.35);
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.25); }

/* ── SECTION ── */
.section { padding: 72px 24px; }
.section.alt { background: var(--bg-2); }
.container { max-width: 1080px; margin: 0 auto; }
.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FEATURE CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { font-size: 34px; margin-bottom: 16px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── PRODUCT CARDS ── */
.product-list { display: flex; flex-direction: column; gap: 24px; }
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-icon { font-size: 52px; flex-shrink: 0; }
.product-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.product-info .product-url-text {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
  font-family: monospace;
}
.product-info p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 8px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tag {
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: var(--accent);
  color: white;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .15s, transform .15s;
}
.product-link:hover { opacity: .88; transform: translateY(-1px); }

/* ── ABOUT VALUES ── */
.about-intro { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.about-intro p { font-size: 16px; color: var(--text-2); line-height: 1.8; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.value-card .v-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.value-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  padding: 48px 24px;
}
.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 12px 24px; }
.stat-num { font-size: 38px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 14px; opacity: .82; margin-top: 6px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 40px; }
.contact-block h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.contact-block p { color: var(--text-2); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}
.contact-item .ci-icon { font-size: 22px; }
.contact-item .ci-label { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.contact-item a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }
.contact-item a:hover { text-decoration: underline; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  padding: 16px 20px;
  background: var(--bg-2);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-a { padding: 16px 20px; font-size: 14px; color: var(--text-2); line-height: 1.7; border-top: 1px solid var(--border); }

/* ── PRIVACY ── */
.privacy-content { max-width: 760px; margin: 0 auto; }
.privacy-content .last-updated { color: var(--text-3); font-size: 13px; margin-bottom: 36px; }
.privacy-content h2 { font-size: 19px; font-weight: 700; margin: 36px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.privacy-content h2:first-of-type { border-top: none; margin-top: 0; }
.privacy-content p { font-size: 14px; color: var(--text-2); line-height: 1.85; margin-bottom: 12px; }
.privacy-content ul { padding-left: 20px; margin-bottom: 14px; }
.privacy-content li { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 4px; }
.privacy-content a { color: var(--accent); }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 16px; font-weight: 700; color: var(--text-1); text-decoration: none; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--text-3); width: 100%; text-align: center; padding-top: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .product-card { flex-direction: column; padding: 24px; }
  .product-icon { font-size: 40px; }
  .stats-inner { gap: 8px; }
  .stat { padding: 8px 16px; }
}
@media (max-width: 480px) {
  .section { padding: 52px 16px; }
  .hero { padding: 64px 16px 56px; }
  .card { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
