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

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

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #f76b1c 0%, #d84315 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

header h2 {
    font-size: 1.3em;
    font-weight: 300;
    opacity: 0.95;
}

main {
    padding: 40px 30px;
}

section {
    margin-bottom: 40px;
}

h3 {
    color: #d84315;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f76b1c;
}

h4 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

code {
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    color: #d84315;
    font-size: 0.95em;
}

.intro {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #f76b1c;
}

.download-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f76b1c 0%, #d84315 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(248, 107, 28, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 107, 28, 0.4);
}

.prerequisites ul {
    background: #fff3e0;
    padding: 20px 20px 20px 45px;
    border-radius: 6px;
}

.gateway-info .info-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 6px;
    border-left: 5px solid #2196f3;
}

.info-box p {
    margin-bottom: 10px;
}

.info-box strong {
    color: #1976d2;
}

.steps {
    background: #fafafa;
    padding: 30px;
    border-radius: 8px;
}

.step {
    display: flex;
    margin-bottom: 40px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f76b1c 0%, #d84315 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    margin-right: 25px;
}

.step-content {
    flex: 1;
}

.screenshot-container {
    margin: 20px 0;
    text-align: center;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
}

.screenshot-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.note {
    background: #fff8e1;
    padding: 12px 15px;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 0.95em;
}

.important {
    background: #ffebee;
    padding: 12px 15px;
    border-left: 4px solid #f44336;
    border-radius: 4px;
    font-weight: 600;
    color: #c62828;
}

.credentials-format {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid #4caf50;
}

.credentials-format p {
    margin-bottom: 8px;
}

.troubleshooting {
    background: #fff3e0;
    padding: 25px;
    border-radius: 8px;
}

.troubleshooting-item {
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 6px;
}

.troubleshooting-item h4 {
    color: #e65100;
    margin-bottom: 12px;
}

.linux-section {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 8px;
}

.linux-method {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 6px;
    border-left: 5px solid #4caf50;
}

.linux-method h4 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.code-block {
    background: #263238;
    color: #aed581;
    padding: 20px;
    border-radius: 6px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
}

.code-block code {
    background: transparent;
    color: #aed581;
    padding: 0;
    font-size: 0.9em;
    display: block;
}

.parameter-explanation {
    background: #f1f8e9;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.parameter-explanation ul {
    margin-top: 10px;
}

.parameter-explanation li {
    margin-bottom: 6px;
}

.linux-troubleshooting {
    background: #fff8e1;
    padding: 20px;
    border-radius: 6px;
    border-left: 5px solid #ffc107;
    margin-top: 20px;
}

.linux-troubleshooting h4 {
    color: #f57c00;
    margin-bottom: 15px;
}

.linux-troubleshooting ul {
    margin-left: 20px;
}

.manual-setup {
    background: #f3e5f5;
    padding: 25px;
    border-radius: 8px;
}

.manual-setup ol {
    background: white;
    padding: 20px 20px 20px 45px;
    border-radius: 6px;
    margin-top: 15px;
}

.summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 0;
}

.summary h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.summary-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 6px;
    border-left: 5px solid rgba(255, 255, 255, 0.5);
}

.summary-box p {
    margin-bottom: 15px;
}

.summary-box ol {
    margin-left: 20px;
}

.summary-box li {
    margin-bottom: 10px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 1.8em;
    }

    header h2 {
        font-size: 1.1em;
    }

    main {
        padding: 20px 15px;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .steps {
        padding: 15px;
    }
}