/* Custom Sections for DEDUCE VPN */

/* ================================
   SECTION: Shadowsocks Protocol
   ================================ */
.protocol-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #292929 50%, #1a1a2e 100%);
}

.protocol-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.protocol-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.protocol-section .section-title span {
    color: #a233e6;
}

.protocol-section .section-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 30px;
}

.protocol-section .section-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.protocol-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.protocol-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(162, 51, 230, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.3s ease;
}

.protocol-card:hover {
    transform: translateY(-10px);
    border-color: #a233e6;
    box-shadow: 0 20px 40px rgba(162, 51, 230, 0.2);
}

.protocol-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #a233e6, #7b1fa2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protocol-card .card-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.protocol-card .card-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.protocol-card .card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.protocol-note {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
}

.protocol-note p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   SECTION: Smart Server Selection
   ================================ */
.server-section {
    padding: 120px 0;
    background: #ffffff;
}

.server-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.server-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.server-section .section-subtitle {
    font-size: 20px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.server-section .section-desc {
    font-size: 16px;
    color: #888888;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.use-cases {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.use-case-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: #a233e6;
    box-shadow: 0 15px 35px rgba(162, 51, 230, 0.15);
    transform: translateY(-5px);
}

.use-case-card .card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(162, 51, 230, 0.1), rgba(162, 51, 230, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-card .card-icon svg {
    width: 35px;
    height: 35px;
    fill: #a233e6;
}

.use-case-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #a233e6;
    margin-bottom: 12px;
}

.use-case-card .card-desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

/* How it works steps */
.how-it-works {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.how-it-works-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #a233e6, transparent);
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #a233e6, #7b1fa2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* ================================
   RESPONSIVE
   ================================ */
@media screen and (max-width: 960px) {
    .protocol-section,
    .server-section {
        padding: 80px 0;
    }

    .protocol-section .section-title,
    .server-section .section-title {
        font-size: 32px;
    }

    .protocol-cards,
    .use-cases {
        flex-direction: column;
        align-items: center;
    }

    .protocol-card,
    .use-case-card {
        max-width: 100%;
        width: 100%;
    }

    .step-item:not(:last-child)::after {
        display: none;
    }

    .steps-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .protocol-section .section-title,
    .server-section .section-title {
        font-size: 26px;
    }

    .protocol-section .section-subtitle,
    .server-section .section-subtitle {
        font-size: 16px;
    }

}
