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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-bg-white { background: var(--white); }
.section-bg-gray { background: var(--bg); }
.section-bg-navy { background: var(--navy); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 32px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.06);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.section-bg-navy .section-tag {
  background: rgba(96,165,250,.1);
  color: var(--blue-bright);
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.section-bg-navy .section-header h2 {
  color: #fff;
}

.section-header p {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-bg-navy .section-header p {
  color: rgba(255,255,255,.5);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,99,235,.3);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section-header h2 { font-size: 30px; }
  .container { padding: 0 24px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; padding: 0 20px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .container { padding: 0 20px; }
  .btn { padding: 10px 20px; font-size: 13px; }
}
