:root {
  --color-bg: #f7f7f7;
  --color-surface: #ffffff;
  --color-surface-dark: #0f0f0f;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;
  --color-accent: #f59e0b;
  --color-accent-strong: #dc2626;
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container-width: 1200px;
  --font-main: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

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

.section-padding { padding: 64px 0; }
.section-title { font-size: 32px; font-weight: 700; margin: 0 0 16px; text-align: center; }
.section-subtitle { max-width: 720px; margin: 0 auto 32px; color: var(--color-text-muted); text-align: center; }

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent-strong); color: #fff; }
.btn-primary:hover { background: #b91c1c; }
.btn-secondary { background: var(--color-accent); color: #0f0f0f; }
.btn-secondary:hover { background: #fbbf24; }
.btn-ghost { background: #fff; color: var(--color-text); border: 1px solid var(--color-border); }
.btn-ghost:hover { background: #f8fafc; }
.btn-sm { padding: 10px 14px; font-size: 14px; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.textarea { resize: vertical; }

.grid { display: grid; gap: 24px; }

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.badge-accent { background: var(--color-accent); color: #0f0f0f; }
.badge-strong { background: var(--color-accent-strong); color: #fff; }

.layout-main { min-height: 100vh; display: flex; flex-direction: column; }
.layout-content { flex: 1; }

@media (max-width: 1024px) {
  .section-padding { padding: 48px 0; }
  .section-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .section-padding { padding: 36px 0; }
  .section-title { font-size: 24px; }
  .page-container { padding: 0 18px; }
}
