/* 通用设置 */
body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: #fff;
    color: #222;
    margin: 0;
    padding: 0;
}

a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #c0392b;
}

/* 顶部导航栏 */
header {
    background: #23272b url('/static/header-bg.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
}
.logo {
    font-size: 1.7em;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}
.nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav li {
    margin: 0 18px;
    position: relative;
}
.nav li a {
    color: #fff;
    font-size: 1em;
    padding: 8px 0;
    font-weight: 500;
}
.nav li a:hover {
    border-bottom: 2px solid #e74c3c;
}
.btn-try {
    background: #e74c3c;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1em;
    margin-left: 18px;
    transition: background 0.2s;
}
.btn-try:hover {
    background: #c0392b;
}

/* 主体内容 */
main {
    max-width: 900px;
    margin: 40px auto 40px auto;
    padding: 32px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    min-height: 500px;
}
h1, h2, h3 {
    color: #23272b;
    font-weight: 600;
}
h1 {
    font-size: 2.2em;
    margin-bottom: 18px;
}
h2 {
    font-size: 1.4em;
    margin-top: 32px;
    margin-bottom: 12px;
}
h3 {
    font-size: 1.1em;
    margin-top: 24px;
    margin-bottom: 8px;
}
p {
    line-height: 1.7;
    margin: 12px 0;
}
ul, ol {
    margin: 12px 0 12px 24px;
}

/* 页脚 */
footer {
    background: #23272b;
    color: #bbb;
    padding: 32px 0 0 0;
    margin-top: 40px;
    font-size: 0.98em;
}
.footer-payments {
    text-align: center;
    margin-bottom: 18px;
}
.footer-payments img {
    height: 28px;
    margin: 0 6px;
    vertical-align: middle;
}
.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 32px 18px 32px;
}
.footer-links > div {
    flex: 1 1 220px;
    margin: 0 12px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin: 6px 0;
}
.footer-links a {
    color: #e74c3c;
    font-size: 1em;
}
.footer-links a:hover {
    text-decoration: underline;
}
.languages ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
.languages li {
    color: #fff;
    background: #444;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 0.98em;
}
.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.95em;
    padding: 12px 0 8px 0;
    border-top: 1px solid #333;
    margin-top: 18px;
}

/* 响应式 */
@media (max-width: 1000px) {
    main {
        max-width: 98vw;
        padding: 16px 4vw;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        padding: 0 8vw 18px 8vw;
    }
    .footer-links > div {
        margin: 10px 0;
    }
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 0 8vw;
    }
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav li {
        margin: 8px 0;
    }
}
.center-upload {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-word-box,
.upload-excel-box,
.upload-pdf-box,
.upload-ppt-box,
.upload-rar-box,
.upload-zip-box,
.upload-7z-box {
    background: #fff;
    padding: 32px 36px 28px 36px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    min-width: 340px;
}

.upload-word-box form,
.upload-excel-box form,
.upload-pdf-box form,
.upload-ppt-box form,
.upload-rar-box form,
.upload-zip-box form,
.upload-7z-box form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.upload-word-box input[type="email"],
.upload-word-box input[type="file"],
.upload-excel-box input[type="email"],
.upload-excel-box input[type="file"],
.upload-pdf-box input[type="email"],
.upload-pdf-box input[type="file"],
.upload-ppt-box input[type="email"],
.upload-ppt-box input[type="file"],
.upload-rar-box input[type="email"],
.upload-rar-box input[type="file"],
.upload-zip-box input[type="email"],
.upload-zip-box input[type="file"],
.upload-7z-box input[type="email"],
.upload-7z-box input[type="file"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.upload-word-box button[type="submit"],
.upload-excel-box button[type="submit"],
.upload-pdf-box button[type="submit"],
.upload-ppt-box button[type="submit"],
.upload-rar-box button[type="submit"],
.upload-zip-box button[type="submit"],
.upload-7z-box button[type="submit"] {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 0;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.upload-word-box button[type="submit"]:hover,
.upload-excel-box button[type="submit"]:hover,
.upload-pdf-box button[type="submit"]:hover,
.upload-ppt-box button[type="submit"]:hover,
.upload-rar-box button[type="submit"]:hover,
.upload-zip-box button[type="submit"]:hover,
.upload-7z-box button[type="submit"]:hover {
    background: #c0392b;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #23272b;  /* 改为黑色背景 */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #fff;  /* 确保文字为白色 */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #444;  /* 悬停时加深背景色 */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #e74c3c;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-grid, .method-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card, .method-card, .infra-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-card h3, .method-card h3, .infra-card h3 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.infrastructure {
    background: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

.infra-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}