@charset "UTF-8";

/* ===== CSS Reset & Base Styles ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #F5F7FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: #1E3A5F;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D4A574;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: 1px solid #C8D4E0;
}

button {
  cursor: pointer;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #1E3A5F;
}

p {
  margin-bottom: 12px;
}

/* ===== CSS Variables ===== */
:root {
  --primary: #1E3A5F;
  --secondary: #D4A574;
  --dark: #0F1E2E;
  --bg: #F5F7FA;
  --text: #333;
  --text-light: #666;
  --border: #C8D4E0;
  --white: #fff;
  --gold: #D4A574;
}

/* ===== Utility Classes ===== */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.pt20 {
  padding-top: 20px;
}

.pb20 {
  padding-bottom: 20px;
}

.gold {
  color: var(--gold);
}

.primary {
  color: var(--primary);
}

.white {
  color: #fff;
}

.bg-primary {
  background: var(--primary);
}

.bg-dark {
  background: var(--dark);
}

.bg-white {
  background: #fff;
}
