/* ============================================
   世界杯下单网站 - 全球运动用品供应平台
   样式文件
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a4d8c;
    --primary-dark: #073a6e;
    --accent: #e63946;
    --accent-light: #ff5a5a;
    --gold: #f4b400;
    --bg: #f7f9fc;
    --text: #1d3557;
    --text-light: #4a5568;
    --border: #e2e8f0;
    --white: #ffffff;
    --footer-bg: #0c1d36;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    font-size: 15px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s;
}

a:hover {
    color: var(--accent);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============== 顶部导航 ============== */
.top-bar {
    background: var(--footer-bg);
    color: #cbd5e0;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.top-bar a {
    color: #cbd5e0;
}

header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(10, 77, 140, 0.25);
}

.logo-text strong {
    display: block;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-light);
}

nav ul {
    display: flex;
    gap: 6px;
}

nav a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-weight: 500;
    border-radius: 6px;
    font-size: 15px;
}

nav a:hover,
nav a.active {
    background: var(--primary);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 26px;
    color: var(--primary);
    cursor: pointer;
}

/* ============== 首页主视觉 ============== */
.hero {
    background:
        linear-gradient(135deg, rgba(10, 77, 140, 0.92) 0%, rgba(7, 58, 110, 0.88) 100%),
        url('https://tse-mm.bing.com/th?q=世界杯下单平台') center/cover no-repeat;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 18px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 17px;
    max-width: 760px;
    margin: 0 auto 30px;
    color: #e8f0fb;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(230, 57, 70, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 12px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============== 页面通用 banner ============== */
.page-banner {
    background:
        linear-gradient(135deg, rgba(10, 77, 140, 0.9) 0%, rgba(29, 53, 87, 0.9) 100%),
        url('https://tse-mm.bing.com/th?q=世界杯运动装备') center/cover no-repeat;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-banner p {
    color: #d6e2f0;
    font-size: 15px;
}

.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* ============== 通用区块 ============== */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
}

.bg-alt {
    background: var(--white);
}

/* ============== 特色服务 ============== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--white);
    padding: 30px 22px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(10, 30, 60, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    border-top: 3px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(10, 30, 60, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 17px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============== 产品/列表网格 ============== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(10, 30, 60, 0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(10, 30, 60, 0.14);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eaeef5;
}

.card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    background: rgba(10, 77, 140, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.card-body h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.4;
}

.card-body p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    flex: 1;
}

.card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    align-self: flex-start;
}

.card-link::after {
    content: " →";
}

/* ============== 关于/介绍区 ============== */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-row img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(10, 30, 60, 0.12);
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-text h2 {
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 16px;
}

.about-text h2 small {
    display: block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--text-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
    padding: 16px 6px;
    background: var(--bg);
    border-radius: 8px;
}

.stat-item strong {
    display: block;
    font-size: 26px;
    color: var(--accent);
}

.stat-item span {
    font-size: 13px;
    color: var(--text-light);
}

/* ============== 文章详情 ============== */
.article {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(10, 30, 60, 0.06);
}

.article h1 {
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 1.4;
}

.article-meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.article-meta span {
    margin-right: 18px;
}

.article img.main-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
}

.article h2 {
    color: var(--primary);
    margin: 28px 0 14px;
    font-size: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--accent);
}

.article h3 {
    color: var(--primary-dark);
    margin: 22px 0 10px;
    font-size: 17px;
}

.article p {
    margin-bottom: 14px;
    color: var(--text);
}

.article ul,
.article ol {
    margin: 12px 0 18px 24px;
    color: var(--text);
}

.article ul li,
.article ol li {
    margin-bottom: 8px;
    list-style: disc;
}

.article ol li {
    list-style: decimal;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.spec-table th,
.spec-table td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}

.spec-table th {
    background: var(--bg);
    color: var(--primary);
    font-weight: 600;
    width: 30%;
}

.tag-list {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.tag-list span {
    display: inline-block;
    background: rgba(10, 77, 140, 0.08);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 6px;
}

/* ============== 两栏布局 ============== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
}

.sidebar-box {
    background: var(--white);
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(10, 30, 60, 0.06);
    margin-bottom: 22px;
}

.sidebar-box h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-box ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

.sidebar-box ul li:last-child {
    border-bottom: 0;
}

.sidebar-box ul li a {
    color: var(--text);
}

.sidebar-box ul li a:hover {
    color: var(--accent);
}

/* ============== 联系页表单 ============== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(10, 30, 60, 0.07);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 2px;
}

.contact-item span {
    color: var(--text-light);
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(10, 30, 60, 0.07);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 77, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* ============== 关键词链接区 ============== */
.kw-section {
    background: var(--bg);
}

.kw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.kw-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    transition: transform 0.2s;
}

.kw-item:hover {
    transform: translateX(4px);
}

.kw-item h4 {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 15px;
}

.kw-item p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.kw-item a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

/* ============== 页脚 ============== */
footer {
    background: var(--footer-bg);
    color: #b8c4d4;
    padding: 50px 0 0;
    margin-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-col ul li {
    padding: 5px 0;
    font-size: 13px;
}

.footer-col ul li a {
    color: #b8c4d4;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #8a96a8;
}

.footer-bottom a {
    color: #b8c4d4;
}

/* ============== 响应式 ============== */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kw-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    nav.open {
        max-height: 500px;
    }
    nav ul {
        flex-direction: column;
        padding: 8px 0;
    }
    nav a {
        border-radius: 0;
        padding: 14px 20px;
    }
    .hero {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 26px;
    }
    .hero p {
        font-size: 15px;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
    .page-banner h1 {
        font-size: 24px;
    }
    .section-title h2 {
        font-size: 22px;
    }
    section {
        padding: 45px 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .article {
        padding: 22px;
    }
    .article h1 {
        font-size: 21px;
    }
    .article img.main-img {
        height: 220px;
    }
}

@media (max-width: 560px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .kw-grid {
        grid-template-columns: 1fr;
    }
    .top-bar .container {
        font-size: 12px;
    }
    .top-bar .hide-sm {
        display: none;
    }
}
