/* ===========================
   Global Reset
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #fff;
    color: #333;
    line-height: 1.6;
}

/* ===========================
   Layout Container
=========================== */
.xxyy-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===========================
   Header
=========================== */
.xxyy-header {
    width: 100%;
    background: #0a0a0a;
    color: #fff;
    border-bottom: 1px solid #222;
}

.xxyy-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.xxyy-logo {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.xxyy-nav {
    display: flex;
    gap: 24px;
}

.xxyy-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity .2s;
}

.xxyy-nav a:hover {
    opacity: .7;
}

/* Mobile Menu Button */
.xxyy-menu-btn {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ===========================
   Footer
=========================== */
.xxyy-footer {
    background: #111;
    color: #ccc;
    padding: 40px 0;
    margin-top: 60px;
}

.xxyy-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.xxyy-footer-col {
    flex: 1;
    min-width: 200px;
}

.xxyy-footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #fff;
}

.xxyy-footer-col ul {
    list-style: none;
}

.xxyy-footer-col ul li {
    margin-bottom: 10px;
}

.xxyy-footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: opacity .2s;
}

.xxyy-footer-col ul li a:hover {
    opacity: .7;
}

.xxyy-footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: .9rem;
    color: #aaa;
}

/* ===========================
   Responsive Design
=========================== */

/* Tablet */
@media (max-width: 992px) {
    .xxyy-nav {
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .xxyy-menu-btn {
        display: block;
    }

    .xxyy-nav {
        display: none;
        flex-direction: column;
        background: #0a0a0a;
        padding: 20px;
        gap: 16px;
    }

    .xxyy-nav.xxyy-show {
        display: flex;
    }
}/*通用结束*/
/* ===========================
   Breadcrumb
=========================== */
.xxyy-breadcrumb {
    font-size: .95rem;
    margin-bottom: 30px;
    color: #666;
}

.xxyy-breadcrumb a {
    color: #0a0a0a;
    text-decoration: none;
    transition: opacity .2s;
}

.xxyy-breadcrumb a:hover {
    opacity: .7;
}

.xxyy-breadcrumb span {
    margin: 0 6px;
    color: #999;
}

/* ===========================
   Smart Training System Page
=========================== */
.xxyy-saas-page {
    padding: 60px 0 80px;
    background: #f9f9f9;
}

.xxyy-saas-page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.xxyy-saas-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.xxyy-saas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.xxyy-saas-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s;
}

.xxyy-saas-card:hover {
    transform: translateY(-6px);
}

.xxyy-saas-img img {
    width: 100%;
    height: auto;
    display: block;
}

.xxyy-saas-body {
    padding: 20px;
}

.xxyy-saas-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #0a0a0a;
}

.xxyy-saas-body p {
    font-size: .95rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .xxyy-saas-grid {
        flex-direction: column;
    }
}
/* ===========================
   API Code Examples
=========================== */
.xxyy-api {
    padding: 80px 0;
    background: #fff;
}

.xxyy-api-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.xxyy-api-breadcrumb {
    font-size: .95rem;
    margin-bottom: 30px;
    color: #666;
}

.xxyy-api-breadcrumb a {
    color: #0a0a0a;
    text-decoration: none;
    transition: opacity .2s;
}

.xxyy-api-breadcrumb a:hover {
    opacity: .7;
}

.xxyy-api-breadcrumb span {
    margin: 0 6px;
    color: #999;
}

.xxyy-api-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.xxyy-api-card {
    flex: 1;
    min-width: 280px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.xxyy-api-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.xxyy-api-card pre {
    background: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: .9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .xxyy-api-grid {
        flex-direction: column;
    }
}
