:root{
  --bg: #e6ecf3;
  --panel: #eef2f7;
  --text: #1b2230;
  --muted: #616a7e;
  --accent: #6a7cff;
  --accent-2: #7ad3ff;
  --shadow-soft: 12px 12px 24px rgba(166, 177, 198, 0.6);
  --shadow-highlight: -12px -12px 24px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 6px 6px 12px rgba(166, 177, 198, 0.45), inset -6px -6px 12px rgba(255, 255, 255, 0.85);
  --radius: 22px;
}

body[data-theme="dark"]{
  --bg: #12141c;
  --panel: #191c25;
  --text: #e7ecf6;
  --muted: #9aa3b6;
  --accent: #7a8bff;
  --accent-2: #5ac0ff;
  --shadow-soft: 14px 14px 28px rgba(8, 10, 15, 0.75);
  --shadow-highlight: -14px -14px 28px rgba(48, 54, 70, 0.6);
  --shadow-inset: inset 6px 6px 12px rgba(8, 10, 15, 0.6), inset -6px -6px 12px rgba(52, 58, 74, 0.4);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Inter", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.page{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 50px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--panel);
  box-shadow: var(--shadow-soft), var(--shadow-highlight);
}

.name{ font-size: 18px; font-weight: 600; }
.tagline{ font-size: 13px; color: var(--muted); margin-top: 4px; }

.controls{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang-toggle{
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--shadow-inset);
}

.pill{
  border: none;
  background: var(--panel);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft), var(--shadow-highlight);
}

.lang-toggle .pill{
  box-shadow: none;
  background: transparent;
  color: var(--muted);
}

.lang-toggle .pill.active{
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow-soft), var(--shadow-highlight);
}

.theme-toggle{
  min-width: 120px;
}

.neu-card{
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft), var(--shadow-highlight);
}

.hero{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.hero-text h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.hero-text p{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0e1116;
  font-weight: 600;
  box-shadow: var(--shadow-soft), var(--shadow-highlight);
}

.hero-meta{
  display: grid;
  gap: 12px;
}

.meta-card{
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-inset);
}

.meta-label{
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value{ font-weight: 600; }

.tabs{
  display: grid;
  gap: 16px;
}

.tab-list{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab{
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  box-shadow: var(--shadow-inset);
}

.tab.active{
  color: var(--text);
  box-shadow: var(--shadow-soft), var(--shadow-highlight);
}

.tab-panels{
  display: grid;
  gap: 12px;
}

.tab-panel{ display: none; }
.tab-panel.active{ display: block; }

.panel-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.badge{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 12px;
  color: var(--muted);
  box-shadow: var(--shadow-inset);
  margin-top: 12px;
}

.contact h2{
  margin: 0 0 10px;
}

.contact p{
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.muted{ color: var(--muted); font-size: 13px; }

.footer{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.dot{ opacity: 0.5; }

@media (max-width: 720px){
  .topbar{ flex-direction: column; align-items: flex-start; }
  .controls{ width: 100%; justify-content: space-between; }
}
