/* Basic Reset & Global Styles */
body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: #222;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.btn-secondary {
    color: #333;
    background-color: #e2e6ea;
    border-color: #e2e6ea;
}

.btn-secondary:hover {
    background-color: #d3d9df;
    border-color: #c6cfd7;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    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.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea: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 (Tailwind-like, but custom for demonstration) */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.space-x-4 > * + * { margin-left: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-gray-900 { color: #1a202c; }
.font-bold { font-weight: 700; }
.text-2xl { font-size: 1.5rem; }
.h-10 { height: 2.5rem; }
.mr-3 { margin-right: 0.75rem; }
.hidden { display: none; }
.md\:flex { display: flex; } /* Example for responsive, assuming a base CSS */
.space-x-6 > * + * { margin-left: 1.5rem; }
.text-gray-700 { color: #4a5568; }
.hover\:text-blue-600:hover { color: #2563eb; }
.font-medium { font-weight: 500; }
.transition { transition-property: all; transition-duration: 300ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.relative { position: relative; }
.rounded-md { border-radius: 0.375rem; }
.focus\:outline-none:focus { outline: 0; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.absolute { position: absolute; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.bg-blue-600 { background-color: #2563eb; }
.text-white { color: #fff; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.md\:hidden { display: none; } /* Example for responsive */
.mobile-menu {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* Footer specific styles */
.site-footer {
    background-color: #1a202c; /* dark gray */
    color: #a0aec0; /* light gray */
}
.site-footer h3 {
    color: #fff;
}
.site-footer a {
    color: #a0aec0;
}
.site-footer a:hover {
    color: #63b3ed; /* blue hover */
}
.site-footer .social-media img {
    filter: invert(70%) sepia(10%) saturate(200%) hue-rotate(180deg) brightness(100%) contrast(90%); /* Adjust for dark background */
}
.site-footer .social-media a:hover img {
    filter: invert(60%) sepia(90%) saturate(1400%) hue-rotate(190deg) brightness(90%) contrast(90%); /* Blue hover effect */
}
.site-footer input {
    background-color: #2d3748; /* darker gray for input */
    border-color: #4a5568;
    color: #fff;
}
.site-footer input::placeholder {
    color: #a0aec0;
}
.site-footer button {
    background-color: #2563eb;
    border-color: #2563eb;
}
.site-footer button:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}
.border-t { border-top-width: 1px; }
.border-gray-700 { border-color: #4a5568; }
.text-gray-500 { color: #a0aec0; }
.text-sm { font-size: 0.875rem; }
.leading-relaxed { line-height: 1.625; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* Example for responsive */
.gap-8 { gap: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.text-lg { font-size: 1.125rem; }
.pt-6 { padding-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.flex-grow { flex-grow: 1; }
.rounded-l-md { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.rounded-r-md { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }

/* Responsive adjustments */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
