/* ===============================
   RESET & GLOBAL
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #111827;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* 页面整体宽度限制 */
.site-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* ===============================
   HEADER / NAVIGATION
================================ */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    font-size: 15px;
    color: #4b5563;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: #111827;
}

.main-nav a.active {
    color: #111827;
    border-bottom-color: #111827;
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-switch a {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 12px;
}

.lang-switch a.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.btn-nav-login {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #111827;
    font-size: 13px;
    color: #111827;
}

.btn-nav-login:hover {
    background: #111827;
    color: #fff;
}

/* ===============================
   HERO BANNER
================================ */

.hero-bg {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    z-index: 10;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-content .tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
}

/* ===============================
   HOME SECTIONS
================================ */

.section {
    margin-top: 50px;
}

.section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* 卡片布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 24px;
}

.card {
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 14px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.card-price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

/* ===============================
   BUTTONS & FORM
================================ */

.btn {
    display: inline-block;
    background: #111827;
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    text-align: center;
}

.btn:hover {
    background: #000000;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

label {
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

form {
    display: grid;
    gap: 14px;
    max-width: 600px;
    margin-top: 20px;
}

/* ===============================
   FOOTER
================================ */

footer {
    margin-top: 60px;
    padding: 20px 0;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}
/* ======= 统一去掉首页内容区域的列表小黑点 ======= */

/* 所有主内容里的 ul 统一去掉小圆点 */
main ul {
    list-style: none !important;
    margin: 6px 0 0 0 !important;
    padding: 0 !important;
}

/* 列表行距 & 文字样式统一 */
main ul li {
    margin: 4px 0 !important;
    padding: 0 !important;
    color: #374151 !important;
    font-size: 14px !important;
}

