/* 巨合优州云仓 - 统一样式表 */
/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: #1a73e8; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1557b0; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
p { margin-bottom: 16px; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; margin: 24px 0 16px; color: #1a1a1a; }
h1 { font-size: 32px; }
h2 { font-size: 26px; border-bottom: 2px solid #1a73e8; padding-bottom: 8px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
blockquote {
    border-left: 4px solid #1a73e8;
    padding: 12px 20px;
    margin: 16px 0;
    background: #f8f9fa;
    color: #555;
    font-style: italic;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}
th { background: #1a73e8; color: #fff; font-weight: 600; }
tr:nth-child(even) { background: #f8f9fa; }
tr:hover { background: #e8f0fe; }
code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 14px;
    color: #d93025;
}
pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
}
pre code { background: none; color: #d4d4d4; padding: 0; }
hr { border: none; border-top: 1px solid #e0e0e0; margin: 32px 0; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.main-content { padding: 40px 0; min-height: 60vh; }

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo:hover { text-decoration: none; }
.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.nav { display: flex; gap: 24px; align-items: center; }
.nav a {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}
.nav a:hover { color: #1a73e8; text-decoration: none; }
.nav a.active { color: #1a73e8; }
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a73e8;
}
.nav-cta {
    background: #1a73e8;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 6px;
    font-weight: 600 !important;
}
.nav-cta:hover { background: #1557b0; color: #fff !important; }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 50%, #669df6 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero h1 { color: #fff; font-size: 42px; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.95; max-width: 700px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: #fff; color: #1a73e8; }
.btn-primary:hover { background: #f0f0f0; text-decoration: none; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.btn-blue { background: #1a73e8; color: #fff; }
.btn-blue:hover { background: #1557b0; color: #fff; text-decoration: none; }

/* Features */
.features { padding: 60px 0; background: #f8f9fa; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: #666; font-size: 16px; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: #666; font-size: 14px; margin-bottom: 0; }

/* Countries */
.countries { padding: 60px 0; }
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.country-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}
.country-card:hover { border-color: #1a73e8; box-shadow: 0 4px 16px rgba(26,115,232,0.1); }
.country-flag { font-size: 40px; margin-bottom: 12px; }
.country-card h3 { font-size: 20px; margin-bottom: 8px; }
.country-card p { color: #666; font-size: 14px; margin-bottom: 12px; }
.country-card a { font-weight: 600; font-size: 14px; }

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.blog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-color: #1a73e8; }
.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-category {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}
.blog-card h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: #1a1a1a; }
.blog-card h3 a:hover { color: #1a73e8; text-decoration: none; }
.blog-card-excerpt { color: #666; font-size: 14px; margin-bottom: 16px; flex: 1; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #999; }
.blog-card-readmore { font-weight: 600; color: #1a73e8; font-size: 14px; }

/* Article */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-content { max-width: 100%; }
.article-header { margin-bottom: 32px; }
.article-meta { display: flex; gap: 16px; color: #999; font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 4px; }
.article-category {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}
.article-content h2 { margin-top: 40px; }
.article-content h3 { margin-top: 32px; }
.article-content img { border-radius: 8px; margin: 16px 0; }
.article-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e0e0e0; }
.article-tags h4 { font-size: 16px; margin-bottom: 12px; }
.tag {
    display: inline-block;
    background: #f1f3f4;
    color: #555;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin: 0 8px 8px 0;
}
.tag:hover { background: #e8f0fe; color: #1a73e8; text-decoration: none; }
.article-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e0e0e0; gap: 16px; }
.article-nav a { flex: 1; padding: 16px; border: 1px solid #e0e0e0; border-radius: 8px; transition: all 0.2s; }
.article-nav a:hover { border-color: #1a73e8; text-decoration: none; background: #f8f9fa; }
.article-nav-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.article-nav-title { font-size: 14px; font-weight: 600; color: #333; }
.article-nav-next { text-align: right; }

/* Sidebar */
.sidebar { position: sticky; top: 100px; align-self: start; }
.widget { background: #f8f9fa; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.widget h4 { font-size: 18px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #1a73e8; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { margin-bottom: 12px; }
.widget li a { color: #333; font-size: 14px; display: block; line-height: 1.5; }
.widget li a:hover { color: #1a73e8; text-decoration: none; }
.widget-contact { background: linear-gradient(135deg, #1a73e8, #4285f4); color: #fff; }
.widget-contact h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.3); }
.widget-contact p { font-size: 14px; margin-bottom: 12px; }
.widget-contact .btn { background: #fff; color: #1a73e8; width: 100%; text-align: center; }

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: #999;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin: 60px 0 0;
}
.cta-section h2 { color: #fff; font-size: 32px; margin-bottom: 16px; border: none; }
.cta-section p { font-size: 16px; opacity: 0.95; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer { background: #1a1a1a; color: #ccc; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p { font-size: 14px; color: #999; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #999; font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-contact p { display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 24px; text-align: center; font-size: 13px; color: #666; }

/* Page Content */
.page-content { max-width: 900px; margin: 0 auto; }
.page-content h2 { margin-top: 40px; }
.info-box {
    background: #e8f0fe;
    border-left: 4px solid #1a73e8;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}
.info-box h4 { margin-top: 0; color: #1a73e8; }
.warning-box {
    background: #fef7e0;
    border-left: 4px solid #f9ab00;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}
.success-box {
    background: #e6f4ea;
    border-left: 4px solid #34a853;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 968px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 12px;
    }
}
@media (max-width: 640px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-nav { flex-direction: column; }
    .container { padding: 0 16px; }
}
