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

/* Base Body Styles */
body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container for Centering Content */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: #212529;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #007bff;
    border: 1px solid #007bff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}
.btn:hover {
    color: #fff;
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.btn-secondary {
    color: #333;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}
.btn-outline-primary {
    color: #007bff;
    background-color: transparent;
    border-color: #007bff;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* Tailwind CSS-like classes for demonstration */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0)); }
.to-purple-700 { --tw-gradient-to: #6d28d9; }
.text-white { color: #fff; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.md\:px-12 { /* @media (min-width: 768px) */ padding-left: 3rem; padding-right: 3rem; }
.lg\:px-24 { /* @media (min-width: 1024px) */ padding-left: 6rem; padding-right: 6rem; }
.relative { position: relative; }
.z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-bold { font-weight: 700; }
.tracking-tight { letter-spacing: -0.025em; }
.hover\:text-yellow-300:hover { color: #fcd34d; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.text-yellow-400 { color: #fbbf24; }
.hidden { display: none; }
.md\:flex { /* @media (min-width: 768px) */ display: flex; }
.ml-8 { margin-left: 2rem; }
.font-medium { font-weight: 500; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.rounded-md { border-radius: 0.375rem; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.sm\:block { /* @media (min-width: 640px) */ display: block; }
.rounded-full { border-radius: 9999px; }
.bg-blue-700 { background-color: #1d4ed8; }
.placeholder-blue-200::placeholder { color: #bfdbfe; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-yellow-400:focus { --tw-ring-color: #fbbf24; }
.focus\:bg-blue-800:focus { background-color: #1e40af; }
.w-48 { width: 12rem; }
.left-3 { left: 0.75rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.text-blue-200 { color: #bfdbfe; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.bg-yellow-400 { background-color: #fbbf24; }
.text-blue-900 { color: #1e3a8a; }
.font-semibold { font-weight: 600; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.hover\:bg-yellow-300:hover { background-color: #fcd34d; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.bg-white { background-color: #fff; }
.text-blue-700 { color: #1d4ed8; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.ml-2 { margin-left: 0.5rem; }
.p-2 { padding: 0.5rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.absolute { position: absolute; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.w-full { width: 100%; }
.bg-blue-800 { background-color: #1e40af; }
.bg-opacity-95 { background-color: rgba(30, 64, 175, 0.95); }
.flex-col { flex-direction: column; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.block { display: block; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }

/* Footer specific styles */
.bg-gray-900 { background-color: #111827; }
.text-gray-300 { color: #d1d5db; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.mt-16 { margin-top: 4rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md\:grid-cols-2 { /* @media (min-width: 768px) */ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-4 { /* @media (min-width: 1024px) */ grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-10 { gap: 2.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.mb-4 { margin-bottom: 1rem; }
.text-gray-400 { color: #9ca3af; }
.leading-relaxed { line-height: 1.625; }
.mt-6 { margin-top: 1.5rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.hover\:text-white:hover { color: #fff; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.text-blue-400 { color: #60a5fa; }
.hover\:underline:hover { text-decoration-line: underline; }
.mb-2 { margin-bottom: 0.5rem; }
.border-t { border-top-width: 1px; }
.border-gray-700 { border-color: #374151; }
.pt-8 { padding-top: 2rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-gray-500 { color: #6b7280; }
.text-red-500 { color: #ef4444; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
