 :root {
    --primary: #1666FF;
    --dark: #0A1A2F;
    --muted: #8AA2C0;
    --surface: #F4F7FB;
    --radius: 18px;
    --shadow: 0 18px 40px rgba(10, 26, 47, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Alibaba Sans", "Segoe UI", "PingFang SC", Arial, sans-serif;
    margin: 0;
    background: var(--surface);
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 102, 255, 0.08);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span {
    font-size: 0.9rem;
    color: var(--muted);
}

.site-header nav a {
    margin-left: 1.5rem;
    font-weight: 500;
    color: var(--dark);
    transition: color .2s;
}

.site-header nav a.active,
.site-header nav a:hover {
    color: var(--primary);
}

.hero {
    padding: 4rem 5vw 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.hero-media {
    background: linear-gradient(135deg, #0A1A2F, #132b4c);
    border-radius: var(--radius);
    padding: 2rem;
    color: #fff;
    box-shadow: var(--shadow);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chip-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chip {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    font-size: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(22,102,255,0.4);
}

.btn.ghost {
    border: 1px solid rgba(22, 102, 255, 0.4);
    color: var(--primary);
}

.section {
    padding: 3rem 5vw;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-lead {
    color: #5a6b80;
    margin-bottom: 2rem;
}

.grid-3,
.grid-4,
.grid-2 {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    min-height: 180px;
}

.scene-card img {
    width: 48px;
    margin-bottom: 0.75rem;
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid rgba(10,26,47,0.08);
}

.news-card h3 {
    margin: 0.5rem 0;
}

.page-hero {
    text-align: center;
    padding: 3.5rem 5vw 2rem;
}

.product-figure {
    background: #0A1A2F;
    color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.spec-table th,
.spec-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
}

.news-list article {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

.news-detail {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 2rem 5vw;
}

.join-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.join-layout ul {
    padding-left: 1rem;
    color: #475569;
}

.join-layout ul li {
    margin-bottom: 0.35rem;
}

.join-form form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.join-form input,
.join-form textarea {
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid #d9e2ef;
    font-size: 1rem;
}

.error {
    color: #c53030;
    font-size: 0.9rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.flash.success { background: #d1f7d6; color: #0f9b3a; }
.flash.error { background: #fde2e1; color: #c53030; }

.site-footer {
    background: var(--dark);
    color: #e2e8f0;
    padding: 2.5rem 5vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .site-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.site-footer > div {
    display: flex;
    flex-direction: column;
}

.site-footer h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #fff;
}

.site-footer a {
    color: #90c2ff;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #b3d5ff;
}

.site-footer .links {
    align-items: center;
    text-align: center;
}

.site-footer .links a {
    display: inline-block;
    margin: 0 0.75rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .site-footer .links a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
}

.site-footer .contact {
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 768px) {
    .site-footer .contact {
        align-items: center;
        text-align: center;
    }
}

.site-footer .icp-info {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.site-footer .icp-info p {
    margin: 0;
    color: #8AA2C0;
    font-size: 0.9rem;
}

.site-footer .icp-info a {
    color: #8AA2C0;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer .icp-info a:hover {
    color: #90c2ff;
}

.pagination {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
    }

    .site-header nav a {
        margin: 0 0.5rem;
    }
}

