* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
}

.version-badge {
    background-color: #2563EB;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #4B5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #2563EB;
}

.nav-button {
    background-color: #2563EB;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.nav-button:hover {
    background-color: #1D4ED8;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 14px;
    color: #6B7280;
}

.breadcrumb a {
    color: #6B7280;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2563EB;
}

.breadcrumb .separator {
    margin: 0 8px;
}

.breadcrumb .current {
    color: #1F2937;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 40px 0 80px;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.intro-text {
    font-size: 18px;
    color: #4B5563;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Step Section */
.step-section {
    margin-bottom: 64px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2563EB;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-title {
    font-size: 28px;
    font-weight: 600;
    color: #1F2937;
}

.step-description {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* VPS Cards */
.vps-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.vps-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vps-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vps-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.vps-gradient {
    height: 140px;
    width: 100%;
}

.vps-gradient-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.digitalocean .vps-gradient {
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 100%);
}

.linode .vps-gradient {
    background: linear-gradient(135deg, #00D95F 0%, #00B84A 100%);
}

.vultr .vps-gradient {
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
}

.vps-content {
    padding: 24px;
    background-color: #FFFFFF;
}

.vps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.vps-name {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.vps-logo {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.vps-credit {
    font-size: 16px;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 8px;
}

.vps-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

/* Installation Section */
.installation-section {
    margin-top: 32px;
}

.code-block-wrapper {
    margin-bottom: 32px;
}

.code-block {
    position: relative;
    background-color: #1F2937;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.code-header {
    margin-bottom: 12px;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #EF4444;
}

.dot.yellow {
    background-color: #F59E0B;
}

.dot.green {
    background-color: #10B981;
}

.code-content {
    padding: 16px;
    background-color: #111827;
    border-radius: 6px;
    margin-bottom: 16px;
}

.code-content code {
    color: #E5E7EB;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.copy-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #2563EB;
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.copy-button:hover {
    background-color: #1D4ED8;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.info-column {
    background-color: #F9FAFB;
    padding: 24px;
    border-radius: 8px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
}

.script-list {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}

.script-list li {
    counter-increment: item;
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
}

.script-list li::before {
    content: counter(item, decimal-leading-zero) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #2563EB;
}

.help-text {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563EB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.help-link:hover {
    color: #1D4ED8;
}

/* FAQ Section */
.faq-section {
    margin-top: 64px;
}

.faq-title {
    font-size: 28px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #F9FAFB;
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #6B7280;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 24px;
}

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

.faq-answer p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
}

/* Compatibility Notice */
.compatibility-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background-color: #F0FDF4;
    border-radius: 8px;
    margin-top: 48px;
    font-size: 14px;
    color: #065F46;
    border: 1px solid #BBF7D0;
}

.compatibility-notice svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: #9CA3AF;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-text {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-title {
        font-size: 28px;
    }

    .step-title {
        font-size: 24px;
    }

    .vps-cards {
        grid-template-columns: 1fr;
    }

    .info-columns {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
