/* ===========================
   HOW TO BUY PAGE STYLES
   Updated: 2025
   Style: Shopee-inspired
   =========================== */

.how-to-buy-container {
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
    min-height: 100vh;
    padding: 40px 0 60px;
}

.how-to-buy-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b45 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 24px rgba(238, 77, 45, 0.2);
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b45 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.card-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.card-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-note {
    background: #fff8e1;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #f57c00;
    margin-top: 20px;
    border-left: 4px solid #ffa726;
}

.card-note i {
    margin-right: 8px;
}

/* Purchase Flow */
.purchase-flow {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.purchase-flow:last-child {
    margin-bottom: 0;
}

.flow-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flow-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-single {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
}

.badge-multiple {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    color: white;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b45 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.step-arrow {
    text-align: center;
    color: #ee4d2d;
    font-size: 20px;
    padding: 5px 0;
}

.flow-note {
    background: #e3f2fd;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #1976d2;
    margin-top: 20px;
    border-left: 4px solid #2196F3;
}

.flow-note-success {
    background: #e8f5e9;
    color: #388e3c;
    border-left-color: #4CAF50;
}

/* Payment Info */
.payment-info {
    padding: 20px 0;
}

.payment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ee4d2d;
}

.detail-item i {
    font-size: 24px;
    color: #ee4d2d;
}

.detail-item span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* Expedition Info */
.expedition-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.expedition-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.expedition-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b45 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.expedition-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.expedition-text p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 32px;
    color: #ee4d2d;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.contact-detail p {
    font-size: 15px;
    color: #666;
    margin: 0;
    word-break: break-word;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b45 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(238, 77, 45, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(238, 77, 45, 0.4);
}

.btn-primary i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .how-to-buy-container {
        padding: 20px 0 40px;
    }

    .page-header {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .info-card {
        flex-direction: column;
        padding: 25px 20px;
        gap: 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .card-title {
        font-size: 22px;
    }

    .flow-title {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .purchase-flow {
        padding: 20px;
    }

    .payment-details,
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .step {
        padding: 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .expedition-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}