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

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --accent: #ec4899;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  
  /* Larger font scale */
  --fs-base: 18px;
  --fs-sm: 0.9rem;
  --fs-md: 1.1rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2.2rem;
  --fs-hero: clamp(2.5rem, 8vw, 4.5rem);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Pretendard Variable', 'Pretendard', 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: var(--fs-base);
  background: #fdfdfe;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header & Footer */
header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-soft);
  padding: 4px;
  border-radius: 99px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 99px;
  transition: all 0.2s;
}

.lang-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.brand h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

footer {
  margin-top: 80px;
  padding: 60px 0;
  background: #1e293b;
  color: #cbd5e1;
}

.footer-inner {
  text-align: center;
}

.footer-links {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Common Components */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}

.panel h2, .panel h3 {
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: #4f46e5;
  color: white;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge.primary { background: #eef2ff; color: #4f46e5; }
.badge.accent { background: #fdf2f8; color: #be185d; }

@media (max-width: 768px) {
  :root {
    --fs-base: 16px;
  }
  .panel { padding: 24px; }
  .btn { min-height: 52px; }
}
