:root {
  --bg: #ffffff;
  --card: #f8f9fa;
  --muted: #6c757d;
  --text: #212529;
  --brand: #4f46e5;
  --gold: #c9a341;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.topbar {
  background: #f8f9fa;
  color: #6c757d;
  font-size: 12px;
  border-bottom: 1px solid #dee2e6;
}

.topbar-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.navbar {
  border-bottom: 1px solid #dee2e6;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

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

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #dee2e6;
  padding: 6px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  color: #495057;
}

.nav-link.active {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.btn-primary,
.btn-outline {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: var(--brand);
  color: white;
}

.btn-outline {
  border: 1px solid #dee2e6;
  color: var(--text);
}

.section {
  padding: 70px 0;
}

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

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #dee2e6;
}

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

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

.badge {
  background: rgba(201, 163, 65, 0.1);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.category-card {
  background: var(--card);
  border: 1px solid #dee2e6;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.category-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-control label {
  font-weight: 500;
  color: #212529;
  font-size: 14px;
}

.input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid #dee2e6;
  background: #ffffff;
  padding: 10px 12px;
  color: #212529;
  font-family: inherit;
}

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23212529' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.footer {
  background: #f8f9fa;
  padding: 40px 0 0;
  margin-top: 40px;
  border-top: 1px solid #dee2e6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer a {
  display: block;
  color: #495057;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid #dee2e6;
  text-align: center;
  padding: 16px 0;
  font-size: 12px;
  color: #6c757d;
}

.notice {
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(79, 70, 229, 0.4);
  padding: 12px;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .nav-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
  }
}
