:root {
  /* DARK MODE (Default - INNER CIRCLE style) */
  --bg0: #06080b;
  --bg1: #0b0f14;
  --card: rgba(255, 255, 255, .04);
  --card2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .62);

  --accent: #B6FF00; /* 네온 라임 */
  --accent2: #00F5FF; /* 시안 */
  --accent3: #9B5CFF; /* 퍼플(보조) */

  --radius: 20px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --max: 1120px;

  --header-bg: rgba(6, 8, 11, .6);
  --modal-bg: rgba(8, 10, 13, .92);
}

body.light-mode {
  /* LIGHT MODE */
  --bg0: #f4f7f6;
  --bg1: #ffffff;
  --card: rgba(0, 0, 0, .05);
  --card2: rgba(0, 0, 0, .08);
  --line: rgba(0, 0, 0, .10);
  --text: #1a1c20;
  --muted: #5a606b;

  --shadow: 0 18px 60px rgba(0, 0, 0, .08);
  --header-bg: rgba(255, 255, 255, .8);
  --modal-bg: rgba(255, 255, 255, .95);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 460px at 15% 5%, rgba(182, 255, 0, .14), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(0, 245, 255, .10), transparent 60%),
    radial-gradient(800px 520px at 80% 85%, rgba(155, 92, 255, .08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  transition: background 0.3s ease, color 0.3s ease;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.quick-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 16px;
  font-size: 15px;
  border-radius: 16px;
  border: none;
}

.quick-actions .kakao {
  background: #FEE500 !important;
  color: #1a1c20 !important;
}

.quick-actions .info {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
}

.quick-actions .apply {
  background: var(--accent) !important;
  color: #06080b !important;
}

@media (max-width: 768px) {
  .quick-actions {
    flex-direction: column;
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  letter-spacing: -.2px;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(182, 255, 0, .95), rgba(0, 245, 255, .85));
  box-shadow: 0 10px 30px rgba(182, 255, 0, .18);
}

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

.menu a {
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: .15s ease;
}

.menu a:hover {
  color: var(--text);
  background: var(--card);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  user-select: none;
  font-weight: 700;
  white-space: nowrap;
}

.btn:hover {
  background: var(--card2);
  border-color: rgba(255, 255, 255, .22);
}

body.light-mode .btn:hover {
  border-color: rgba(0, 0, 0, .22);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  border: 0;
  color: #0a0d10;
  background: linear-gradient(135deg, rgba(182, 255, 0, .95), rgba(0, 245, 255, .78));
  box-shadow: 0 16px 55px rgba(182, 255, 0, .12);
}

/* Theme Toggle Button */
#themeToggle {
  font-size: 20px;
  padding: 8px 12px;
}

/* Hero */
.hero {
  margin-top: 22px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 220px at 12% 10%, rgba(182, 255, 0, .18), transparent 60%),
    radial-gradient(700px 260px at 85% 18%, rgba(0, 245, 255, .12), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  padding: 26px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  width: fit-content;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(182, 255, 0, .12);
}

h1 {
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1.1px;
}

@media (max-width: 520px) {
  h1 {
    font-size: 34px;
  }
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kpi {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.kpi .box {
  flex: 1 1 160px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.kpi b {
  display: block;
  font-size: 16px;
}

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

/* Right panel (summary) */
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
  height: 100%;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -.2px;
}

.panel .mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.mini .row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.ico {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(182, 255, 0, .10);
  border: 1px solid rgba(182, 255, 0, .20);
  color: var(--text);
  font-weight: 900;
  flex: 0 0 auto;
}

.row b {
  display: block;
  font-size: 14px;
}

.row p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Sections */
section {
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  width: fit-content;
}

.tag .t-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent2);
  box-shadow: 0 0 0 6px rgba(0, 245, 255, .10);
}

.h2 {
  margin: 10px 0 6px;
  font-size: 24px;
  letter-spacing: -.4px;
}

.desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.grid3 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 960px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.card h4 {
  margin: 10px 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.num {
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.3px;
}

/* Timeline */
.timeline {
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.step:first-child {
  border-top: 0;
}

@media (max-width: 720px) {
  .step {
    grid-template-columns: 1fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(182, 255, 0, .10);
  border: 1px solid rgba(182, 255, 0, .22);
  color: var(--text);
  font-weight: 800;
  width: fit-content;
}

/* FAQ */
details {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 14px 16px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--text);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

/* Footer */
footer {
  margin: 26px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Modal (지원하기 폼) */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal {
  width: min(620px, 100%);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--modal-bg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
  overflow: hidden;
  transition: background 0.3s ease;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.modal-head b {
  font-size: 15px;
}

.x {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
}

.modal-body {
  padding: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  outline: none;
}

select option {
  background-color: #1a1c20;
  color: #ffffff;
}

body.light-mode select option {
  background-color: #ffffff;
  color: #1a1c20;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(182, 255, 0, .55);
  box-shadow: 0 0 0 4px rgba(182, 255, 0, .10);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--modal-bg);
  color: var(--text);
  display: none;
  z-index: 120;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  font-size: 13px;
}
