* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
} 

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.logo {
    height: 40px;
    width: auto;
}

.main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    text-align: center;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.lang-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.welcome-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.welcome-text h2 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 700;
}

.welcome-text p {
    font-size: 0.95rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
}

.environment-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.env-btn {
    padding: 12px 24px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    justify-content: center;
}

.env-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.env-btn.active {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.platform-btn {
    padding: 14px 26px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.platform-btn.active {
    background: #4c51bf;
    color: white;
}

.content-area {
    display: grid;
    gap: 30px;
}

.download-section, .installation-guide, .faq-section, .support-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.server-access-collapsible,
.device-guide-collapsible {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    padding: 0;
}

.device-guide-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.device-guide-header:hover {
    background: rgba(102, 126, 234, 0.05);
}

.device-guide-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.device-guide-header i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #667eea;
}

.device-guide-collapsible.active .device-guide-header i {
    transform: rotate(180deg);
}

.device-guide-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.device-guide-collapsible.active .device-guide-content {
    max-height: 1000px;
    padding: 20px 30px;
}

.server-access-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.server-access-header:hover {
    background: rgba(102, 126, 234, 0.05);
}

.server-access-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-access-header i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #667eea;
}

.server-access-collapsible.active .server-access-header i {
    transform: rotate(180deg);
}

.server-access-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.server-access-collapsible.active .server-access-content {
    max-height: 1000px;
    padding: 20px 30px;
}

.server-access-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.server-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.server-list {
    list-style: none;
    padding: 0;
}

.server-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.server-list li:last-child {
    border-bottom: none;
}

.server-list li strong {
    color: #2d3748;
    font-weight: 600;
}

.device-guide h3, .download-section h3, .installation-guide h3, .faq-section h3, .support-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.device-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.device-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.device-table th {
    background: #f8fafc;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    border-bottom: 2px solid #e2e8f0;
}

.device-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #4a5568;
}

.device-table tr:hover {
    background: #f8fafc;
}

.download-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.download-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.download-table th {
    background: #f8fafc;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    border-bottom: 2px solid #e2e8f0;
}

.download-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #4a5568;
    vertical-align: middle;
}

.download-table tr:hover {
    background: #f8fafc;
}

.download-table .version-cell {
    font-weight: 600;
    color: #2d3748;
}

.download-table .url-cell {
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    word-break: break-all;
}

.download-table .action-cell {
    text-align: center;
}

.download-table .button-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-table .btn {
    padding: 6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 36px;
    height: 36px;
}

.download-table .download-btn {
    background: #667eea;
    color: white;
    padding: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-table .download-btn:hover {
    background: #5a67d8;
}

.download-table .docs-btn {
    background: #e2e8f0;
    color: #4a5568;
    padding: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-table .docs-btn:hover {
    background: #cbd5e0;
}

.download-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.version-title {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.download-url {
    margin: 16px 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #475569;
    word-break: break-all;
    border: 1px solid #e2e8f0;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.download-btn {
    background-color: #2563eb;
    color: white;
}

.download-btn:hover {
    background-color: #1d4ed8;
}

.docs-btn {
    background-color: #f1f5f9;
    color: #475569;
}

.docs-btn:hover {
    background-color: #e2e8f0;
}

.guide-content {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.guide-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.guide-content ol, .guide-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.guide-content li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #4a5568;
}

.installation-guide-content {
    margin-top: 20px;
}

.installation-guide-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
}

.guide-steps-container {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.step-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.step-container:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.guide-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin: 15px auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
}

.guide-image:hover {
    transform: scale(1.02);
}

.step-description {
    margin-top: 15px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.step-number {
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.faq-container {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #667eea;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.support-info {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
}

.support-item {
    flex: 1 1 0;
    background: #f7fafc;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    min-width: 180px;
}

.support-item i {
    color: #667eea;
    font-size: 1.1rem;
    width: 20px;
}

.support-item span {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
}

.server-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.server-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.server-table th {
    background: #f8fafc;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    font-size: 0.9rem;
}

.server-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #4a5568;
    font-size: 0.9rem;
}

.server-table td:first-child {
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.server-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: #667eea;
}

.server-table tr:last-child td {
    border-bottom: none;
}

.server-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .server-table-container {
        margin-bottom: 15px;
    }
    
    .server-table th, .server-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .main-title {
        font-size: 1.2rem;
    }
    
    .environment-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .env-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .platform-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .download-table-container {
        margin-bottom: 15px;
    }
    
    .download-table th,
    .download-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .download-table .url-cell {
        font-size: 0.75rem;
    }
    
    .download-table .button-group {
        flex-direction: column;
    }
    
    .download-table .btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-table .download-btn {
        order: 1;
    }
    
    .download-table .docs-btn {
        order: 2;
    }
    
    .support-info {
        flex-direction: column;
        gap: 16px;
    }
    .support-item {
        min-width: 0;
    }
    
    .device-table-container {
        margin-bottom: 15px;
    }
    
    .device-table th,
    .device-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .device-guide-header {
        padding: 15px 20px;
    }
    
    .device-guide-collapsible.active .device-guide-content {
        padding: 15px 20px;
    }
    
    .download-section, .installation-guide, .faq-section, .support-section {
        padding: 20px;
    }
    
    .guide-steps-container {
        gap: 15px;
    }
    
    .step-container {
        padding: 15px;
    }
    
    .step {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .guide-image {
        max-width: 100%;
    }
    
    .installation-guide-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-text h2 {
        font-size: 1.1rem;
    }
    
    .welcome-text p {
        font-size: 0.9rem;
    }
    
    .main-title {
        font-size: 1.1rem;
    }
    
    .device-guide h3, .download-section h3, .installation-guide h3, .faq-section h3, .support-section h3 {
        font-size: 1.1rem;
    }
    
    .env-btn, .platform-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .device-guide-header {
        padding: 12px 15px;
    }
    
    .device-guide-header h3 {
        font-size: 1rem;
    }
    
    .device-guide-collapsible.active .device-guide-content {
        padding: 12px 15px;
    }
    
    .download-section, .installation-guide, .faq-section, .support-section {
        padding: 15px;
    }
    
    .guide-steps-container {
        gap: 12px;
    }
    
    .step-container {
        padding: 12px;
    }
    
    .step {
        padding: 12px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .step p {
        font-size: 0.85rem;
    }
    
    .guide-image {
        margin: 10px 0;
    }
    
    .installation-guide-content h4 {
        font-size: 0.95rem;
    }
    
    .step-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .server-access-collapsible,
    .device-guide-collapsible {
        margin-bottom: 12px;
    }
    
    .device-guide-collapsible.active .device-guide-content {
        padding: 15px 20px;
    }
    
    .server-access-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .server-access-collapsible.active .server-access-content {
        padding: 15px 20px;
    }
}

.server-access-content, .server-access-container {
    display: none;
}

.server-access-collapsible.active .server-access-content,
.server-access-collapsible.active .server-access-container {
    display: block;
} 

.site-footer {
    text-align: center;
    color: #a0aec0;
    font-size: 0.95rem;
    margin-top: 32px;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    user-select: none;
} 

.author-signature {
    text-align: right;
    color: #b0b7c3;
    font-size: 0.92rem;
    font-style: italic;
    margin-bottom: 8px;
    margin-top: -8px;
    user-select: none;
} 

.installation-guide-collapsible {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}
.installation-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 24px 30px 24px 30px;
    user-select: none;
}
.installation-guide-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}
.installation-guide-header i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.installation-guide-collapsible.active .installation-guide-header i {
    transform: rotate(180deg);
}
.installation-guide-content {
    padding: 0 30px 30px 30px;
    display: block;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 