:root {
  --bg: #fafaf8;
  --bg-alt: #f4f6f1;
  --surface: #ffffff;
  --surface-2: #eef2ec;
  --text: #0f172a;
  --text-muted: #6b7280;
  --text-soft: #94a3b8;
  --border: #e5e7eb;
  --accent: #27ae60;
  --accent-2: #61de8a;
  --accent-3: #e9c349;
  --shadow: 0 16px 30px rgba(6, 20, 35, 0.08);
  --radius: 10px;
  --max-width: 1200px;
  --header-height: 72px;
}

[data-theme="dark"] {
  --bg: #061423;
  --bg-alt: #0e1a29;
  --surface: #132030;
  --surface-2: #1c2b3d;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-soft: #64748b;
  --border: #223247;
  --accent: #61de8a;
  --accent-2: #7efba4;
  --accent-3: #e9c349;
  --shadow: 0 22px 50px rgba(1, 10, 20, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button { font: inherit; }

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 35%, transparent);
}

.solo-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 20px;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a.is-active,
.nav a:hover { color: var(--accent); }

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

.icon-btn {
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
}

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

.icon-stack {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.main { flex: 1; }

.btn {
  border: 0;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-weight: 700;
  background: var(--accent);
  color: #0b2e18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover { box-shadow: 0 10px 18px rgba(39, 174, 96, 0.24); }

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

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  box-shadow: var(--shadow);
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.select-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.select-label {
  font-size: 12px;
  color: var(--text-muted);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: var(--surface);
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.footer {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, transparent), var(--bg));
  border-top: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
  padding: 32px 0;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-nav a:hover { color: var(--accent); }

.hidden-mobile { display: none; }

@media (min-width: 768px) {
  .hidden-mobile { display: inline-flex; }
}

@media (max-width: 900px) {
  .nav { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header { height: 64px; }
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
